/* ============================================================
   胖宝官网 · cyber industrial 样式
   配色：深黑 + 酸橙黄单一锐利点缀
   字体：Geist / Geist Mono（避开 Inter 同质化）
   设计意图：B2B 商业 SaaS · 工业感 · 极简留白 · anti-AI-slop
   ============================================================ */

:root {
    /* 背景层 */
    --bg: #0a0a0c;
    --bg-soft: #111114;
    --bg-card: #15151a;
    --bg-elev: #1a1a20;

    /* 文字层（灰阶） */
    --text: #e9e9ec;
    --text-mute: #a8a8b0;   /* 提亮 8a→a8 满足 WCAG AA 4.5:1 */
    --text-dim: #82828a;    /* 提亮 5a→82 满足 WCAG AA 4.5:1 在 bg-card 上 */

    /* 边框 */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-accent: rgba(212, 255, 0, 0.32);

    /* 单一锐利点缀色：酸橙黄（cyber industrial 标志色） */
    --accent: #d4ff00;
    --accent-dim: rgba(212, 255, 0, 0.12);
    --accent-glow: rgba(212, 255, 0, 0.45);

    /* 状态色 */
    --ok: #10b981;
    --ok-dim: rgba(16, 185, 129, 0.14);
    --pending: #f59e0b;
    --pending-dim: rgba(245, 158, 11, 0.14);
    --warn: #ef4444;

    /* 排版 scale */
    --fs-display: clamp(48px, 7vw, 96px);
    --fs-h2: clamp(28px, 4vw, 44px);
    --fs-h3: 22px;
    --fs-lead: clamp(16px, 1.6vw, 19px);
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-micro: 11px;

    /* 节奏 */
    --section-py: clamp(72px, 10vw, 128px);
    --container-pad: 24px;
    --max-w: 1180px;
    --radius: 14px;
    --radius-sm: 8px;

    /* 缓动 */
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Geist', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: var(--fs-body);
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ============================================================
   背景层（网格 + 噪点）
   ============================================================ */

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: -1px -1px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center top, rgba(0, 0, 0, .9) 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0, 0, 0, .9) 30%, transparent 80%);
}

.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

main, header, footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
   通用排版工具
   ============================================================ */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.mono {
    font-family: 'Geist Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-feature-settings: "ss01" on, "ss02" on;
}

.micro {
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim);
}

.accent {
    color: var(--accent);
}

.dim {
    color: var(--text-dim);
}

.eyebrow {
    font-size: var(--fs-micro);
    color: var(--text-mute);  /* 用 mute 而非 dim 保证 WCAG AA */
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4 {
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.section-head {
    margin-bottom: 64px;
    text-align: center;
}

.section-head h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    letter-spacing: -.025em;
}

.section-head .section-sub {
    margin-top: 16px;
    color: var(--text-mute);
    font-size: var(--fs-lead);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   按钮
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
}

.btn-primary:hover {
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-dim);
}

.btn-sm {
    padding: 9px 14px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(10, 10, 12, .7);
    border-bottom: 1px solid var(--border);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}

.brand:hover {
    color: var(--accent);
}

.brand-mark {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.brand-text {
    font-size: 17px;
    letter-spacing: -.01em;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.brand-tag {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: .12em;
}

.primary-nav {
    display: flex;
    gap: 28px;
}

.primary-nav a {
    color: var(--text-mute);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s var(--ease);
}

.primary-nav a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    padding: clamp(72px, 8vw, 120px) 0 var(--section-py);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
    align-items: center;
}

.hero-text .badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-soft);
    font-size: 12px;
    color: var(--text-mute);
    font-family: 'Geist Mono', monospace;
}

.badge-live {
    color: var(--ok);
    border-color: rgba(16, 185, 129, .35);
}

