/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 哔哩哔哩图标样式 */
.bilibili-icon,
.bilibili img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
}

.nav-link.bilibili,
.footer-bilibili-img {
    display: flex;
    align-items: center;
}

.social-icon img[alt="哔哩哔哩"],
.footer-bilibili-img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
}

img[src*="bilibili-logo.png"] {
    border-radius: 50%;
    object-fit: cover;
}

.bilibili-subscription img,
.bilibili-icon {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 50%;
}

/* 关于页面图片样式 */
.about-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* 关于页面布局 */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 团队成员样式 */
.team-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 5px;
}

.member-role {
    color: #f84c71;
    font-size: 14px;
    margin-bottom: 15px;
}

.member-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-members {
        grid-template-columns: 1fr;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #f84c71;
    color: white;
}

.btn-primary:hover {
    background-color: #e6335c;
}

.btn-secondary {
    background-color: #f1f2f6;
    color: #555;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e4e6ed;
}

.btn-login {
    color: #555;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    padding: 8px 5px;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    color: #999;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 8px 20px;
    color: #555;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #f84c71;
}

/* 移动菜单样式 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #555;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 50px 0 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-content {
    margin-bottom: 30px;
}

.mobile-menu-item {
    position: relative;
    border-bottom: 1px solid #eee;
}

.mobile-menu-item .nav-link {
    padding: 15px 20px;
    font-size: 16px;
    display: block;
}

.mobile-submenu {
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 300px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 35px;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #eee;
}

.mobile-submenu a:hover {
    color: #f84c71;
}

.mobile-auth-buttons {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.mobile-auth-buttons .btn {
    margin-bottom: 10px;
}

body.menu-open {
    overflow: hidden;
}

/* 英雄区域样式 */
.hero {
    background-color: #1e3a8a; /* 深蓝色背景 */
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 0 300px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight {
    color: #f84c71;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 分类部分样式 */
.categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 180px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-content {
    padding: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    background-color: #f1f2f6;
    color: #666;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.category-link {
    color: #1e3a8a;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
}

/* 精选文章样式 */
.featured-articles {
    padding: 60px 0 80px;
    background-color: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: #1e3a8a;
    font-weight: 500;
    font-size: 15px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(30, 58, 138, 0.8);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 1;
}

.article-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.article-title {
    padding: 15px 15px 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.article-excerpt {
    padding: 0 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.article-meta {
    padding: 0 15px 15px;
    display: flex;
    font-size: 12px;
    color: #999;
}

.article-date {
    margin-right: 15px;
}

.article-card.no-image {
    padding: 20px;
    border-left: 3px solid #f84c71;
}

.article-card.no-image .article-tag {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    margin-bottom: 15px;
}

.article-card.no-image .article-content {
    padding: 0;
}

.article-card.no-image .article-title {
    padding: 0;
    margin-bottom: 12px;
}

.article-card.no-image .article-excerpt {
    padding: 0;
}

.article-card.no-image .article-meta {
    padding: 0;
    margin: 12px 0;
}

/* 会员部分样式 */
.membership-cta {
    padding: 80px 0;
    background-color: white;
}

.cta-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.cta-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.basic {
    border: 1px solid #eee;
}

.plan-card.pro {
    border: 2px solid #1e3a8a;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.plan-card.enterprise {
    border: 1px solid #eee;
}

.plan-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: #f84c71;
    color: white;
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 20px;
}

.plan-type {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 25px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: #1e3a8a;
}

.period {
    font-size: 14px;
    color: #666;
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: bold;
}

.plan-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    background-color: #f1f2f6;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.plan-btn.primary {
    background-color: #f84c71;
    color: white;
}

.plan-btn:hover {
    transform: translateY(-3px);
}

.vip-info {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.vip-image {
    flex: 1;
}

.vip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-content {
    flex: 1;
    padding: 40px;
}

.vip-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.vip-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.vip-btn {
    background-color: #f84c71;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.vip-btn:hover {
    background-color: #e6335c;
}

/* 页脚样式 */
.footer {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 600;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon img {
    width: 18px;
    height: 18px;
    opacity: 1;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-btn {
    padding: 0 15px;
    background-color: #f84c71;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.pro {
        transform: none;
    }
    
    .vip-info {
        flex-direction: column;
    }
    
    .vip-image {
        width: 100%;
        height: 250px;
    }
    
    .main-nav {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .container {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* 文章列表页样式 */
.page-header {
    background-color: #1e3a8a;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.articles-section {
    padding: 60px 0;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #f84c71;
    color: white;
}

.sort-select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
    background-color: #f8f9fa;
}

.large-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 5px;
}

.page-number, .page-next, .page-prev, .page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #eee;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
}

.page-number.active {
    background-color: #f84c71;
    color: white;
    border-color: #f84c71;
}

.page-next, .page-prev {
    width: auto;
    padding: 0 15px;
}

.page-number:hover, .page-next:hover, .page-prev:hover {
    background-color: #f1f2f6;
}

/* 添加禁用状态样式 */
.page-number.disabled, .page-next.disabled, .page-prev.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f8f8f8;
}

.newsletter {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.newsletter-description {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
}

.article-link {
    display: inline-block;
    margin-top: 15px;
    color: #f84c71;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-link:hover {
    text-decoration: underline;
}

/* 文章详情页样式 */
.article-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-category {
    margin-bottom: 15px;
}

.category-link {
    color: #f84c71;
    font-weight: 500;
    font-size: 14px;
}

.article-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: #777;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.table-of-contents {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.table-of-contents ul {
    padding-left: 20px;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #555;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #f84c71;
}

.article-body h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #333;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.article-body blockquote {
    border-left: 4px solid #f84c71;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.tool-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tool-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.tool-card p {
    margin-bottom: 15px;
}

.tool-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.tool-card li {
    margin-bottom: 8px;
    position: relative;
}

.tool-card li::before {
    content: "•";
    color: #f84c71;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.article-cta {
    background-color: #1e3a8a;
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
    text-align: center;
}

.article-cta h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-cta p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    color: #777;
}

.share-link {
    color: #555;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: #f84c71;
}

.related-articles {
    margin-top: 60px;
}

.related-articles h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-title {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

.related-link {
    display: block;
    padding: 10px 15px 15px;
    color: #f84c71;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-link:hover {
    text-decoration: underline;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .large-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .large-grid {
        grid-template-columns: 1fr;
    }

    .article-body {
        padding: 30px 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* 会员视频教程样式 */
.video-tutorial {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.membership-required {
    padding: 2rem;
}

.membership-required h3 {
    color: #333;
    margin-bottom: 1rem;
}

.membership-required p {
    color: #666;
    margin-bottom: 1.5rem;
}

.membership-required .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* 会员视频预览 */
.video-preview {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    background: #000;
    cursor: pointer;
}

.video-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.video-preview::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    z-index: 2;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons .btn {
    margin-left: 15px;
}

/* 课程卡片样式 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FFD700;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.course-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    height: 63px;
    overflow: hidden;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: #777;
}

.course-lessons::before {
    content: '📚 ';
}

.course-duration::before {
    content: '⏱️ ';
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 页面头部样式 */
.page-header {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA部分样式 */
.cta-section {
    background-color: #5a67d8;
    color: white;
    padding: 60px 0;
    margin: 50px 0 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.benefits-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 500px;
}

.benefits-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
} 