/* ========================================
   outao 严选 (Outao Yanxuan) - AI大模型学习官网
   露营户外风格 - 军绿 + 卡其 + 浅棕配色
   横向卷轴布局 - 质感沉稳
   ======================================== */

/* CSS Reset & 基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f3ed;
    color: #2c3e2a;
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 颜色变量 */
:root {
    --army-green: #3d4c38;
    --dark-army: #2a3526;
    --khaki: #c4b896;
    --light-brown: #8b7355;
    --sand: #e8e4d9;
    --cream: #f5f3ed;
    --text-dark: #2c3e2a;
    --text-light: #8a9685;
    --accent-orange: #b87333;
}

/* ========================================
   顶部导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(45, 58, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--khaki);
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--khaki);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--khaki);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   横向卷轴主容器 - 桌面端
   ======================================== */
.main-scroll-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.page-section {
    min-width: 100vw;
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    flex-shrink: 0;
}

/* 修复首页内容区域样式 */
.home-section .banner-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 60px 40px;
    border-radius: 12px;
    background: rgba(45, 58, 42, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.features-section,
.quick-access-section,
.news-preview-section {
    overflow-y: auto;
    overflow-x: hidden;
}

.features-section .section-container,
.quick-access-section .section-container,
.news-preview-section .section-container {
    padding: 40px 20px;
}

/* ========================================
   首页 Banner
   ======================================== */
.home-section {
    background: linear-gradient(135deg, var(--dark-army) 0%, var(--army-green) 100%);
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/home-banner.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.banner-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.banner-title {
    font-size: 64px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.banner-subtitle {
    font-size: 24px;
    color: var(--khaki);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

.banner-cta {
    display: inline-block;
    padding: 16px 45px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.banner-cta:hover {
    background: #a06028;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 115, 51, 0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   核心优势板块
   ======================================== */
.features-section {
    background: var(--cream);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    color: var(--dark-army);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(61, 76, 56, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 58, 42, 0.15);
    border-color: var(--khaki);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--army-green), var(--khaki));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.feature-title {
    font-size: 20px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   快速入口
   ======================================== */
.quick-access-section {
    background: linear-gradient(135deg, var(--army-green) 0%, var(--dark-army) 100%);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.access-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 50px 35px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.access-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.access-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.access-title {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.access-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.access-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--khaki);
    color: var(--dark-army);
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.access-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ========================================
   资讯列表区块（首页下方）
   ======================================== */
.news-preview-section {
    background: var(--sand);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.news-tab {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--army-green);
    color: var(--army-green);
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab.active,
.news-tab:hover {
    background: var(--army-green);
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-title {
    font-size: 17px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   通用页面样式
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, var(--dark-army) 0%, var(--army-green) 100%);
    padding: 140px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/page-banner-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-banner-title {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-banner-subtitle {
    font-size: 18px;
    color: var(--khaki);
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 80px 40px;
    background: var(--cream);
}

/* ========================================
   教程卡片样式
   ======================================== */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.tutorial-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tutorial-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tutorial-content {
    padding: 30px;
}

.tutorial-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--khaki);
    color: var(--dark-army);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.tutorial-title {
    font-size: 20px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tutorial-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tutorial-link {
    display: inline-flex;
    align-items: center;
    color: var(--army-green);
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
}

.tutorial-link:hover {
    color: var(--accent-orange);
}

/* ========================================
   适配方案卡片
   ======================================== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-card {
    background: #fff;
    padding: 45px;
    border-radius: 8px;
    border-left: 4px solid var(--army-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.solution-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 24px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 15px;
}

.solution-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-list li::before {
    content: '✓';
    color: var(--army-green);
    font-weight: 700;
}

/* ========================================
   问题排查步骤
   ======================================== */
.troubleshoot-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    padding: 35px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--army-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: var(--dark-army);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   工具推荐卡片
   ======================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(61, 76, 56, 0.1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--khaki);
}

.tool-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--sand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.tool-name {
    font-size: 20px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tool-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--army-green);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    background: var(--accent-orange);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    font-size: 32px;
    color: var(--dark-army);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--khaki);
}

.team-name {
    font-size: 18px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   联系方式页面
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--dark-army);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(61, 76, 56, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--army-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.contact-text h4 {
    font-size: 16px;
    color: var(--dark-army);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(61, 76, 56, 0.2);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--army-green);
    box-shadow: 0 0 0 3px rgba(61, 76, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--army-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--dark-army);
}

/* ========================================
   新闻列表页面
   ======================================== */
.news-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-list-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-list-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-list-content {
    padding: 25px;
}

.news-list-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-list-title {
    font-size: 18px;
    color: var(--dark-army);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-list-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   新闻详情页面
   ======================================== */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--sand);
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-main-title {
    font-size: 36px;
    color: var(--dark-army);
    font-weight: 700;
    line-height: 1.3;
}

.article-cover {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 35px;
}

.article-body {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.9;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 25px 0;
}

.related-news {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid var(--sand);
}

.related-title {
    font-size: 24px;
    color: var(--dark-army);
    margin-bottom: 30px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--dark-army);
    padding: 70px 40px 40px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--khaki);
    color: var(--dark-army);
}

.footer-column h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--khaki);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-scroll-container {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: none;
    }
    
    .page-section {
        min-width: 100%;
        min-height: auto;
        scroll-snap-align: none;
        padding: 80px 20px 50px;
    }
    
    .banner-title {
        font-size: 42px;
    }
    
    .tutorial-grid,
    .solution-grid,
    .tools-grid,
    .team-grid,
    .news-list-container {
        grid-template-columns: 1fr;
    }
    
    .about-intro,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    /* 移动端切换为纵向滚动布局 */
    .main-scroll-container {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: none;
    }
    
    .page-section {
        min-width: 100%;
        min-height: auto;
        width: 100%;
        padding: 80px 20px 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-army);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid,
    .quick-access-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid,
    .tutorial-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .page-banner-title {
        font-size: 32px;
    }
    
    .article-detail {
        padding: 30px 20px;
    }
    
    .article-main-title {
        font-size: 26px;
    }
}

/* ========================================
   滚动渐入动画
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   工具类
   ======================================== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
/* ========================================
   首页样式修复
   ======================================== */
.main-scroll-container {
    display: block !important;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.page-section {
    min-width: 100% !important;
    min-height: auto !important;
    scroll-snap-align: none !important;
    position: relative;
    display: block !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.home-section {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--dark-army) 0%, var(--army-green) 100%);
    position: relative;
    overflow: hidden;
}

.home-section .banner-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 80px 40px !important;
    border-radius: 12px;
    background: rgba(45, 58, 42, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.features-section,
.quick-access-section,
.news-preview-section {
    padding: 100px 40px 80px !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
}

.features-section .section-container,
.quick-access-section .section-container,
.news-preview-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px;
}