.badge-live .dot {
    width: 6px;
    height: 6px;
    background: var(--ok);
    border-radius: 50%;
    animation: dot-pulse 2s var(--ease) infinite;
    box-shadow: 0 0 0 0 var(--ok);
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.display {
    font-size: var(--fs-display);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.02;
    margin-bottom: 28px;
}

.display .line {
    display: block;
    opacity: 0;
    animation: line-in .9s var(--ease) forwards;
}

.display .line:nth-child(1) { animation-delay: .1s; }
.display .line:nth-child(2) { animation-delay: .25s; }

.display .accent-word {
    color: var(--accent);
    position: relative;
}

.display .accent-word::after {
    content: '';
    position: absolute;
    left: -.05em;
    right: -.05em;
    bottom: .05em;
    height: .12em;
    background: var(--accent);
    opacity: .25;
    z-index: -1;
}

@keyframes line-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.lead {
    font-size: var(--fs-lead);
    color: var(--text-mute);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stats > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-stats dt {
    font-size: var(--fs-micro);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hero-stats dd {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.hero-stats dd.accent {
    color: var(--accent);
}

/* ============================================================
   Hero 视觉：CSS 概念终端
   ============================================================ */

.hero-visual {
    position: relative;
    aspect-ratio: 1;
    color: var(--accent);
}

.device {
    position: absolute;
    inset: 10% 8% 12% 8%;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.device-screen {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .6) inset,
        0 0 40px rgba(212, 255, 0, .08),
        0 24px 80px rgba(0, 0, 0, .5);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.device-screen::before {
    /* 屏幕扫描线效果 */
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            transparent 0,
            transparent 3px,
            rgba(212, 255, 0, .02) 3px,
            rgba(212, 255, 0, .02) 4px
        );
    pointer-events: none;
    border-radius: var(--radius);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}

.led {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
    animation: dot-pulse-y 1.4s var(--ease) infinite;
}

@keyframes dot-pulse-y {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.screen-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
    overflow: hidden;
}

.chat-line {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text);
    opacity: 0;
    animation: chat-in .6s var(--ease) forwards;
}

.chat-line:nth-child(1) { animation-delay: .6s; }
.chat-line:nth-child(2) { animation-delay: 1.2s; }
.chat-line:nth-child(3) { animation-delay: 2.0s; }

@keyframes chat-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-user {
    color: var(--text-mute);
    padding-left: 10px;
    border-left: 2px solid var(--border-strong);
}

.chat-ai {
    color: var(--text);
    padding-left: 10px;
    border-left: 2px solid var(--accent);
    position: relative;
}

.ai-cursor {
    display: inline-block;
    width: 6px;
    height: 12px;
    background: var(--accent);
    margin-right: 6px;
    vertical-align: middle;
    animation: cursor-blink 1s steps(2) infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.chat-meta {
    font-size: 10px;
    color: var(--text-dim);
    padding-left: 10px;
}

.screen-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    flex-wrap: wrap;
}

.device-base {
    height: 28px;
    margin-top: 8px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-stamp {
    font-size: 10px;
    letter-spacing: .15em;
    color: var(--text-dim);
}

.signal-rings {
    position: absolute;
    inset: -10%;
    color: var(--accent);
    z-index: 1;
    animation: rings-pulse 6s ease-in-out infinite;
}

@keyframes rings-pulse {
    0%, 100% { opacity: .55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

/* ============================================================
   Manifesto
   ============================================================ */

.manifesto {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.manifesto .container {
    max-width: 920px;
}

.statement {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin-bottom: 32px;
}

.statement-foot {
    color: var(--text-mute);
    font-size: var(--fs-lead);
    line-height: 1.7;
}

/* ============================================================
   AI 员工矩阵
   ============================================================ */

.matrix {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.role-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
    overflow: hidden;
}

.role-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.role-card-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0, var(--accent) 50%, transparent 100%);
    opacity: .6;
}

.role-card-spine {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(212, 255, 0, .025) 100%);
    border-color: var(--border-accent);
}

.role-card-pending {
    opacity: .82;
}

.role-card-pending:hover {
    opacity: 1;
}

.role-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.role-num {
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: .1em;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-family: 'Geist Mono', monospace;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: 999px;
}

.status-live {
    color: var(--ok);
    background: var(--ok-dim);
    border: 1px solid rgba(16, 185, 129, .25);
}

.status-pending {
    color: var(--pending);
    background: var(--pending-dim);
    border: 1px solid rgba(245, 158, 11, .25);
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.status-live .status-dot {
    background: var(--ok);
}

.status-pending .status-dot {
    background: transparent;
    border: 1.5px solid var(--pending);
}

.role-card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 4px;
}

.role-sub {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.role-card > p:not(.role-sub):not(.role-foot) {
    color: var(--text-mute);
    margin-bottom: 18px;
    font-size: 15px;
}

.role-bullets {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.role-bullets li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
}

.role-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-family: 'Geist Mono', monospace;
}

.role-foot {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
}

.matrix-cta {
    margin-top: 56px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================================
   Scenarios
   ============================================================ */

.scenarios {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scenario-card {
    padding: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .25s var(--ease);
}

.scenario-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card);
    transform: translateY(-3px);
}

.sc-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 18px;
}

.sc-tag {
    margin-bottom: 6px;
}

.scenario-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sc-desc {
    color: var(--text-mute);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.sc-bullets {
    list-style: none;
    padding: 0;
}

.sc-bullets li {
    color: var(--text-mute);
    font-size: 13px;
    line-height: 1.7;
    padding-left: 14px;
    position: relative;
}

.sc-bullets li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   How it works · 架构流
   ============================================================ */

.how {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.arch-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}

.arch-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.arch-node-core {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(212, 255, 0, .03) 100%);
}

.arch-node h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.arch-desc {
    color: var(--text-mute);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.arch-bullets {
    list-style: none;
    padding: 0;
    font-size: 12.5px;
    color: var(--text-dim);
}

.arch-bullets li {
    padding: 4px 0;
}

.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-dim);
    min-width: 80px;
}

.arch-arrow svg {
    width: 60px;
    height: 16px;
    color: var(--accent);
}

.arch-note {
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 12px;
    text-align: center;
}

/* ============================================================
   Trust · 服务承诺
   ============================================================ */

.trust {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s var(--ease);
}

.trust-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.trust-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.trust-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

.trust-metric {
    margin-bottom: 14px;
    color: var(--accent);
}

.trust-metric .big {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
}

.trust-metric .unit {
    font-size: 20px;
    margin-left: 4px;
}

.trust-card p:not(.trust-metric) {
    color: var(--text-mute);
    font-size: 13.5px;
    line-height: 1.65;
}

.trust-card p strong {
    color: var(--text);
    font-weight: 600;
}

.trust-note {
    margin-top: 40px;
    text-align: center;
    color: var(--text-dim);
}

/* ============================================================
   Download
   ============================================================ */

.download {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.download-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.dl-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.dl-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dl-label {
    color: var(--text-dim);
}

.dl-version,
.dl-release,
.dl-size {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

.dl-foot {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    color: var(--text-mute);
    font-size: 13px;
}

.checksum {
    margin-top: 16px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.checksum-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.copy-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border-strong);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s var(--ease);
    font-family: inherit;
}

.copy-btn:hover {
    border-color: var(--border-accent);
    background: var(--accent-dim);
}

.copy-btn.copied {
    color: var(--ok);
    border-color: rgba(16, 185, 129, .4);
}

#checksum {
    display: block;
    font-size: 11px;
    color: var(--text-mute);
    word-break: break-all;
    line-height: 1.55;
}

.download-aux {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.aux-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all .25s var(--ease);
}

.aux-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card);
    transform: translateY(-2px);
}

