/* TeamAgent 宣传页：近黑底、银色标题、克制的蓝青点缀、发丝线与细颗粒。所有资源本地化。 */
:root {
  --bg: #05070d; --ink: #f3f5f9; --mute: #8e96aa; --dim: #5f6779;
  --blue: #9db8ff; --teal: #61dbc5;
  --line: rgba(255, 255, 255, .075); --line2: rgba(255, 255, 255, .13);
  --surf: rgba(255, 255, 255, .022); --surf2: rgba(255, 255, 255, .04);
  --max: 1200px; --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --num: "Inter", "DIN Alternate", "Bahnschrift", var(--font);
  --mono: "JetBrains Mono", "Cascadia Code", "Consolas", "SFMono-Regular", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font: 16px/1.7 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
main { overflow-x: clip; }
code { font: .86em var(--mono); color: #cfd8ea; background: var(--surf2); border: 1px solid var(--line); padding: .1em .45em; border-radius: 6px; }
::selection { background: rgba(157, 184, 255, .3); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 14px; height: 14px; } .ic.lg { width: 26px; height: 26px; stroke-width: 1.35; }
.nw { white-space: nowrap; }

/* ---------- 背景：顶部光束 + 两团冷光 + 渐隐网格 + 颗粒 ---------- */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.beam { position: absolute; left: 50%; top: -30vh; width: 1400px; height: 110vh; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 156deg, rgba(157, 184, 255, .16) 172deg, rgba(220, 230, 255, .22) 180deg, rgba(97, 219, 197, .12) 188deg, transparent 204deg);
  filter: blur(18px); mask-image: linear-gradient(#000 20%, transparent 85%); }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.g-a { width: 760px; height: 420px; left: 50%; top: -220px; transform: translateX(-50%); background: rgba(80, 110, 220, .35); }
.g-b { width: 600px; height: 600px; right: -260px; top: 120vh; background: rgba(60, 170, 150, .1); }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .5; mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 70%); }
.noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 导航 ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--max), calc(100% - 32px));
  display: flex; align-items: center; gap: 24px; padding: 9px 9px 9px 18px; border-radius: 14px; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s; }
.nav.scrolled { background: rgba(10, 12, 20, .66); border-color: var(--line); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 16px 50px rgba(0, 0, 0, .4); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.logo img { border-radius: 7px; }
.links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--mute); }
.links a { transition: color .3s; } .links a:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 11px; font: 500 14.5px var(--font);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s; }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 13px; }
.btn-primary { color: #0a0d16; background: linear-gradient(180deg, #fff, #dfe4ee); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 1px 0 #fff inset, 0 8px 24px rgba(160, 185, 255, .18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 1px 0 #fff inset, 0 14px 36px rgba(160, 185, 255, .3); }
.btn-ghost { color: var(--ink); background: var(--surf2); border-color: var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 168px 24px 40px; text-align: center; }
#net { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100vw; height: 760px; z-index: -1; opacity: .55;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 20%, transparent 75%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; font-size: 13px; color: #c9d1e2;
  background: var(--surf2); border: 1px solid var(--line2); transition: border-color .3s, background .3s; }
