/* ═══════════════════════════════════════════════════
   Arven 尔闻 — homepage
   Aesthetic: obsidian hi-fi · brushed silver · VU amber
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --bg-3: #14171c;
  --ink: #eceef1;
  --ink-dim: #a8aeb7;
  --muted: #767c86;
  --amber: #e3a94f;
  --amber-hot: #f2c274;
  --silver-1: #f4f6f8;
  --silver-2: #b9c1cb;
  --silver-3: #7e8894;
  --line: rgba(236, 238, 241, .09);
  --line-strong: rgba(236, 238, 241, .18);
  --card: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 55%);
  --font-display: "Bodoni Moda", "Noto Serif SC", serif;
  --font-zh-display: "Noto Serif SC", "Bodoni Moda", serif;
  --font-body: "Instrument Sans", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: #14100a; }

.display { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.accent { color: var(--amber); }
code { font-family: var(--font-mono); font-size: .88em; color: var(--amber-hot); background: rgba(227,169,79,.08); padding: .1em .4em; border-radius: 4px; }

/* ── grain & progress ── */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-2%,3%); }
  40% { transform: translate(3%,-2%); } 60% { transform: translate(-3%,-3%); } 80% { transform: translate(2%,2%); }
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 1001;
  background: linear-gradient(90deg, var(--silver-2), var(--amber));
  box-shadow: 0 0 12px rgba(227,169,79,.6);
}

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,11,13,.78); backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-logo { color: var(--silver-2); display: flex; }
.logo-arc { transform-origin: 16px 16px; animation: logo-spin 7s linear infinite; }
@keyframes logo-spin { to { transform: rotate(360deg); } }
.nav-wordmark { font-family: var(--font-zh-display); font-weight: 600; font-size: 19px; letter-spacing: .04em; }
.nav-wordmark em { font-family: var(--font-display); font-style: italic; color: var(--silver-3); font-size: 15px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 14.5px; letter-spacing: .03em;
  position: relative; transition: color .3s;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  border: 1px solid var(--line-strong); padding: 7px 20px; border-radius: 999px;
  color: var(--ink) !important; transition: all .35s var(--ease-out);
}
.nav-cta:hover { background: var(--amber); border-color: var(--amber); color: #14100a !important; box-shadow: 0 0 24px rgba(227,169,79,.45); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 22px; height: 1.6px; background: var(--ink); margin: 5px 0; transition: .35s var(--ease-out); }
.nav-burger.open span:first-child { transform: translateY(3.3px) rotate(38deg); }
.nav-burger.open span:last-child { transform: translateY(-3.3px) rotate(-38deg); }
.nav-sheet {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: rgba(12,13,16,.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 8px 28px 24px;
  border-bottom: 1px solid var(--line);
  clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-out);
}
.nav-sheet.open { clip-path: inset(0 0 0 0); }
.nav-sheet a { color: var(--ink-dim); text-decoration: none; padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); font-family: var(--font-zh-display); }
.nav-sheet a:hover { color: var(--amber); }

