﻿/* ========== 纳迪亚之宝 - 全新深色翡翠主题 ========== */
:root {
    /* 主色调 - 翡翠绿/深海蓝 */
    --color-primary: #0a2e28;
    --color-secondary: #2c8a75;
    --color-accent: #0b7f6c;
    --color-dark: #0d3d34;
    --color-white: #ffffff;
    --color-light: #eaf8f5;
    --color-gray: #8ba7a0;
    --color-gold: #e6b422;
    --color-gold-light: #ffb347;
    --color-coral: #ff8c42;
    
    /* 新渐变色 */
    --gradient-primary: linear-gradient(135deg, #0a2e28 0%, #0b7f6c 100%);
    --gradient-secondary: linear-gradient(135deg, #2c8a75 0%, #0b7f6c 100%);
    --gradient-accent: linear-gradient(135deg, #0b7f6c 0%, #0a5c4e 100%);
    --gradient-hero: radial-gradient(circle at 20% 30%, #0d3d34, #051f1b);
    
    /* 字体 */
    --font-primary: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --font-accent: 'Orbitron', monospace;
    
    /* 间距与圆角 */
    --container-max-width: 1280px;
    --section-padding: 100px 0;
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    
    /* 阴影 */
    --shadow-light: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 20px 35px -8px rgba(0, 0, 0, 0.6);
    --shadow-heavy: 0 30px 45px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 15px rgba(11, 127, 108, 0.4);
}

/* 重置 & 基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: #e0f0ec;
    background: #0a1815;
    overflow-x: hidden;
}
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 30%, var(--color-gold) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    margin: 16px auto 0;
    border-radius: 4px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}
.btn-primary {
    background: linear-gradient(105deg, #0b7f6c, #0a5c4e);
    color: #fff;
    box-shadow: 0 5px 15px rgba(11, 127, 108, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 127, 108, 0.5);
    background: linear-gradient(105deg, #0f9a84, #0b6f5e);
}
.btn-secondary {
    background: rgba(44, 138, 117, 0.15);
    border: 1px solid rgba(230, 180, 34, 0.6);
    color: #fff;
}
.btn-secondary:hover {
    background: rgba(230, 180, 34, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-gold);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 24, 21, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(11, 127, 108, 0.3);
}
.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
}
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    filter: drop-shadow(0 0 4px var(--color-gold));
}
.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 40px;
    color: #e0f0ec;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    background: rgba(11, 127, 108, 0.2);
    color: var(--color-gold);
    box-shadow: 0 0 8px rgba(230,180,34,0.3);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.bar {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: 0.2s;
}

/* 英雄区 */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(11,127,108,0.2), transparent 60%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 25% 40%, rgba(230,180,34,0.15), transparent),
                      radial-gradient(1px 1px at 80% 70%, rgba(230,180,34,0.1), transparent);
    background-size: 60px 60px;
    animation: drift 25s infinite linear;
}
@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 120px 120px; }
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 24px;
}
.hero-badge {
    background: rgba(230,180,34,0.2);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 6px 18px;
    display: inline-flex;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.title-main {
    background: linear-gradient(125deg, #fff, var(--color-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.title-sub {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-secondary);
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cce7e2;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}
.feature-tag {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(230,180,34,0.4);
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.85rem;
}
.info-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-card {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    background: rgba(0,0,0,0.7);
}
.card-icon {
    width: 45px;
    height: 45px;
    background: var(--color-gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2e28;
}
.hero-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    padding: 0.8rem;
    margin-bottom: 2rem;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-gold);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-image {
    position: relative;
    width: 100%;
}
.hero-image .image-container {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: 0.4s;
}
.hero-image .image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}
.hero-image .image-container:hover img {
    transform: scale(1.02);
}
.floating-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 10px 20px;
}