.eyebrow:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.eb-tag { padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #0a0d16; background: linear-gradient(90deg, var(--blue), var(--teal)); }
h1 { margin: 30px auto 26px; font-size: clamp(42px, 7vw, 92px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600;
  background: linear-gradient(180deg, #fff 30%, #a9b1c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { background: linear-gradient(95deg, #c9d8ff 0%, var(--blue) 35%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--mute); max-width: 860px; margin: 0 auto; line-height: 1.8; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.cta.center { justify-content: center; }

/* 产品窗口：随滚动由倾斜变平 */
.stage { margin-top: 84px; perspective: 1800px; }
.board { --tilt: 18deg; position: relative; text-align: left; border-radius: 18px; overflow: hidden; transform: rotateX(var(--tilt)) scale(.96); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(22, 26, 38, .92), rgba(10, 12, 20, .96)); border: 1px solid var(--line2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 120px -20px rgba(0, 0, 0, .8), 0 -20px 120px -40px rgba(120, 150, 255, .35); will-change: transform; }
.board::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }
.board-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.board-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.crumb { margin-left: 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .crumb b { font-weight: 400; margin: 0 6px; opacity: .5; }
.board-top em { white-space: nowrap; margin-left: auto; font: 500 12.5px var(--mono); font-style: normal; color: var(--mute); }
.board-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.board-side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--mute); }
.board-side span { padding: 6px 10px; border-radius: 7px; }
.board-side .on { background: var(--surf2); color: var(--ink); }
.side-h { font-size: 11px; letter-spacing: .08em; color: var(--dim); padding: 0 10px; margin: 6px 0 6px; }
.board-side .side-h:not(:first-child) { margin-top: 18px; }
.ag { display: flex; align-items: center; gap: 8px; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(97, 219, 197, .15); }
.board-main { padding: 18px; }
.board-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.board-metrics > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.board-metrics > div:first-child { border-left: 0; }
.board-metrics span { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 4px; }
.board-metrics b { font: 600 24px/1.1 var(--num); letter-spacing: -.02em; }
.board-metrics b em { font-style: normal; }
.board-metrics small { font: 500 13px var(--num); color: var(--dim); margin-left: 3px; }
.board-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.board-tasks { list-style: none; border: 1px solid var(--line); border-radius: 12px; }
.board-tasks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.board-tasks li:first-child { border-top: 0; }
.board-tasks li > div { flex: 1; min-width: 0; }
.board-tasks p { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-tasks code { display: inline-block; margin: 3px 0 8px; font-size: 11px; padding: 0 6px; background: none; color: var(--dim); }
.board-tasks em { font-size: 11.5px; font-style: normal; color: var(--mute); padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line2); }
.board-tasks em.ok { color: var(--teal); border-color: rgba(97, 219, 197, .3); }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink); flex: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid var(--line2); }
.bar { height: 3px; border-radius: 9px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width 1.8s var(--ease); }
.board-feed { border: 1px solid var(--line); border-radius: 12px; padding: 14px 4px 10px; display: flex; flex-direction: column; min-width: 0; }
.board-log { flex: 1; overflow: hidden; font-size: 12.5px; line-height: 1.6; padding: 0 10px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 200px; }
.board-log div { animation: logIn .6s var(--ease) both; color: var(--mute); padding-left: 12px; border-left: 1px solid var(--line2); }
.board-log b { display: block; color: var(--ink); font-weight: 500; font-size: 12px; }
@keyframes logIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 兼容工具 ---------- */
.strip { padding: 90px 0 30px; text-align: center; }
.strip-h { font-size: 13px; color: var(--dim); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; width: max-content; animation: marq 48s linear infinite; }
.track span { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: rgba(255, 255, 255, .34); padding: 0 40px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 主张：滚动逐字点亮 ---------- */
.manifesto { max-width: 980px; margin: 0 auto; padding: 150px 24px 120px; }
.label { font-size: 13px; color: var(--teal); margin-bottom: 26px; letter-spacing: .06em; }
.words { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.45; letter-spacing: -.02em; font-weight: 500; }
.words span { color: rgba(255, 255, 255, .14); transition: color .5s; }
.words span.lit { color: var(--ink); }

/* ---------- 数据：发丝线分隔 ---------- */
.stats { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 44px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 300 60px/1 var(--num); letter-spacing: -.05em; color: var(--ink); }
.stat p { margin-top: 18px; font-size: 15px; font-weight: 500; }
.stat small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }

