/* 形准 Overlign · 官网样式 v2（视觉优先） */

:root {
  --bg: #070b16;
  --bg-2: #0a1020;
  --glass: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --text: #eef2fa;
  --muted: #98a3bd;
  --accent: #22d3ee;
  --accent-2: #60a5fa;
  --accent-ink: #06131a;
  --blue: #3b82f6;
  --ok: #22c55e;
  --nok: #ef4444;
  --rev: #f59e0b;
  --steel: #5b6478;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
code { font-family: var(--mono); font-size: 0.88em; padding: 0.1em 0.45em; border-radius: 6px; background: rgba(255,255,255,0.07); color: #c9f6ff; }
b, strong { font-weight: 650; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; line-height: 1; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(34,211,238,0); }
.btn-primary:hover { background: #63e5f6; box-shadow: 0 8px 30px -8px rgba(34,211,238,0.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent); color: #c9f6ff; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* ---------- 头部 ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7,11,22,0.7); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-zh { font-size: 1.3rem; letter-spacing: 0.06em; }
.brand-en { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 14px; }
.nav a { color: var(--muted); font-size: 0.93rem; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { display: none; color: var(--accent); font-weight: 600; }
.nav-actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(7,11,22,0.5); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用 ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.sub { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.footnote { margin-top: 20px; color: var(--muted); font-size: 0.82rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(1200px 700px at 70% 30%, rgba(34,211,238,0.10), transparent 60%), radial-gradient(900px 600px at 15% 90%, rgba(59,130,246,0.14), transparent 60%), var(--bg); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-canvas.no-webgl::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 65% 45%, rgba(34,211,238,0.18), transparent 70%); }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,22,0.55) 0%, rgba(7,11,22,0) 25%, rgba(7,11,22,0) 55%, rgba(7,11,22,0.92) 100%),
              linear-gradient(90deg, rgba(7,11,22,0.75) 0%, rgba(7,11,22,0.2) 45%, rgba(7,11,22,0) 70%); }
.hero-markers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.marker { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .35s; will-change: transform; }
.marker b { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; border: 2px solid var(--bg); box-shadow: 0 0 0 4px rgba(255,255,255,0.08), 0 6px 18px -6px rgba(0,0,0,0.8); }
.marker-ok b { background: var(--ok); } .marker-nok b { background: var(--nok); } .marker-rev b { background: var(--rev); }
.marker span { margin-top: -13px; font-size: 12px; font-weight: 600; color: #fecaca; background: rgba(58,18,22,0.9); border: 1px solid rgba(239,68,68,0.6); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.marker.show { opacity: 1; }
.marker-nok.show b { animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 4px rgba(239,68,68,0.35); } 100% { box-shadow: 0 0 0 16px rgba(239,68,68,0); } }

/* 状态与说明沿用导航/正文容器的左右边界，宽屏不再贴窗边。 */
.hero-hud, .hero-illustration { left: max(24px, calc((100% - var(--container)) / 2 + 24px)); right: max(24px, calc((100% - var(--container)) / 2 + 24px)); }
.hero-hud { position: absolute; z-index: 3; top: 92px; display: flex; flex-wrap: wrap; gap: 8px; }
.hud-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text); background: rgba(7,11,22,0.55); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hud-pill b { color: #c9f6ff; font-weight: 700; }
.hud-pill em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.hud-engine { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.hud-state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background .3s, box-shadow .3s; }
.hud-state span { display: none; }
.hero-hud[data-state="search"] .hud-search { display: inline; }
.hero-hud[data-state="align"] .hud-align { display: inline; }
.hero-hud[data-state="locked"] .hud-locked { display: inline; }
.hero-hud[data-state="align"] .dot { background: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.3); }
.hero-hud[data-state="locked"] .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,0.3); }

