/* ==========================================================
   NEUXSAI 首页 · 红白科技风
   白底 + 中国红，细网格、等宽数据字，北极熊吉祥物。
   每个介绍板块用不同的呈现方式：
   首屏北极熊 / 计数+跑马灯 / 轮播 / 控制台选项卡 /
   交错图文 3D 倾斜 / 滚动点亮电路 / 聚光卡片 / 横向手风琴 / 终端打字
   ========================================================== */
:root {
  --red: #e60023;
  --red-2: #ff3048;
  --red-deep: #b3001b;
  --red-50: #fff3f5;
  --red-100: #ffe1e6;
  --red-glow: rgba(230, 0, 35, .28);
  --ink: #0f1115;
  --ink-2: #3b3f4a;
  --muted: #6d7280;
  --faint: #a3a7b2;
  --line: #ececf0;
  --line-2: #dfe0e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --ok: #0f9b63;
  --warn: #d98a00;
  --header-h: 72px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.7 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.red { color: var(--red); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; letter-spacing: .03em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px var(--red-glow); }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 12px 30px var(--red-glow); }
.btn-red::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn-red:hover::after { left: 130%; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--red); color: var(--red); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: 15px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translate(4px, 0); }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--scroll, 0%); background: linear-gradient(90deg, var(--red), var(--red-2)); box-shadow: 0 0 10px var(--red-glow); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo span { font-weight: 800; font-size: 19px; letter-spacing: .08em; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 15px; color: var(--ink-2); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--red); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.top-spacer { flex: 1; }
.top-status { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--f-mono); color: var(--muted); }
.top-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(15,155,99,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(15,155,99,.45); } 80%, 100% { box-shadow: 0 0 0 8px rgba(15,155,99,0); } }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- 通用 section ---------- */
.section { padding: 110px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin: 14px auto 0; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.01em; margin-top: 14px; }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 560px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.sec-side { max-width: 420px; display: grid; gap: 22px; justify-items: start; }
.sec-tag { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--f-mono); letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.sec-tag::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.sec-tag.inv { color: #fff; }
.sec-tag.inv::before { background: #fff; }

/* 滚动渐入 */
.reveal { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.reveal[data-anim="up"] { transform: translateY(36px); }
.reveal[data-anim="left"] { transform: translateX(-48px); }
.reveal[data-anim="right"] { transform: translateX(48px); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   首屏：粒子网络 + 网格 + 北极熊
   ========================================================== */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; background: radial-gradient(1100px 600px at 85% 20%, var(--red-50), transparent 60%), #fff; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%); opacity: .7; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--red-100); border-radius: 999px; background: rgba(255,255,255,.8); font: 600 12px var(--f-mono); letter-spacing: .08em; color: var(--red); }
.eyebrow b { color: var(--faint); font-weight: 400; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pingRed 1.8s infinite; }
@keyframes pingRed { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 80%, 100% { box-shadow: 0 0 0 9px rgba(230,0,35,0); } }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 5.6vw, 76px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.hl { position: relative; color: var(--red); display: inline-block; }
.hl i { position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--red); opacity: .18; transform-origin: left; animation: underline 1.2s .5s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero-copy > p { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 470px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; font: 12px var(--f-mono); color: var(--muted); flex-wrap: wrap; }
.hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta > span::before { content: ""; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); }
.intro-replay { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: 12px var(--f-mono); color: var(--muted); cursor: pointer; }
.intro-replay svg { width: 14px; height: 14px; }
.intro-replay:hover { color: var(--red); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes grow { from { width: 0; } }

/* 北极熊吉祥物：抱着包裹挥手、眨眼、呼吸、围巾飘动，眼睛跟随鼠标，点击会跳 */
.bear-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; margin-left: auto; display: grid; place-items: center; }
.bear-stage::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 38%, var(--red-50) 60%, transparent 71%); }
.stage-orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(230,0,35,.28); animation: orbit 24s linear infinite; }
.stage-orbit.o2 { inset: 15%; border-style: solid; border-color: rgba(230,0,35,.12); animation-duration: 16s; animation-direction: reverse; }
.stage-orbit i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(230,0,35,.15), 0 0 16px var(--red); }
.stage-orbit.o2 i { top: auto; bottom: -4px; width: 8px; height: 8px; background: #fff; border: 2px solid var(--red); }
@keyframes orbit { to { transform: rotate(360deg); } }
.mascot { position: relative; z-index: 2; width: 78%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mascot svg { width: 100%; height: auto; overflow: visible; }
.mascot:focus-visible { outline: 2px dashed var(--red); outline-offset: 6px; border-radius: 24px; }
.pad-glow { fill: rgba(230,0,35,.1); }
.pad-ring { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 10 8; opacity: .55; animation: padDash 3s linear infinite; }
@keyframes padDash { to { stroke-dashoffset: -72; } }
.pad { fill: #fff; stroke: #e7e9ef; stroke-width: 2; }
.mascot-body { transform-origin: 200px 372px; }
.torso { transform-origin: 200px 360px; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.025, 1.035); } }
.head { transform-origin: 200px 220px; animation: headTilt 5s ease-in-out infinite; }
@keyframes headTilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg) translateY(2px); } }
.eyes { transform-origin: 200px 154px; animation: blinkEye 4.6s infinite; }
@keyframes blinkEye { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.pupils { transition: transform .15s ease-out; }
.arm-wave { transform-origin: 268px 232px; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 50% { transform: rotate(4deg); } 75% { transform: rotate(-12deg); } }
.parcel { transform-origin: 164px 332px; animation: parcelBob 3.2s ease-in-out infinite; }
@keyframes parcelBob { 50% { transform: translateY(-3px) rotate(-1.5deg); } }
.scarf-tail { transform-origin: 249px 236px; animation: scarfFly 1.2s ease-in-out infinite; }
@keyframes scarfFly { 0%, 100% { transform: skewX(0) rotate(0); } 50% { transform: skewX(-10deg) rotate(10deg); } }
.mascot.hop .mascot-body { animation: hop .7s cubic-bezier(.3, .7, .3, 1); }
.mascot.hop .pad-ring { animation-duration: .6s; }
@keyframes hop { 0% { transform: scale(1.06, .92); } 35% { transform: translateY(-46px) scale(.96, 1.05); } 65% { transform: translateY(0) scale(1.08, .9); } 100% { transform: none; } }
.mascot:hover .arm-wave { animation-duration: .9s; }
.bear-bubble { position: absolute; z-index: 3; top: 10%; right: 4%; padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 12px 28px var(--red-glow); animation: bubbleIn .5s 1s var(--ease) both; }
.bear-bubble.pop { animation: bubbleIn .4s var(--ease); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.7); } }
.float-chip { position: absolute; z-index: 3; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--red-100); box-shadow: 0 10px 24px -10px var(--red-glow); font: 700 12px var(--f-mono); color: var(--red); animation: chipFloat 5s ease-in-out infinite; }
.float-chip.c1 { left: 2%; top: 30%; }
.float-chip.c2 { left: 8%; bottom: 20%; animation-delay: -1.6s; }
.float-chip.c3 { right: 0; bottom: 34%; animation-delay: -3.2s; background: var(--red); color: #fff; border-color: var(--red); }
@keyframes chipFloat { 50% { transform: translateY(-12px); } }
.snowfall { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; pointer-events: none; z-index: 1; }
.snowfall i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffc7cf; opacity: .8; animation: snow 7s linear infinite; }
.snowfall i:nth-child(1) { left: 18%; animation-delay: -1s; } .snowfall i:nth-child(2) { left: 32%; animation-delay: -4s; width: 4px; height: 4px; }
.snowfall i:nth-child(3) { left: 48%; animation-delay: -2.5s; } .snowfall i:nth-child(4) { left: 63%; animation-delay: -6s; width: 4px; height: 4px; }
.snowfall i:nth-child(5) { left: 76%; animation-delay: -3.3s; } .snowfall i:nth-child(6) { left: 85%; animation-delay: -5.2s; width: 5px; height: 5px; }
.snowfall i:nth-child(7) { left: 25%; animation-delay: -5.8s; width: 3px; height: 3px; } .snowfall i:nth-child(8) { left: 56%; animation-delay: -0.4s; width: 3px; height: 3px; }
@keyframes snow { to { transform: translate3d(-24px, 540px, 0); opacity: 0; } }