/* 新闻、特色、画廊等卡片 */
.news-grid, .features-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.news-item, .feature-item, .version-info, .faq-item, .support-card {
    background: rgba(20, 35, 30, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(11,127,108,0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}
.news-item:hover, .feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-glow);
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background: rgba(20,35,30,0.7);
    border: 1px solid rgba(11,127,108,0.3);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: var(--color-gold);
    font-size: 2rem;
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 32px;
    border: 2px solid var(--color-gold);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.modal-nav button {
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
}

/* 用户评价 */
.reviews-stats {
    background: rgba(0,0,0,0.4);
    border-radius: 48px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.rating-summary {
    text-align: center;
}
.rating-score {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-gold);
}
.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.tag {
    background: rgba(230,180,34,0.2);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
}
.review-item {
    background: rgba(20,35,30,0.8);
    border-radius: 32px;
    padding: 2rem;
    text-align: center;
}
.review-stars {
    color: var(--color-gold);
    margin-bottom: 1rem;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #ccc;
    cursor: pointer;
}
.indicator.active {
    background: var(--color-gold);
    width: 24px;
}

/* 版本时间线 */
.version-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.version-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold), #0b7f6c);
}
.version-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}
.version-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-gold);
}
.version-badge {
    position: absolute;
    left: -30px;
    top: -5px;
    background: var(--color-gold);
    color: #0a2e28;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 1rem;
    padding: 0;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: rgba(20,35,30,0.6);
    border-radius: 60px;
    transition: 0.2s;
}
.faq-question:hover {
    background: rgba(11,127,108,0.2);
}
.faq-question h3, .faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}
.faq-question i {
    color: var(--color-gold);
    transition: transform 0.2s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 1.5rem 1.5rem;
}

/* 页脚 */
.footer {
    background: #0a1815;
    border-top: 1px solid rgba(11,127,108,0.3);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-gold);
}
.footer-section p {
    color: #a0c0b8;
    line-height: 1.6;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: #a0c0b8;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(11,127,108,0.3);
    border-radius: 50%;
    transition: 0.2s;
}
.social-link:hover {
    background: var(--color-gold);
    color: #0a2e28;
    transform: translateY(-3px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #7a9e96;
}
.footer-partners {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-partners a {
    color: #a0c0b8;
}
.footer-partners a:hover {
    color: var(--color-gold);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: #0a2e28;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.2s;
    z-index: 1000;
}
.back-to-top:hover {
    transform: scale(1.1);
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10,24,21,0.95);
        backdrop-filter: blur(20px);
        width: 80%;
        height: 100vh;
        padding: 2rem;
        transition: 0.3s;
        gap: 1.5rem;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .info-cards {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .version-timeline::before {
        left: 15px;
    }
    .version-item {
        padding-left: 50px;
    }
    .version-item::before {
        left: 6px;
    }
}

/* 辅助类 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s;
}
img[loading="lazy"].loaded {
    opacity: 1;
}
.legal-content {
    background: rgba(20,35,30,0.85);
    border-radius: 32px;
    padding: 2.5rem;
    line-height: 1.75;
}
.legal-section h2 {
    border-left: 5px solid var(--color-gold);
    padding-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ========== 页面头部通用样式 ========== */
.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: visible;
}
.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    word-break: break-word;
}
.page-description, .page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb .current {
    color: var(--color-gold);
}
.breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

/* ========== 用户手册特有样式 ========== */
.manual-content {
    padding: var(--section-padding);
    background: #0c1a17;
}
.manual-content .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
}
.manual-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.sidebar-menu {
    background: rgba(20,35,30,0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(11,127,108,0.3);
}
.sidebar-menu h3 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.sidebar-menu ul {
    list-style: none;
}
.sidebar-menu li {
    margin-bottom: 0.5rem;
}
.sidebar-link {
    display: block;
    padding: 10px 15px;
    color: #cce7e2;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
    background: var(--color-accent);
    color: #fff;
    transform: translateX(5px);
}
.manual-main {
    background: rgba(20,35,30,0.7);
    border-radius: var(--border-radius);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(11,127,108,0.3);
}
.manual-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(11,127,108,0.3);
}
.manual-section:last-child {
    border-bottom: none;
}
.manual-section h2 {
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.manual-section h3 {
    color: #cce7e2;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}
.install-steps {
    counter-reset: step-counter;
    padding-left: 0;
}
.install-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: var(--border-radius-sm);
    position: relative;
    padding-left: 4rem;
}
.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 30px;
    height: 30px;
    background: var(--color-gold);
    color: #0a2e28;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.req-column {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--color-gold);
}
.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.control-group {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
}
.control-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.control-item .key {
    background: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}