.hero-copy { position: relative; z-index: 3; padding-bottom: clamp(56px, 10vh, 120px); padding-top: 160px; max-width: var(--container); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.hl { background: linear-gradient(90deg, #22d3ee 0%, #60a5fa 60%, #a78bfa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scroll-hint { position: absolute; z-index: 3; right: 32px; bottom: 32px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-strong); background: rgba(7,11,22,0.4); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- TICKER ---------- */
.ticker { width: calc(100% - 48px); max-width: calc(var(--container) - 48px); margin-inline: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-list { display: flex; list-style: none; gap: 12px; padding-right: 12px; }
.ticker-list li { white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.9rem; background: rgba(255,255,255,0.02); }
.ticker-list li:nth-child(4n+1) { color: #c9f6ff; border-color: rgba(34,211,238,0.35); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.story-sticky { position: sticky; top: 96px; }
.story-steps { list-style: none; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 28px; border-left: 1px solid var(--line); position: relative; opacity: 0.35; transition: opacity .4s; }
.step:first-child { min-height: 50vh; }
.step:last-child { min-height: 50vh; }
.step.active { opacity: 1; }
.step::before { content: ""; position: absolute; left: -6px; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); transform: translateY(-50%); transition: border-color .3s, box-shadow .3s; }
.step.active::before { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(34,211,238,0.15); }
.step-num { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 8px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; max-width: 34ch; }

/* iPad 模拟（状态由 data-state 驱动） */
.device { position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 12px; border-radius: 30px; background: linear-gradient(160deg, #1a2134, #0b1020); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6), 0 0 80px -30px rgba(34,211,238,0.35); }
.screen { position: absolute; inset: 12px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #1b2334 0%, #0c111c 70%); font-size: 12px; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; transition: filter .5s; }
.scene text { font-family: var(--font); }
.cad { transform: translate(26px, -16px); opacity: .55; transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.missing { opacity: 0; transition: opacity .5s .2s; }
.cp { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1.4); }
.cp:nth-child(1) { transition-delay: .15s; } .cp:nth-child(2) { transition-delay: .35s; } .cp:nth-child(3) { transition-delay: .55s; } .cp:nth-child(4) { transition-delay: .75s; } .cp:nth-child(5) { transition-delay: .95s; }
.device[data-state="locked"] .cad, .device[data-state="inspect"] .cad, .device[data-state="report"] .cad { transform: none; opacity: 1; }
.device[data-state="inspect"] .missing, .device[data-state="report"] .missing { opacity: 1; }
.device[data-state="inspect"] .cp, .device[data-state="report"] .cp { opacity: 1; transform: scale(1); }
.device[data-state="report"] .scene { filter: blur(2px) brightness(.6); }

.pill { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(10,14,24,0.78); border: 1px solid var(--line-strong); color: var(--text); font-size: 12px; font-weight: 500; white-space: nowrap; backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.pill b { font-weight: 700; color: #c9f6ff; } .pill span { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.dot-green { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.device[data-state="align"] .pill-align { opacity: 1; }
.device:not([data-state="align"]) .pill-track { opacity: 1; }

.rail { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 7px; z-index: 2; }
.rail i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); }
.rail i.on { background: var(--blue); border-color: var(--blue); }

.side { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 33%; z-index: 2; background: rgba(10,14,24,0.8); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 10px 8px; font-size: 11.5px; color: var(--text); backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 8px; }
.side-head { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 11px; }
.side-count, .bar i, .row em { opacity: 0; transition: opacity .3s .6s; }
.ok { color: var(--ok); } .nok { color: var(--nok); } .rev { color: var(--rev); }
.bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,0.08); }
.bar i { display: block; height: 100%; } .bar i.ok { width: 60%; background: var(--ok); } .bar i.nok { width: 20%; background: var(--nok); } .bar i.rev { width: 20%; background: var(--rev); }
.side ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.side .row { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; background: rgba(255,255,255,0.04); white-space: nowrap; overflow: hidden; }
.side .row em { margin-left: auto; font-style: normal; font-size: 10px; color: #fecaca; background: rgba(239,68,68,0.2); padding: 1px 6px; border-radius: 999px; }
.side .d { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); flex: none; transition: background .3s; }
.row-1 .d, .row-2 .d, .row-4 .d { --c: var(--ok); } .row-3 .d { --c: var(--nok); } .row-5 .d { --c: var(--rev); }
.device[data-state="inspect"] .d, .device[data-state="report"] .d { background: var(--c); }
.device[data-state="inspect"] .side-count, .device[data-state="report"] .side-count,
.device[data-state="inspect"] .bar i, .device[data-state="report"] .bar i,
.device[data-state="inspect"] .row em, .device[data-state="report"] .row em { opacity: 1; }
.row-1 .d { transition-delay: .2s; } .row-2 .d { transition-delay: .4s; } .row-3 .d { transition-delay: .6s; } .row-4 .d { transition-delay: .8s; } .row-5 .d { transition-delay: 1s; }

.hint { position: absolute; bottom: 14px; left: 33.5%; transform: translateX(-50%); z-index: 2; padding: 6px 12px; border-radius: 999px; white-space: nowrap; background: rgba(10,14,24,0.78); border: 1px solid var(--line-strong); color: var(--text); font-size: 11.5px; opacity: 0; transition: opacity .3s; }
.device[data-state="align"] .hint-align, .device[data-state="locked"] .hint-track, .device[data-state="inspect"] .hint-inspect { opacity: 1; }

.report-card { position: absolute; z-index: 3; left: 50%; top: 50%; width: 62%; max-width: 360px; transform: translate(-50%, -40%) scale(.96); opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); background: #f7f8fb; color: #111827; border-radius: 12px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8); font-size: 12px; }
.device[data-state="report"] .report-card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rc-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; margin-bottom: 8px; }
.rc-badge { font-size: 10px; font-weight: 800; color: #fff; background: #ef4444; padding: 2px 6px; border-radius: 4px; }
.rc-row { display: flex; justify-content: space-between; padding: 4px 0; color: #4b5563; }
.rc-row b { color: #111827; } .rc-row i { font-style: normal; font-weight: 700; }
.rc-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e5e7eb; display: flex; align-items: center; gap: 6px; color: #4b5563; font-size: 11px; }

/* ---------- BENTO ---------- */
.bento-section { background: radial-gradient(900px 500px at 50% 0%, rgba(59,130,246,0.08), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,0.10), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(34,211,238,0.35); }
.tile:hover::before { opacity: 1; }
.span2 { grid-column: span 2; } .row2 { grid-row: span 2; }
.tile-vis { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px 22px 8px; position: relative; }
.tile-text { padding: 12px 22px 20px; }
.tile-text h3 { font-size: 1.08rem; }
.tile-text p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.tile-engine .tile-text h3 { font-size: 1.35rem; } .tile-engine .tile-text p { font-size: 0.98rem; }

/* 引擎板 */
.engine-board { flex-direction: column; gap: 14px; align-items: stretch; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip { border-radius: 14px; padding: 14px 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); transition: border-color .4s, background .4s, box-shadow .4s, transform .4s; }
.chip b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--muted); transition: color .4s; }
.chip span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.chip.on { border-color: var(--accent); background: rgba(34,211,238,0.12); box-shadow: 0 0 40px -12px rgba(34,211,238,0.8); transform: translateY(-3px); }
.chip.on b { color: #c9f6ff; }
.chip.dim { border-style: dashed; opacity: .6; }
.bus { display: grid; grid-template-columns: repeat(4, 1fr); height: 28px; position: relative; }
.bus::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(34,211,238,0.6), rgba(34,211,238,0.6), transparent); }
.bus i { position: relative; }
.bus i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(34,211,238,0.35); transform: translateX(-50%); }
.iface { text-align: center; font-size: 0.85rem; color: var(--muted); padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(34,211,238,0.35); background: rgba(34,211,238,0.06); }

/* 门控 */
.gate { flex-direction: column; align-items: stretch; gap: 12px; justify-content: center; }
.gauge span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 5px; }
.g-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; position: relative; }
.g-bar::after { content: ""; position: absolute; left: 72%; top: -3px; bottom: -3px; width: 2px; background: var(--rev); }
.g-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 4px; animation: fill 4.5s ease-in-out infinite; }
.g-bar-2 i { animation-delay: .4s; }
@keyframes fill { 0% { width: 0; } 45%, 85% { width: 88%; } 100% { width: 0; } }
.gate-lock { display: flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.78rem; font-family: var(--mono); animation: lockon 4.5s ease-in-out infinite; }
.gate-lock em { font-style: normal; }
@keyframes lockon { 0%, 48% { color: var(--muted); border-color: var(--line-strong); background: transparent; } 55%, 85% { color: #bbf7d0; border-color: var(--ok); background: rgba(34,197,94,0.12); } 100% { color: var(--muted); } }

/* 参考集 */
.refset svg { width: 100%; max-width: 240px; }
.small-parts { animation: blink 4s ease-in-out infinite; }
@keyframes blink { 0%, 40% { opacity: 1; } 50%, 80% { opacity: 0.08; } 90%, 100% { opacity: 1; } }

/* Hz */
.hz { flex-direction: column; align-items: stretch; gap: 16px; justify-content: center; }
.hz-row span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.pulses { display: flex; gap: 5px; }
.pulses i { flex: 1; height: 22px; border-radius: 3px; background: rgba(34,211,238,0.15); animation: pulse 1.2s ease-in-out infinite; }
.pulses.slow i { animation-duration: 2.4s; background: rgba(59,130,246,0.2); }
.pulses i:nth-child(2n) { animation-delay: .1s; } .pulses i:nth-child(3n) { animation-delay: .2s; } .pulses i:nth-child(5n) { animation-delay: .3s; } .pulses i:nth-child(7n) { animation-delay: .45s; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scaleY(.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* 尺寸 */
.ruler svg { width: 100%; max-width: 240px; }
.probe { animation: probe 5s ease-in-out infinite; }
@keyframes probe { 0%, 15% { transform: translateX(112px); } 40%, 55% { transform: translateX(168px); } 80%, 100% { transform: translateX(112px); } }
.probe-label { animation: lblok 5s ease-in-out infinite; } .probe-label-bad { animation: lblbad 5s ease-in-out infinite; }
@keyframes lblok { 0%, 30% { opacity: 1; } 38%, 62% { opacity: 0; } 70%, 100% { opacity: 1; } }
@keyframes lblbad { 0%, 30% { opacity: 0; } 38%, 62% { opacity: 1; } 70%, 100% { opacity: 0; } }

/* 离线 */
.offline { flex-direction: column; gap: 10px; justify-content: center; align-items: stretch; }
.wifi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--rev); border: 1px solid rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); transition: all .4s; }
.wifi .ic { width: 22px; height: 22px; }
.offline.online .wifi { color: var(--ok); border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.1); }
.queue { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 0.8rem; }
.queue b { font-size: 1.6rem; color: var(--text); font-variant-numeric: tabular-nums; }
.sync-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.sync-bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .6s; }
.offline.online .sync-bar i { width: 100%; }
.sync-label { font-size: 0.78rem; color: var(--muted); }