/* ---------- 通用区块 ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: 150px 24px 20px; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.num { font: 500 13px var(--mono); color: var(--dim); margin-right: 12px; }
.kicker { font-size: 13px; color: var(--teal); letter-spacing: .06em; }
.num + .kicker::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--line2); vertical-align: middle; margin-right: 12px; }
h2 { margin-top: 20px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600;
  background: linear-gradient(180deg, #fff 40%, #9aa3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 .accent { background: linear-gradient(95deg, #c9d8ff, var(--blue) 40%, var(--teal)); -webkit-background-clip: text; background-clip: text; }
.sec-head p, .forge-copy > p, .skill-copy > p { color: var(--mute); margin-top: 22px; font-size: 17px; max-width: 600px; }

/* ---------- 工作流 ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); position: relative; }
.flow::after { content: ""; position: absolute; top: -1px; left: 0; width: 160px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); animation: flowRun 5s var(--ease) infinite; }
@keyframes flowRun { from { transform: translateX(-160px); } to { transform: translateX(min(1200px, 100vw)); } }
.flow li { padding: 30px 24px 10px 0; position: relative; color: var(--mute); }
.flow li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(255, 255, 255, .4); }
.step { display: block; font: 500 11.5px var(--mono); letter-spacing: .1em; color: var(--dim); margin-bottom: 26px; }
.flow .ic { color: var(--ink); }
.flow b { display: block; margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--ink); }
.flow p { font-size: 14px; margin-top: 8px; line-height: 1.7; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { --mx: 50%; --my: 0%; position: relative; padding: 32px 30px; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); transition: border-color .5s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(157, 184, 255, .09), transparent 45%); }
.card::after { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.card:hover { border-color: var(--line2); } .card:hover::before { opacity: 1; }
.card.big, .card.wide { grid-column: span 2; }
.card .ic { color: var(--ink); }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 22px 0 10px; }
.card p { color: var(--mute); font-size: 14.5px; line-height: 1.75; }
.owns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; font: 12.5px var(--mono); }
.owns span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line2); color: #c9d1e2; background: rgba(255, 255, 255, .02); }
.owns i { font: 500 11px var(--font); font-style: normal; color: var(--dim); }
.owns .deny { flex-basis: 100%; justify-content: space-between; color: #e9a3a3; border-color: rgba(233, 120, 120, .28); border-style: dashed; background: rgba(233, 120, 120, .04); }
.owns .deny b { font-weight: 500; font-size: 11.5px; color: #f0b4b4; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 24px; }
.spark i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(157, 184, 255, .55), rgba(157, 184, 255, .06)); }
.spark i:last-child { background: linear-gradient(180deg, var(--teal), rgba(97, 219, 197, .08)); }
.chat-demo { margin-top: 24px; display: grid; gap: 10px; }
.msg { max-width: 80%; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; color: #d5dbe8; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.msg b { display: block; font-size: 11.5px; font-weight: 500; color: var(--mute); margin-bottom: 3px; }
.msg.r { justify-self: end; }
.tag { display: inline-block; margin-left: 8px; font-size: 11px; padding: 0 8px; border-radius: 99px; border: 1px solid rgba(240, 200, 120, .3); color: #e8c890; vertical-align: 1px; }
.tag.ok { border-color: rgba(97, 219, 197, .3); color: var(--teal); }

/* ---------- Forge ---------- */
.forge-grid, .skill-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.forge-grid > *, .skill-grid > * { min-width: 0; }
.checks { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 15px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.checks b { color: var(--ink); font-weight: 500; }
.orbit { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin { transform-origin: 200px 200px; animation: rot 9s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(157, 184, 255, .18), rgba(10, 12, 20, .9) 70%); border: 1px solid var(--line2);
  box-shadow: 0 0 80px rgba(120, 150, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .15); }
.core b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; } .core span { font-size: 12.5px; color: var(--mute); }
.node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; font-size: 13.5px; white-space: nowrap;
  color: #d5dbe8; background: rgba(12, 14, 22, .92); border: 1px solid var(--line2); animation: lit 7.5s var(--ease) infinite; }
