/* ===================================================================
   Victoria SSD/HDD 官方网站 - 全局样式表
   风格：扁平 / 现代 / 专业 / 绿色品牌色
   =================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
    /* 品牌色（基于 logo 提取） */
    --brand-50:  #e8f5e9;
    --brand-100: #c8e6c9;
    --brand-200: #a5d6a7;
    --brand-300: #81c784;
    --brand-400: #4caf50;
    --brand-500: #00b04f;   /* 主品牌色 */
    --brand-600: #008000;   /* logo 深绿 */
    --brand-700: #006400;
    --brand-800: #004d00;
    --brand-900: #003200;

    /* 中性色 */
    --ink-900: #0f1c14;
    --ink-800: #1c2b22;
    --ink-700: #2d3e34;
    --ink-600: #44544a;
    --ink-500: #5f6f65;
    --ink-400: #8a958f;
    --ink-300: #c3ccc7;
    --ink-200: #e2e7e4;
    --ink-100: #f1f5f3;
    --ink-50:  #f7faf8;

    /* 功能色 */
    --bg:        #ffffff;
    --bg-soft:   #f7faf8;
    --bg-muted:  #eef3f0;
    --text:      var(--ink-800);
    --text-soft: var(--ink-500);
    --line:      var(--ink-200);
    --accent:    var(--brand-600);
    --accent-hover: var(--brand-700);

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(15, 28, 20, 0.04);
    --shadow:    0 4px 16px rgba(15, 28, 20, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 28, 20, 0.10);
    --shadow-brand: 0 8px 24px rgba(0, 128, 0, 0.18);

    /* 圆角 */
    --r-sm: 6px;
    --r:    10px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* 间距 & 容器 */
    --container: 1200px;
    --nav-h: 68px;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                 "Source Han Sans CN", "Noto Sans CJK SC",
                 -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