.troubleshoot-item {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}
.tip-box, .highlight-box, .info-box, .warning-box {
    background: rgba(0,0,0,0.4);
    border-left: 4px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin: 1.5rem 0;
}
.warning-box {
    border-left-color: var(--color-coral);
}

/* 响应式手册 */
@media (max-width: 768px) {
    .manual-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .manual-sidebar {
        position: static;
    }
    .requirements-grid, .controls-grid {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 2rem;
    }
}
/* ========== 修复：首页英雄区布局 ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: left; /* 恢复默认左对齐，但内容居中通过grid控制 */
}
.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}
.hero-image {
    max-width: 100%;
    display: flex;
    justify-content: center;
}
.hero-image .image-container {
    max-width: 100%;
    width: auto;
}
.hero-image .image-container img {
    width: 100%;
    max-width: 500px; /* 限制最大宽度，避免过大 */
    height: auto;
    object-fit: contain;
}
/* 确保英雄区文本在移动端居中 */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .info-cards {
        text-align: left; /* 卡片内保持左对齐 */
    }
}

/* ========== 修复：所有页面内容靠左问题 ========== */
/* 页面内容容器居中 */
.page-content .content-container,
.manual-content .container,
.faq .faq-container,
.legal-content,
.versions-timeline,
.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
/* 用户手册侧边栏与主内容容器 */
.manual-content .container {
    max-width: 1400px;
    margin: 0 auto;
}
/* 法律文档页面内容区域 */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
/* 常见问题页面 */
.faq-categories {
    justify-content: center;
}
.faq-section .section-title {
    text-align: left;
}
/* 版本时间线 */
.version-timeline {
    max-width: 800px;
    margin: 0 auto;
}

/* ========== 修复：页脚友情链接换行 ========== */
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: flex-end;
}
.footer-partners span {
    margin-right: 0.25rem;
}
/* 移动端下友情链接居中并允许换行 */
@media (max-width: 768px) {
    .footer-partners {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== 辅助修复：确保所有内容容器不溢出 ========== */
.container,
.content-container,
.legal-content,
.manual-main,
.sidebar-menu {
    overflow-x: hidden;
    word-wrap: break-word;
}
img {
    max-width: 100%;
    height: auto;
}
/* 确保画廊图片不变形 */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
/* 英雄区浮动评分在小屏幕下调整位置 */
@media (max-width: 480px) {
    .floating-info {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
        justify-content: center;
    }
}
/* ========== 修复：首页英雄区布局（适配 .hero-container 结构） ========== */
.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero-image img {
    width: 100%;
    max-width: 500px;  /* 限制最大宽度，防止过大溢出 */
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.4s;
}
.hero-image img:hover {
    transform: scale(1.02);
}
/* 移动端：堆叠布局，文本居中 */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .info-cards {
        text-align: left; /* 卡片内容保持左对齐 */
    }
    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
    }
}
/* 小屏幕进一步缩小图片 */
@media (max-width: 480px) {
    .hero-image img {
        max-width: 100%;
    }
}