.node i { font: 500 10.5px var(--mono); font-style: normal; color: var(--dim); padding: 2px 6px; border-radius: 99px; background: var(--surf2); }
.n1 { left: 50%; top: 12.5%; } .n2 { left: 85.7%; top: 38.4%; animation-delay: 1.5s; } .n3 { left: 72%; top: 80.4%; animation-delay: 3s; }
.n4 { left: 28%; top: 80.4%; animation-delay: 4.5s; } .n5 { left: 14.3%; top: 38.4%; animation-delay: 6s; }
@keyframes lit { 0%, 25%, 100% { border-color: var(--line2); } 8% { border-color: rgba(97, 219, 197, .6); box-shadow: 0 0 30px rgba(97, 219, 197, .18); color: #fff; } }

/* ---------- 终端 / Skill ---------- */
.term { border-radius: 16px; overflow: hidden; background: #0a0c13; border: 1px solid var(--line2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .5); position: relative; }
.term::before { content: ""; position: absolute; left: 15%; right: 15%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
.term-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.term-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.term-top span { margin-left: 10px; }
#term { min-height: 380px; padding: 22px 24px; font: 13px/1.85 var(--mono); color: #c9d1e2; white-space: pre-wrap; word-break: break-all; }
#term .p { color: var(--teal); } #term .c { color: #fff; } #term .o { color: #7b8397; } #term .g { color: var(--teal); } #term .b { color: var(--blue); } #term .y { color: #e8c890; }
#term .cur { display: inline-block; width: 7px; height: 1.1em; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cmds { margin-top: 32px; border-top: 1px solid var(--line); }
.cmd { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmd code { background: none; border: 0; padding: 0; color: var(--ink); font-size: 14px; }
.cmd code::before { content: "$ "; color: var(--dim); }
.cmd span { color: var(--dim); font-size: 13px; margin-left: auto; }
.cmd button { font: 500 12.5px var(--font); color: var(--mute); background: transparent; border: 1px solid var(--line2); border-radius: 8px; padding: 5px 12px; cursor: pointer; transition: color .3s, border-color .3s; }
.cmd button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .25); }
.cmd button.done { color: var(--teal); border-color: rgba(97, 219, 197, .4); }
.skill-copy .cta { margin-top: 30px; }
.fine { margin-top: 20px; font-size: 13.5px; color: var(--dim); }

/* ---------- 安全 ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.t-item { padding: 36px 28px 20px 0; }
.t-item + .t-item { padding-left: 28px; border-left: 1px solid var(--line); }
.t-item .ic { color: var(--ink); }
.t-item h4 { font-size: 16.5px; font-weight: 600; margin: 22px 0 8px; }
.t-item p { font-size: 14px; color: var(--mute); line-height: 1.75; }

/* ---------- 滚动进度 / 光标光斑 ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--teal)); box-shadow: 0 0 12px rgba(97, 219, 197, .6); }
.spot { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(140, 165, 255, .09), transparent 60%); opacity: 0; transition: opacity .6s; will-change: transform; }
.spot.on { opacity: 1; }

/* ---------- 标题逐行入场 ---------- */
h1#headline { perspective: 800px; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
h1 .hl { display: inline-block; background: linear-gradient(180deg, #fff 30%, #a9b1c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40%) rotateX(-40deg); filter: blur(12px); transform-origin: 50% 100%; animation: rise 1.3s var(--ease) forwards; }
h1 .hl.accent { background: linear-gradient(95deg, #c9d8ff 0%, var(--blue) 25%, var(--teal) 50%, var(--blue) 75%, #c9d8ff 100%); -webkit-background-clip: text; background-clip: text; background-size: 200% auto;
  animation: rise 1.3s var(--ease) forwards, shimmer 8s linear 1.6s infinite; }
h1 .l2 { animation-delay: .15s; } h1 .l3 { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: -200% center; } }

/* ---------- 快速上手 ---------- */
.roles { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); margin-bottom: 26px; flex-wrap: wrap; }
.role { font: 500 14.5px var(--font); color: var(--mute); background: none; border: 0; cursor: pointer; padding: 10px 20px; border-radius: 10px; text-align: left; transition: color .3s, background .3s, box-shadow .3s; }
.role small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 400; }
.role:hover { color: var(--ink); }
.role.on { color: var(--ink); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); box-shadow: 0 0 0 1px var(--line2) inset, 0 6px 20px rgba(0, 0, 0, .3); }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; position: relative; padding: 18px 8px 18px 52px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .3s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 8px; top: 20px; font: 500 12px var(--mono); color: var(--dim); transition: color .3s; }
.steps li:hover { background: rgba(255, 255, 255, .02); }
.steps b { display: block; font-size: 16px; font-weight: 500; color: var(--mute); transition: color .3s; }
.steps p { color: var(--mute); font-size: 14px; line-height: 1.75; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.steps p code { font-size: 12.5px; }
.steps li.on b { color: var(--ink); } .steps li.on::before { color: var(--teal); }
.steps li.on p { max-height: 220px; opacity: 1; margin-top: 8px; }
.steps .tick { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--teal)); }
.steps li.on .tick { animation: tick var(--dur, 6s) linear forwards; }
.guide.paused .steps li.on .tick { animation-play-state: paused; }
@keyframes tick { to { transform: scaleX(1); } }
.preview { position: sticky; top: 100px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(22, 26, 38, .92), rgba(10, 12, 20, .96));
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 -20px 90px -50px rgba(120, 150, 255, .5); }
.pv-top { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.pv-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; }
.pv-top span { margin-left: 12px; flex: 1; min-width: 0; font: 12px var(--mono); color: var(--dim); padding: 4px 12px; border-radius: 7px; background: rgba(255, 255, 255, .03); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-body { min-height: 380px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-size: 13.5px; }
.pv-body > * { animation: pvIn .7s var(--ease) both; }
.pv-body > :nth-child(2) { animation-delay: .07s; } .pv-body > :nth-child(3) { animation-delay: .14s; } .pv-body > :nth-child(4) { animation-delay: .21s; }
.pv-body > :nth-child(5) { animation-delay: .28s; } .pv-body > :nth-child(6) { animation-delay: .35s; } .pv-body > :nth-child(7) { animation-delay: .42s; }
@keyframes pvIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.pv-h { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.pv-sub { color: var(--mute); font-size: 13px; }
.pv-tabs { display: flex; gap: 6px; flex-wrap: wrap; } .pv-tabs span { padding: 5px 12px; border-radius: 8px; font-size: 12.5px; color: var(--mute); border: 1px solid var(--line); }
.pv-tabs span.on { color: var(--ink); background: var(--surf2); border-color: var(--line2); }
.pv-f { display: grid; gap: 6px; } .pv-f label { font-size: 12px; color: var(--dim); }
.pv-in { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .25); font: 13px var(--mono); color: #d5dbe8; min-height: 40px; white-space: pre-wrap; word-break: break-all; }
.pv-in.typing::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--teal); animation: blink 1s steps(1) infinite; }
.pv-btn { align-self: flex-start; padding: 9px 18px; border-radius: 9px; font-weight: 500; color: #0a0d16; background: linear-gradient(180deg, #fff, #dfe4ee); position: relative; overflow: hidden; }
.pv-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 2.6s var(--ease) 1s infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
.pv-btn.ghost { color: var(--ink); background: var(--surf2); border: 1px solid var(--line2); }
.pv-btn.ghost::after { display: none; }
.pv-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pv-task { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pv-task > div { flex: 1; min-width: 0; } .pv-task p { font-weight: 500; } .pv-task small { color: var(--dim); font: 11.5px var(--mono); }
.pv-task em { font-style: normal; font-size: 11.5px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--mute); white-space: nowrap; }
.pv-task em.ok { color: var(--teal); border-color: rgba(97, 219, 197, .3); }
.pv-task .bar { margin-top: 7px; } .pv-task .bar i { animation: grow 2.4s var(--ease) .3s forwards; }
@keyframes grow { from { width: 0; } to { width: var(--w); } }
.pv-term { font: 12.5px/1.9 var(--mono); color: #c9d1e2; padding: 16px 18px; border-radius: 11px; background: #080a11; border: 1px solid var(--line); white-space: pre-wrap; word-break: break-all; }
.pv-term .p { color: var(--teal); } .pv-term .o { color: #7b8397; } .pv-term .g { color: var(--teal); }
.pv-ok { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 13px; }
.pv-ok::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0 3px, transparent 4px); }
.pv-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line2), 0 16px 40px rgba(120, 150, 255, .35); animation: pvIn .7s var(--ease) both, bob 3s ease-in-out 1s infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.link { color: var(--ink); border-bottom: 1px solid var(--line2); transition: border-color .3s; } .link:hover { border-color: var(--teal); }
#start > .cta { margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 16.5px; font-weight: 500; position: relative; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--mute); transition: transform .5s var(--ease), background .3s; }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details[open] summary::after, .faq details[open] summary::before { background: var(--teal); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--mute); font-size: 15px; line-height: 1.8; padding: 0 40px 24px 0; animation: pvIn .6s var(--ease) both; }