.hero-stages { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 14px 14px 0 0; background: rgba(255,255,255,.9); overflow: hidden; }
.hero-stages a { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 22px 26px; border-right: 1px solid var(--line); transition: background .25s, color .25s; }
.hero-stages a:last-child { border-right: 0; }
.hero-stages span { grid-row: span 2; font: 800 26px var(--f-mono); color: var(--red); line-height: 1.2; }
.hero-stages strong { font-size: 16px; }
.hero-stages small { font-size: 13px; color: var(--muted); }
.hero-stages a::after { content: "↗"; position: absolute; right: 22px; top: 22px; color: var(--faint); transition: transform .25s var(--ease), color .25s; }
.hero-stages a:hover { background: var(--red); color: #fff; }
.hero-stages a:hover span, .hero-stages a:hover small, .hero-stages a:hover::after { color: #fff; }
.hero-stages a:hover::after { transform: translate(3px, -3px); }

/* ==========================================================
   数据条：计数器 + 墨色跑马灯（水平，不倾斜）
   ========================================================== */
.stats { background: #fff; border-top: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); padding: 56px 0; }
.stats-lead { font-size: 20px; color: var(--muted); line-height: 1.5; align-self: center; }
.stats-lead strong { color: var(--ink); font-weight: 800; }
.stats-grid > div { padding: 0 26px; border-left: 1px solid var(--line); position: relative; }
.stats-grid > div strong { font: 800 64px/1 var(--f-mono); color: var(--red); letter-spacing: -.04em; }
.stats-grid > div sup { font: 700 26px var(--f-mono); color: var(--red); vertical-align: top; }
.stats-grid > div span { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.stats-grid > div::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 0; background: var(--red); transition: height 1s var(--ease) .3s; }
.stats-grid.in > div::before { height: 100%; }
.marquee { background: var(--ink); color: #d9dbe1; overflow: hidden; padding: 11px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track { display: flex; align-items: center; gap: 24px; width: max-content; animation: marquee 36s linear infinite; font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.marquee-track i { font-style: normal; font-size: 9px; color: var(--red-2); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   01 解决方案：轮播
   ========================================================== */
.solutions { overflow: hidden; }
.car-ctrl { display: flex; align-items: center; gap: 14px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.car-btn svg { width: 20px; height: 20px; }
.car-btn:hover { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 22px var(--red-glow); }
.car-count { font-size: 14px; color: var(--faint); min-width: 64px; text-align: center; }
.car-count b { color: var(--red); font-size: 20px; }
.car-viewport { overflow: visible; touch-action: pan-y; cursor: grab; }
.car-viewport.dragging { cursor: grabbing; }
.car-track { display: flex; gap: 28px; transition: transform .7s var(--ease); will-change: transform; }
.car-viewport.dragging .car-track { transition: none; }
.car-slide { flex: 0 0 min(900px, 80%); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); position: relative; overflow: hidden; opacity: .35; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s, border-color .6s; user-select: none; }
.car-slide.is-active { opacity: 1; transform: none; border-color: transparent; box-shadow: 0 30px 70px -30px rgba(230,0,35,.35), 0 0 0 1px var(--red-100); }
.car-slide::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.slide-copy, .slide-vis { position: relative; }
.slide-num { display: block; font: 900 88px/1 var(--f-mono); color: transparent; -webkit-text-stroke: 1.5px var(--red); opacity: .9; letter-spacing: -.04em; }
.slide-cat { display: block; margin-top: 18px; font: 600 12px var(--f-mono); letter-spacing: .14em; color: var(--red); }
.slide-copy h3 { margin-top: 10px; font-size: 30px; font-weight: 800; }
.slide-copy p { margin: 16px 0 22px; color: var(--ink-2); }
.car-slide.is-active .slide-copy > * { animation: slideIn .7s var(--ease) both; }
.car-slide.is-active .slide-copy > :nth-child(2) { animation-delay: .06s; } .car-slide.is-active .slide-copy > :nth-child(3) { animation-delay: .12s; } .car-slide.is-active .slide-copy > :nth-child(4) { animation-delay: .18s; } .car-slide.is-active .slide-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(18px); } }
.car-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; max-width: 620px; }
.car-dots button { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.car-dots span { display: block; font-size: 14px; color: var(--faint); margin-bottom: 8px; transition: color .2s; }
.car-dots i { display: block; height: 3px; background: var(--line-2); border-radius: 2px; position: relative; overflow: hidden; }
.car-dots i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.car-dots [aria-selected="true"] span { color: var(--ink); font-weight: 600; }
.car-dots [aria-selected="true"] i::after { transform: scaleX(1); }
.carousel.is-auto .car-dots [aria-selected="true"] i::after { animation: carProg var(--dur, 6s) linear both; }
@keyframes carProg { from { transform: scaleX(0); } }

/* 轮播里的可视化 */
.funnel { display: grid; gap: 12px; justify-items: center; }
.funnel div { width: var(--w); padding: 16px 20px; border-radius: 10px; background: linear-gradient(90deg, var(--red), var(--red-2)); color: #fff; display: flex; justify-content: space-between; gap: 10px; align-items: center; box-shadow: 0 10px 24px var(--red-glow); }
.funnel div:nth-child(2) { background: linear-gradient(90deg, #ff4d63, #ff7384); }
.funnel div:nth-child(3) { background: #fff; color: var(--ink); border: 2px solid var(--red); box-shadow: none; }
.funnel span { font-size: 12px; opacity: .85; }
.funnel b { font-size: 14px; }
.car-slide.is-active .funnel div { animation: funnelIn .7s var(--ease) both; }
.car-slide.is-active .funnel div:nth-child(2) { animation-delay: .15s; } .car-slide.is-active .funnel div:nth-child(3) { animation-delay: .3s; }
@keyframes funnelIn { from { opacity: 0; width: 20%; } }
.vis-note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted); }
.ledger { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.ledger > div { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.ledger > div span { color: var(--muted); }
.ledger-head { background: var(--ink); color: #fff; border-bottom: 0 !important; }
.ledger-head span { color: var(--red-2) !important; font-size: 12px; }
.ledger > p { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 13px; color: var(--muted); }
.stamp { font: 800 12px var(--f-mono); color: var(--red); border: 2px solid var(--red); padding: 3px 8px; border-radius: 4px; transform: rotate(-6deg); }
.car-slide.is-active .stamp { animation: stamp .5s .5s var(--ease) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(2.2); } }
.routes { display: grid; gap: 14px; }
.routes a { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: all .25s var(--ease); }
.routes a:hover { border-color: var(--red); transform: translateX(6px); box-shadow: 0 12px 30px -12px var(--red-glow); }
.routes b { width: 46px; height: 46px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 20px var(--f-mono); }
.routes div { flex: 1; }
.routes strong { display: block; }
.routes span { font-size: 13px; color: var(--muted); }
.routes em { font-style: normal; color: var(--red); }
.cycle { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.cycle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.c-base { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; }
.c-run { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 503; stroke-dashoffset: 503; }
.car-slide.is-active .c-run { animation: cycle 3s var(--ease) forwards; }
@keyframes cycle { to { stroke-dashoffset: 60; } }
.cycle-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cycle-center strong { font: 900 64px/1 var(--f-mono); color: var(--red); }
.cycle-center span { font-size: 13px; color: var(--muted); }
.cy { position: absolute; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--red-100); font-size: 12px; color: var(--red); font-weight: 600; white-space: nowrap; }
.cy1 { left: 50%; top: -6px; transform: translateX(-50%); } .cy2 { right: -30px; bottom: 34px; } .cy3 { left: -40px; bottom: 34px; }

/* ==========================================================
   02 工作台：控制台式选项卡
   ========================================================== */
.tabs { display: grid; grid-template-columns: 290px 1fr; gap: 24px; }
.tab-list { display: flex; flex-direction: column; gap: 6px; }
.tab-list [role=tab] { position: relative; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 8px; text-align: left; padding: 14px 16px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s; }
.tab-list [role=tab] b { grid-row: span 2; font: 700 13px/1.9 var(--f-mono); color: var(--faint); }
.tab-list [role=tab] span { font-weight: 700; font-size: 15px; }
.tab-list [role=tab] small { font-size: 12px; color: var(--muted); }
.tab-list [role=tab]:hover { background: #fff; }
.tab-list [aria-selected=true] { background: #fff; border-color: var(--red-100); box-shadow: 0 10px 26px -14px var(--red-glow); }
.tab-list [aria-selected=true] b, .tab-list [aria-selected=true] span { color: var(--red); }
.tab-list [aria-selected=true]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.tab-list [role=tab]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; opacity: .5; }
.tabs.is-auto [aria-selected=true]::after { animation: carProg 7s linear both; }
.tab-screen { border-radius: 16px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -40px rgba(15,17,21,.35); overflow: hidden; display: flex; flex-direction: column; }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--ink); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d46; }
.screen-bar i:first-child { background: var(--red); }
.screen-bar span { margin-left: 12px; font-size: 12px; color: #8b8f99; }
.tab-panels { position: relative; flex: 1; min-height: 420px; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px; }
.tab-panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 40px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.tab-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.tp-id { font-size: 12px; color: var(--red); letter-spacing: .1em; }
.tp-text h3 { font-size: 28px; font-weight: 800; margin: 8px 0 14px; }
.tp-text p { color: var(--ink-2); margin-bottom: 20px; font-size: 15px; }
.tp-art { display: grid; gap: 16px; justify-items: stretch; }
.ring { --p: 50; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--line) 0); display: grid; place-content: center; text-align: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.ring b, .ring span { position: relative; }
.ring b { font: 800 40px/1 var(--f-mono); color: var(--red); }
.ring span { font-size: 12px; color: var(--muted); }
.kv, .list, .form, .chat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; font-size: 13px; }
.kv div, .list div, .f-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv div:last-child, .list div:last-child, .f-row:last-child { border-bottom: 0; }
.kv i { width: 8px; height: 8px; border-radius: 50%; }
.kv i.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(15,155,99,.15); }
.kv i.warn { background: var(--red); box-shadow: 0 0 0 3px var(--red-100); animation: blink 1.2s steps(2) infinite; }
.list div { justify-content: space-between; }
.list b { font: 700 13px var(--f-mono); color: var(--muted); }
.list b.ok { color: var(--ok); } .list b.warn { color: var(--warn); }
.f-row span { width: 80px; color: var(--muted); flex: none; }
.f-row b { padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line-2); font-weight: 500; }
.f-row b.on { background: var(--red); border-color: var(--red); color: #fff; }
.prog { position: relative; height: 34px; border-radius: 8px; background: var(--line); overflow: hidden; }
.prog span { position: absolute; inset: 0 auto 0 0; width: var(--w); background: repeating-linear-gradient(-45deg, var(--red), var(--red) 10px, var(--red-2) 10px, var(--red-2) 20px); animation: grow 1.4s var(--ease) both, stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 28px 0; } }
.prog em { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px var(--f-mono); font-style: normal; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.chat { padding: 16px; display: grid; gap: 10px; }
.chat div { padding: 10px 14px; border-radius: 12px; max-width: 88%; }
.chat .me { justify-self: end; background: var(--red); color: #fff; border-bottom-right-radius: 3px; }
.chat .them { background: var(--bg-soft); border-bottom-left-radius: 3px; }
.chat .sys { max-width: 100%; font: 12px var(--f-mono); color: var(--red); background: var(--red-50); border: 1px dashed var(--red-100); }
.steps-mini { display: flex; gap: 6px; }
.steps-mini span { flex: 1; text-align: center; padding: 8px 4px; font-size: 12px; border-radius: 6px; background: var(--line); color: var(--muted); }
.steps-mini .done { background: var(--red-100); color: var(--red); }
.steps-mini .cur { background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 6px 16px var(--red-glow); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--red-2), var(--red)); transform-origin: bottom; animation: barUp 1s var(--ease) both; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #ffb3bf, #ff6b7f); }
.bars i:nth-child(2) { animation-delay: .05s; } .bars i:nth-child(3) { animation-delay: .1s; } .bars i:nth-child(4) { animation-delay: .15s; } .bars i:nth-child(5) { animation-delay: .2s; } .bars i:nth-child(6) { animation-delay: .25s; } .bars i:nth-child(7) { animation-delay: .3s; } .bars i:nth-child(8) { animation-delay: .35s; }
@keyframes barUp { from { transform: scaleY(0); } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.chips span.hot { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================
   03 产品：交错图文 + 3D 倾斜
   ========================================================== */
.zig { display: grid; gap: 120px; position: relative; }
.zig::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--red-100) 10%, var(--red-100) 90%, transparent); }
.zig-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; position: relative; }
.zig-row::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 0 0 6px var(--red-50); }
.zig-row.flip { grid-template-columns: 1.1fr 1fr; }
.zig-row.flip .zig-copy { order: 2; }
.zig-copy { position: relative; isolation: isolate; }
.zig-no { position: absolute; top: -70px; left: -10px; font: 900 150px/1 var(--f-mono); color: transparent; -webkit-text-stroke: 1px var(--red-100); z-index: -1; letter-spacing: -.05em; }
.kicker { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--red-50); color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .06em; margin-bottom: 16px; }
.zig-copy h3 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.zig-copy p { color: var(--ink-2); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tags span { font-size: 13px; padding: 4px 12px; border-radius: 4px; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); font-family: var(--f-mono); }
.tags span::before { content: "#"; color: var(--red); margin-right: 2px; }
.zig-vis { perspective: 1200px; }
.zig-vis .shot { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.zig-vis:hover .shot { transition: transform .1s linear, box-shadow .5s; box-shadow: 0 50px 90px -40px rgba(230,0,35,.45), 0 0 0 1px var(--red-100); }
.shot { font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15,17,21,.35); position: relative; }
.shot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.zig-vis:hover .shot::after { opacity: 1; }
.shot .bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--ink); align-items: center; }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d46; }
.shot .bar i:first-child { background: var(--red); }
.shot .bar span { margin-left: auto; color: #8b8f99; font: 11px var(--f-mono); }
.shot .body { display: grid; grid-template-columns: 128px 1fr; min-height: 310px; }
.shot .side { border-right: 1px solid var(--line); padding: 10px 8px; background: var(--bg-soft); }
.shot .side div { padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 12px; }
.shot .side div.on { background: var(--red); color: #fff; font-weight: 600; }
.shot .main { padding: 16px 18px; min-width: 0; }
.shot h4 { font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.shot .sub { color: var(--muted); margin-bottom: 12px; }
.shot .row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.shot .chip { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 5px; background: #fff; }
.shot .chip.on { background: var(--red); color: #fff; border-color: var(--red); }
.shot .chip.ok { background: #e6f7ef; color: var(--ok); border-color: #bfe8d4; }
.shot .tbl { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.shot .tbl div { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.shot .tbl div > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .tbl div:first-child { background: var(--bg-soft); font-weight: 600; }
.shot .tbl div:last-child { border-bottom: 0; }
.shot .st { font-weight: 600; }
.shot .st.ok { color: var(--ok); } .shot .st.run { color: var(--red); }
.shot .bars { height: 90px; padding: 8px 0; border: 0; margin-bottom: 8px; }
.shot .bars i { animation: none; }
.shot .stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shot .stat div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.shot .stat small { color: var(--muted); }
.shot .stat strong { display: block; font: 800 18px var(--f-mono); color: var(--red); }
.shot .stat strong.sm { font: 700 13px var(--f-sans); color: var(--ok); line-height: 1.9; }
.shot .grade { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; width: max-content; }
.shot .grade.b { background: #e6f0ff; color: #2459c9; } .shot .grade.c { background: #fff3d6; color: #9a6400; } .shot .grade.r { background: var(--red); color: #fff; }
.shot .msg { padding: 9px 12px; border-radius: 10px; margin-bottom: 8px; max-width: 85%; }
.shot .msg.me { background: var(--red); color: #fff; margin-left: auto; }
.shot .msg.them { background: var(--bg-soft); }

/* ==========================================================
   04 工作流：红底 + 随滚动点亮的电路
   ========================================================== */
.flow { background: var(--red); color: #fff; overflow: hidden; }
.flow-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
.flow::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.flow .wrap { position: relative; }
.flow .sec-head p { color: rgba(255,255,255,.8); }
.flow-track { position: relative; --p: 0; }
.flow-rail { position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 2px; background: rgba(255,255,255,.25); }
.flow-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); background: #fff; box-shadow: 0 0 12px #fff; }
.flow-spark { position: absolute; top: -4px; left: calc(var(--p) * 100%); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.25), 0 0 24px 4px #fff; opacity: calc(var(--p) * 20); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow-steps li { text-align: center; padding: 0 8px; opacity: .45; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.flow-steps li.on { opacity: 1; transform: none; }
.node { display: block; width: 24px; height: 24px; margin: 0 auto 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: var(--red); position: relative; transition: all .4s var(--ease); }
.node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .4s; }
.flow-steps li.on .node { border-color: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 0 26px #fff; }
.flow-steps li.on .node::after { background: #fff; }
.flow-steps em { font-style: normal; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.flow-steps h3 { font-size: 26px; font-weight: 800; margin: 6px 0 12px; }
.flow-steps p { font-size: 14px; color: rgba(255,255,255,.88); max-width: 250px; margin: 0 auto 16px; }
.where { display: inline-block; padding: 4px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.08); }
.flow-steps li.on .where { background: #fff; color: var(--red); border-color: #fff; font-weight: 600; }
.flow-cta { text-align: center; margin-top: 56px; }

/* ==========================================================
   05 下载：聚光卡片 + 旋转描边
   ========================================================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.dl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.dl { position: relative; padding: 36px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.dl::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 70%, var(--red) 85%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; opacity: 0; transition: opacity .3s; }
.dl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--red-50), transparent 60%); opacity: 0; transition: opacity .3s; }
.dl:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px var(--red-glow); }
.dl:hover::before, .dl:hover::after { opacity: 1; }
@keyframes spin { to { --ang: 360deg; } }
.dl .os { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dl .os svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 10px 24px var(--red-glow); }
.dl h3 { font-size: 24px; font-weight: 800; }
.dl small { color: var(--muted); font-size: 13px; }
.dl .meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; }
.dl .meta span { padding: 10px 14px; font-size: 12px; color: var(--muted); border-right: 1px solid var(--line); }
.dl .meta span:last-child { border-right: 0; }
.dl .meta b { display: block; font: 700 14px var(--f-mono); color: var(--ink); }
.dl .btn { width: 100%; }
.dl .file { margin-top: 12px; font-size: 11px; color: var(--faint); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl .notes { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.dl-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--muted); }
.dl-note a { color: var(--red); border-bottom: 1px solid var(--red-100); }

/* ==========================================================
   06 文档：横向手风琴
   ========================================================== */
.accordion { display: flex; gap: 14px; height: 340px; }
.acc { position: relative; flex: 1; min-width: 0; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; transition: flex .6s var(--ease), background .4s, border-color .4s, box-shadow .4s; }
.acc.is-open { flex: 3.2; background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 30px 60px -30px var(--red-glow); }
.acc::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 24px 24px; opacity: 0; transition: opacity .4s; }
.acc.is-open::before { opacity: 1; }
.acc-num { position: absolute; left: 24px; top: 22px; font-size: 14px; font-weight: 700; color: var(--red); transition: color .3s; }
.acc.is-open .acc-num { color: rgba(255,255,255,.8); }
.acc-label { position: absolute; left: 50%; bottom: 28px; writing-mode: vertical-rl; transform: translateX(-50%); font-size: 18px; font-weight: 700; letter-spacing: .2em; white-space: nowrap; transition: opacity .3s; }
.acc.is-open .acc-label { opacity: 0; }
.acc-body { position: absolute; left: 32px; right: 32px; bottom: 32px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.acc.is-open .acc-body { opacity: 1; transform: none; transition-delay: .25s; }
.acc-body strong { display: block; font-size: 30px; font-weight: 800; }
.acc-body p { margin: 12px 0 20px; font-size: 15px; color: rgba(255,255,255,.9); max-width: 420px; }
.acc-go { display: inline-flex; padding: 8px 16px; border-radius: 6px; background: #fff; color: var(--red); font-weight: 700; font-size: 14px; }
.acc:not(.is-open):hover { border-color: var(--red); }

/* ==========================================================
   07 关于：终端打字
   ========================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 20px; }
.about-text { color: var(--ink-2); }
.principles-title { margin: 32px 0 14px; font-size: 16px; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.principles li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: 8px; font-weight: 600; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.principles li:hover { transform: translateX(6px); box-shadow: 0 12px 26px -16px var(--red-glow); }
.principles b { font: 800 14px var(--f-mono); color: var(--red); }
.term { border-radius: 14px; background: #121318; box-shadow: 0 40px 80px -30px rgba(230,0,35,.4), 0 0 0 1px #24262e; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1b1c22; border-bottom: 1px solid #24262e; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d46; }
.term-bar i:first-child { background: var(--red); }
.term-bar span { margin-left: auto; margin-right: auto; font-size: 12px; color: #7d818c; }
.term-body { padding: 24px 26px 28px; font-size: 13.5px; line-height: 2; color: #d7d9e0; min-height: 330px; }
.tl { white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
.term.in .tl { animation: type .7s steps(28, end) forwards; animation-delay: calc(var(--i) * .45s + .3s); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.tl .pr { color: var(--red-2); font-weight: 700; margin-right: 6px; }
.tl .k { display: inline-block; width: 6.5em; color: #8b8f99; }
.tl a { color: #ff8594; border-bottom: 1px dashed #ff8594; }
.tl .ok { color: #3ddc97; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--red-2); vertical-align: -3px; animation: blink 1s steps(2) infinite; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #a7abb6; padding: 64px 0 28px; position: relative; font-size: 14px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-2), var(--red)); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo span { color: #fff; }
.foot-desc { margin-top: 14px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .06em; }
.footer .cols a:not(.logo) { display: block; padding: 4px 0; transition: color .2s; }
.footer .cols a:not(.logo):hover { color: var(--red-2); }
.copy { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid #262830; font-size: 12px; color: #6b6f7a; }

/* 悬浮联系 */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px var(--red-glow); transition: transform .2s var(--ease); }
.fab svg { width: 20px; height: 20px; }
.fab:hover { transform: translateY(-3px); }

/* ==========================================================
   开场动画：北极熊蜷成球滚过去 · 红白版
   ========================================================== */
#intro { overflow: hidden; background: #fff; will-change: clip-path; }
#intro::before { content: ""; position: absolute; top: 69%; bottom: 0; left: 0; right: 0; background: linear-gradient(var(--red-50), #fff); border-top: 2px solid var(--red); }
.intro-snow { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 70%); }
.intro-brand { position: absolute; left: 50%; top: 35%; width: 320px; transform: translate(-50%, -50%); text-align: center; }
.intro-brand img { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 16px; box-shadow: 0 10px 30px var(--red-glow); }
.intro-brand strong { display: block; color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: .16em; }
.intro-brand span { display: block; margin-top: 10px; color: var(--red); font-size: 15px; font-weight: 600; }
.intro-brand small { display: block; margin-top: 26px; color: var(--faint); font: 11px var(--f-mono); letter-spacing: .14em; }
#intro-bear { width: 190px; height: 190px; will-change: transform; }
.ball-spin { position: absolute; inset: 0; z-index: 2; transform-origin: 50% 100%; will-change: transform; }
.ball-spin svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 18px rgba(120, 0, 20, .16)); }
.bear-shadow { position: absolute; bottom: -8px; left: 10%; right: 10%; height: 18px; background: radial-gradient(ellipse, rgba(120,0,20,.28), transparent 68%); transform-origin: center; }
.ball-trail { position: absolute; right: 62%; top: 22%; bottom: 14%; width: 170px; display: grid; align-content: space-between; opacity: 0; }
.ball-trail i { display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--red)); }
.ball-trail i:nth-child(1) { width: 60%; margin-left: 40%; opacity: .5; }
.ball-trail i:nth-child(2) { width: 100%; }
.ball-trail i:nth-child(3) { width: 75%; margin-left: 25%; opacity: .7; }
.snow-dust { position: absolute; left: 0; top: 0; height: 5px; width: 5px; border-radius: 50%; background: #ffd6dc; }
.snow-dust:nth-of-type(3n) { width: 3px; height: 3px; }
.intro-skip { position: fixed; right: 28px; top: 22px; z-index: 1002; border: 1px solid var(--line-2); background: rgba(255,255,255,.85); border-radius: 30px; padding: 8px 15px; font: 11px var(--f-mono); color: var(--muted); cursor: pointer; }
.intro-skip:hover { color: var(--red); border-color: var(--red); }
#intro.done, #intro-bear.done { opacity: 0; transition: opacity .3s; }
body.intro .bear-stage *, body.intro .hl i { animation-play-state: paused; }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1080px) {
  .nav, .top-status { display: none; }
  .burger { display: inline-flex; }
  .top .wrap { gap: 16px; }
  .mobile-nav { display: grid; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
  body.nav-open .mobile-nav { transform: none; opacity: 1; visibility: visible; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .bear-stage { margin: 0 auto; width: min(100%, 460px); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .stats-lead { grid-column: 1 / -1; }
  .stats-grid > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .car-slide { flex-basis: 88%; padding: 36px; gap: 28px; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list [role=tab] { flex: none; }
  .tab-list [aria-selected=true]::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 3px; }
  .zig-row, .zig-row.flip { gap: 48px; }
  .about-grid { gap: 48px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 80px 0; }
  .sec-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero { padding-top: 48px; }
  .hero-stages { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .hero-stages a:nth-child(2) { border-right: 0; }
  .hero-stages a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .car-slide { grid-template-columns: 1fr; flex-basis: 92%; padding: 28px; }
  .slide-num { font-size: 64px; }
  .tab-panel { position: relative; inset: auto; grid-template-columns: 1fr; padding: 28px; display: none; }
  .tab-panel.is-active { display: grid; }
  .tab-panels { min-height: 0; }
  .zig { gap: 80px; }
  .zig::before, .zig-row::after { display: none; }
  .zig-row, .zig-row.flip { grid-template-columns: 1fr; }
  .zig-row.flip .zig-copy { order: 0; }
  .zig-no { font-size: 110px; top: -50px; }
  .flow-rail { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow-fill { width: 100%; height: calc(var(--p) * 100%); bottom: auto; }
  .flow-spark { left: -4px; top: calc(var(--p) * 100%); }
  .flow-steps { grid-template-columns: 1fr; gap: 40px; }
  .flow-steps li { text-align: left; padding-left: 52px; position: relative; }
  .flow-steps .node { position: absolute; left: 0; top: 0; margin: 0; }
  .flow-steps p { margin-left: 0; }
  .dl-cards { grid-template-columns: 1fr; }
  .accordion { flex-direction: column; height: auto; }
  .acc, .acc.is-open { flex: none; min-height: 72px; }
  .acc-label { writing-mode: horizontal-tb; left: 72px; top: 22px; bottom: auto; transform: none; font-size: 16px; letter-spacing: .06em; }
  .acc.is-open { min-height: 230px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 40px; }
  .bear-bubble { font-size: 13px; padding: 8px 12px; right: 0; }
  .float-chip { font-size: 11px; padding: 5px 9px; }
  .hero-copy > p { font-size: 16px; }
  .hero-stages a { padding: 16px; }
  .hero-stages span { font-size: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 0 0 0 16px; }
  .stats-grid > div:nth-child(2) { padding-left: 0; }
  .stats-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stats-grid > div strong { font-size: 48px; }
  .marquee { padding: 9px 0; }
  .marquee-track { font-size: 13px; gap: 18px; }
  .car-slide { padding: 22px; flex-basis: 94%; gap: 22px; }
  .slide-copy h3 { font-size: 24px; }
  .car-dots { gap: 8px; }
  .car-dots span { font-size: 12px; }
  .cycle { width: 200px; height: 200px; }
  .cy2 { right: -10px; } .cy3 { left: -14px; }
  .tab-panel { padding: 20px; }
  .tp-text h3 { font-size: 22px; }
  .shot .body { grid-template-columns: 1fr; }
  .shot .side { display: none; }
  .zig-copy h3 { font-size: 24px; }
  .acc-body { left: 22px; right: 22px; bottom: 22px; }
  .acc-body strong { font-size: 24px; }
  .term-body { font-size: 12px; padding: 18px; }
  .tl .k { width: 5.5em; }
  .dl { padding: 24px; }
  .fab span { display: none; }
  .fab { padding: 14px; }
  .intro-skip { right: 16px; top: 16px; }
  #intro-bear { width: 130px; height: 130px; }
  .ball-trail { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  #intro, #intro-bear, .intro-skip, .intro-replay { display: none !important; }
  body.intro { overflow: auto; }
  .tl { clip-path: none; }
}
