/*
 * [INPUT]: 依赖 index.html 的区块结构与 mockups.css 中的应用界面组件。
 * [OUTPUT]: 提供近黑视觉骨架、下载入口与仅在大陆构建显示的备案页脚样式。
 * [POS]: 静态站主样式；应用窗口及产品演示细节由 mockups.css 负责。
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */

/* ── Design tokens ── */
:root {
  --bg: #0a0a0c;
  --bg-2: #0f0f12;
  --surface: #161619;
  --surface-2: #1d1d21;
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --ink: #f4f4f5;
  --ink-muted: #a6a6ae;
  --ink-faint: #9a9aa3;
  --accent: #ff9c52;
  --accent-bright: #ffae72;
  --accent-deep: #a84419;
  --green: #30d158;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Noto Sans SC", system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --maxw: 1180px;
  --pad: clamp(1.25rem,5vw,4rem);
  --radius: 14px;
  --ease: cubic-bezier(.16,1,.3,1);
  --sect-gap: clamp(5rem,11vw,9rem);
}

/* ── Base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3 { line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
strong,b { color: var(--ink); }
em { font-style: normal; }
::selection { background: var(--accent); color: #16100c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: .6rem 1rem; background: var(--accent); color: #160c05; }
.skip-link:focus { left: 0; }
.accent,.brand-dot { color: var(--accent); }
section { padding-inline: var(--pad); }
.brand-logo { width: 34px; height: 34px; display: block; flex: none; border-radius: 9px; box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.brand-logo.xl { width: 76px; height: 76px; border-radius: 18px; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 1.5rem; min-height: 68px; padding: .75rem var(--pad); background: rgba(10,10,12,.78); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--border); }
.brand { display: flex; align-items: center; gap: .6rem; white-space: nowrap; font-size: 1.15rem; font-weight: 700; }
.nav-links { display: flex; gap: 1.65rem; margin-left: auto; color: var(--ink-muted); font-size: .95rem; }
.nav-links a,.foot-links a { transition: color .2s; }
.nav-links a:hover,.foot-links a:hover { color: var(--ink); }
.lang-menu { position: relative; }
.lang-menu summary { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .7rem; border: 1px solid var(--border); border-radius: 99px; color: var(--ink-muted); cursor: pointer; list-style: none; font-size: .9rem; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { color: var(--ink); border-color: var(--border-strong); }
.lang-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu summary span { font-size: .7rem; }
.lang-pop { position: absolute; right: 0; top: calc(100% + .5rem); display: grid; gap: .3rem; width: 190px; padding: .65rem .8rem; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 14px 36px #0008; }
.lang-active { color: var(--accent); font-size: .9rem; font-weight: 650; }
.lang-note { color: var(--ink-muted); font-size: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: 99px; padding: .7rem 1.2rem; white-space: nowrap; font-size: .95rem; font-weight: 650; line-height: 1; transition: transform .2s,box-shadow .2s,background .2s,border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.03rem; }
.btn-primary { background: linear-gradient(135deg,#ee914f,#c75b28 65%,#a6411c); color: #fff; box-shadow: 0 8px 24px rgba(198,85,37,.27); text-shadow: 0 1px 1px #53230d88; }
.btn-primary:hover { box-shadow: 0 11px 31px rgba(221,102,43,.39); }
.btn-ghost { color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: #777982; }
.btn-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #fff; color: var(--accent-deep); font: 700 .72rem var(--mono); }
.nav-cta { margin-left: .25rem; }
.live-dot { width: 8px; height: 8px; display: inline-block; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { opacity: .4; } }

/* ── Hero ── */
.hero { position: relative; padding-top: clamp(3rem,7vw,6rem); padding-bottom: var(--sect-gap); overflow: hidden; }
.hero-glow { position: absolute; top: -22%; left: 50%; width: min(1100px,120vw); height: 780px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(48% 52% at 53% 39%,rgba(194,83,35,.22),transparent 70%); filter: blur(14px); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); align-items: center; gap: clamp(2rem,5vw,4.5rem); max-width: var(--maxw); margin: auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem; color: var(--ink-muted); font: .9rem var(--mono); letter-spacing: .02em; }
.hero-title { font-size: clamp(2.6rem,6vw,4.8rem); font-weight: 700; letter-spacing: -.025em; }
.hero-sub { max-width: 42ch; margin-top: 1.5rem; color: var(--ink-muted); font-size: clamp(1.05rem,1.6vw,1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-aux { margin-top: 1.3rem; }
.hero-aux a { color: var(--ink-muted); font-size: .92rem; transition: color .2s; }
.hero-aux a:hover { color: var(--ink); }
.hero-meta { margin-top: 1.4rem; color: var(--ink-faint); font: .85rem var(--mono); }
.stage-caption { margin-top: 1.1rem; color: var(--ink-faint); text-align: center; font-size: .9rem; }
.stage-caption span { margin-left: .45rem; font-size: .76rem; opacity: .7; }

/* ── Trust and pillars ── */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem,3vw,2.5rem); max-width: var(--maxw); margin: 0 auto var(--sect-gap); padding: 1.4rem clamp(1rem,4vw,2.5rem); border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg,var(--surface),var(--bg-2)); color: var(--ink-muted); font-size: .98rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: .55rem; }
.trust-strip i { color: var(--accent); font-size: 1.1rem; font-style: normal; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem,5vw,4rem); text-align: center; }
.section-head h2 { font-size: clamp(2rem,4.6vw,3.25rem); }
.section-head p { max-width: 62ch; margin: 1rem auto 0; color: var(--ink-muted); font-size: 1.1rem; }
.pillars { max-width: var(--maxw); margin: auto; padding-bottom: var(--sect-gap); }
.pillar-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.1rem; }
.pillar { min-width: 0; padding: 1.8rem 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .35s var(--ease),border-color .3s,background .3s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.pillar-tag { color: var(--accent); font: .78rem var(--mono); letter-spacing: .04em; }
.pillar h3 { margin: .8rem 0 .6rem; font-size: 1.23rem; }
.pillar p { color: var(--ink-muted); font-size: .95rem; }

/* ── Deep features ── */
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,6vw,5rem); max-width: var(--maxw); margin: auto; padding-bottom: var(--sect-gap); }
.feature-kicker { margin-bottom: 1rem; color: var(--accent); font: .82rem var(--mono); letter-spacing: .05em; }
.feature-copy h2 { font-size: clamp(1.8rem,3.6vw,2.8rem); }
.feature-copy > p:not(.feature-kicker) { max-width: 46ch; margin-top: 1.2rem; color: var(--ink-muted); font-size: 1.08rem; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.6rem; list-style: none; }
.feature-list li { position: relative; padding-left: 1.6rem; color: var(--ink-muted); }
.feature-list li::before { content: ""; position: absolute; top: .62em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feature-copy .feature-note { margin-top: 1.6rem!important; padding-top: 1.1rem; border-top: 1px solid var(--border); color: var(--ink-faint)!important; font-size: .92rem!important; }
.feature-visual { min-width: 0; }

/* ── Product tour ── */
.tour,.usecase { max-width: var(--maxw); margin: auto; padding-bottom: var(--sect-gap); }
.tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.tour-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .35s var(--ease),border-color .3s; }
.tour-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tour-cap { padding: 1.3rem 1.5rem 1.6rem; }
.tour-cap h3 { font-size: 1.2rem; }
.tour-cap p { margin-top: .5rem; color: var(--ink-muted); font-size: .95rem; }
.flow { display: flex; align-items: stretch; justify-content: center; gap: .8rem; }
.flow-step { flex: 1 1 200px; max-width: 280px; padding: 1.6rem 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: center; }
.flow-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem; border-radius: 12px; background: linear-gradient(150deg,var(--accent-bright),var(--accent-deep)); color: #1b0a02; font-weight: 750; font-size: 1.2rem; }
.flow-step h3 { font-size: 1.05rem; }
.flow-step p { margin-top: .4rem; color: var(--ink-muted); font-size: .95rem; }
.flow-link { align-self: center; color: var(--accent); font-size: 1.4rem; }