/* ---------- 实时统计 ---------- */
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; box-shadow: 0 0 0 0 rgba(97, 219, 197, .6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(97, 219, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(97, 219, 197, 0); } }
.live-line { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 34px; padding: 9px 18px; border-radius: 99px;
  font-size: 13.5px; color: var(--mute); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s; }
.live-line:hover { border-color: var(--line2); }
.live-line[hidden] { display: none; }
.live-line b, .pg b { font-family: var(--num); font-variant-numeric: tabular-nums; }
.live-line b { color: var(--ink); font-weight: 600; margin-right: 3px; }
.live-line i { width: 1px; height: 12px; background: var(--line2); }
.ll-tag { color: var(--teal); font-size: 12px; letter-spacing: .06em; margin-left: -4px; }
.pulse-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.pg { padding: 40px 28px 36px; border-left: 1px solid var(--line); position: relative; }
.pg:first-child { border-left: 0; padding-left: 0; }
.pg-h { display: block; font-size: 13px; color: var(--mute); }
.pg b { display: block; margin: 16px 0 14px; font-size: clamp(44px, 5vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, #9aa3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg small { font-size: 13px; color: var(--dim); }
.pg em { font-style: normal; color: var(--teal); font-variant-numeric: tabular-nums; }
.pg-foot { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 12.5px; color: var(--dim); }

/* ---------- 结尾 ---------- */
.final { position: relative; max-width: var(--max); margin: 170px auto 0; padding: 120px 24px 140px; text-align: center; isolation: isolate; border-top: 1px solid var(--line); }
.final-beam { position: absolute; left: 50%; top: 0; width: 900px; height: 520px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(120, 150, 255, .22), transparent 70%); }
.final::before { content: ""; position: absolute; left: 30%; right: 30%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); }
.final-mark { border-radius: 14px; box-shadow: 0 0 0 1px var(--line2), 0 20px 60px rgba(120, 150, 255, .35); }
.final h2 { margin-top: 34px; }
.final p { color: var(--mute); margin-top: 20px; font-size: 17px; }
.foot { max-width: var(--max); margin: 0 auto; padding: 30px 24px 44px; display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.foot nav { display: flex; gap: 24px; margin-left: auto; }
.foot nav a { transition: color .3s; } .foot nav a:hover { color: var(--ink); }

/* ---------- 进场 ---------- */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .forge-grid, .skill-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .skill-copy { order: -1; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .guide, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } .preview, .faq-grid .sec-head { position: static; }
  .pulse-grid { grid-template-columns: repeat(2, 1fr); }
  .pg:nth-child(3) { border-left: 0; padding-left: 0; } .pg:nth-child(n+3) { border-top: 1px solid var(--line); }
  .t-item:nth-child(3) { padding-left: 0; border-left: 0; } .t-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .board-body { grid-template-columns: minmax(0, 1fr); } .board-side { display: none; }
}
@media (max-width: 760px) {
  .links { display: none; } .nav .btn { margin-left: auto; }
  .hero { padding-top: 130px; } .br-lg { display: none; }
  .stage { margin-top: 56px; }
  .board-metrics { grid-template-columns: repeat(2, 1fr); }
  .board-metrics > div:nth-child(3) { border-left: 0; } .board-metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .board-cols { grid-template-columns: minmax(0, 1fr); } .board-log { min-height: 130px; }
  .bento { grid-template-columns: 1fr; } .card.big, .card.wide { grid-column: auto; }
  .flow { grid-template-columns: 1fr; } .flow li { padding-right: 0; }
  .sec { padding-top: 110px; } .manifesto { padding: 110px 24px 90px; }
  .stat b { font-size: 46px; } .stat { padding: 32px 18px; }
  .checks li { grid-template-columns: 1fr; gap: 2px; }
  .cmd span { display: none; } .cmd button { margin-left: auto; }
  .node { font-size: 12px; padding: 5px 10px 5px 6px; } .node i { display: none; }
  #term { min-height: 320px; font-size: 12px; }
  .final { margin-top: 110px; padding: 90px 22px 100px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 14px; } .foot nav { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .stats, .trust { grid-template-columns: 1fr; }
  .role { padding: 8px 12px; font-size: 13.5px; } .pv-body { padding: 20px; min-height: 340px; }
  .pg { padding: 30px 14px 26px; } .pg:nth-child(odd) { padding-left: 0; }
  .live-line i { display: none; }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat + .stat { border-top: 1px solid var(--line); }
  .t-item, .t-item + .t-item, .t-item:nth-child(3) { padding-left: 0; border-left: 0; } .t-item + .t-item { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .board { transform: none; } .words span { color: var(--ink); }
  h1 .hl { opacity: 1; transform: none; filter: none; } .spot { display: none; }
}