/* ---------- 3. 布局工具 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-muted { background: var(--bg-muted); }
.section-brand {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 60%, var(--brand-500) 100%);
    color: #fff;
}
.section-brand h1, .section-brand h2, .section-brand h3 { color: #fff; }

.text-center { text-align: center; }
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section-brand .eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}
.section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head p {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 0;
}
.section-brand .section-head p { color: rgba(255, 255, 255, 0.88); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
}

/* ---------- 4. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    border: 1px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-600);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
    background: var(--brand-700);
    color: #fff;
    transform: translateY(-1px);
}
.btn-light {
    background: #fff;
    color: var(--brand-700);
}
.btn-light:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-outline {
    background: transparent;
    border-color: var(--brand-600);
    color: var(--brand-700);
}
.btn-outline:hover { background: var(--brand-600); color: #fff; }
.btn-ghost-light {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink-900);
    font-size: 1.05rem;
}
.brand img { width: 32px; height: 32px; }
.brand small {
    display: block;
    font-size: .68rem;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: .04em;
}
.nav-menu {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}
.nav-menu a {
    padding: 8px 14px;
    border-radius: var(--r-sm);
    color: var(--ink-700);
    font-weight: 500;
    font-size: .95rem;
}
.nav-menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-menu a.active {
    color: var(--brand-700);
    background: var(--brand-50);
}
.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    align-items: center; justify-content: center;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--ink-800);
    position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0;
    width: 22px; height: 2px; background: var(--ink-800);
    transition: .2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
@media (max-width: 880px) {
    .nav-menu, .nav-actions .btn:not(.btn-primary) { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-menu.is-open {
        display: flex;
        position: absolute;
        top: var(--nav-h); left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 24px;
        gap: 4px;
        box-shadow: var(--shadow);
    }
    .nav-menu.is-open a { padding: 12px; }
}

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(0,176,79,.18), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(0,128,0,.10), transparent 60%),
        linear-gradient(180deg, #f3faf4 0%, #ffffff 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    margin-bottom: 20px;
}
.hero h1 .hl { color: var(--brand-600); }
.hero-lead {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 28px;
    max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; }
.hero-meta .num {
    font-size: 1.6rem; font-weight: 700; color: var(--brand-700);
    line-height: 1.1;
}
.hero-meta .lbl { font-size: .85rem; color: var(--text-soft); }

.hero-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,128,0,.06), transparent 60%);
    pointer-events: none;
}
.window-bar {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.window-bar .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-200); }
.window-bar .dot.r { background: #ff5f56; }
.window-bar .dot.y { background: #ffbd2e; }
.window-bar .dot.g { background: #27c93f; }
.window-bar .ttl {
    margin-left: 8px; font-size: .85rem; color: var(--text-soft); font-weight: 500;
}
.mock-scan {
    background: var(--bg-soft);
    border-radius: var(--r);
    padding: 18px;
}
.scan-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
    font-size: .85rem;
}
.scan-head .disk {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--ink-800);
}
.scan-head .disk::before {
    content: ''; width: 10px; height: 10px; border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(0,176,79,.18);
}
.scan-bars { display: flex; flex-direction: column; gap: 10px; }
.scan-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 12px; align-items: center;
    font-size: .8rem;
}
.scan-row .lbl { color: var(--text-soft); }
.scan-row .track {
    height: 8px; border-radius: 4px;
    background: var(--ink-200); position: relative; overflow: hidden;
}
.scan-row .track > i {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
    border-radius: 4px;
}
.scan-row .val { text-align: right; font-weight: 600; color: var(--ink-800); }
.scan-foot {
    margin-top: 16px; padding-top: 12px;
    border-top: 1px dashed var(--ink-200);
    display: flex; justify-content: space-between;
    font-size: .8rem; color: var(--text-soft);
}

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 64px 0 56px; }
}

/* ---------- 7. 卡片 / 特性 ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-200);
}
.card .ico {
    width: 52px; height: 52px;
    border-radius: var(--r);
    background: var(--brand-50);
    color: var(--brand-700);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); margin-bottom: 0; font-size: .96rem; }

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* 场景卡片 */
.scene-card {
    position: relative;
    border-radius: var(--r-lg);
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all .25s ease;
}
.scene-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 6px; height: 100%;
    background: var(--brand-500);
    transform: scaleY(0); transform-origin: top;
    transition: transform .3s ease;
}
.scene-card:hover::before { transform: scaleY(1); }
.scene-card:hover { box-shadow: var(--shadow-lg); }
.scene-card .tag {
    display: inline-block;
    font-size: .75rem; font-weight: 600;
    color: var(--brand-700);
    background: var(--brand-50);
    padding: 4px 10px; border-radius: 999px;
    margin-bottom: 12px;
}
.scene-card h3 { margin-bottom: 10px; }
.scene-card p { color: var(--text-soft); font-size: .96rem; margin: 0; }
.scene-card ul {
    margin-top: 14px;
    display: flex; flex-direction: column; gap: 6px;
}
.scene-card ul li {
    font-size: .9rem; color: var(--ink-700);
    padding-left: 22px; position: relative;
}
.scene-card ul li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 12px; height: 8px;
    border-left: 2px solid var(--brand-500);
    border-bottom: 2px solid var(--brand-500);
    transform: rotate(-45deg);
}

/* ---------- 8. 评价 ---------- */
.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    height: 100%;
    position: relative;
}
.testimonial::before {
    content: '"';
    position: absolute; top: 8px; right: 22px;
    font-size: 4.5rem; line-height: 1;
    color: var(--brand-100); font-family: Georgia, serif;
}
.testimonial .stars { color: #f5a623; font-size: .95rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote {
    margin: 0 0 18px; color: var(--ink-700);
    font-size: .98rem; line-height: 1.7;
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
    color: #fff; font-weight: 700; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}
.testimonial .who .name { font-weight: 600; color: var(--ink-900); font-size: .92rem; }
.testimonial .who .meta { font-size: .8rem; color: var(--text-soft); }

/* ---------- 9. 步骤 ---------- */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    position: relative;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    counter-increment: step;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: 22px; right: 22px;
    font-size: 1.6rem; font-weight: 800;
    color: var(--brand-100);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--text-soft); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 10. 数据条 ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat .num {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.stat .lbl {
    color: rgba(255,255,255,.85);
    font-size: .92rem;
    margin-top: 6px;
}
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    margin-bottom: 14px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--ink-900);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
}
.faq-q .icon {
    flex: 0 0 auto;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-700);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700;
    transition: transform .25s ease;
}
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
}
.faq-a .inner {
    padding: 0 22px 20px;
    color: var(--text-soft);
    font-size: .96rem;
    line-height: 1.75;
}

