/* ============================================================
   H2testw 官方网站 - 全局样式
   设计原则：扁平、现代、专业；无 emoji；绿色主调 + USB 银
   ============================================================ */

/* ---------- 设计令牌（CSS 变量）---------- */
:root {
    /* 品牌色 - 取自 logo 绿色对勾 */
    --brand-50:  #E9F7EF;
    --brand-100: #C9EBD6;
    --brand-200: #95D8AE;
    --brand-300: #5FC287;
    --brand-400: #34A967;
    --brand-500: #1E9E5C;   /* 主色 */
    --brand-600: #16804A;
    --brand-700: #106339;

    /* 中性灰 */
    --ink-900: #0F172A;
    --ink-800: #1F2937;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748B;
    --ink-400: #94A3B8;
    --ink-300: #CBD5E1;
    --ink-200: #E2E8F0;
    --ink-100: #F1F5F9;
    --ink-50:  #F8FAFB;

    /* USB 银色辅助 */
    --silver:   #94A3B8;
    --silver-light: #E2E8F0;

    /* 强调蓝（科技感） */
    --accent: #2563EB;
    --accent-dark: #1D4ED8;

    /* 警示 */
    --warn: #D97706;
    --danger: #DC2626;

    /* 语义 */
    --bg: #FFFFFF;
    --bg-soft: var(--ink-50);
    --text: var(--ink-800);
    --text-muted: var(--ink-500);
    --border: var(--ink-200);

    /* 排版 */
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

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

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow:    0 4px 12px rgba(15, 23, 42, .06), 0 2px 4px rgba(15, 23, 42, .04);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .06);

    /* 容器 */
    --container: 1200px;
    --header-h:  68px;

    /* 过渡 */
    --t: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-700); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
    margin: 0 0 .6em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink-900);
    letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink-700); }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; color: var(--ink-700); }

code, kbd {
    font-family: var(--font-mono);
    font-size: .92em;
    background: var(--ink-100);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--ink-800);
}

/* ---------- 布局 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink-900); color: #E2E8F0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #F1F5F9; }
.section--dark p { color: #94A3B8; }

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section__eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-600);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}
.section__head h2 { margin-bottom: 14px; }
.section__head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Header / 导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink-900);
    font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.brand__sub {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: .04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
    color: var(--ink-700);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 0;
    position: relative;
    transition: color var(--t);
}
.nav__link:hover,
.nav__link.is-active { color: var(--brand-600); }
.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--brand-500);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink-800); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    cursor: pointer;
    white-space: nowrap;
}
.btn--primary {
    background: var(--brand-500);
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 158, 92, .28);
}
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 158, 92, .35); }
.btn--ghost {
    background: transparent;
    color: var(--ink-800);
    border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(30, 158, 92, .10), transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(37, 99, 235, .08), transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, var(--brand-50) 100%);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(30, 158, 92, .10);
    color: var(--brand-700);
    border: 1px solid rgba(30, 158, 92, .22);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 22px;
}
.hero__badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(30, 158, 92, .18);
}
.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}
.hero h1 .accent { color: var(--brand-600); }
.hero p.lead {
    font-size: 1.1rem;
    color: var(--ink-600);
    max-width: 560px;
    margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero__stat .num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--brand-600);
    line-height: 1.1;
    letter-spacing: -.02em;
}
.hero__stat .label {
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero 右侧设备图 */
.hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin-left: auto;
}
.hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 158, 92, .15), transparent 60%);
    z-index: 0;
}
.hero__visual svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

/* ---------- 通用卡片 ---------- */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-300);
    box-shadow: var(--shadow-lg);
}
.card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; stroke-width: 1.8; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; color: var(--ink-600); font-size: .96rem; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 特性列表 ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 64px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__visual {
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.feature-row__visual svg { max-height: 100%; width: 100%; }
.feature-row h2 { margin-bottom: 14px; }
.feature-row__list { margin-top: 16px; }
.feature-row__list li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    align-items: flex-start;
    list-style: none;
}
.feature-row__list li::before {
    content: "";
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-50);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9E5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 14px; background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

/* ---------- 场景 / 用户故事 ---------- */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.scenario {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}
.scenario:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scenario::after {
    content: attr(data-num);
    position: absolute;
    top: -10px; right: 12px;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--brand-50);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}
.scenario__inner { position: relative; z-index: 1; }
.scenario__tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--brand-700);
    background: var(--brand-50);
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.scenario h4 { margin-bottom: 8px; font-size: 1rem; }
.scenario p { font-size: .9rem; color: var(--ink-600); margin: 0; line-height: 1.55; }

