/* =========================================================
   Batlink — site
   ========================================================= */
:root {
  --bg: #04050b;
  --bg-2: #070a15;
  --bg-3: #0b1020;
  --ink: #eef2ff;
  --ink-2: #c7cee6;
  --muted: #8a93ae;
  --faint: #5c6582;
  --line: rgba(150, 175, 255, 0.12);
  --line-2: rgba(150, 175, 255, 0.22);
  --brand: #456ba5;          /* App 主色 */
  --blue: #7aa2ff;
  --blue-2: #a9c3ff;
  --violet: #a58bff;
  --cyan: #7fe3ff;
  --danger: #ff6b7d;
  --ok: #7ef0b7;
  --glass: rgba(16, 22, 42, 0.55);
  --glass-2: rgba(22, 30, 58, 0.6);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="en"] body { letter-spacing: -0.005em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--mono); }
::selection { background: rgba(122, 162, 255, 0.35); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow { max-width: 720px; }
.hidden { display: none !important; }
.nw { white-space: nowrap; }

.grad {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--blue) 35%, var(--violet) 70%, var(--cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- 开场 ---------- */
#intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
#intro.done { opacity: 0; visibility: hidden; }
.intro-bat { width: 120px; color: #fff; opacity: 0; animation: introBat 1.4s var(--ease) .1s forwards; filter: drop-shadow(0 0 24px rgba(122,162,255,.6)); }
.intro-ring {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(169, 195, 255, .7);
  animation: introRing 1.8s var(--ease) .3s infinite;
}
@keyframes introBat { from { opacity: 0; transform: scale(.85); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 24px rgba(122,162,255,.6)); } }
@keyframes introRing { from { transform: scale(1); opacity: .9; } to { transform: scale(40); opacity: 0; } }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 5, 11, 0.62);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand-bat { width: 34px; height: 17px; color: #fff; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: border-color .2s;
}
.lang:hover { border-color: rgba(169,195,255,.45); }
.lang i { font-style: normal; opacity: .35; }
.lang span.on { color: #fff; font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 20px; height: 20px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn-primary {
  color: #061026;
  background: linear-gradient(180deg, #ffffff 0%, #dfe7ff 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 10px 40px -10px rgba(122,162,255,.7);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset, 0 16px 60px -8px rgba(122,162,255,.9); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(169,195,255,.5); background: rgba(122,162,255,.08); }
.btn-ghost .arrow { transition: transform .3s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-glow { color: #061026; background: #fff; }
.btn-glow:hover { box-shadow: 0 0 30px rgba(169,195,255,.7); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(4,5,11,.95) 25%, rgba(4,5,11,0) 62%),
    radial-gradient(90% 60% at 50% 38%, rgba(69,107,165,.0) 0%, rgba(4,5,11,.35) 100%);
}
.hero-content {
  width: 100%; max-width: var(--maxw); margin: 0 auto; text-align: center;
  padding: 0 var(--gutter) clamp(84px, 11vh, 130px);
}
.hero-content .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content .hero-cta { justify-content: center; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-2);
  margin: 0 0 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.hero-title {
  margin: 0; font-weight: 700;
  font-size: clamp(34px, min(4.8vw, 7.4vh), 70px); line-height: 1.12; letter-spacing: -0.035em;
  text-wrap: balance;
}
html[lang="en"] .hero-title { font-size: clamp(32px, min(4.4vw, 6.8vh), 64px); }
.hero-sub { max-width: 620px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); margin: 26px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; pointer-events: none; }
.scroll-cue { width: 22px; height: 36px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 宣传片 ---------- */
.film { position: relative; padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #04050b; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 60px 160px -40px rgba(69,107,165,.55), 0 30px 80px -30px rgba(0,0,0,.9); }
.film-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(169,195,255,.12); }
.film-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.film-toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(6,10,24,.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: .0; transition: opacity .3s; }
.film-frame:hover .film-toggle, .film-frame.paused .film-toggle { opacity: 1; }
.ft-play { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.film-frame.paused .ft-play { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.film-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--faint); }
.film-meta a { color: var(--blue-2); }
.film-meta a:hover { color: #fff; }

/* ---------- 通用段落 ---------- */
.section { position: relative; overflow-x: clip; padding: clamp(90px, 14vw, 170px) 0; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--blue); margin: 0 0 18px; text-transform: uppercase; }
.h2 {
  margin: 0; font-weight: 700; letter-spacing: -0.032em; line-height: 1.08;
  font-size: clamp(28px, 3.5vw, 50px); text-wrap: balance;
}
html[lang="en"] .h2 { font-size: clamp(27px, 3.3vw, 46px); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.45vw, 19px); margin: 24px 0 0; text-wrap: pretty; }
.lead.center { margin: 22px auto 0; }
.footnote { color: var(--faint); font-size: 13px; max-width: 820px; margin: 28px auto 0; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-rev .split-text { order: 1; }
.split-rev .split-visual { order: 2; }

.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
html[lang="en"] .facts li { grid-template-columns: 170px 1fr; }
.facts b { font-weight: 600; color: #fff; }
.facts span { color: var(--muted); }

.card-glass {
  position: relative;
  background: linear-gradient(180deg, rgba(24,32,62,.62), rgba(10,14,30,.72));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.card-glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(169,195,255,.55), rgba(169,195,255,0) 35%, rgba(165,139,255,0) 65%, rgba(165,139,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- 身份 · 生成钥匙 ---------- */
.split-visual { position: relative; }
#identity .split-visual::before, #groupwork .split-visual::before, #principle .split-visual::before {
  content: ""; position: absolute; inset: -18% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(69,107,165,.32), rgba(165,139,255,.08) 55%, transparent 72%);
  filter: blur(10px);
}
.keygen { padding: 0; overflow: hidden; }
.keygen-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.keygen-title { margin-left: 10px; font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }
.keygen-body { padding: 24px 22px 22px; display: grid; gap: 18px; }
.kg-row { display: grid; gap: 6px; }
.kg-row label { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.kg-val { font-size: 13px; line-height: 1.55; color: var(--ink-2); word-break: break-all; min-height: 1.55em; }
.kg-val.blur { filter: blur(5px); transition: filter .4s; user-select: none; }
.kg-val.blur:hover { filter: blur(3px); }
.kg-addr-row { padding: 16px; border-radius: 14px; background: rgba(122,162,255,.07); border: 1px solid rgba(122,162,255,.22); }
.kg-addr { font-size: clamp(14px, 1.6vw, 18px); color: #fff; font-weight: 500; letter-spacing: .01em; }
.kg-addr.flash { animation: addrFlash 1.2s var(--ease); }
@keyframes addrFlash { 0% { text-shadow: 0 0 0 transparent; } 30% { text-shadow: 0 0 22px rgba(169,195,255,.95); } 100% { text-shadow: 0 0 0 transparent; } }
.kg-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kg-time { font-family: var(--mono); font-size: 12px; color: var(--ok); }
.kg-note { margin: 0; font-size: 12px; color: var(--faint); }

/* ---------- 加密旅程 ---------- */
.journey { margin-top: 60px; padding: clamp(18px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(69,107,165,.18), rgba(8,11,22,.4) 60%); }
.j-input { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s; }
.j-input:focus-within { border-color: rgba(169,195,255,.55); box-shadow: 0 0 0 4px rgba(122,162,255,.12); }
.j-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 16px; }
.j-input input::placeholder { color: var(--faint); }

.j-stage { position: relative; height: 420px; margin-top: 40px; }
.j-spark { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #cfe0ff; box-shadow: 0 0 10px #a9c3ff, 0 0 20px #a58bff; pointer-events: none; z-index: 3; }
.j-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.j-route { fill: none; stroke: rgba(150,175,255,.22); stroke-width: 1.4; stroke-dasharray: 3 7; }
.j-trail { fill: none; stroke: url(#jTrailGrad); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(122,162,255,.9)); }
.j-party { position: absolute; top: 50%; width: 250px; display: grid; gap: 10px; transform: translateY(-50%); }
.j-me { left: 0; justify-items: start; }
.j-them { right: 0; justify-items: end; }
.j-who { display: flex; align-items: center; gap: 10px; }
.j-who b { font-size: 13px; color: var(--muted); font-weight: 500; }
.j-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(122,162,255,.25), 0 0 40px rgba(122,162,255,.3); flex: none; }
.j-bubble { position: relative; max-width: 100%; padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: linear-gradient(180deg, #5b86d6, #456ba5); color: #fff; font-size: 16px; line-height: 1.45; word-break: break-all; min-height: 44px; min-width: 60px; transition: background .5s, color .5s, border-color .5s, box-shadow .5s; }
.j-bubble:empty { opacity: .25; }
.j-bubble.cipher { background: #0a1128; color: var(--cyan); font-family: var(--mono); font-size: 13px; box-shadow: inset 0 0 0 1px rgba(127,227,255,.4), 0 0 30px rgba(127,227,255,.25); }
.j-bubble-in { border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); }
.j-bubble-in.cipher { border-color: transparent; }
.j-bubble-in.plain { background: rgba(255,255,255,.12); box-shadow: 0 0 40px rgba(126,240,183,.18); border-color: rgba(126,240,183,.35); }

.j-keyfx { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(122,162,255,.1); border: 1px solid rgba(169,195,255,.35); color: var(--blue-2); font-size: 12px; opacity: 0; transform: translateY(-6px); }
.j-keyfx em { font-style: normal; }
.j-keyfx svg { width: 18px; height: 18px; opacity: 0; }
.j-keyfx span { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; }
.kf-a { left: -30px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.kf-b { right: -30px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.j-node { position: absolute; display: grid; justify-items: center; gap: 8px; transform: translate(-50%, -50%); z-index: 1; }
#j-n1 { left: 40%; top: 24%; }
#j-n2 { left: 60%; top: 76%; }
.j-node i { width: 30px; height: 30px; border-radius: 8px; transform: rotate(45deg); background: #0c1226; border: 1px solid rgba(169,195,255,.6); box-shadow: 0 0 20px rgba(122,162,255,.3); transition: box-shadow .35s, background .35s, transform .35s var(--ease); }
.j-node.hit i { background: #22346a; box-shadow: 0 0 50px rgba(169,195,255,1), 0 0 0 8px rgba(122,162,255,.12); transform: rotate(45deg) scale(1.15); }
.j-node span { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.j-tip { position: absolute; z-index: 3; display: grid; gap: 3px; padding: 8px 12px; border-radius: 12px; background: rgba(6,10,24,.92); border: 1px solid rgba(127,227,255,.35); font-size: 11.5px; color: var(--muted); white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.j-tip.show { opacity: 1; transform: translate(-50%, 0); }
.j-tip code { color: var(--cyan); font-size: 12px; }

.j-pkg { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; pointer-events: none; will-change: transform; }
.pkg-body { position: relative; display: flex; align-items: center; gap: 9px; padding: 12px 16px 12px 12px; border-radius: 16px; background: linear-gradient(135deg, #16224a, #0a1128); border: 1px solid rgba(127,227,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 30px rgba(127,227,255,.45), 0 14px 40px -10px rgba(0,0,0,.8); transform: translate(-50%, -50%); }
.pkg-lock { width: 22px; height: 22px; color: #fff; flex: none; filter: drop-shadow(0 0 6px rgba(169,195,255,.9)); }
.pkg-body code { font-size: 14px; color: var(--cyan); letter-spacing: .04em; }
.pkg-seal { position: absolute; right: -11px; top: -11px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #b59bff, #7b5fe0); color: #fff; box-shadow: 0 0 18px rgba(165,139,255,.9); opacity: 0; }
.pkg-seal svg { width: 15px; height: 15px; }
.pkg-seal.ok { background: radial-gradient(circle, #9ff5c8, #3fbf82); box-shadow: 0 0 22px rgba(126,240,183,.95); }

.j-caption { min-height: 1.6em; margin: 18px auto 0; text-align: center; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink); max-width: 720px; }
.j-caption b { color: var(--blue-2); font-weight: 600; margin-right: 6px; font-family: var(--mono); }
.j-caption.swap { animation: rmSwap .5s var(--ease); }

.j-steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.j-steps li { display: flex; gap: 10px; padding: 16px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.015); transition: border-color .4s, background .4s, transform .4s var(--ease); min-width: 0; }
.j-steps li.on { border-color: rgba(169,195,255,.5); background: rgba(122,162,255,.08); transform: translateY(-3px); }
.j-steps em { font-style: normal; font-family: var(--mono); font-size: 12px; width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--blue-2); }
.j-steps li.on em { background: var(--blue); color: #061026; border-color: transparent; }
.j-steps div { display: grid; gap: 5px; min-width: 0; }
.j-steps b { font-size: 14px; font-weight: 600; }
.j-steps span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.j-steps code { font-size: 11px; color: var(--cyan); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.honest-col { padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.honest-col h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.honest-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.honest-col li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.honest-col li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: rgba(126,240,183,.14); box-shadow: inset 0 0 0 1px rgba(126,240,183,.5); }
.honest-col li::after { content: ""; position: absolute; left: 5px; top: calc(.42em + 4px); width: 6px; height: 3.5px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.honest-can li::before { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.honest-can li::after { border: 0; width: 6px; height: 1.5px; background: var(--muted); transform: none; top: calc(.42em + 7px); }
.honest-note { margin: 16px 0 0; font-size: 13px; color: var(--faint); }

/* ---------- 抗封锁 ---------- */
.rs-box { position: relative; margin-top: 56px; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; background:
  radial-gradient(60% 80% at 70% 50%, rgba(69,107,165,.22), transparent 70%),
  radial-gradient(30% 60% at 10% 50%, rgba(255,107,125,.06), transparent 70%), rgba(6,9,20,.6); }
#rs-canvas { display: block; width: 100%; height: 520px; }
.rs-hud { position: absolute; top: 18px; right: 18px; display: flex; gap: 8px; }
.rs-stat { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(6,10,24,.75); border: 1px solid var(--line-2); backdrop-filter: blur(10px); min-width: 96px; }
.rs-stat span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.rs-stat b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rs-state { font-size: 14px !important; color: var(--blue-2); }
.rs-state.ok { color: var(--ok); }
.rs-controls { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px 22px; border-top: 1px solid var(--line); background: rgba(4,6,14,.5); }
.rs-slider { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.rs-slider input { -webkit-appearance: none; appearance: none; width: min(320px, 50vw); height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(122,162,255,.5), rgba(255,107,125,.7)); outline: none; }
.rs-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(122,162,255,.25), 0 0 20px rgba(169,195,255,.8); cursor: pointer; }
.rs-slider input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(122,162,255,.25), 0 0 20px rgba(169,195,255,.8); cursor: pointer; }
.rs-facts { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rs-fact { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.rs-fact b { font-size: 16px; }
.rs-fact p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- bento ---------- */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(20,27,52,.7), rgba(9,12,26,.8));
  border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(122,162,255,.12), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile:hover::after { opacity: 1; }
.tile-wide { grid-column: span 2; }
.tile h3 { margin: 6px 0 10px; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { font-family: var(--mono); font-size: 12px !important; letter-spacing: .08em; color: var(--blue) !important; text-transform: uppercase; }

#tile-group { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: 360px; }
#tile-group .btn { margin-top: 22px; }
.group-viz { position: relative; aspect-ratio: 1; max-width: 320px; width: 100%; justify-self: center; }
.gv-ring { position: absolute; inset: 0; }
.gv-member { position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(122,162,255,.4); transition: left .9s var(--ease), top .9s var(--ease), opacity .7s, transform .7s var(--ease), filter .7s; }
.gv-member.leaving { opacity: 0; transform: scale(.4) translateY(40px); filter: grayscale(1); }
.gv-member.joining { opacity: 0; transform: scale(.4); }
.gv-line { position: absolute; left: 50%; top: 50%; height: 1px; transform-origin: 0 0; background: linear-gradient(90deg, rgba(169,195,255,.6), rgba(169,195,255,.05)); transition: opacity .5s; }
.gv-key { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 2px; background: radial-gradient(circle, #1b2b5c, #0b1226 70%); border: 1px solid rgba(169,195,255,.5); box-shadow: 0 0 60px rgba(122,162,255,.35); text-align: center; }
.gv-key svg { width: 30px; height: 30px; color: var(--blue-2); }
.gv-key span { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.gv-key b { color: #fff; }
.gv-key code { font-size: 11px; color: var(--cyan); }
.gv-key.spin { animation: keySpin 1.1s var(--ease); }
@keyframes keySpin { 0% { transform: translate(-50%,-50%) rotate(0) scale(1); } 40% { transform: translate(-50%,-50%) rotate(200deg) scale(.82); box-shadow: 0 0 100px rgba(169,195,255,.9); } 100% { transform: translate(-50%,-50%) rotate(360deg) scale(1); } }

.remark-demo { margin-top: 22px; display: grid; gap: 10px; }
.rm-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; }
.rm-line span { color: var(--faint); font-size: 12px; }
.rm-claim s { color: var(--danger); text-decoration-thickness: 1.5px; opacity: .85; }
.rm-show { border-color: rgba(126,240,183,.3); background: rgba(126,240,183,.05); }
.rm-show b { font-family: var(--mono); font-weight: 500; color: var(--ok); font-size: 13px; }
.rm-swap { animation: rmSwap .6s var(--ease); }
@keyframes rmSwap { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.countdown { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cd-num { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, #fff, #7aa2ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cd-unit { color: var(--muted); }
.cd-bar { flex-basis: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.cd-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--blue)); transform-origin: left; animation: burn 8s linear infinite; }
@keyframes burn { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.tile-avatars { grid-column: span 2; }
.avatar-marquee { margin: 24px -30px -30px; display: grid; gap: 10px; padding-bottom: 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.am-row { display: flex; gap: 10px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.am-row.rev { animation-direction: reverse; }
.am-row img { width: 56px; height: 56px; border-radius: 16px; background: #fff; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.push-demo { margin-top: 24px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(20px); animation: pushIn 5s var(--ease) infinite; }
.push-demo img { width: 38px; height: 38px; border-radius: 9px; }
.push-demo b { display: block; font-size: 14px; }
.push-demo span { font-size: 13.5px; color: var(--ink-2); }
.push-demo time { font-size: 12px; color: var(--muted); align-self: start; }
@keyframes pushIn { 0% { opacity: 0; transform: translateY(-14px) scale(.96); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

.lang-cycle { font-size: clamp(34px, 3.6vw, 46px) !important; margin: 14px 0 14px !important; min-height: 1.3em; background: linear-gradient(90deg, #fff, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lang-cycle.swap { animation: rmSwap .7s var(--ease); }

.tile-more { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); background: rgba(255,255,255,.02); }

/* ---------- 截图 ---------- */
.shots-rail { margin-top: 60px; display: flex; gap: 28px; padding: 10px var(--gutter) 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: safe center; }
.shots-rail::-webkit-scrollbar { display: none; }
.phone { flex: none; scroll-snap-align: center; width: clamp(230px, 22vw, 290px); aspect-ratio: 1206 / 2622; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2a3150, #0c0f1c); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(122,162,255,.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
.phone figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.shot-fig { margin: 0; flex: none; scroll-snap-align: center; }

/* ---------- 助理 ---------- */
.assistants { overflow: hidden; }
.aurora { position: absolute; inset: -10% -20% auto; height: 900px; pointer-events: none; z-index: -1; background:
  radial-gradient(40% 50% at 25% 30%, rgba(122,162,255,.18), transparent 70%),
  radial-gradient(35% 45% at 75% 25%, rgba(165,139,255,.16), transparent 70%),
  radial-gradient(30% 40% at 50% 60%, rgba(127,227,255,.08), transparent 70%);
  filter: blur(20px); animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(4%, 3%, 0) scale(1.08); } }

.crew { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.crew-more {
  margin-top: 16px; padding: 20px 24px; border-radius: 24px;
  border: 1.5px dashed rgba(169,195,255,.35); background: rgba(24,32,62,.35);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 14px; text-align: center;
}
.crew-more b { font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.crew-more span { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.agent {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 24px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(24,32,62,.75), rgba(9,12,26,.85));
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .5s;
  transform-style: preserve-3d;
}
.agent:hover { border-color: rgba(169,195,255,.4); box-shadow: 0 30px 80px -30px rgba(122,162,255,.45); }
.agent-top { display: flex; gap: 14px; align-items: center; }
.agent-av { width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(122,162,255,.3); }
.agent h3 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.agent-role { margin: 2px 0 0; color: var(--blue-2); font-size: 14px; }
.agent-desc { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; flex: 1; }
.agent-power { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font-size: 12px; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.agent-power em { grid-column: 1 / -1; font-style: normal; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.meter { position: relative; height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter i, .meter b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; width: calc(var(--v) * 100%); }
.meter i { background: linear-gradient(90deg, var(--ok), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; z-index: 1; }
.meter b { background: repeating-linear-gradient(90deg, rgba(255,107,125,.5) 0 5px, transparent 5px 9px); opacity: 0; transition: opacity 1s 1.4s; }
.agent.in .meter i { transform: scaleX(1); }
.agent.in .meter b { opacity: .8; }
.agent-power { order: 4; }
.mini-chips { order: 3; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chips li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(122,162,255,.09); color: var(--blue-2); }

/* ---------- 原则 ---------- */
.quote { margin: 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.22; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
html[lang="en"] .quote { font-size: clamp(24px, 2.7vw, 38px); }
.inject { margin-top: 36px; display: grid; gap: 10px; }
.inject-mail { padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255,107,125,.45); background: rgba(255,107,125,.05); }
.inject-from { font-size: 12px; color: var(--danger); font-family: var(--mono); letter-spacing: .05em; }
.inject-mail p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
.inject-arrow { text-align: center; color: var(--faint); }
.inject-reply { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(126,240,183,.3); background: rgba(126,240,183,.05); }
.inject-reply img { width: 34px; height: 34px; border-radius: 50%; background: #fff; flex: none; }
.inject-reply p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.chart { padding: 24px 18px 20px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.ch-bg { fill: rgba(255,255,255,.015); stroke: var(--line); }
.ch-axis { stroke: rgba(169,195,255,.35); stroke-width: 1; }
.ch-label { fill: var(--muted); font-size: 13px; font-family: var(--font); }
.ch-danger { fill: #ffb3bd; font-size: 15px; font-weight: 600; letter-spacing: .15em; font-family: var(--font); }
.ch-dash { stroke: #9db6ff; stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.ch-pt text { fill: #fff; font-size: 14px; font-weight: 600; font-family: var(--font); paint-order: stroke; stroke: rgba(4,5,11,.8); stroke-width: 4px; }
.ch-pt image { filter: drop-shadow(0 0 8px rgba(122,162,255,.8)); }
.ch-ghost circle { fill: none; stroke: #9db6ff; stroke-width: 1.5; stroke-dasharray: 3 3; }
.ch-ghost text { fill: #9db6ff; font-size: 12.5px; font-weight: 500; }
.chart-cap { text-align: center; margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- 群聊示意 ---------- */
.chat-illu { padding: 0; overflow: hidden; max-width: 460px; margin-left: auto; }
.ci-head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ci-gav { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; box-shadow: 0 0 0 2px rgba(122,162,255,.3); }
.ci-gav img { width: 100%; height: 100%; display: block; }
.ci-head b { display: block; font-size: 15px; }
.ci-head span { font-size: 12px; color: var(--muted); }
.ci-body { height: 440px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; background: radial-gradient(100% 60% at 50% 100%, rgba(69,107,165,.15), transparent); }
.ci-cap { margin: 0; padding: 8px 20px 12px; font-size: 11px; color: var(--faint); text-align: right; letter-spacing: .06em; }
.gw-top { align-items: end; }
.chat-illu.gw-film { max-width: 1120px; margin: clamp(36px, 5vw, 64px) auto 0; }
.gw-film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #04050a; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; animation: msgIn .55s var(--ease) both; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg img { width: 30px; height: 30px; border-radius: 50%; background: #fff; flex: none; }
.msg .bub { padding: 9px 13px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.msg.me .bub { border-radius: 18px 18px 6px 18px; background: linear-gradient(180deg, #5b86d6, #456ba5); border-color: transparent; }
.msg .who { display: block; font-size: 11.5px; color: var(--blue-2); margin-bottom: 2px; font-weight: 600; }
.msg .at { color: #cfe0ff; font-weight: 600; }
.msg.me .at { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.msg code { font-size: 12.5px; padding: 1px 5px; border-radius: 5px; background: rgba(0,0,0,.3); }
.msg .ok { color: var(--ok); }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.work-log { display: grid; gap: 3px; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.work-log span::before { content: "› "; color: var(--blue); }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- 开源 ---------- */
.arch { margin-top: 70px; display: grid; grid-template-columns: auto 1fr auto 1fr 2.4fr; align-items: center; gap: 0; }
.arch-node { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); min-width: 130px; }
.arch-node svg, .arch-mac-title svg { width: 30px; height: 30px; color: var(--blue-2); margin-bottom: 4px; }
.arch-node b { font-size: 15px; }
.arch-node span { font-size: 12px; color: var(--muted); }
.arch-link { position: relative; height: 2px; margin: 0 6px; background: linear-gradient(90deg, rgba(122,162,255,.1), rgba(122,162,255,.5), rgba(122,162,255,.1)); min-width: 40px; }
.arch-link i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--blue); animation: flow 2.4s linear infinite; }
.arch-link span { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
@keyframes flow { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.arch-mac { padding: 18px; border-radius: 24px; border: 1px solid rgba(169,195,255,.4); background: linear-gradient(180deg, rgba(69,107,165,.18), rgba(9,12,26,.6)); box-shadow: 0 0 80px -30px rgba(122,162,255,.5); }
.arch-mac-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.arch-mac-title svg { margin: 0; width: 24px; height: 24px; }
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch-box { padding: 12px 14px; border-radius: 14px; background: rgba(4,5,11,.5); border: 1px solid var(--line); display: grid; gap: 2px; }
.arch-box b { font-size: 14px; }
.arch-box span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.arch-brains { display: flex; flex-wrap: wrap; gap: 5px; align-content: center; }
.arch-brains span { font-size: 11.5px; color: var(--blue-2); padding: 3px 8px; border-radius: 999px; background: rgba(122,162,255,.1); }

.os-grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: stretch; }
.os-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.os-card { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,27,52,.6), rgba(9,12,26,.7)); }
.os-card .big { display: block; font-size: 38px; line-height: 1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 12px; background: linear-gradient(180deg, #fff, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.os-card p { margin: 0; font-size: 14px; color: var(--muted); }

.terminal { border-radius: 22px; overflow: hidden; background: #070913; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); display: flex; flex-direction: column; min-height: 380px; }
.term-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.term-head em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.term-body { flex: 1; margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #c8d3f5; white-space: pre-wrap; word-break: break-word; }
.term-body .p { color: var(--ok); }
.term-body .c { color: var(--faint); }
.term-body .h { color: var(--cyan); }
.term-body .caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: #c8d3f5; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.os-cta { margin-top: 50px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.os-req { margin: 0; color: var(--faint); font-size: 13.5px; max-width: 560px; }

/* ---------- 下载 ---------- */
.final { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 120px var(--gutter); }
#final-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 50%, transparent, var(--bg) 85%); }
.final-inner { display: grid; justify-items: center; text-align: center; }
.final-icon { width: 120px; height: 120px; border-radius: 28px; margin-bottom: 40px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -10px rgba(122,162,255,.55); }
.final-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a:hover { color: #fff; }
.copy { color: var(--faint); }

.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: rgba(20,27,52,.92); border: 1px solid var(--line-2); font-size: 14px; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease); backdrop-filter: blur(16px); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
  .crew { grid-template-columns: 1fr 1fr; }
  .j-steps { grid-template-columns: 1fr 1fr; }
  .j-steps li:last-child { grid-column: span 2; }
  .arch { grid-template-columns: 1fr; gap: 0; justify-items: stretch; max-width: 560px; margin-left: auto; margin-right: auto; }
  .arch-node { justify-self: center; width: 220px; }
  .arch-link { width: 2px; height: 56px; margin: 6px auto; min-width: 0; background: linear-gradient(180deg, rgba(122,162,255,.1), rgba(122,162,255,.5), rgba(122,162,255,.1)); }
  .arch-link i { left: -3px; animation-name: flowV; }
  .arch-link span { top: 50%; left: 16px; transform: translateY(-50%); }
  .os-grid { grid-template-columns: 1fr; }
}
@keyframes flowV { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-rev .split-text { order: 1; }
  .split-rev .split-visual { order: 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  #tile-group { grid-column: span 2; }
  #tile-offline { grid-column: span 2; }
  .tile-more { grid-template-columns: 1fr; }
  .chat-illu { margin: 0 auto; }
  .j-stage { height: 600px; }
  .j-party { left: 50%; right: auto; width: min(300px, 92%); transform: translateX(-50%); }
  .j-me { top: 0; justify-items: center; }
  .j-them { top: auto; bottom: 0; justify-items: center; }
  .j-me .j-bubble { order: 3; }
  #j-n1 { left: 28%; top: 40%; }
  #j-n2 { left: 72%; top: 58%; }
}

@media (max-width: 640px) {
  .film .wrap { padding: 0; }
  .film-frame { border-radius: 0; border-left: 0; border-right: 0; }
  .film-meta { padding: 0 var(--gutter); }
  #rs-canvas { height: 640px; }
  .rs-hud { left: 12px; right: 12px; top: 12px; justify-content: space-between; gap: 6px; }
  .rs-stat { min-width: 0; flex: 1; padding: 8px 10px; }
  .rs-stat b { font-size: 15px; }
  .rs-slider { flex-direction: column; gap: 8px; }
  .rs-slider input { width: 80vw; }
  .rs-facts { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .btn { --h: 48px; padding: 0 20px; font-size: 15px; }
  .btn-sm { --h: 36px; padding: 0 14px; font-size: 13.5px; }
  .nav .btn-glow { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .eyebrow { letter-spacing: .1em; font-size: 12px; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .hero-cta.center .btn { flex: 0 1 auto; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-avatars, #tile-group, #tile-offline { grid-column: auto; }
  #tile-group { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
  .avatar-marquee { margin: 22px -24px -24px; }
  .crew { grid-template-columns: 1fr; }
  .facts li, html[lang="en"] .facts li { grid-template-columns: 1fr; gap: 2px; }
  .honest { grid-template-columns: 1fr; }
  .j-steps { grid-template-columns: 1fr; }
  .j-steps li:last-child { grid-column: auto; }
  .os-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .os-card { padding: 18px; }
  .os-card .big { font-size: 28px; }
  .arch-grid { grid-template-columns: 1fr; }
  .ci-body { height: 420px; }
  .term-body { font-size: 12px; padding: 14px; }
  .footer-links { margin-left: 0; }
  .chart { padding: 16px 8px 14px; }
}

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