/* ========== 修复：页脚友情链接与帮助中心等并列显示 ========== */
/* 确保页脚网格在桌面端保持5列，移动端自动换行但不断开友情链接列 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
/* 友情链接区域内部链接换行正常 */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* 移动端：保持每个 section 独占一行，但友情链接依然独立成块 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
    .footer-partners {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========== 辅助修复：确保所有内容容器不溢出且居中 ========== */
.container,
.content-container,
.legal-content,
.manual-main,
.sidebar-menu {
    overflow-x: hidden;
    word-wrap: break-word;
}
img {
    max-width: 100%;
    height: auto;
}
/* 确保画廊图片不变形 */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
/* 英雄区浮动评分在小屏幕下调整位置 */
@media (max-width: 480px) {
    .floating-info {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
        justify-content: center;
    }
}
/* ========== 修复首页左侧排版 + 按钮突出 ========== */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
}
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.hero-features {
    margin-bottom: 1rem;
}
.hero-buttons {
    margin-top: 0.5rem;
}
/* 立即下载按钮更醒目 */
.btn-download {
    background: linear-gradient(105deg, #e6b422, #c97e2a);
    padding: 14px 32px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(230, 180, 34, 0.5);
    border: none;
}
.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(230, 180, 34, 0.7);
    background: linear-gradient(105deg, #f0bc35, #d68a30);
}
/* 移动端居中调整 */
@media (max-width: 768px) {
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .btn-download {
        padding: 12px 28px;
        font-size: 1.1rem;
    }
}

/* ========== 修复右侧短暂滚动条 ========== */
body {
    overflow-x: hidden;
}
.hero,
.hero-container,
.hero-content,
.hero-image {
    max-width: 100%;
    overflow-x: hidden;
}
/* 确保画廊和评价区域无横向溢出 */
.gallery-grid,
.reviews-carousel {
    overflow-x: hidden;
}
.gallery-item img {
    max-width: 100%;
    height: auto;
}
/* 移除任何可能引起滚动条的横向边距 */
.container {
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* ========== 1. 强化立即下载按钮 ========== */
.btn-download {
    background: linear-gradient(105deg, #ffb347, #e67e22);
    padding: 16px 36px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.6);
    border: none;
    position: relative;
    transition: all 0.3s ease;
}
.btn-download:hover {
    background: linear-gradient(105deg, #ffa559, #f39c12);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.8);
}
/* 按钮内文字加大 */
.btn-download .btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn-download .btn-main {
    font-size: 1.4rem;
}
.btn-download .btn-sub {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== 2. 隐藏版本历史区域上方多余的箭头 ========== */
/* 确保评价轮播的导航按钮只在评价区域显示 */
.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
/* 版本历史区域不应有任何导航箭头，清除可能的绝对定位干扰 */
.versions {
    position: relative;
}
.versions .modal-prev,
.versions .modal-next,
.versions .review-prev,
.versions .review-next {
    display: none;
}
/* 确保模态框导航按钮默认隐藏（它们应该只在模态框打开时显示） */
.modal-nav {
    display: none;
}
.image-modal .modal-nav {
    display: flex; /* 模态框打开时显示 */
}
/* 如果用户评价的箭头错误地出现在版本历史上方，强制隐藏版本历史内的任何 .review-prev/.review-next */
.version-timeline ~ .review-prev,
.version-timeline ~ .review-next,
.versions .review-prev,
.versions .review-next {
    display: none !important;
}
/* ========== 1. 立即下载按钮更醒目 ========== */
.download-btn {
    background: linear-gradient(135deg, #f5b042, #e67e22, #f39c12);
    border: none;
    padding: 6px 36px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.5);
    transition: all 0.3s ease;
    border-radius: 60px;
}
.download-btn i {
    font-size: 1.4rem;
    margin-right: 8px;
}
.download-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.7);
}
/* 移动端适配 */
@media (max-width: 768px) {
    .download-btn {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
}

/* ========== 2. 隐藏版本历史区域的多余箭头 ========== */
/* 版本历史区域内如果出现了左右箭头（如用户评价的导航按钮），直接隐藏 */
.versions .review-prev,
.versions .review-next,
.versions .modal-prev,
.versions .modal-next {
    display: none !important;
}
/* 同时确保版本时间线节点不会意外显示箭头图标 */
.version-item::before {
    content: '' !important;  /* 确保伪元素不显示任何字符 */
    background: var(--color-gold);
}
/* ========== 修复：图片 hover 时产生滚动条 ========== */
.hero-image .image-container {
    overflow: hidden;          /* 防止缩放内容溢出 */
    border-radius: 32px;      /* 与图片圆角保持一致 */
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}
.hero-image .image-container img {
    transition: transform 0.4s ease;
}
.hero-image .image-container:hover img {
    transform: scale(1.05);    /* 适度缩放，避免溢出 */
}
/* 确保父容器不溢出 */
.hero-image {
    max-width: 100%;
    overflow: visible;
}
/* 全局禁止水平滚动条（若之前未定义则加上） */
body {
    overflow-x: hidden;
}