/* ===== CSS 变量定义 · 暖橙官方基调 ===== */
:root {
    --primary-color: #f59e0b;
    --primary-hover: #d97706;
    --primary-light: #fef3c7;
    --accent-color: #f97316;
    --accent-soft: #ffedd5;
    --trust-blue: #2563eb;
    --trust-blue-light: #eff6ff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-warm: #fffbf5;
    --bg-card: #fffdf7;
    --bg-footer: #1e293b;
    --border-color: #fde68a;
    --border-dark: #e2d4b0;
    --border-subtle: #fef9c3;
    --shadow-sm: 0 4px 14px rgba(245, 158, 11, 0.10);
    --shadow-md: 0 12px 24px -10px rgba(245, 158, 11, 0.14);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.20);
    --radius-md: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

/* ===== 全局重置 ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ===== 导航栏 ===== */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background-color var(--transition-smooth);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 19px;
    gap: 10px;
    letter-spacing: -0.2px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-hover);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* ===== Hero 区域 ===== */
.hero-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px 50px;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    padding: 7px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    gap: 6px;
    letter-spacing: 0.2px;
}

.hero-text h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.hero-text h1 span {
    color: var(--primary-color);
    display: block;
    font-weight: 900;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.75;
}

.hero-desc strong {
    color: #1e293b;
    font-weight: 600;
}

.hero-mini-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
    text-align: center;
    cursor: pointer;
    gap: 6px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.40);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #fefce8;
    border-color: var(--primary-color);
}

.hero-image-cell {
    flex: 1 1 45%;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.hero-placeholder-img {
    width: 100%;
    max-width: 460px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 40%, #f59e0b 100%);
    box-shadow: var(--shadow-md);
}

/* ===== 安全认证条 · 创意新增版块 ===== */
.safety-cert-strip {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 0 24px;
}

.safety-cert-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    border-radius: 16px;
    padding: 28px 20px;
    flex-wrap: wrap;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    gap: 16px;
}

.safety-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
}

.safety-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.safety-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.safety-text strong {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

.safety-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.safety-cert-divider {
    width: 1px;
    height: 40px;
    background-color: #fde68a;
}

/* ===== 视频教学 ===== */
.video-container {
    max-width: var(--max-width);
    margin: 40px auto 80px;
    padding: 0 24px;
    text-align: center;
}

.video-subtitle {
    color: var(--text-muted);
    margin-top: -26px;
    margin-bottom: 40px;
    font-size: 16px;
}

.video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 450px;
    background-color: #0b0f19;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #1e293b;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== 平台版本速览矩阵 ===== */
.compare-matrix-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 24px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
    color: #1e293b;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 16px;
}

.compare-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.compare-card {
    background: var(--bg-white);
    border: 1px solid #fef3c7;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.compare-card-header {
    margin-bottom: 22px;
}

.compare-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.badge-mod {
    background-color: #fef3c7;
    color: #b45309;
}

.badge-pro {
    background-color: #ffedd5;
    color: #c2410c;
}

.compare-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.compare-features {
    list-style: none;
    margin-top: 10px;
    flex: 1;
}

.compare-features li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.5;
}

.check-icon {
    color: #f59e0b;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== 核心特性卡片区 ===== */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 56px 0;
}

.feature-card {
    background-color: #fffdf7;
    border: 1px solid #fef3c7;
    border-radius: 16px;
    padding: 34px 30px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.feature-card:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background-color: #fef3c7;
    border-radius: 12px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 13px;
    font-weight: 700;
    color: #1e293b;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== 性能数据条 ===== */
.perf-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #fefce8 0%, #fffbf5 50%, #fffbeb 100%);
    border-radius: 20px;
    padding: 30px 20px;
    margin: 56px 0;
    flex-wrap: wrap;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.perf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
}

.perf-num {
    font-size: 34px;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.perf-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perf-divider {
    width: 1px;
    height: 44px;
    background-color: #fde68a;
}

/* ===== 正文排版 ===== */
.article-body {
    max-width: 850px;
    margin: 66px auto 0;
    font-size: 16px;
    color: #334155;
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.75;
}

.inline-title-block {
    margin-top: 48px;
    margin-bottom: 22px;
    padding-left: 18px;
    border-left: 4px solid #f59e0b;
    display: flex;
    align-items: center;
    gap: 14px;
}

.title-block-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.title-block-text h2 {
    font-size: 23px;
    font-weight: 700;
    color: #1e293b;
}

/* 装饰列表 */
.decorated-list {
    list-style: none;
    margin: 28px 0;
}

.list-item-row {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.list-item-icon-cell {
    flex-shrink: 0;
    padding-top: 3px;
}

.list-item-content-cell strong {
    color: #1e293b;
    font-size: 15px;
    display: block;
    margin-bottom: 3px;
}

.list-item-content-cell p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== 快速决策指南 ===== */
.quick-decision-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    margin-top: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.quick-decision-box h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 26px;
    color: #1e293b;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.decision-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid #fef3c7;
    transition: all var(--transition-fast);
}

.decision-option:hover {
    border-color: #f59e0b;
    box-shadow: var(--shadow-sm);
}

.decision-icon {
    font-size: 24px;
}

.decision-option strong {
    font-size: 14px;
    color: #1e293b;
}

.decision-arrow {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}

.decision-recommend {
    align-self: flex-start;
    font-size: 13px;
}

/* ===== 版本更新摘要 · 创意新增版块 ===== */
.version-summary-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    margin-top: 44px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.version-summary-box h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #1e293b;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.version-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    padding: 10px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.version-tag {
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tag-new {
    background-color: #dcfce7;
    color: #16a34a;
}

.tag-opt {
    background-color: #dbeafe;
    color: #2563eb;
}

.tag-fix {
    background-color: #fef3c7;
    color: #b45309;
}

.tag-sec {
    background-color: #fee2e2;
    color: #dc2626;
}

.version-more-link {
    display: inline-block;
    margin-top: 20px;
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.version-more-link:hover {
    color: #d97706;
}

/* ===== 页脚 ===== */
footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 64px 0 28px;
    font-size: 14px;
    border-top: 1px solid #334155;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-info h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    flex: 2 1 500px;
}

.footer-links-table {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

.footer-col {
    flex: 1 1 140px;
}

.footer-col h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

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

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

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: #f59e0b;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 44px auto 0;
    padding: 22px 24px 0;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 14px 20px;
        align-items: flex-start;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 10px;
    }

    .hero-section {
        flex-direction: column;
        padding: 44px 18px 36px;
        gap: 28px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-placeholder-img {
        height: 200px;
    }

    .safety-cert-container {
        flex-direction: column;
        gap: 14px;
        padding: 22px 16px;
    }

    .safety-cert-divider {
        width: 80%;
        height: 1px;
    }

    .video-wrapper {
        height: 240px;
    }

    .perf-strip {
        flex-direction: column;
        gap: 18px;
    }

    .perf-divider {
        width: 70%;
        height: 1px;
    }

    .features-grid,
    .compare-matrix {
        grid-template-columns: 1fr;
    }

    .decision-grid,
    .version-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links-table {
        flex-direction: column;
        gap: 26px;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .inline-title-block {
        padding-left: 14px;
        gap: 10px;
    }

    .title-block-text h2 {
        font-size: 19px;
    }
}