/* 诊断 */
.pipeline { justify-content: space-between; gap: 6px; position: relative; padding: 22px 22px 10px; }
.node { flex: 1; text-align: center; font-size: 0.78rem; padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); color: var(--text); white-space: nowrap; }
.node.done { border-color: rgba(34,197,94,0.5); color: #bbf7d0; background: rgba(34,197,94,0.08); }
.link { width: 22px; height: 2px; background: rgba(34,211,238,0.35); flex: none; }
.runner { position: absolute; top: 50%; left: 22px; width: 10px; height: 10px; margin-top: -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: run 5s linear infinite; }
@keyframes run { 0% { left: 4%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 94%; opacity: 0; } }

/* 代码 */
.code { align-items: stretch; }
.code pre { margin: 0; width: 100%; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; color: #cbd5e1; background: rgba(0,0,0,0.35); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow: hidden; }
.code .k { color: #93c5fd; } .code .s { color: #86efac; } .code .n { color: #fcd34d; }
.caret { display: inline-block; width: 7px; height: 12px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* 围栏 */
.fence svg { width: 100%; max-width: 220px; }
.fence-lock { animation: glow 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(34,211,238,0)); } 50% { filter: drop-shadow(0 0 8px rgba(34,211,238,0.9)); } }

/* 叠图模式 */
.modes { gap: 10px; flex-wrap: wrap; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; min-width: 84px; transition: all .35s; }
.tile-private .fence { flex-direction: row; gap: 28px; }
.tile-private .fence svg { max-width: 260px; }
.mode i { width: 26px; height: 26px; border-radius: 6px; display: block; border: 1.5px solid currentColor; position: relative; }
.mode.on { color: #c9f6ff; border-color: var(--accent); background: rgba(34,211,238,0.1); }
.m-solid { background: rgba(59,130,246,0.35); }
.m-wire { background: repeating-linear-gradient(45deg, transparent 0 3px, currentColor 3px 4px); opacity: .8; }
.m-split::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: currentColor; }
.m-cut::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed currentColor; }
.m-zoom::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; background: var(--bg-2); }

