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

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

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-elements {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2563eb; /* 蓝色背景 */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.download-btn:hover {
    background-color: #1d4ed8; /* 悬停时更深的蓝色 */
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 60px; /* 为固定导航栏留出空间 */
}

/* 简洁文章头部样式 */
.simple-article-header {
    text-align: center;
    margin: 100px 0 30px;
    padding: 20px 0;
}

.simple-article-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.simple-article-meta {
    font-size: 1em;
    color: #7f8c8d;
}

/* 简洁文章内容样式 */
.article-content-simple {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.simple-article-body {
    padding: 40px;
    margin-top: 30px;
}

/* 简洁章节标题样式 */
.simple-section-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.simple-subtitle {
    font-size: 1.4em;
    color: #34495e;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

/* 简洁高亮框样式 */
.simple-highlight-box {
    background: #ecf0f1;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #3498db;
}

.simple-highlight-box h3 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.4em;
}

/* 简洁图片容器样式 */
.simple-image-container {
    text-align: center;
    margin: 35px 0;
}

.simple-article-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

.simple-img-caption {
    margin-top: 12px;
    font-size: 0.9em;
    color: #7f8c8d;
    text-align: center;
}

/* 简洁特点列表样式 */
.simple-feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.simple-feature-list li {
    padding: 12px 0 12px 25px;
    position: relative;
    border-bottom: 1px dashed #ecf0f1;
}

.simple-feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.5em;
    top: 12px;
}

/* 简洁有序列表样式 */
.simple-ordered-list {
    padding-left: 25px;
    margin: 20px 0;
    line-height: 2;
}

/* 简洁视频容器样式 */
.simple-video-container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.simple-video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* 上一篇/下一篇导航 */
.article-prev-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    flex-wrap: wrap;
}

.article-prev-next a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95em;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.article-prev-next a:hover {
    color: #2c3e50;
}

.article-prev-next .next {
    margin-left: auto;
    text-align: right;
}

/* 简洁行动号召区域样式 */
.simple-cta-section {
    text-align: center;
    margin: 50px 0 30px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 10px;
    color: white;
}

.simple-cta-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.simple-cta-section p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin: 10px;
    transition: transform 0.3s ease;
}

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

/* 快速链接样式 */
.simple-quick-links {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.simple-quick-link-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.simple-quick-link-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.simple-quick-link-item p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 40px 0 20px 0;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 20px;
}

/* 汉堡菜单样式 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    z-index: 1001;
}

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

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 移动端响应式设计 - 统一的媒体查询 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .logo {
        font-size: 1.4em;
        flex-shrink: 0;
        max-width: 40%;
    }
    
    .nav-elements {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: flex-end;
    }
    
    .hamburger-menu {
        display: flex;
        order: 1;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        display: flex !important; /* 确保在移动端显示 */
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 12px 20px;
        display: block;
        text-align: center;
        font-size: 1em;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .download-btn {
        order: 2; /* 让下载按钮在菜单中显示 */
        margin: 10px;
        width: calc(100% - 40px); /* 减去内边距 */
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
        margin-top: 100px; /* 为移动端固定导航栏留出更多空间 */
    }

    .simple-article-header {
        margin: 80px 0 30px;
    }

    .simple-article-title {
        font-size: 1.8em;
    }

    .simple-section-title {
        font-size: 1.5em;
    }

    .simple-subtitle {
        font-size: 1.2em;
    }

    .simple-article-body {
        padding: 30px 15px;
    }

    .simple-video-container {
        margin: 30px auto;
        height: auto;
    }

    .simple-video-container iframe {
        height: 200px;
    }

    .simple-highlight-box {
        padding: 20px;
        margin: 20px 0;
    }

    .simple-cta-section {
        padding: 30px 15px;
    }

    .simple-cta-section h3 {
        font-size: 1.5em;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1em;
        margin: 10px auto;
        display: block;
    }
    
    /* 图片在移动端的优化 */
    .simple-article-img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
    
    .simple-image-container {
        margin: 25px 0;
    }
}

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        gap: 5px;
    }
    
    .logo {
        font-size: 1.2em;
        max-width: 50%;
    }
    
    .nav-elements {
        display: flex;
        align-items: center;
        gap: 5px;
        flex: 1;
        justify-content: flex-end;
    }
    
    .nav-links a {
        font-size: 0.95em;
        padding: 10px 15px;
    }
    
    .download-btn {
        font-size: 0.85em;
        padding: 8px 12px;
        margin: 8px;
    }
    
    .container {
        padding: 0 10px;
        margin-top: 90px;
    }
    
    .simple-article-header {
        margin: 70px 0 20px;
        padding: 15px 0;
    }
    
    .simple-article-title {
        font-size: 1.6em;
    }

    .simple-section-title {
        font-size: 1.3em;
    }

    .simple-subtitle {
        font-size: 1.1em;
    }

    .simple-article-body {
        padding: 20px 10px;
    }

    .simple-video-container iframe {
        height: 160px;
    }

    .simple-cta-section h3 {
        font-size: 1.3em;
    }

    .btn {
        max-width: 220px;
        padding: 12px 15px;
        font-size: 0.95em;
        width: 100%;
        margin: 5px auto;
    }
    
    /* 小屏幕图片优化 */
    .simple-article-img {
        max-width: 100%;
        height: auto;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .simple-article-title {
        font-size: 1.5em;
    }

    .simple-section-title {
        font-size: 1.2em;
    }

    .simple-subtitle {
        font-size: 1.1em;
    }

    .simple-video-container iframe {
        height: 140px;
    }

    .btn {
        max-width: 200px;
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    /* 超小屏幕图片优化 */
    .simple-article-img {
        max-width: 100%;
        height: auto;
    }
}