/* 字体显示优化 - 减少CLS */
@font-face {
    font-family: 'Noto Sans SC';
    font-display: swap; /* 立即显示后备字体，加载完成后切换 */
}

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

/* 全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    /* 防止字体加载导致的布局偏移 */
    font-display: swap;
}

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

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: #2563eb;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    position: relative;
    padding: 120px 0 80px;
    color: white;
    display: flex;
    align-items: center;
    min-height: 80vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&h=1080&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-graphic i {
    font-size: 8rem;
    color: rgba(255,255,255,0.8);
}

/* 新增的图片样式 */
.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1d4ed8;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* CTA区域 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

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

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px;
    width: 100vw;
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.content-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-text ul {
    list-style: none;
    margin: 20px 0;
}

.content-text ul li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.content-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.content-image:hover::after {
    opacity: 1;
}

.content-image i {
    font-size: 6rem;
    color: #2563eb;
    z-index: 2;
    position: relative;
}

/* 特性卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    background: #f8fafc;
    padding: 60px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 联系信息样式 */
.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 20px;
        padding: 20px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        padding: 15px 30px;
        font-size: 1rem;
        width: 250px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-image {
        height: 250px;
    }
    
    .content-image img {
        object-position: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto 40px auto;
        padding: 0 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 80px 0 50px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 200px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .services h2,
    .cta h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }
    
    .content-image {
        height: 200px;
        border-radius: 10px;
    }
    
    .content-image img {
        border-radius: 10px;
    }

    .contact-item {
        padding: 15px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .hero-content {
        padding: 0 15px;
    }
}

/* 超宽屏优化 */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .hero-text {
        max-width: 900px;
    }
}

/* 博客样式优化 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 确保12篇文章的完美排列 */
@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.blog-content h3 {
    margin-bottom: 15px;
    line-height: 1.4;
    flex-shrink: 0;
}

.blog-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
}

.blog-content h3 a:hover {
    color: #2563eb;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    align-self: flex-start;
    margin-top: auto;
}

.read-more:hover {
    color: #1d4ed8;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* 博客文章页面样式 */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.article-header .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.article-meta span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.article-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.8;
}

.article-content h2 {
    color: #333;
    margin: 40px 0 20px 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.article-content h3 {
    color: #333;
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-content p {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    color: #444;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.article-content strong {
    color: #333;
    font-weight: 600;
}

.article-image {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.highlight-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #2563eb;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.highlight-box h4 {
    color: #2563eb;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.navigation-links {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.navigation-links h3 {
    margin-bottom: 20px;
    color: #333;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 - 博客文章 */
@media (max-width: 1024px) {
    .article-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .article-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }
    
    .toc {
        position: static;
    }
    
    .article-main {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .article-container {
        padding: 40px 15px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px 0;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 200px;
    }
    
    .article-sidebar {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 0 10px;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
        padding-left: 15px;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
        padding-left: 12px;
    }
    
    .highlight-box {
        padding: 20px;
        margin: 25px 0;
    }
    
    .navigation-links {
        padding: 20px;
        margin: 30px 0;
    }
}

/* 博客文章页面布局优化 */
.article-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
    position: relative;
}

.article-main {
    flex: 1;
    max-width: 750px;
}

.article-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 25px;
    border: 1px solid #f1f5f9;
}

/* TOC样式 */
.toc {
    position: sticky;
    top: 100px;
}

.toc h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc h3 i {
    color: #2563eb;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.toc-list a:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #2563eb;
    transform: translateX(3px);
}

.toc-list a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left-color: #667eea;
}

.toc-list .toc-h3 {
    padding-left: 25px;
    font-size: 0.85rem;
}

/* 文章内容区域优化 */
.article-content {
    max-width: none;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

.article-content h2 {
    color: #333;
    margin: 50px 0 25px 0;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.article-content h3 {
    color: #333;
    margin: 35px 0 20px 0;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.article-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #2563eb;
    border-radius: 2px;
}

.article-content p {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    color: #444;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-content ul li::marker {
    color: #2563eb;
}

.article-content ol li::marker {
    color: #2563eb;
    font-weight: 600;
}

.article-content strong {
    color: #333;
    font-weight: 600;
}

.article-image {
    width: 100%;
    max-width: 100%;
    margin: 35px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.highlight-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #2563eb;
    padding: 25px;
    margin: 35px 0;
    border-radius: 8px;
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
}

.highlight-box h4 {
    color: #2563eb;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.navigation-links {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 50px 0;
    text-align: center;
} 