/* ── reveal system（仅 JS 环境隐藏，no-JS 直接可见）── */
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; }
html.js .reveal.d3 { transition-delay: .24s; } html.js .reveal.d4 { transition-delay: .32s; } html.js .reveal.d5 { transition-delay: .4s; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ── hero above-fold entrance：纯 transform、不碰 opacity —— 首帧即完整可见，LCP=FCP ── */
@keyframes heroRise { from { transform: translateY(34px); } to { transform: translateY(0); } }
.hero-kicker, .hero-title .line, .hero-actions { animation: heroRise 1s var(--ease-out) both; will-change: transform; }
.hero-kicker { animation-delay: 0s; } .hero-title .line:nth-child(2) { animation-delay: .16s; } .hero-actions { animation-delay: .32s; }

/* ── hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 6vh) clamp(20px, 5vw, 64px) 22vh;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(159,180,199,.10), transparent 60%),
    radial-gradient(900px 480px at 8% 110%, rgba(227,169,79,.07), transparent 60%),
    linear-gradient(180deg, #0c0e11, var(--bg));
}
.hero-glow {
  position: absolute; width: 62vw; height: 62vw; right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,193,203,.10), rgba(185,193,203,.03) 45%, transparent 68%);
  filter: blur(6px); animation: glow-breathe 9s ease-in-out infinite; pointer-events: none;
}
@keyframes glow-breathe { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.07); opacity: 1; } }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .22em;
  color: var(--ink-dim); text-transform: uppercase; border: 1px solid var(--line);
  padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.02);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse-dot 2.2s ease infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(227,169,79,.5); } 55% { box-shadow: 0 0 0 7px rgba(227,169,79,0); } }
.hero-title { margin: 34px 0 26px; line-height: 1.04; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .display {
  font-size: clamp(56px, 9.2vw, 138px); font-weight: 500; letter-spacing: -.01em;
  background: linear-gradient(105deg, var(--silver-1) 18%, var(--silver-3) 42%, var(--silver-1) 58%, var(--silver-2) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: silver-sweep 7s ease-in-out infinite;
}
@keyframes silver-sweep { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-zh {
  display: block; font-family: var(--font-zh-display); font-weight: 300;
  font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .42em; color: var(--ink-dim); margin-top: 18px;
}
.hero-sub { max-width: 640px; color: var(--ink-dim); font-size: clamp(15.5px, 1.3vw, 17.5px); }
.hero-sub strong { color: var(--amber-hot); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-size: 15.5px; letter-spacing: .04em; padding: 14px 32px; border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s, background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber-hot), var(--amber) 60%, #c98f38);
  color: #17120a; font-weight: 600; box-shadow: 0 6px 30px rgba(227,169,79,.28);
}
.btn-primary:hover { box-shadow: 0 10px 44px rgba(227,169,79,.5); }
.btn-primary svg { transition: transform .35s var(--ease-out); }
.btn-primary:hover svg { transform: translateY(3px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--silver-2); background: rgba(255,255,255,.05); }
.btn-lg { padding: 18px 44px; font-size: 17px; }
.hero-stats { display: flex; gap: clamp(28px, 5vw, 72px); margin-top: 64px; flex-wrap: wrap; }
.hero-stats dt { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; color: var(--silver-1); line-height: 1; }
.hero-stats .pct { font-size: .55em; color: var(--amber); }
.hero-stats dd { font-size: 13px; color: var(--muted); letter-spacing: .12em; margin-top: 8px; }

/* hero canvas spectrum */
.hero-spectrum { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; z-index: 1; opacity: .9; mask-image: linear-gradient(180deg, transparent, #000 38%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%); }

/* VU meter */
.hero-vu { position: absolute; right: clamp(20px, 6vw, 90px); bottom: 27vh; z-index: 2; }
.vu-face {
  width: 168px; height: 104px; border-radius: 14px 14px 90px 90px / 14px 14px 60px 60px;
  background: linear-gradient(170deg, #17191d, #0d0f12);
  border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  box-shadow: inset 0 2px 14px rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.55);
}
.vu-scale {
  position: absolute; left: 14px; right: 14px; top: 26px; height: 40px;
  background:
    repeating-conic-gradient(from 250deg at 50% 130%, var(--line-strong) 0deg .6deg, transparent .6deg 9deg);
  mask-image: radial-gradient(120px 90px at 50% 130%, #000 58%, transparent 60%);
  -webkit-mask-image: radial-gradient(120px 90px at 50% 130%, #000 58%, transparent 60%);
}
.vu-needle {
  position: absolute; left: 50%; bottom: 8px; width: 2px; height: 72px;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  transform-origin: 50% 100%; transform: rotate(-42deg);
  border-radius: 2px; box-shadow: 0 0 10px rgba(227,169,79,.8);
  transition: transform .62s cubic-bezier(.34,1.56,.64,1);
}
.vu-label { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: 9.5px; letter-spacing: .34em; color: var(--muted); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; width: 22px; height: 36px; border: 1.4px solid var(--line-strong); border-radius: 12px; display: flex; justify-content: center; }
.scroll-hint span { width: 3px; height: 7px; border-radius: 3px; background: var(--amber); margin-top: 6px; animation: hint-drop 1.9s var(--ease-out) infinite; }
@keyframes hint-drop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* ── marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 17px 0; background: var(--bg-2); position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee-run 34s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 17px; letter-spacing: .18em; color: var(--silver-3); white-space: nowrap; }
.marquee-track .soon { color: var(--amber); font-style: italic; }
.marquee-track i { color: var(--line-strong); font-style: normal; font-size: 9px; }
@keyframes marquee-run { to { transform: translateX(-50%); } }

/* ── sections common ── */
.section { padding: clamp(90px, 12vh, 150px) clamp(20px, 5vw, 64px); max-width: 1340px; margin: 0 auto; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-tag {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .3em; color: var(--amber);
  text-transform: uppercase; margin-bottom: 18px;
}
.section-title { font-family: var(--font-zh-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.24; letter-spacing: .01em; }
.section-title .display { font-size: 1.08em; }
.section-sub { margin-top: 20px; color: var(--ink-dim); font-size: 16.5px; max-width: 620px; }
.download .section-title.display-big .display { font-size: 1em; }

/* ── why cards ── */
.why { max-width: none; }
.why .section-head, .arch .section-head { margin-inline: auto; text-align: center; }
.why .section-sub, .arch .section-sub { margin-inline: auto; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 1340px; margin: 0 auto; padding-inline: clamp(0px, 1vw, 12px);
}
.why-card {
  position: relative; padding: 38px 32px 34px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease-out);
  transform-style: preserve-3d;
}
.why-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(227,169,79,.12), transparent 45%);
  transition: opacity .45s;
}
.why-card:hover { border-color: var(--line-strong); }
.why-card:hover::before { opacity: 1; }
.why-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--amber); letter-spacing: .1em; margin-bottom: 20px; opacity: .9; }
.why-card h3 { font-family: var(--font-zh-display); font-weight: 600; font-size: 20.5px; margin-bottom: 12px; letter-spacing: .02em; }
.why-card p { color: var(--ink-dim); font-size: 14.8px; line-height: 1.8; }

/* ── signal chain ── */
.chain { max-width: none; background: linear-gradient(180deg, transparent, rgba(20,23,28,.55) 18%, rgba(20,23,28,.55) 82%, transparent); }
.chain .section-head { margin-inline: auto; text-align: center; }
.chain .section-sub { margin-inline: auto; }
.chain-stage { max-width: 1240px; margin: 0 auto; }
.chain-track {
  display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: nowrap;
  padding: 44px 20px 40px; border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(700px 220px at 50% 0%, rgba(159,180,199,.07), transparent 70%), var(--bg-2);
  overflow-x: auto;
}
.chain-node {
  background: none; border: 0; cursor: pointer; color: var(--ink-dim);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 16px clamp(10px, 1.8vw, 26px); border-radius: 14px; min-width: 128px;
  transition: color .35s, background .35s, transform .45s var(--ease-out);
  font-family: var(--font-body);
}
.cn-ico {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 20px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--silver-2);
  background: linear-gradient(160deg, rgba(255,255,255,.06), transparent);
  transition: all .4s var(--ease-out);
}
.cn-name { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .06em; }
.cn-sub { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.chain-node:hover { color: var(--ink); transform: translateY(-3px); }
.chain-node.active { color: var(--ink); background: rgba(227,169,79,.07); }
.chain-node.active .cn-ico {
  border-color: var(--amber); color: var(--amber-hot);
  box-shadow: 0 0 0 5px rgba(227,169,79,.12), 0 0 26px rgba(227,169,79,.4);
  transform: scale(1.06);
}
.chain-link { position: relative; flex: 0 0 clamp(36px, 5vw, 84px); align-self: center; height: 2px; margin-bottom: 42px; }
.chain-link::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px); }
.chain-link i {
  position: absolute; top: -2.5px; left: -6px; width: 14px; height: 7px; border-radius: 7px;
  background: var(--amber); filter: blur(.4px);
  box-shadow: 0 0 12px 2px rgba(227,169,79,.75);
  animation: flow-dot 2.1s linear infinite;
}
.chain-track > :nth-child(4) i { animation-delay: .35s; }
.chain-track > :nth-child(6) i { animation-delay: .7s; }
.chain-track > :nth-child(8) i { animation-delay: 1.05s; }
@keyframes flow-dot { 0% { left: -8%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 102%; opacity: 0; } }
.chain-info {
  margin-top: 22px; padding: 30px 36px; border: 1px solid var(--line); border-left: 2px solid var(--amber);
  border-radius: 14px; background: var(--bg-3);
  transition: opacity .3s;
}
.chain-info h4 { font-family: var(--font-zh-display); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.chain-info p { color: var(--ink-dim); font-size: 15px; max-width: 760px; }
.chain-meta { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px !important; color: var(--muted) !important; letter-spacing: .05em; }
.chain-info.swap { animation: info-swap .45s var(--ease-out); }
@keyframes info-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── interface ── */
.iface-tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 44px; }
.iface-tab {
  font-family: var(--font-zh-display); font-size: 15.5px; letter-spacing: .05em; cursor: pointer;
  padding: 12px 34px; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--ink-dim); transition: all .4s var(--ease-out);
}
.iface-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.iface-tab.active { background: linear-gradient(135deg, rgba(227,169,79,.18), rgba(227,169,79,.08)); border-color: rgba(227,169,79,.55); color: var(--amber-hot); box-shadow: 0 0 26px rgba(227,169,79,.18); }
.iface-panel { display: none; }
.iface-panel.active { display: block; animation: panel-in .7s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.shot-frame {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 24px 70px rgba(0,0,0,.5); transition: transform .55s var(--ease-out), box-shadow .55s, border-color .4s;
}
.shot-frame:hover { transform: translateY(-6px) scale(1.008); border-color: var(--line-strong); box-shadow: 0 34px 90px rgba(0,0,0,.62), 0 0 0 1px rgba(227,169,79,.12); }
.shot-frame img { display: block; width: 100%; height: auto; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e35; }
.win-bar i:first-child { background: #3a3026; box-shadow: inset 0 0 0 1px rgba(227,169,79,.4); }
.win-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.shot-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin: 18px 0; }
.shot-row figure { position: relative; }
.shot-row figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: .06em; text-align: center; }
.phone-frame { display: flex; flex-direction: column; }
.phone-mock {
  flex: 1; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  padding: 30px 22px;
  background: radial-gradient(240px 180px at 50% 24%, rgba(227,169,79,.10), transparent 68%), linear-gradient(175deg, #15181d, #0c0e11);
}
.pm-disc {
  width: 108px; height: 108px; border-radius: 50%; margin-bottom: 10px; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #1c1f24 0 2.4px, #121417 2.4px 4.8px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 34px rgba(0,0,0,.6);
  animation: disc-spin 5.5s linear infinite;
}
.pm-disc span { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--amber-hot), #a9742c); box-shadow: 0 0 18px rgba(227,169,79,.6); }
@keyframes disc-spin { to { transform: rotate(360deg); } }
.pm-title { font-family: var(--font-zh-display); font-size: 17px; font-weight: 600; }
.pm-artist { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .05em; }
.pm-bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); margin: 16px 0 4px; overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--silver-2), var(--amber)); border-radius: 3px; animation: bar-grow 6s ease-in-out infinite alternate; }
@keyframes bar-grow { from { width: 30%; } to { width: 78%; } }
.pm-btns { display: flex; gap: 22px; margin-top: 12px; }
.pm-btns b { font-size: 17px; color: var(--ink-dim); cursor: default; transition: color .3s, transform .3s var(--ease-out); }
.pm-btns b:hover { color: var(--ink); transform: scale(1.14); }
.pm-btns .play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber-hot), var(--amber)); color: #17120a; font-size: 15px; box-shadow: 0 4px 22px rgba(227,169,79,.45); }
.iface-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 26px; }
.iface-feats li { color: var(--ink-dim); font-size: 14.8px; padding-left: 26px; position: relative; }
.iface-feats li::before { content: "—"; position: absolute; left: 0; color: var(--amber); }