.aux-card-accent {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(212, 255, 0, .04) 100%);
}

.aux-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.aux-card p {
    color: var(--text-mute);
    font-size: 13px;
    line-height: 1.55;
}

.aux-arrow {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-list details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: border-color .2s var(--ease);
}

.faq-list details[open] {
    border-color: var(--border-accent);
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-family: 'Geist Mono', monospace;
    color: var(--accent);
    font-size: 20px;
    transition: transform .2s var(--ease);
    margin-left: auto;
    line-height: 1;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-tag {
    color: var(--text-dim);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    letter-spacing: .08em;
}

.faq-list details p {
    padding: 0 22px 22px;
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.7;
}

.faq-list details p a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(212, 255, 0, .35);
    text-underline-offset: 3px;
}

/* ============================================================
   CTA Strip
   ============================================================ */

.cta-strip {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-row h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: -.025em;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    padding: 64px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 56px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .brand-text {
    font-size: 18px;
    font-weight: 600;
}

.footer-tagline {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-cols > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-cols a {
    color: var(--text-mute);
    font-size: 13.5px;
    padding: 4px 0;
    transition: color .15s var(--ease);
}

.footer-cols a:hover {
    color: var(--text);
}

.link-disabled {
    color: var(--text-dim) !important;
    cursor: not-allowed;
    opacity: .6;
}

.link-disabled:hover {
    color: var(--text-dim) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    color: var(--text-dim);
}

/* ============================================================
   滚动揭示动画（IntersectionObserver 在 main.js 加 .is-visible）
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
    .scenario-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .arch-flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .arch-arrow {
        transform: rotate(90deg);
        min-height: 60px;
    }
    .matrix-grid {
        grid-template-columns: 1fr;
    }
    .primary-nav {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    :root {
        --container-pad: 20px;
        --section-py: 64px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .scenario-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .dl-row {
        grid-template-columns: 1fr;
    }
    .download-aux {
        grid-template-columns: 1fr;
    }
    .footer-cols {
        grid-template-columns: 1fr;
    }
    .cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-actions .btn {
        padding: 8px 12px;
    }
}

/* ============================================================
   真实产品图集成（pollinations.ai Flux 生成）
   覆盖 hero-visual 原 CSS 概念终端 + 4 场景卡片顶部图
   ============================================================ */

/* Hero 主视觉：真图替换原 CSS device */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(212, 255, 0, .12) inset;
    isolation: isolate;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 轻微调色让图融入站点暗色调 */
    filter: brightness(.95) contrast(1.05) saturate(.95);
}

.hero-visual::after {
    /* 轻量 acid yellow 边缘光晕 + 顶底渐变锚住文字层次 */
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(212, 255, 0, .08) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 10, 12, .15) 0%, transparent 30%, transparent 70%, rgba(10, 10, 12, .55) 100%);
}

.hero-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-stamp {
    color: rgba(255, 255, 255, .85);
    letter-spacing: .15em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.hero-led {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.hero-led .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: dot-pulse-y 1.4s var(--ease) infinite;
}

/* 4 场景卡片真图（顶部裁图，下半文字） */
.scenario-card-img {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scenario-card-img .sc-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border);
    filter: brightness(.92) contrast(1.04);
    transition: filter .3s var(--ease), transform .5s var(--ease);
}

.scenario-card-img:hover .sc-image {
    filter: brightness(1) contrast(1.08);
    transform: scale(1.03);
}

.scenario-card-img .sc-tag,
.scenario-card-img h4,
.scenario-card-img .sc-desc,
.scenario-card-img .sc-bullets {
    padding-left: 24px;
    padding-right: 24px;
}

.scenario-card-img .sc-tag {
    padding-top: 20px;
}

.scenario-card-img .sc-bullets {
    padding-bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .display .line {
        opacity: 1;
        transform: none;
    }
    .chat-line {
        opacity: 1;
    }
}