/* 用户故事卡 */
.story-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.story-card__quote {
    color: var(--ink-700);
    font-size: .96rem;
    line-height: 1.7;
    margin-bottom: 22px;
    flex: 1;
    position: relative;
    padding-top: 18px;
}
.story-card__quote::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 28px; height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E9E5C' fill-opacity='.18'><path d='M7 7h3v3H7v3H4V10c0-1.66 1.34-3 3-3zm10 0h-3v3h3v3h3V10c0-1.66-1.34-3-3-3z'/></svg>");
    background-repeat: no-repeat;
}
.story-card__quote strong { color: var(--ink-900); font-weight: 700; }
.story-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.story-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-100), var(--brand-300));
    color: var(--brand-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    flex-shrink: 0;
}
.story-card__name { font-weight: 600; color: var(--ink-900); font-size: .95rem; line-height: 1.2; }
.story-card__role { font-size: .8rem; color: var(--text-muted); }
.story-card__source {
    margin-top: 4px;
    font-size: .72rem;
    color: var(--text-muted);
}

/* 数据条 */
.summary-banner {
    background: linear-gradient(135deg, var(--ink-900), #1A2433);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 48px;
    align-items: center;
}
.summary-banner h3 { color: #fff; margin-bottom: 12px; font-size: 1.4rem; }
.summary-banner p { color: #94A3B8; margin: 0; font-size: .98rem; }
.summary-banner__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}
.summary-banner__num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-300);
    line-height: 1;
}
.summary-banner__label { font-size: .82rem; color: #94A3B8; margin-top: 6px; }

/* ---------- 时间线（版本日志）---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 8px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--brand-100);
}
.timeline__item { position: relative; margin-bottom: 36px; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: -28px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand-500);
    box-shadow: 0 0 0 4px var(--brand-50);
}
.timeline__ver {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    background: var(--brand-500);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    margin-right: 8px;
}
.timeline__date {
    font-size: .82rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.timeline__item h4 { margin: 8px 0 6px; }
.timeline__item ul { margin: 6px 0 0; padding-left: 1.2em; }
.timeline__item li {
    font-size: .92rem;
    padding: 3px 0;
    color: var(--ink-600);
    list-style: "—  ";
}

/* ---------- 表格 ---------- */
.tbl {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.tbl thead {
    background: var(--bg-soft);
}
.tbl th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--ink-800);
    border-bottom: 1px solid var(--border);
}
.tbl td {
    padding: 14px 18px;
    font-size: .94rem;
    color: var(--ink-700);
    border-bottom: 1px solid var(--border);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl .mono { font-family: var(--font-mono); font-size: .86rem; color: var(--ink-800); }
.tbl .tag-ok {
    display: inline-block;
    font-size: .76rem;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}

/* ---------- 下载弹窗 ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.is-open {
    display: flex;
    animation: modalFade .25s ease;
	  left: 0;
	  right: 0;
	  top: 0;
	  bottom: 0;
}
button { outline: none }
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
}
.modal__panel {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    padding: 36px 32px 32px;
    box-shadow: var(--shadow-lg);
    animation: modalPop .25s cubic-bezier(.4, 0, .2, 1);
}
.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--ink-500);
    transition: background var(--t), color var(--t);
}
.modal__close:hover { background: var(--ink-100); color: var(--ink-800); }
.modal__close svg { width: 20px; height: 20px; stroke-width: 2; }
.modal__title { font-size: 1.25rem; margin-bottom: 8px; text-align: center; }
.modal__sub {
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 24px;
}

.qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.qr-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    transition: border-color var(--t), transform var(--t);
}
.qr-card:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.qr-card svg {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 8px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    display: block;
}
.qr-card__name {
    font-weight: 600;
    color: var(--ink-800);
    font-size: .92rem;
	margin-top: 8px;
    margin-bottom: 8px;
}
.qr-card__hint {
    font-size: .76rem;
    color: var(--text-muted);
}
.qr-card.is-recommended {
    border-color: var(--brand-500);
    background: var(--brand-50);
}
.qr-card img{max-width:160px;display:block;margin:0 auto;}
.qr-card.is-recommended .qr-card__name {
    color: var(--brand-700);
}

.modal__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-400);
    font-size: .82rem;
    margin-bottom: 18px;
}
.modal__divider::before,
.modal__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.modal__hint {
    margin-top: 18px;
    padding: 14px;
    background: var(--brand-50);
    border-radius: var(--radius);
    font-size: .82rem;
    color: var(--ink-700);
    line-height: 1.55;
    border-left: 3px solid var(--brand-500);
}
.modal__hint strong { color: var(--brand-700); }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
    from { opacity: 0; transform: scale(.92) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- FAQ ---------- */
.faq {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--t);
}
.faq[open] { border-color: var(--brand-300); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    width: 28px; height: 28px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--t);
}
.faq[open] summary::after { transform: rotate(180deg); }
.faq__body {
    padding: 0 24px 20px;
    color: var(--ink-600);
    font-size: .94rem;
    line-height: 1.7;
}
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step {
    text-align: center;
    position: relative;
}
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px; right: -12px;
    width: calc(100% - 56px); left: calc(50% + 28px);
    height: 2px;
    background: var(--ink-200);
}
.step__num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand-500);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 14px;
    box-shadow: 0 6px 14px rgba(30, 158, 92, .28);
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--ink-600); font-size: .92rem; margin: 0; }