/* ── arch ── */
.arch { max-width: none; }
.arch-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; max-width: 1340px; margin: 0 auto; align-items: start; }
.arch-list { display: flex; flex-direction: column; gap: 14px; }
.arch-item {
  display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline;
  padding: 24px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  transition: border-color .4s, background .4s;
}
.arch-item:hover { border-color: rgba(227,169,79,.4); background: linear-gradient(160deg, rgba(227,169,79,.05), rgba(255,255,255,.01) 55%); }
.arch-item code { font-size: 15.5px; background: none; padding: 0; color: var(--silver-1); letter-spacing: .02em; }
.arch-item:hover code { color: var(--amber-hot); }
.arch-item p { color: var(--ink-dim); font-size: 14.3px; }
.arch-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--nav-h) + 22px); }
.spec-card, .proto-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; background: var(--bg-2); }
.spec-card h4, .proto-card h4 { font-family: var(--font-zh-display); font-size: 16.5px; margin-bottom: 18px; color: var(--silver-1); letter-spacing: .06em; }
.spec-card h4::after, .proto-card h4::after { content: ""; display: block; width: 34px; height: 2px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.spec-card table { width: 100%; border-collapse: collapse; }
.spec-card th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .1em; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.spec-card td { font-size: 13.3px; color: var(--ink-dim); padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-card tr:last-child th, .spec-card tr:last-child td { border-bottom: 0; }
.proto-card pre {
  font-family: var(--font-mono); font-size: 12.8px; line-height: 1.9; color: var(--silver-2);
  background: #0b0d10; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; overflow-x: auto;
}
.proto-card p { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ── download ── */
.download { max-width: none; padding-bottom: clamp(70px, 9vh, 120px); }
.dl-glow {
  position: absolute; left: 50%; top: -14vw; transform: translateX(-50%); width: 78vw; height: 42vw; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(227,169,79,.10), rgba(159,180,199,.05) 42%, transparent 68%);
}
.download .section-head, .dl-grid, .dl-final { position: relative; z-index: 1; }
.dl-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; max-width: 1240px; margin: 0 auto; align-items: start; }
.dl-card { border: 1px solid var(--line); border-radius: 18px; padding: 34px 36px; background: var(--bg-2); transition: border-color .4s; }
.dl-card:hover { border-color: var(--line-strong); }
.dl-card.main { background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 40%), var(--bg-2); }
.dl-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em;
  color: var(--amber); border: 1px solid rgba(227,169,79,.45); padding: 5px 14px; border-radius: 999px;
  background: rgba(227,169,79,.07); margin-bottom: 16px;
}
.dl-card h3 { font-family: var(--font-zh-display); font-size: 22px; font-weight: 600; margin-bottom: 22px; }
.dl-side { display: flex; flex-direction: column; gap: 18px; }
.code-block { position: relative; margin-bottom: 18px; }
.cb-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
.code-block pre {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: #c9d4de;
  background: #0b0d10; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto;
  transition: border-color .35s;
}
.code-block pre:hover { border-color: var(--line-strong); }
.copy-btn {
  position: absolute; top: 30px; right: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  background: rgba(255,255,255,.06); color: var(--ink-dim); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 7px; cursor: pointer; transition: all .3s;
}
.copy-btn:hover { color: var(--amber-hot); border-color: rgba(227,169,79,.5); background: rgba(227,169,79,.1); }
.copy-btn.copied { color: #17120a; background: var(--amber); border-color: var(--amber); }
.dl-note { font-size: 13.5px; color: var(--muted); }
.plat-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.plat-list li { display: flex; gap: 15px; align-items: center; }
.plat-ico { font-size: 24px; filter: grayscale(.25); }
.plat-list strong { display: block; font-size: 15px; font-weight: 600; }
.plat-list em { font-style: normal; font-size: 12.8px; color: var(--muted); }
.dl-text { font-size: 14px; color: var(--ink-dim); }
.channel-line {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--silver-2);
  border: 1px dashed var(--line-strong); border-radius: 9px; padding: 10px 14px;
}
.ch-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fce8f; box-shadow: 0 0 10px rgba(111,206,143,.8); animation: pulse-dot 2.6s ease infinite; }
.accent-card { border-color: rgba(227,169,79,.3); background: linear-gradient(160deg, rgba(227,169,79,.06), transparent 55%), var(--bg-2); }
.dl-final { text-align: center; margin-top: clamp(64px, 8vw, 110px); }
.dl-slogan { margin-top: 30px; font-size: clamp(24px, 3.6vw, 44px); color: var(--silver-3); letter-spacing: .02em; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); background: #08090b; }
.footer-inner {
  max-width: 1340px; margin: 0 auto; padding: 64px clamp(20px, 5vw, 64px) 48px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px;
}
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 13.5px; letter-spacing: .04em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-links h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .26em; color: var(--amber); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer-links a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .3s, transform .3s var(--ease-out); }
.footer-links a:hover { color: var(--ink); transform: translateX(4px); }
.footer-base {
  max-width: 1340px; margin: 0 auto; padding: 22px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: 12.8px; letter-spacing: .06em;
}
.footer-base .display { font-size: 14.5px; color: var(--silver-3); }

/* ── responsive ── */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-side { position: static; }
  .dl-grid { grid-template-columns: 1fr; }
  .hero-vu { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .why-grid { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; }
  .iface-feats { grid-template-columns: 1fr; }
  .arch-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stats { gap: 26px; }
  .chain-track { justify-content: flex-start; }
  .section-title br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, html.js .reveal { opacity: 1; transform: none; }
}