/* ---------- COMPARE ---------- */
.matrix-wrap { overflow-x: auto; }
.matrix { display: grid; grid-template-columns: 1.1fr 1.6fr 1.3fr 1.3fr; min-width: 820px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.m-head { padding: 18px 20px; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.m-head.us { color: var(--text); font-size: 1.15rem; letter-spacing: 0.04em; background: rgba(34,211,238,0.10); }
.m-head.us small { font-size: 0.8rem; color: var(--accent); margin-left: 4px; font-weight: 600; }
.m-row, .m-cell { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 0.93rem; display: flex; align-items: center; gap: 10px; }
.m-row { font-weight: 600; color: var(--text); }
.m-cell { color: var(--muted); }
.m-cell.us { color: var(--text); background: rgba(34,211,238,0.06); border-left: 1px solid rgba(34,211,238,0.25); border-right: 1px solid rgba(34,211,238,0.25); }
.m-head.us { border-left: 1px solid rgba(34,211,238,0.25); border-right: 1px solid rgba(34,211,238,0.25); }
.matrix > :nth-last-child(-n+4) { border-bottom: 0; }
.y, .p, .n { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.y { background: var(--ok); box-shadow: 0 0 10px rgba(34,197,94,0.6); }
.p { background: conic-gradient(var(--rev) 0 50%, rgba(255,255,255,0.12) 50% 100%); }
.n { background: rgba(255,255,255,0.12); }
.table-hint { display: none; margin: 0 0 10px; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* ---------- PROMISE ---------- */
.promise { background: radial-gradient(800px 400px at 50% 100%, rgba(34,211,238,0.08), transparent 60%); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; right: 20px; top: 6px; font-size: 5rem; line-height: 1; color: rgba(34,211,238,0.15); font-family: Georgia, serif; }
.q-num { font-family: var(--mono); color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; }
.quote p { margin-top: 14px; font-size: 1.15rem; line-height: 1.5; color: var(--muted); }
.quote p b { color: var(--text); }
.kpi-strip { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.kpi-strip > div { padding: 24px 20px; border-left: 1px solid var(--line); text-align: center; }
.kpi-strip > div:first-child { border-left: 0; }
.kpi-strip b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #22d3ee, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-strip span { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
.accept-details { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); padding: 0 20px; }
.accept-details summary { cursor: pointer; padding: 14px 0; color: var(--muted); font-weight: 600; list-style: none; }
.accept-details summary::-webkit-details-marker { display: none; }
.accept-details summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(34,211,238,0.4); color: var(--accent); margin-right: 10px; }
.accept-details[open] summary::before { content: "−"; }
.accept-list { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; padding: 6px 0 20px; }
.accept-list li { counter-increment: f; position: relative; padding-left: 44px; color: var(--muted); font-size: 0.88rem; }
.accept-list li::before { content: "F-" counter(f, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 0.7rem; color: var(--accent); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); padding: 1px 5px; border-radius: 5px; line-height: 1.3; }

/* ---------- DEPLOY ---------- */
.deploy { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topo { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 12px; }
.topo-node { padding: 28px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); text-align: center; }
.topo-node.core { border-color: rgba(34,211,238,0.4); box-shadow: 0 0 80px -30px rgba(34,211,238,0.6); }
.topo-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); }
.topo-icon .ic { width: 26px; height: 26px; }
.topo-node h3 { font-size: 1.1rem; }
.topo-node p { color: var(--text); margin-top: 6px; font-size: 0.95rem; }
.topo-node small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.82rem; }
.topo-link { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; }
.topo-link i { display: block; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); background-size: 16px 2px; animation: dash 1.2s linear infinite; opacity: .7; }
@keyframes dash { to { background-position: 16px 0; } }
.topo-link span { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.milestones { margin-top: 24px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.milestones li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--glass); }
.milestones b { font-family: var(--mono); color: var(--accent); font-size: 1.1rem; }
.milestones span { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(34,211,238,0.35); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(34,211,238,0.35); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section { background: radial-gradient(900px 500px at 20% 0%, rgba(34,211,238,0.14), transparent 60%), radial-gradient(700px 400px at 90% 100%, rgba(167,139,250,0.12), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-form { padding: 28px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; backdrop-filter: blur(10px); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 13px; border-radius: var(--radius-sm); font: inherit; font-size: 0.97rem; color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.contact-form input.invalid { border-color: var(--nok); }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 0.82rem; }
.form-note a { color: var(--accent); }

/* ---------- FOOTER ---------- */
.site-footer { padding: 44px 0 52px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { font-size: 1.05rem; } .footer-brand p { color: var(--muted); font-size: 0.86rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; } .footer-nav a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }

/* ---------- 语言切换 / Studio 入口 ---------- */
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: rgba(7,11,22,0.5); }
.lang :is(button,a) { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang :is(button,a).on { background: rgba(34,211,238,0.15); color: #c9f6ff; }
.btn-link { padding: 13px 6px; color: var(--muted); border-color: transparent; background: transparent; }
.btn-link:hover { color: #c9f6ff; }
.nav .nav-studio-m { display: none; }
.brand-name { font-size: 1.25rem; letter-spacing: 0.12em; font-weight: 800; }

/* ---------- 真机演示视频 ---------- */
.demo { background: radial-gradient(1000px 500px at 50% 10%, rgba(34,211,238,0.08), transparent 60%), var(--bg); padding-top: 96px; }
.video-frame { max-width: 1040px; margin: 0 auto; }
.video-shell { position: relative; aspect-ratio: 1040 / 720; border-radius: 26px; padding: 12px; background: linear-gradient(160deg, #1a2134, #0b1020); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 60px 120px -50px rgba(0,0,0,0.95), 0 0 0 1px rgba(0,0,0,0.6), 0 0 100px -30px rgba(34,211,238,0.35); }
.video-shell video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: #000; cursor: pointer; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.video-play svg { width: 84px; height: 84px; padding: 22px; border-radius: 50%; background: var(--accent); fill: var(--accent-ink); box-shadow: 0 0 0 10px rgba(34,211,238,0.18), 0 20px 50px -15px rgba(34,211,238,0.8); transition: transform .2s, box-shadow .2s; }
.video-play:hover svg { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(34,211,238,0.14), 0 24px 60px -15px rgba(34,211,238,0.9); }
.video-play span { padding: 5px 12px; border-radius: 999px; background: rgba(7,11,22,0.7); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.video-shell::after { content: ""; position: absolute; inset: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(7,11,22,0.15), rgba(7,11,22,0.45)); pointer-events: none; transition: opacity .3s; }
.video-badge { position: absolute; z-index: 2; left: 26px; top: 26px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(7,11,22,0.7); border: 1px solid var(--line-strong); font-size: 12px; backdrop-filter: blur(8px); }
.video-shell.playing .video-play, .video-shell.playing .video-badge, .video-shell.playing::after { opacity: 0; pointer-events: none; }
.video-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.video-chips li { font-size: 0.85rem; color: var(--muted); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); }
.video-chips li:first-child { color: #c9f6ff; border-color: rgba(34,211,238,0.35); }

/* ---------- 三合一套件 ---------- */
.suite { background: radial-gradient(900px 500px at 50% 0%, rgba(34,211,238,0.07), transparent 60%); }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.suite-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.suite-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,0.10), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.suite-card:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(34,211,238,0.35); }
.suite-card:hover::before { opacity: 1; }
.suite-text { padding: 20px 22px 24px; }
.suite-tag { display: inline-block; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--accent); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); padding: 3px 9px; border-radius: 999px; }
.suite-text h3 { margin-top: 12px; font-size: 1.25rem; }
.suite-text p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; }
.suite-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.mock { position: relative; margin: 18px 18px 0; border-radius: 14px; overflow: hidden; background: #0d1322; border: 1px solid var(--line-strong); font-size: 10.5px; color: var(--text); aspect-ratio: 16 / 10; box-shadow: 0 20px 40px -24px rgba(0,0,0,0.9); }
/* 桌面窗口 */
.win-bar, .br-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.win-bar i, .br-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span, .br-bar span { margin-left: 8px; }
.br-bar span { flex: 1; text-align: center; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 2px 8px; font-family: var(--mono); }
.win-body { display: grid; grid-template-columns: 26% 1fr 30%; height: calc(100% - 26px); }
.win-side, .win-props { padding: 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.win-props { border-right: 0; border-left: 1px solid var(--line); }
.win-side b, .win-props b { font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.win-side i { display: block; height: 7px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.win-side i.sel { background: rgba(245,158,11,0.55); } .win-side i.ok { background: rgba(34,197,94,0.45); } .win-side i.nok { background: rgba(239,68,68,0.5); }
.win-view { position: relative; background: radial-gradient(120% 100% at 50% 30%, #182036 0%, #0b1020 75%); }
.win-view svg { width: 100%; height: 100%; }
.win-props label { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.win-props label em { font-style: normal; color: var(--text); }
.win-btn { margin-top: auto; text-align: center; padding: 6px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 10px; }
/* iPad */
.pad { background: linear-gradient(160deg, #1a2134, #0b1020); padding: 8px; border-radius: 16px; }
.pad-screen { position: relative; height: 100%; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #1b2334 0%, #0c111c 70%); }
.pad-screen svg { position: absolute; left: 0; top: 0; width: 66%; height: 100%; }
.pad-pill { position: absolute; z-index: 2; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(10,14,24,0.8); border: 1px solid var(--line-strong); font-size: 10px; }
.pad-pill b { color: #c9f6ff; }
.pad-side { position: absolute; right: 8px; top: 8px; bottom: 8px; width: 32%; background: rgba(10,14,24,0.8); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 7px; display: flex; flex-direction: column; gap: 5px; font-size: 9.5px; }
.pad-side div { display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 5px; background: rgba(255,255,255,0.04); white-space: nowrap; overflow: hidden; }
.pad-side .d { width: 7px; height: 7px; border-radius: 50%; flex: none; } .pad-side .d.ok { background: var(--ok); } .pad-side .d.nok { background: var(--nok); } .pad-side .d.rev { background: var(--rev); }
.pad-side em { margin-left: auto; font-style: normal; font-size: 8.5px; color: #fecaca; background: rgba(239,68,68,0.2); padding: 0 5px; border-radius: 999px; }
/* 浏览器 */
.br-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; height: calc(100% - 26px); }
.br-head { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.br-head b { flex: 1; font-weight: 600; }
.br-badge { padding: 1px 6px; border-radius: 999px; font-size: 9px; font-weight: 700; border: 1px solid currentColor; }
.br-badge.ok { color: var(--ok); } .br-badge.nok { color: var(--nok); } .br-badge.rev { color: var(--rev); }
.br-grid { display: grid; grid-template-columns: 42% 1fr; gap: 8px; flex: 1; min-height: 0; }
.br-3d { border-radius: 8px; background: radial-gradient(120% 100% at 50% 30%, #182036 0%, #0b1020 75%); border: 1px solid var(--line); display: grid; place-items: center; }
.br-3d svg { width: 90%; }
.br-rows { display: flex; flex-direction: column; gap: 5px; }
.br-rows div { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,0.04); font-size: 9.5px; white-space: nowrap; overflow: hidden; }
.br-rows i { width: 7px; height: 7px; border-radius: 50%; flex: none; } .br-rows i.ok { background: var(--ok); } .br-rows i.nok { background: var(--nok); } .br-rows i.rev { background: var(--rev); }
.br-rows em { margin-left: auto; font-style: normal; font-size: 9px; color: var(--muted); }
.br-foot { display: flex; gap: 6px; }
.br-chip { font-size: 9px; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--line-strong); color: var(--muted); font-family: var(--mono); }
.br-chip.webhook { color: #c9f6ff; border-color: rgba(34,211,238,0.4); }

/* ---------- 关键数字 ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.facts-grid > div { padding: 24px 16px; border-left: 1px solid var(--line); text-align: center; }
.facts-grid > div:first-child { border-left: 0; }
.facts-grid b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #22d3ee, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.facts-grid span { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

/* ---------- 行业 ---------- */
.industries { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind { position: relative; display: block; padding: 26px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s; }
.ind::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px 200px at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,0.10), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ind:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-3px); }
.ind:hover::before { opacity: 1; }
.ind .ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.ind h3 { font-size: 1.1rem; }
.ind p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }

.cta-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .suite-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid > div:nth-child(5) { border-left: 0; }
  .facts-grid > div:nth-child(n+5) { border-top: 1px solid var(--line); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-studio { display: none; }
  .nav .nav-studio-m { display: block; }
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .kpi-strip > div:nth-child(4) { border-left: 0; }
  .kpi-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .accept-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: #0b1020; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.8); }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.open a:last-child { border-bottom: 0; }
  .nav.open .nav-cta { display: block; }
  .nav .nav-studio-m { display: none; }
  .nav.open .nav-studio-m { display: block; }
  .hero-hud { top: 84px; }
  .hero h1 { max-width: none; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { top: 76px; z-index: 5; padding-bottom: 12px; background: linear-gradient(180deg, var(--bg) 85%, transparent); }
  .device { max-width: 520px; margin: 0 auto; }
  .story-steps { padding-top: 6vh; }
  .step { min-height: 58vh; justify-content: flex-end; padding-bottom: 6vh; }
  .step:first-child { min-height: 40vh; }
  .step:last-child { min-height: 58vh; }
  .step h3 { font-size: 1.6rem; }
  .step p { font-size: 0.98rem; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .promise-grid { grid-template-columns: 1fr; }
  .topo { grid-template-columns: 1fr; }
  .topo-link { flex-direction: row; min-width: 0; } .topo-link i { width: 40px; height: 40px; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 16px); background-size: 2px 16px; width: 2px; margin: 0 auto; }
  .milestones, .cta-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-actions .btn { display: none; }
  .lang :is(button,a) { padding: 4px 8px; font-size: 0.75rem; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts-grid > div:nth-child(-n+2) { border-top: 0; }
  .facts-grid > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .ind-grid { grid-template-columns: 1fr; }
  .mock { margin: 12px 12px 0; }
  .video-shell { padding: 6px; border-radius: 16px; }
  .video-shell video { border-radius: 11px; }
  .video-shell::after { inset: 6px; border-radius: 11px; }
  .video-badge { left: 14px; top: 14px; font-size: 11px; }
  .video-play svg { width: 64px; height: 64px; padding: 17px; }
  .win-body { grid-template-columns: 30% 1fr; }
  .win-props { display: none; }
  .btn-link { padding-left: 0; }
  .hero-copy { padding-top: 120px; padding-bottom: 64px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-hud .hud-engine, .hero-hud .hud-pill:nth-child(3) { display: none; }
  .marker span { display: none; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .span2, .row2 { grid-column: auto; grid-row: auto; }
  .tile-vis { min-height: 170px; }
  .device { border-radius: 20px; padding: 8px; }
  .screen { inset: 8px; border-radius: 14px; }
  .side, .rail { display: none; }
  .stage { transform: translate(-8px, 8px); }
  .pill { top: 8px; left: 8px; font-size: 10.5px; padding: 4px 8px 4px 6px; }
  .hint { left: 50%; bottom: 8px; font-size: 10.5px; padding: 4px 10px; }
  .report-card { width: 84%; }
  .table-hint { display: block; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-strip > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .kpi-strip > div:nth-child(-n+2) { border-top: 0; }
  .kpi-strip > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .accept-list { grid-template-columns: 1fr; }
  .milestones li { padding: 14px 16px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tile:hover { transform: none; }
  .step { opacity: 1; }
}

/* 可访问性、窄屏菜单与状态反馈 */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id], main[id] { scroll-margin-top: 86px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.prototype-note { max-width: 570px; color: #b0bdd3; font-size: .85rem; margin-top: 12px; }
.hero-illustration { position: absolute; top: 135px; z-index: 3; font-size: .75rem; color: var(--muted); }
.hero.no-webgl .hero-hud, .hero.no-webgl .hero-markers { display: none; }
.hero-canvas.no-webgl { background: linear-gradient(90deg, #070b16 5%, #070b1688), url('assets/demo-poster.jpg') right center / auto 80% no-repeat; }
.hero-canvas.no-webgl canvas { visibility: hidden; }
.validation-matrix { grid-template-columns: 1fr 1.2fr 1.8fr; min-width: 650px; }
.validation-matrix .m-cell { min-width: 0; overflow-wrap: anywhere; }
#formStatus:empty, #videoStatus:empty { display: none; }
#formStatus { color: var(--accent); }
#videoStatus { margin: 16px 0; color: var(--accent); }
#requestCopy[hidden] { display: none; }
.contact-form input, .contact-form textarea { scroll-margin-top: 100px; }
@media (max-width: 1200px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: #0b1020; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta, .nav.open .nav-studio-m { display: block; }
}
@media (max-width: 640px) {
  .nav-row { gap: 8px; }
  .nav-actions { gap: 6px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .hero-copy { padding-top: 235px; }
  .hero-illustration { top: 126px; font-size: .7rem; }
  .hero .cta-row { gap: 12px; }
  .prototype-note { font-size: .78rem; }
  .contact-form { min-width: 0; }
}

/* 搜索落地页入口与正文共用官网视觉；小屏逐项排列。 */
.seo-resources { max-width: 1180px; margin: 36px auto; padding: 28px; display: grid; gap: 16px; border-top: 1px solid var(--line-strong); }
.seo-resources h2 { font-size: 1.3rem; }
.seo-resources a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
#guideSections p { margin: 14px 0; color: #c2ccdc; line-height: 1.8; }
.lang a { text-decoration: none; }

/* 产品决策材料：可读的矩阵与样例，窄屏允许表格独立横向滚动。 */
.quality-section h2 { margin-bottom: 22px; }
.quality-section h3 { margin: 28px 0 12px; }
.quality-section p, .quality-section li, .contact-clarity { line-height: 1.8; color: var(--muted, #94a3b8); }
.quality-section ol, .quality-section ul { padding-left: 22px; }
.quality-section li { margin-bottom: 12px; }
.quality-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.table-scroll { overflow-x: auto; margin: 20px 0; }
.quality-section table { border-collapse: collapse; width: 100%; min-width: 650px; font-size: 15px; line-height: 1.6; }
.quality-section th, .quality-section td { text-align: left; padding: 16px; border-bottom: 1px solid #334155; vertical-align: top; }
.quality-note { padding: 18px; border-left: 3px solid #36d4b0; background: #142028; }
.quality-downloads { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.quality-downloads a:not(.btn) { color: #5de2c0; }
.technical-details > summary { cursor: pointer; padding-block: 24px; font-size: 20px; }
.contact-clarity { font-size: 14px; margin-bottom: 20px; max-width: 58rem; }
@media(max-width: 850px) { .quality-grid { grid-template-columns: 1fr; gap: 8px; } }

.quality-downloads .btn { white-space: normal; max-width: 100%; text-align: left; }
.quality-grid > div { min-width: 0; }
.quality-section p, .quality-section li, .quality-downloads a { overflow-wrap: anywhere; }
.contact-clarity { grid-column: 1 / -1; }

/* 情景按钮置于首屏上方留白，避免覆盖标题与模型标记。 */
.hero-scenarios { position: absolute; z-index: 4; top: 166px; left: max(24px, calc((100% - var(--container)) / 2 + 24px)); right: 24px; max-width: 620px; }
.hero-scenarios[hidden], .hero.no-webgl .hero-scenarios { display: none; }
.hero-scenario-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-scenario-buttons button { background: #101a28; color: #e7edf8; border: 1px solid #53627a; border-radius: 8px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.hero-scenario-buttons button[aria-pressed="true"] { background: #22d3ee; color: #06131a; border-color: #22d3ee; }
.hero-scenario-buttons button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hero-scenarios p { color: #c7d3e6; font-size: 13px; line-height: 1.5; margin-top: 10px; max-width: 520px; }
@media (max-width: 640px) { .hero-scenarios { top: 158px; } .hero-copy { padding-top: 325px; } .hero-scenario-buttons { gap: 6px; } .hero-scenario-buttons button { padding: 7px 9px; } }

.marker-ok span { color: #d1fae5; background: #123a2a; border-color: #22c55e; }
@media (max-width: 640px) {
 .hero-canvas, .hero-markers { top: 290px; bottom: auto; height: 300px; }
 .hero-copy { padding-top: 610px; }
 .marker span { max-width: 145px; white-space: normal; }
}

/* 测距说明在窄屏保留独立空间。 */
.hero-scenarios { max-width: 720px; }
.hero-scenarios p { max-width: 650px; }
@media (max-width: 640px) {
 .hero-canvas, .hero-markers { top: 370px; }
 .hero-copy { padding-top: 690px; }
}