/* ---------- 12. CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    color: #fff;
    border-radius: var(--r-xl);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-brand);
}
.cta-banner::before, .cta-banner::after {
    content: ''; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-banner::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -80px; left: -60px; }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: rgba(255,255,255,.88); position: relative; margin-bottom: 28px; }
.cta-banner .hero-cta { justify-content: center; position: relative; }

/* ---------- 13. 下载弹窗 ---------- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 28, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    transition: opacity .2s ease;
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal {
    background: #fff;
    border-radius: var(--r-xl);
    max-width: 720px;
    width: 100%;
    padding: 36px 36px 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(12px);
    transition: transform .25s ease;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ink-100);
    color: var(--ink-700);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: all .2s;
}
.modal-close:hover { background: var(--brand-600); color: #fff; }
.modal-head { text-align: center; margin-bottom: 24px; }
.modal-head .ico {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    background: var(--brand-50);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
}
.modal-head .ico img { width: 36px; height: 36px; }
.modal-head h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-head p { color: var(--text-soft); font-size: .92rem; margin: 0; }

.qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}
.qr-item {
    text-align: center;
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-soft);
    transition: all .2s;
}
.qr-item:hover {
    border-color: var(--brand-300);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.qr-item img {
    width: 168px; height: 168px;
    margin: 0 auto 12px;
    border-radius: var(--r);
    background: #fff;
    padding: 8px;
    border: 1px solid var(--line);
}
.qr-item .ver { font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.qr-item .desc { font-size: .82rem; color: var(--text-soft); }
.qr-item .meta {
    margin-top: 8px;
    font-size: .75rem; color: var(--brand-700);
    background: var(--brand-50);
    display: inline-block;
    padding: 3px 10px; border-radius: 999px;
}

.modal-foot {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
    font-size: .85rem;
    color: var(--text-soft);
    flex-wrap: wrap;
}
.modal-foot a { font-weight: 600; }
@media (max-width: 560px) {
    .qr-grid { grid-template-columns: 1fr; }
    .modal { padding: 28px 22px; }
}

/* ---------- 14. 通用页面 hero ---------- */
.page-hero {
    background:
        radial-gradient(900px 480px at 85% -20%, rgba(0,176,79,.16), transparent 60%),
        linear-gradient(180deg, #f3faf4 0%, #ffffff 100%);
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--text-soft); font-size: 1.08rem; max-width: 760px; margin-bottom: 0; }
.breadcrumb {
    font-size: .85rem;
    color: var(--text-soft);
    margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb span { margin: 0 8px; color: var(--ink-300); }

/* ---------- 15. 下载页表格 ---------- */
.version-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.version-table th, .version-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.version-table th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--ink-800);
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.version-table tr:last-child td { border-bottom: 0; }
.version-table tr:hover td { background: var(--brand-50); }
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-stable { background: var(--brand-50); color: var(--brand-700); }
.badge-beta   { background: #fff3cd; color: #856404; }
.badge-old    { background: var(--ink-100); color: var(--ink-600); }

/* ---------- 16. 教程页 ---------- */
.toc {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 26px;
    margin-bottom: 32px;
}
.toc h4 { margin-bottom: 12px; font-size: .9rem; color: var(--text-soft); letter-spacing: .08em; text-transform: uppercase; }
.toc ol { padding-left: 20px; }
.toc ol li { margin-bottom: 6px; }
.toc ol li a { color: var(--ink-700); }
.toc ol li a:hover { color: var(--brand-700); }

.doc {
    max-width: 880px;
    margin: 0 auto;
}
.doc h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-100);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.1rem; }
.doc p, .doc li { color: var(--ink-700); line-height: 1.85; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 16px; }
.doc ul li { list-style: disc; margin-bottom: 6px; }
.doc ol li { list-style: decimal; margin-bottom: 6px; }
.doc .note {
    background: var(--brand-50);
    border-left: 4px solid var(--brand-500);
    padding: 14px 18px;
    border-radius: var(--r-sm);
    margin: 20px 0;
    color: var(--ink-800);
    font-size: .95rem;
}
.doc .note strong { color: var(--brand-700); }

/* ---------- 17. 关于页 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.value-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.value-card .ico {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- 18. 页脚 ---------- */
.site-footer {
    background: var(--ink-900);
    color: var(--ink-300);
    padding: 64px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-400); font-size: .9rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
    color: #fff; font-size: .95rem; margin-bottom: 16px;
    letter-spacing: .04em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--ink-400);
    font-size: .9rem;
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--brand-300); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    font-size: .82rem;
    color: var(--ink-500);
}
.footer-bottom a { color: var(--ink-400); }
.footer-bottom a:hover { color: var(--brand-300); }
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 19. 滚动浮现 ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 20. 实用工具类 ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-soft { color: var(--text-soft); }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.ai-center { align-items: center; }
.jc-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