/* ---------- 资质徽章 ---------- */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: .82rem;
    color: var(--ink-700);
    font-weight: 500;
}
.badge svg { width: 14px; height: 14px; stroke: var(--brand-600); }
.badge--accent { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-900);
    color: #94A3B8;
    padding: 64px 0 32px;
}
.site-footer h5 {
    color: #F1F5F9;
    font-size: .9rem;
    margin-bottom: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p { color: #94A3B8; font-size: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a {
    color: #94A3B8;
    font-size: .92rem;
    transition: color var(--t);
}
.footer-links 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;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .82rem;
    color: #64748B;
}
.footer-bottom a { color: #94A3B8; }
.footer-bottom a:hover { color: var(--brand-300); }

/* ---------- 回到顶部 ---------- */
.to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-500);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(30, 158, 92, .32);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t), transform var(--t);
    z-index: 80;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.5; }

/* ---------- Banner CTA ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,.12), transparent 50%);
    pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.92); margin-bottom: 28px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn--primary {
    background: #fff;
    color: var(--brand-700);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.cta-banner .btn--primary:hover { background: var(--brand-50); color: var(--brand-700); }

/* ---------- 内页 Hero（小标题头） ---------- */
.page-hero {
    background:
        linear-gradient(180deg, var(--brand-50) 0%, transparent 100%),
        linear-gradient(180deg, #FFFFFF, #FFFFFF);
    padding: 80px 0 56px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.05rem;
    color: var(--ink-600);
    max-width: 720px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: var(--ink-300); }

/* ---------- 信息块 ---------- */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.spec-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.spec-item__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--brand-600);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.spec-item__icon svg { width: 20px; height: 20px; }
.spec-item__label { font-size: .82rem; color: var(--text-muted); margin-bottom: 2px; }
.spec-item__value { font-weight: 600; color: var(--ink-900); font-size: .98rem; }

/* ---------- 提示框 ---------- */
.note {
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--brand-50);
    border-left: 4px solid var(--brand-500);
    color: var(--ink-800);
    margin: 24px 0;
    font-size: .94rem;
    line-height: 1.7;
}
.note strong { color: var(--brand-700); }
.note--warn { background: #FEF3C7; border-color: var(--warn); }
.note--warn strong { color: #92400E; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { max-width: 320px; margin: 0 auto; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .grid--3, .grid--4, .scenario-grid, .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
    .feature-row--reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .summary-banner { grid-template-columns: 1fr; padding: 36px 28px; }
    .summary-banner__stats { gap: 16px; }
}
@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .hero { padding: 64px 0; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .nav.is-open { display: flex; }
    .nav__link { padding: 14px 24px; border-bottom: 1px solid var(--border); }
    .nav__link.is-active::after { display: none; }
    .nav-toggle { display: flex; }
    .grid--3, .grid--4, .grid--2, .scenario-grid, .steps, .spec-grid { grid-template-columns: 1fr; }
    .step:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .qr-grid { grid-template-columns: 1fr; gap: 12px; }
    .modal__panel { padding: 28px 22px 24px; }
    h1 { font-size: 1.8rem; }
    .hero h1 { font-size: 1.85rem; }
    .container { padding: 0 18px; }
}

/* ---------- 焦点样式（无障碍）---------- */
:focus-visible {
    outline: 3px solid var(--brand-400);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
.btn:focus-visible {
    outline-offset: 4px;
}

/* ---------- 入场动画 ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: opacity, transform;
}
[data-animate].is-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    [data-animate] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