/* ── Release and footer ── */
.download { position: relative; overflow: hidden; padding-top: var(--sect-gap); padding-bottom: var(--sect-gap); }
.dl-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 50%,rgba(195,83,35,.17),transparent 70%); }
.dl-inner { position: relative; max-width: 720px; margin: auto; text-align: center; }
.dl-inner .brand-logo { margin: 0 auto 1.6rem; }
.dl-inner h2 { font-size: clamp(2rem,4.6vw,3.2rem); }
.dl-inner > p { margin-top: 1.1rem; color: var(--ink-muted); font-size: 1.1rem; }
.dl-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.release-card { display: grid; gap: .25rem; min-width: 230px; padding: 1rem 1.2rem; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); text-align: left; }
.release-card strong { font-size: 1.08rem; }
.release-card span { color: var(--ink-muted); font-size: .8rem; }
.release-card em { margin-top: .4rem; color: var(--accent); font-size: .8rem; font-weight: 650; }
.release-download { width: max-content; margin-top: .45rem; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.release-download:hover { color: var(--accent-bright); }
.release-download[hidden] { display: none; }
.dl-inner .dl-note { margin-top: 1.1rem; color: var(--ink-faint); font: .8rem/1.6 var(--mono); }
.dl-inner .dl-note + .dl-note { margin-top: .3rem; }
.dl-note a { color: var(--ink-muted); text-underline-offset: 3px; }
.dl-note a:hover { color: var(--accent-bright); }
.footer { display: grid; gap: 1.6rem; max-width: var(--maxw); margin: auto; padding: clamp(2.5rem,5vw,3.5rem) var(--pad) 3rem; border-top: 1px solid var(--border); }
.foot-brand { display: flex; align-items: center; gap: .8rem; }
.foot-name { font-weight: 700; }
.foot-tag,.foot-links { color: var(--ink-muted); font-size: .92rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-copy { color: var(--ink-faint); font-size: .85rem; }
.foot-filings { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .78rem; color: var(--ink-faint); }
.foot-filings a { display: inline-flex; align-items: center; gap: .3rem; color: inherit; text-decoration: none; }
.foot-filings a:hover { color: var(--accent-bright); }
.foot-filings img { width: 1.2em; height: 1.2em; }

/* ── Motion and responsive ── */
.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease),transform .7s var(--ease); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .reveal-d1 { transition-delay: .08s; }
.anim .reveal-d2 { transition-delay: .16s; }
@media(max-width:1000px) { .pillar-grid { grid-template-columns: repeat(2,1fr); } .hero-inner { gap: 2rem; } }
@media(max-width:900px) { .hero-inner { grid-template-columns: 1fr; } .hero-copy { max-width: 650px; } .hero-stage { width: min(100%,680px); margin: 2rem auto 0; } .feature { grid-template-columns: 1fr; } .feature-reverse .feature-copy { order: -1; } .tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .nav-links { display: none; } .lang-menu { margin-left: auto; } .nav-cta { margin-left: 0; } .hero { padding-top: 4rem; } .hero-title { font-size: clamp(2.7rem,8vw,4.3rem); } .trust-strip { margin-inline: var(--pad); } }
@media(max-width:560px) { .nav { gap: .65rem; padding-block: .6rem; } .brand-logo { width: 30px; height: 30px; } .brand { font-size: 1rem; gap: .4rem; } .lang-menu summary { padding: .45rem .5rem; font-size: .78rem; } .lang-menu svg { width: 14px; } .nav-cta { padding: .58rem .75rem; font-size: .8rem; } .nav-cta .btn-mark { display: none; } .hero { padding-top: 3rem; } .hero-title { font-size: clamp(2.5rem,10.4vw,3.4rem); } .hero-sub { font-size: 1rem; } .hero-actions { gap: .6rem; } .btn-lg { font-size: .89rem; padding: .85rem 1rem; } .hero-meta { font-size: .71rem; } .trust-strip { justify-content: flex-start; gap: .65rem 1rem; font-size: .78rem; } .trust-strip span { width: calc(50% - .5rem); } .pillar-grid,.tour-grid { grid-template-columns: 1fr; } .feature-copy h2 { font-size: 2rem; } .flow { flex-direction: column; align-items: center; } .flow-link { transform: rotate(90deg); } .flow-step { width: 100%; max-width: none; } .dl-buttons { flex-direction: column; } .release-card { width: 100%; } .footer { padding-inline: var(--pad); } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms!important; transition-duration: .01ms!important; } .anim .reveal { opacity: 1; transform: none; } }
