/* 领动官网 · 样式 */
:root {
  --bg: #07060b;
  --bg-2: #0e0c17;
  --panel: rgba(255, 255, 255, .045);
  --ink: #f7f3ea;
  --muted: rgba(247, 243, 234, .64);
  --faint: rgba(247, 243, 234, .4);
  --line: rgba(255, 255, 255, .1);
  --gold: #ffd43a;
  --gold-2: #ffab1a;
  --gold-soft: #ffe98a;
  --violet: #8f6bff;
  --violet-2: #5b3bd6;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --nav-h: 68px;
  --r: 24px;
  --accent: #ffd43a;
  --accent-soft: #ffe98a;
  --deco: #ffd43a;
  --accent-line: rgba(255, 212, 58, .36);
  --accent-bg: rgba(255, 212, 58, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --hover: rgba(255, 255, 255, .06);
  --dim: rgba(247, 243, 234, .16);
  --stroke: rgba(255, 255, 255, .3);
  --stroke-faint: rgba(255, 255, 255, .1);
  --glass: rgba(20, 16, 34, .62);
  --glass-line: rgba(255, 255, 255, .16);
  --nav-bg: rgba(14, 12, 23, .68);
  --menu-bg: rgba(14, 12, 23, .94);
  --card-bg: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  --card-shadow: none;
  --shadow: rgba(0, 0, 0, .42);
  --shadow-heavy: rgba(0, 0, 0, .6);
  --grad-text: linear-gradient(100deg, #fff3b0 0%, #ffd43a 28%, #ffab1a 50%, #fff3b0 72%, #ffd43a 100%);
  --grad-num: linear-gradient(180deg, #fff, #ffd43a 120%);
  --grid: rgba(255, 212, 58, .2);
  font-family: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color-scheme: dark;
}

/* 浅色模式：明亮、欢快 */
:root[data-theme="light"] {
  --bg: #fffdf6;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --ink: #23164a;
  --muted: rgba(35, 22, 74, .72);
  --faint: rgba(35, 22, 74, .52);
  --line: rgba(80, 50, 180, .13);
  --accent: #6236e8;
  --accent-soft: #5a2fd6;
  --deco: #ff9500;
  --accent-line: rgba(98, 54, 232, .3);
  --accent-bg: rgba(98, 54, 232, .08);
  --line-strong: rgba(80, 50, 180, .24);
  --hover: rgba(98, 54, 232, .08);
  --dim: rgba(35, 22, 74, .17);
  --stroke: rgba(35, 22, 74, .3);
  --stroke-faint: rgba(98, 54, 232, .16);
  --glass: rgba(255, 255, 255, .86);
  --glass-line: rgba(255, 255, 255, .9);
  --nav-bg: rgba(255, 255, 255, .8);
  --menu-bg: rgba(255, 255, 255, .97);
  --card-bg: #ffffff;
  --card-shadow: 0 16px 44px rgba(98, 54, 232, .1), 0 2px 6px rgba(98, 54, 232, .05);
  --shadow: rgba(98, 54, 232, .2);
  --shadow-heavy: rgba(70, 35, 170, .26);
  --grad-text: linear-gradient(100deg, #6236e8 0%, #e02f8e 30%, #ff7a00 52%, #6236e8 78%, #e02f8e 100%);
  --grad-num: linear-gradient(160deg, #6236e8, #e02f8e);
  --grid: rgba(255, 255, 255, .95);
  color-scheme: light;
}
[data-theme="light"] body::before { opacity: .025; }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(255, 110, 180, .14), rgba(98, 54, 232, .07) 40%, transparent 68%); }
[data-theme="light"] .progress i { background: linear-gradient(90deg, #6236e8, #ff4f9a, #ffb300); box-shadow: 0 0 12px rgba(255, 79, 154, .5); }

/* 首屏：阳光黄 */
[data-theme="light"] .hero { background: linear-gradient(180deg, #ffe14a 0%, #ffe86f 46%, #fff3b4 82%, #fff7cf 100%); }
[data-theme="light"] .aurora { filter: blur(70px); }
[data-theme="light"] .aurora i:nth-child(1) { background: radial-gradient(circle, #ff8fc4, transparent 66%); opacity: .6; }
[data-theme="light"] .aurora i:nth-child(2) { background: radial-gradient(circle, #ffffff, transparent 64%); opacity: .85; }
[data-theme="light"] .aurora i:nth-child(3) { background: radial-gradient(circle, #7fd8ff, transparent 66%); opacity: .5; }
[data-theme="light"] .halo { background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .4) 45%, transparent 70%); }
[data-theme="light"] #og stop:nth-child(1) { stop-color: #6236e8; }
[data-theme="light"] #og stop:nth-child(2) { stop-color: #ff4f9a; stop-opacity: .5; }
[data-theme="light"] #og stop:nth-child(3) { stop-color: #ff7a00; }
[data-theme="light"] .orbit:nth-child(2) circle { fill: #ff4f9a; filter: drop-shadow(0 0 8px #ff4f9a); }
[data-theme="light"] .orbit:nth-child(3) circle { fill: #6236e8; filter: drop-shadow(0 0 8px #6236e8); }
[data-theme="light"] .orbit:nth-child(4) circle { fill: #00b3ff; filter: drop-shadow(0 0 8px #00b3ff); }
[data-theme="light"] .eyebrow { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .9); }
[data-theme="light"] .eyebrow i { background: #ff4f9a; animation-name: pingPink; }
@keyframes pingPink { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 154, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 79, 154, 0); } }
[data-theme="light"] .hero .lead { color: rgba(35, 22, 74, .8); }
[data-theme="light"] .stats, [data-theme="light"] .stats > div + div, [data-theme="light"] .stats > div:nth-child(n+3) { border-color: rgba(35, 22, 74, .14); }
[data-theme="light"] .mini-skel { --skel: #6236e8; }
[data-theme="light"] .radar-bg { fill: rgba(255, 179, 0, .16); stroke: rgba(255, 149, 0, .6); }
[data-theme="light"] .nav:not(.scrolled) .lang, [data-theme="light"] .nav:not(.scrolled) .theme, [data-theme="light"] .nav:not(.scrolled) .burger { border-color: rgba(35, 22, 74, .2); }

/* 主按钮：紫到粉 */
[data-theme="light"] .btn-gold { color: #fff; background: linear-gradient(120deg, #6236e8, #c22b9a 62%, #d92c7e); box-shadow: 0 12px 30px rgba(140, 50, 210, .36), inset 0 1px 0 rgba(255, 255, 255, .3); }
[data-theme="light"] .btn-gold:hover { box-shadow: 0 18px 44px rgba(140, 50, 210, .48), inset 0 1px 0 rgba(255, 255, 255, .3); }
[data-theme="light"] .btn-gold::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); }
[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .95); }
[data-theme="light"] .round:hover { background: #6236e8; border-color: #6236e8; color: #fff; }

/* 跑马灯：紫色彩带 */
[data-theme="light"] .marquee { background: linear-gradient(90deg, #6236e8, #a034d6 50%, #e02f8e); border-color: transparent; color: #fff; box-shadow: 0 14px 40px rgba(140, 50, 210, .28); }
[data-theme="light"] .marquee-row.rev span { -webkit-text-stroke-color: rgba(255, 255, 255, .6); }
[data-theme="light"] .marquee-row b { color: #ffe14a; }

/* 多彩卡片 */
[data-theme="light"] .card:nth-child(6n+1), [data-theme="light"] .scenes li:nth-child(6n+1) { --c1: #ffc21a; --c2: #ff9500; --ct: rgba(255, 180, 0, .22); }
[data-theme="light"] .card:nth-child(6n+2), [data-theme="light"] .scenes li:nth-child(6n+2) { --c1: #ff6aa9; --c2: #e02f8e; --ct: rgba(255, 90, 160, .18); }
[data-theme="light"] .card:nth-child(6n+3), [data-theme="light"] .scenes li:nth-child(6n+3) { --c1: #8a63ff; --c2: #6236e8; --ct: rgba(110, 70, 240, .16); }
[data-theme="light"] .card:nth-child(6n+4), [data-theme="light"] .scenes li:nth-child(6n+4) { --c1: #3cc6ff; --c2: #0a8fe6; --ct: rgba(40, 170, 255, .18); }
[data-theme="light"] .card:nth-child(6n+5), [data-theme="light"] .scenes li:nth-child(6n+5) { --c1: #2fd8a0; --c2: #0aa873; --ct: rgba(30, 200, 140, .18); }
[data-theme="light"] .card:nth-child(6n), [data-theme="light"] .scenes li:nth-child(6n) { --c1: #ff9a5c; --c2: #f2552c; --ct: rgba(255, 120, 60, .18); }
[data-theme="light"] .card-icon { color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 24px var(--ct); }
[data-theme="light"] .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--ct), transparent 70%); }
[data-theme="light"] .card::after { background: linear-gradient(90deg, transparent, var(--c2), transparent); }
[data-theme="light"] .card:hover, [data-theme="light"] .scenes li:hover { border-color: var(--c1); }
[data-theme="light"] .card:hover .card-no { -webkit-text-stroke-color: var(--c1); }
[data-theme="light"] .scene-icon { color: var(--c2); }
[data-theme="light"] .scenes li::after { background: radial-gradient(circle, var(--ct), transparent 70%); opacity: 1; transform: scale(1); }
[data-theme="light"] .scenes li:hover::after { transform: scale(1.7); }

/* 分区底色 */
[data-theme="light"] .ends { background: linear-gradient(180deg, transparent, #f4efff 22%, #f4efff 78%, transparent); }
[data-theme="light"] .tech { background: radial-gradient(900px 520px at 50% 40%, rgba(255, 120, 180, .14), transparent 70%); }
[data-theme="light"] .app { background: linear-gradient(180deg, transparent, #fff3c4 30%, #ffe9f3 75%, transparent); }
[data-theme="light"] .end-bar { background: linear-gradient(#6236e8, #e02f8e); box-shadow: 0 0 12px rgba(224, 47, 142, .5); }
[data-theme="light"] .scanline { background: linear-gradient(180deg, transparent, rgba(98, 54, 232, .14) 88%, rgba(224, 47, 142, .8) 100%); mix-blend-mode: normal; }
[data-theme="light"] .device { background: linear-gradient(160deg, #ffffff, #ece6ff); border-color: #fff; }
[data-theme="light"] .monitor-stand { background: linear-gradient(#e2daff, #cfc4f7); }
[data-theme="light"] .browser-bar { background: #efeaff; }
[data-theme="light"] .browser-bar span { background: rgba(98, 54, 232, .12); }
[data-theme="light"] .flow-item.is-cur { box-shadow: 0 40px 90px var(--shadow-heavy), 0 0 90px rgba(255, 79, 154, .3); }
[data-theme="light"] .flow-dots i.on { background: linear-gradient(90deg, #6236e8, #e02f8e); }

/* 3D 实验室 */
[data-theme="light"] .lab { background: radial-gradient(ellipse at 50% 115%, rgba(255, 205, 60, .5), transparent 62%), linear-gradient(180deg, #efe9ff, #fdf6ff 60%, #fffbe8); border-color: #fff; box-shadow: inset 0 0 0 1px rgba(98, 54, 232, .1), 0 30px 80px rgba(98, 54, 232, .16); }

/* 对比 / 架构 / 流程 */
[data-theme="light"] .vs-new { background: linear-gradient(150deg, #fff6c2, #ffe3f1 60%, #ece4ff); border-color: #fff; box-shadow: 0 26px 70px rgba(224, 47, 142, .16); }
[data-theme="light"] .vs-new::before { background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .9) 85%, transparent 100%); }
[data-theme="light"] .vs-new h3 { color: #c2247a; }
[data-theme="light"] .vs-new li { border-color: rgba(224, 47, 142, .16); }
[data-theme="light"] .vs-new svg { background: linear-gradient(135deg, #8a63ff, #e02f8e); color: #fff; }
[data-theme="light"] .vs-badge { background: #fff; color: #e02f8e; border-color: transparent; box-shadow: 0 0 0 8px var(--bg), 0 10px 30px rgba(224, 47, 142, .3); }
[data-theme="light"] .node.core { background: linear-gradient(150deg, #fff3b0, #ffe0ef 60%, #e9e0ff); border-color: #fff; box-shadow: 0 20px 60px rgba(255, 150, 60, .22); }
[data-theme="light"] .node.core h3 { color: #c2247a; }
[data-theme="light"] .core-ring { border-color: #ff4f9a; }
[data-theme="light"] .wire i { background: #ff4f9a; box-shadow: 0 0 10px #ff4f9a; }
[data-theme="light"] .fork .pulse { stroke: #ff4f9a; filter: drop-shadow(0 0 5px #ff4f9a); }
[data-theme="light"] .specs > div::before { background: linear-gradient(90deg, #6236e8, #e02f8e, transparent); }
[data-theme="light"] .steps-line b { background: linear-gradient(90deg, #6236e8, #e02f8e, #ff9500); box-shadow: 0 0 12px rgba(224, 47, 142, .5); }
[data-theme="light"] .steps li.lit span { color: #fff; background: linear-gradient(135deg, #8a63ff, #e02f8e); box-shadow: 0 0 0 6px rgba(224, 47, 142, .12), 0 10px 26px rgba(160, 50, 200, .35); }
[data-theme="light"] .steps li.lit:nth-of-type(2) span { background: linear-gradient(135deg, #b04be0, #f0407f); }
[data-theme="light"] .steps li.lit:nth-of-type(3) span { background: linear-gradient(135deg, #e02f8e, #ff6a3d); }
[data-theme="light"] .steps li.lit:nth-of-type(4) span { background: linear-gradient(135deg, #ff5a5a, #ff9500); }
[data-theme="light"] .steps li.lit:nth-of-type(5) span { background: linear-gradient(135deg, #ff9500, #ffc21a); color: #3a2200; }
[data-theme="light"] .cta { box-shadow: 0 40px 110px rgba(255, 170, 0, .34); }
@media (max-width: 700px) { [data-theme="light"] .steps-line b { background: linear-gradient(#6236e8, #e02f8e, #ff9500); } }

/* 灯箱始终深色 */
.lightbox {
  --ink: #f7f3ea; --muted: rgba(247, 243, 234, .64); --faint: rgba(247, 243, 234, .4); --line: rgba(255, 255, 255, .1); --panel: rgba(255, 255, 255, .05);
  color: var(--ink);
}

/* 主题切换的圆形揭示 */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .75s cubic-bezier(.16, 1, .3, 1); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); } to { clip-path: circle(150vmax at var(--tx, 50%) var(--ty, 0)); } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: #1a1300; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1300; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(980px, 100% - 48px); }
.center { text-align: center; margin-inline: auto; }

/* 噪点与光标辉光 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 196, 46, .1), rgba(143, 107, 255, .05) 40%, transparent 68%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); opacity: 0; transition: opacity .6s;
}
.cursor-glow.on { opacity: 1; }
main, .footer { position: relative; z-index: 2; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1200; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--violet), var(--gold), var(--gold-2)); box-shadow: 0 0 14px rgba(255, 200, 40, .7); }

/* ───────── 导航 ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 12px 0; transition: padding .4s var(--ease); }
.nav-inner {
  width: min(var(--wrap), 100% - 32px); margin-inline: auto; height: 56px; padding: 0 10px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, width .5s var(--ease);
}
.nav.scrolled .nav-inner {
  width: min(1080px, 100% - 32px);
  background: var(--nav-bg); border-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 16px 40px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 20px rgba(255, 190, 20, .35); transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .24em; color: var(--faint); padding-left: 10px; border-left: 1px solid var(--line); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 14px; color: var(--muted); border-radius: 999px; white-space: nowrap; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: var(--hover); }
.nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang { padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; transition: color .25s, border-color .25s; }
.lang:hover { color: var(--accent); border-color: var(--accent-line); }
.theme { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); overflow: hidden; flex-shrink: 0; transition: color .25s, border-color .25s; }
.theme:hover { color: var(--accent); border-color: var(--accent-line); }
.theme svg { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; transition: transform .6s var(--ease-out), opacity .4s; }
.theme .moon { transform: translateY(140%) rotate(-90deg); opacity: 0; }
:root[data-theme="light"] .theme .sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .theme .moon { transform: none; opacity: 1; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }

/* ───────── 按钮 ───────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap;
  overflow: hidden; isolation: isolate; will-change: transform;
  transition: transform .5s var(--ease-out), box-shadow .35s, background .35s, color .35s, border-color .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-gold { color: #1c1400; background: linear-gradient(135deg, #fff0a0, var(--gold) 45%, var(--gold-2)); box-shadow: 0 10px 34px rgba(255, 180, 20, .34), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); }
.btn-gold:hover { box-shadow: 0 16px 48px rgba(255, 180, 20, .5), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-gold:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: #17120a; color: var(--gold-soft); box-shadow: 0 14px 34px rgba(60, 35, 0, .35); }
.btn-dark:hover { background: #000; }
.btn-line { border: 1.5px solid rgba(28, 20, 0, .55); color: #1c1400; }
.btn-line:hover { background: rgba(28, 20, 0, .1); }
.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); transition: background .25s, border-color .25s, transform .25s, opacity .25s; }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--gold); border-color: var(--gold); color: #1c1400; transform: scale(1.06); }
.round:disabled { opacity: .3; pointer-events: none; }

/* ───────── 通用排版 ───────── */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.sec-head { text-align: center; max-width: 860px; margin: 0 auto clamp(40px, 5vw, 68px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 700; color: var(--accent); }
.kicker span { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-bg); }
.kicker i { font-style: normal; font-size: 11px; letter-spacing: .26em; color: var(--faint); font-weight: 600; }
h2 { font-size: clamp(30px, 4.3vw, 58px); line-height: 1.14; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h2 em, .h1-gold > span {
  font-style: normal; color: var(--accent);
  background: var(--grad-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.sec-head .lead { margin: 20px auto 0; }
.note { margin-top: 28px; font-size: 13px; color: var(--faint); }

/* 入场 */
.js .reveal { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--delay, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { --delay: 1; } .reveal[data-delay="2"] { --delay: 2; } .reveal[data-delay="3"] { --delay: 3; } .reveal[data-delay="4"] { --delay: 4; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 48px) 0 56px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.aurora { position: absolute; inset: 0; z-index: -3; filter: blur(80px); }
.aurora i { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: 46%; top: -18%; background: radial-gradient(circle, #6a3df0, transparent 66%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; left: 58%; top: 30%; background: radial-gradient(circle, #ffb21e, transparent 64%); opacity: .34; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 44vw; height: 44vw; left: -14%; top: 40%; background: radial-gradient(circle, #3a1f9c, transparent 66%); opacity: .5; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(-8vw, 6vw, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(6vw, -8vw, 0) scale(.85); } }
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -8%; height: 62%; z-index: -2;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 50% 100%, #000 5%, transparent 72%); mask-image: radial-gradient(ellipse 55% 75% at 50% 100%, #000 5%, transparent 72%);
  animation: floor 5s linear infinite;
}
@keyframes floor { to { background-position: 0 64px; } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; flex: 1; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-soft); border: 1px solid var(--accent-line); background: var(--accent-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 212, 58, .7); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 212, 58, 0); } }
h1 { margin: 26px 0 24px; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.16; font-weight: 900; letter-spacing: -.01em; }
html[lang="en"] h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.025em; }
.h1-line { display: block; }
html[lang="zh-CN"] .h1-line { white-space: nowrap; }
.h1-line .w { display: inline-block; white-space: nowrap; }
.h1-line .ch { display: inline-block; opacity: 0; transform: translate3d(0, .7em, 0) rotate(8deg); filter: blur(10px); animation: charIn .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes charIn { to { opacity: 1; transform: none; filter: none; } }
.h1-gold { overflow: hidden; padding-bottom: .12em; }
.h1-gold > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) .55s both, shimmer 6s linear infinite; }
@keyframes lineUp { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
.hero-in { animation: heroIn 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: min(560px, 60vh); justify-self: center; }
.halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(255, 220, 90, .62), rgba(255, 160, 20, .2) 45%, transparent 70%); filter: blur(22px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .78; } }
.orbits { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; overflow: visible; }
.orbit { transform-origin: 300px 300px; fill: none; }
.orbit ellipse { stroke-width: 1.3; }
.orbit circle { fill: var(--deco); filter: drop-shadow(0 0 8px var(--deco)); }
.o1 { animation: spin 26s linear infinite; }
.o2 { animation: spin 40s linear infinite reverse; }
.o3 { animation: spin2 34s linear infinite; }
@keyframes spin { from { transform: rotate(-18deg); } to { transform: rotate(342deg); } }
@keyframes spin2 { from { transform: rotate(48deg); } to { transform: rotate(-312deg); } }
.dancer { position: absolute; inset: 4% 2% 0; width: 96%; margin: auto; filter: drop-shadow(0 34px 44px var(--shadow)); animation: bob 5.5s ease-in-out infinite; transform: translate3d(var(--px, 0), var(--py, 0), 0); will-change: transform; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -16px; rotate: 1.5deg; } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; font-size: 14px; font-weight: 700; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 40px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translate3d(var(--px, 0), var(--py, 0), 0); animation: bob2 6s ease-in-out infinite; will-change: transform;
}
.chip svg { width: 34px; height: 34px; }
.chip-1 { left: -4%; top: 16%; }
.chip-2 { right: -5%; top: 42%; animation-delay: -2s; }
.chip-3 { left: 6%; bottom: 9%; padding-left: 16px; animation-delay: -4s; }
@keyframes bob2 { 50% { translate: 0 -10px; } }
.radar-bg { fill: var(--accent-bg); stroke: var(--accent-line); stroke-width: 1; }
.radar-fg { fill: rgba(255, 190, 40, .55); stroke: var(--deco); stroke-width: 1.4; transform-origin: 20px 20px; animation: radar 3.5s ease-in-out infinite; }
@keyframes radar { 50% { transform: scale(.78) rotate(8deg); } }
.mini-skel { fill: none; stroke: var(--skel, #b9a3ff); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mini-skel circle { fill: var(--skel, #b9a3ff); stroke: none; }
:root[data-theme="light"] .mini-skel { --skel: #6a45e0; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: blink 1.4s steps(2) infinite; flex-shrink: 0; }
@keyframes blink { 50% { opacity: .25; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 5vh, 60px); border-top: 1px solid var(--line); }
.stats > div { padding: 22px 20px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { display: flex; align-items: baseline; gap: 6px; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats dt b { background: var(--grad-num); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats dt small { font-size: 16px; font-weight: 600; color: var(--accent); }
.stats dd { margin-top: 10px; font-size: 14px; color: var(--muted); }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 1px solid var(--stroke); }
.scroll-hint i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--deco); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }

/* ───────── 跑马灯 ───────── */
.marquee { position: relative; z-index: 2; padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(143, 107, 255, .08), rgba(255, 212, 58, .06)); overflow: hidden; transform: rotate(-1.2deg) scale(1.04); }
.marquee-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row > div { display: flex; align-items: center; flex-shrink: 0; gap: 28px; padding-right: 28px; white-space: nowrap; animation: marquee 44s linear infinite; }
.marquee-row.rev > div { animation-direction: reverse; animation-duration: 56s; }
.marquee-row span { font-size: clamp(22px, 3.2vw, 44px); font-weight: 800; letter-spacing: .01em; }
.marquee-row.rev { margin-top: 10px; }
.marquee-row.rev span { color: transparent; -webkit-text-stroke: 1px var(--stroke); }
.marquee-row b { color: var(--deco); font-size: 18px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ───────── 产品概述 ───────── */
.overview { padding-bottom: clamp(60px, 8vw, 110px); }
.statement { font-size: clamp(22px, 2.9vw, 40px); line-height: 1.6; font-weight: 700; letter-spacing: .005em; }
html[lang="en"] .statement { line-height: 1.42; letter-spacing: -.01em; }
.statement .t { color: var(--dim); transition: color .4s ease; }
.statement .t.on { color: var(--ink); }
.statement .t.hot { color: var(--accent); }

/* ───────── 三端协同 ───────── */
.ends { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.ends .sec-head { margin-bottom: clamp(28px, 4vh, 48px); }
.ends-grid { display: grid; gap: 28px; }
.end { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: var(--card-shadow); padding: 24px; display: grid; gap: 24px; }
.end-head { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; cursor: default; }
.end-no { font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.end-name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.end-name small { font-size: 11px; letter-spacing: .24em; color: var(--faint); font-weight: 600; }
.end-body p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.end-body ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.end-body li { padding: 6px 13px; font-size: 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--accent-soft); }
.end-bar { display: none; }
.end-fig { position: relative; display: grid; place-items: center; min-width: 0; }
.zoom { display: block; position: relative; cursor: zoom-in; overflow: hidden; }
.zoom img { width: 100%; transition: transform .8s var(--ease-out); }
.zoom:hover img { transform: scale(1.03); }
.device { position: relative; width: 100%; border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #2b2740, #12101c); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px var(--shadow-heavy), 0 0 80px rgba(143, 107, 255, .16); }
.device .zoom { border-radius: 10px; }
.monitor-stand { width: 26%; height: 16px; margin-top: -1px; background: linear-gradient(#211e31, #0f0d18); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 28%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 212, 58, .2) 88%, rgba(255, 228, 120, .9) 100%); mix-blend-mode: screen; animation: scan 4.2s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(360%); } }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--deco); pointer-events: none; }
.corner.c1 { left: -7px; top: -7px; border-right: 0; border-bottom: 0; } .corner.c2 { right: -7px; top: -7px; border-left: 0; border-bottom: 0; }
.corner.c3 { left: -7px; bottom: -7px; border-right: 0; border-top: 0; } .corner.c4 { right: -7px; bottom: -7px; border-left: 0; border-top: 0; }
.browser { padding: 0; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b1829; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { flex: 1; max-width: 46%; height: 18px; margin-left: 14px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.browser .zoom { border-radius: 0; }
.phones { position: relative; display: flex; justify-content: center; gap: 4%; width: 100%; }
.phone { width: 40%; max-width: 250px; border-radius: 22px; border: 1px solid var(--glass-line); box-shadow: 0 34px 70px var(--shadow-heavy); }
.phone.p1 { transform: rotate(-5deg) translateY(4%); }
.phone.p2 { transform: rotate(5deg) translateY(-2%); }

@media (min-width: 1000px) and (min-height: 620px) {
  .js .ends { padding: 0; height: 330vh; }
  .js .ends-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
  .js .ends-wrap { padding-top: var(--nav-h); }
  .js .ends .sec-head { text-align: left; margin-inline: 0; max-width: none; }
  .js .ends-grid { --fh: min(56vh, 520px); grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: repeat(3, auto) 1fr; column-gap: clamp(36px, 5vw, 80px); row-gap: 0; align-items: start; height: var(--fh); }
  .js .end { display: contents; box-shadow: none; }
  .js .end-text { grid-column: 1; position: relative; padding: 18px 0 18px 26px; border-left: 1px solid var(--line); }
  .js .end-head { cursor: pointer; opacity: .42; transition: opacity .4s; }
  .js .end-head:hover, .js .end.is-active .end-head { opacity: 1; }
  .js .end-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
  .js .end-body > div { overflow: hidden; opacity: 0; transition: opacity .5s; }
  .js .end.is-active .end-body { grid-template-rows: 1fr; }
  .js .end.is-active .end-body > div { opacity: 1; transition-delay: .15s; }
  .js .end-bar { display: block; position: absolute; left: -1.5px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--gold-2)); box-shadow: 0 0 12px var(--gold); transform-origin: 50% 0; transform: scaleY(0); }
  .js .end.is-active .end-bar { transform: scaleY(var(--seg, 0)); }
  .js .end.is-done .end-bar { transform: scaleY(1); opacity: .35; }
  .js .end-fig { grid-column: 2; grid-row: 1 / -1; height: 100%; align-content: center; opacity: 0; visibility: hidden; transform: perspective(1400px) translate3d(70px, 0, 0) rotateY(-18deg) scale(.94); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), visibility 0s .7s; }
  .js .end.is-active .end-fig { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .end-fig-2 { align-items: center; }
  .js .phones { align-items: center; gap: 6%; }
  .js .phone { flex: none; width: calc(var(--fh) * .9 * 900 / 1955); max-width: none; }
  .js .end-fig-0 .device, .js .end-fig-1 .device { max-height: 100%; }
  .js .end-fig-1 .device { width: min(100%, calc((var(--fh) - 36px) * 1600 / 976)); }
}

/* ───────── 核心能力 ───────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px 28px 32px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card.in { transition: transform .5s var(--ease-out), border-color .4s, opacity .9s var(--ease-out), filter .9s var(--ease-out); }
.card:nth-child(1), .card:nth-child(6) { grid-column: span 2; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 212, 58, .2), rgba(143, 107, 255, .08) 45%, transparent 70%); }
.card::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: var(--accent-line); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-no { position: absolute; right: 22px; top: 14px; font-size: 64px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--stroke-faint); font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .4s; }
.card:hover .card-no { -webkit-text-stroke-color: var(--accent-line); }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 16px; color: #1c1400; background: linear-gradient(135deg, #fff0a0, var(--gold) 50%, var(--gold-2)); box-shadow: 0 10px 28px rgba(255, 180, 20, .3); transform: translateZ(30px); transition: transform .5s var(--ease-out); }
.card:hover .card-icon { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.card-icon svg { width: 28px; height: 28px; stroke-width: 1.7; }
.card h3 { margin-bottom: 10px; font-size: 21px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 46ch; }

/* ───────── 3D 技术 ───────── */
.tech { background: radial-gradient(900px 500px at 50% 38%, rgba(143, 107, 255, .13), transparent 70%); }
.lab { position: relative; height: clamp(360px, 58vw, 640px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(255, 190, 40, .14), transparent 60%), linear-gradient(180deg, #0c0a16, #07060b); box-shadow: inset 0 0 120px rgba(143, 107, 255, .1), 0 40px 100px var(--shadow-heavy); }
.lab canvas { width: 100%; height: 100%; border-radius: inherit; cursor: grab; touch-action: pan-y; }
.lab canvas:active { cursor: grabbing; }
.hud { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.hud small { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.hud b { font-size: 28px; line-height: 1; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 1.3em; text-align: right; }
.hud-tl { left: 20px; top: 20px; } .hud-tr { right: 20px; top: 20px; } .hud-bl { left: 20px; bottom: 20px; }
.tech-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.tech-steps li { padding: 28px 28px 0 0; }
.tech-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.tech-steps span { font-size: 13px; font-weight: 700; color: var(--accent); }
.tech-steps h3 { margin: 8px 0; font-size: 24px; }
.tech-steps p { color: var(--muted); font-size: 15px; }

/* ───────── App coverflow ───────── */
.app { overflow: hidden; }
.app .sec-head { margin-bottom: 14px; }
.flow { --w: clamp(190px, 21vw, 280px); position: relative; margin-top: 44px; outline: none; }
.flow-stage { position: relative; height: calc(var(--w) * 1955 / 900 + 60px); perspective: 1600px; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.flow-stage.dragging { cursor: grabbing; }
.flow-item { position: absolute; left: 50%; top: 30px; width: var(--w); margin-left: calc(var(--w) / -2); border-radius: calc(var(--w) * .1); overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 40px 80px var(--shadow-heavy); transform-style: preserve-3d; will-change: transform; transition: transform .8s var(--ease-out), opacity .6s, filter .6s, box-shadow .6s; -webkit-box-reflect: below 6px linear-gradient(transparent 82%, rgba(0, 0, 0, .28)); }
.flow-stage.dragging .flow-item { transition: opacity .3s, filter .3s; }
.flow-item img { width: 100%; pointer-events: none; }
.flow-item.is-cur { box-shadow: 0 50px 100px var(--shadow-heavy), 0 0 90px rgba(255, 200, 40, .28); cursor: zoom-in; }
.flow:focus-visible .flow-item.is-cur { outline: 2px solid var(--accent); outline-offset: 4px; }
.flow-ui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; padding: 0 20px; }
.flow-cap { min-width: min(340px, 52vw); text-align: center; font-weight: 700; font-size: 17px; }
.flow-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.flow-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--stroke); transition: width .4s var(--ease), background .4s; }
.flow-dots i.on { width: 26px; background: var(--deco); }

/* ───────── 对比 ───────── */
.vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-col { padding: clamp(26px, 3vw, 44px); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.vs-col h3 { margin-bottom: 24px; font-size: clamp(20px, 2vw, 26px); }
.vs-col li { display: flex; align-items: center; gap: 14px; padding: 15px 0; font-size: 17px; border-top: 1px solid var(--line); }
.vs-col svg { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; stroke-width: 2.4; }
.vs-old { background: var(--panel); color: var(--muted); }
.vs-old h3 { color: var(--faint); }
.vs-old svg { background: var(--hover); color: var(--faint); }
.vs-new { position: relative; background: linear-gradient(160deg, rgba(255, 212, 58, .16), rgba(143, 107, 255, .1)); border-color: var(--accent-line); box-shadow: 0 30px 80px rgba(255, 180, 20, .12); overflow: hidden; }
.vs-new::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 212, 58, .22) 85%, transparent 100%); animation: rot 9s linear infinite; z-index: 0; }
.vs-new > * { position: relative; z-index: 1; }
@keyframes rot { to { transform: rotate(1turn); } }
.vs-new h3 { color: var(--accent); }
.vs-new li { border-color: var(--accent-line); font-weight: 600; }
.vs-new svg { background: var(--gold); color: #1c1400; }
.vs-badge { position: absolute; left: 50%; top: 50%; z-index: 3; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent-line); font-weight: 900; font-size: 20px; color: var(--accent); box-shadow: 0 0 0 8px var(--bg), 0 0 40px rgba(255, 200, 40, .4); }

/* ───────── 架构 ───────── */
.arch-flow { max-width: 900px; margin-inline: auto; display: grid; justify-items: center; }
.node { position: relative; width: 100%; padding: 24px 28px; text-align: center; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--card-shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.node h3 { font-size: 19px; }
.node p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.node small { display: inline-block; margin-bottom: 8px; padding: 3px 10px; font-size: 12px; border-radius: 999px; color: var(--accent); border: 1px solid var(--accent-line); }
.node.core { max-width: 640px; padding-block: 32px; border-color: var(--accent-line); background: linear-gradient(160deg, rgba(255, 212, 58, .16), rgba(143, 107, 255, .1)); box-shadow: 0 0 80px rgba(255, 200, 40, .16); }
.node.core h3 { color: var(--accent); font-size: 22px; }
.core-ring { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--deco); animation: ring 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.08, 1.3); } }
.arch-flow > .node:first-child { max-width: 640px; }
.wire { position: relative; width: 2px; height: 64px; background: var(--line-strong); }
.wire i { position: absolute; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--deco); box-shadow: 0 0 10px var(--deco); animation: flowDown 1.8s linear infinite; }
.wire i:nth-child(2) { animation-delay: -.6s; } .wire i:nth-child(3) { animation-delay: -1.2s; }
@keyframes flowDown { from { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 2px); opacity: 0; } }
.fork { width: 100%; height: 90px; }
.fork svg { width: 100%; height: 100%; overflow: visible; }
.fork path { fill: none; stroke: var(--line-strong); stroke-width: 2; vector-effect: non-scaling-stroke; }
.fork .pulse { stroke: var(--deco); stroke-dasharray: 30 400; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--deco)); animation: dash 2.4s linear infinite; }
.fork .p2 { animation-delay: -1.2s; }
@keyframes dash { from { stroke-dashoffset: 30; } to { stroke-dashoffset: -400; } }
.outs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ───────── 规格 ───────── */
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.specs > div { position: relative; display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 20px 12px; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.specs > div::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--deco), transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.specs > div:hover { background: var(--accent-bg); padding-left: 20px; }
.specs > div:hover::before { transform: scaleX(1); }
.specs dt { font-weight: 700; color: var(--accent-soft); }
.specs dd { color: var(--muted); }

/* ───────── 场景 ───────── */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scenes li { position: relative; display: grid; gap: 6px; padding: 30px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--card-shadow); overflow: hidden; }
.scenes li.in { transition: transform .5s var(--ease-out), border-color .4s, background .4s, opacity .9s var(--ease-out), filter .9s var(--ease-out); }
.scenes li::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 58, .3), transparent 70%); transform: scale(.5); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.scenes li:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.scenes li:hover::after { transform: scale(1.4); opacity: 1; }
.scene-icon { width: 46px; height: 46px; margin-bottom: 20px; color: var(--accent); }
.scene-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
.scenes b { font-size: 21px; }
.scenes small { font-size: 11px; letter-spacing: .22em; color: var(--faint); }
html[lang="en"] .scenes small { letter-spacing: .06em; font-size: 13px; }

/* ───────── 服务流程 ───────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-line { position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: var(--line-strong); }
.steps-line b { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--gold)); box-shadow: 0 0 12px var(--gold); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.steps li { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.steps li span { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; background: var(--bg-2); border: 1px solid var(--line); color: var(--faint); transition: color .5s, border-color .5s, box-shadow .5s, background .5s; }
.steps li.lit span { color: #1c1400; background: linear-gradient(135deg, #fff0a0, var(--gold), var(--gold-2)); border-color: transparent; box-shadow: 0 0 0 6px rgba(255, 212, 58, .12), 0 0 34px rgba(255, 200, 40, .5); }
.steps li b { font-size: 17px; max-width: 9em; text-wrap: balance; }

/* ───────── 联系 ───────── */
.contact { padding-top: 0; padding-bottom: clamp(60px, 7vw, 100px); }
.cta { position: relative; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px); text-align: center; border-radius: clamp(28px, 4vw, 48px); color: #1c1400; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #fff1a6 0%, var(--gold) 40%, var(--gold-2) 100%); box-shadow: 0 50px 140px rgba(255, 180, 20, .28); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(28, 20, 0, .16) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); }
.cta-glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .75), transparent 62%); animation: breathe 6s ease-in-out infinite; }
.cta-logo { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 20px; box-shadow: 0 16px 40px rgba(120, 70, 0, .35); animation: bob2 5s ease-in-out infinite; }
.cta h2 { font-size: clamp(32px, 5vw, 68px); }
.cta h2 em { color: #1c1400; background: none; -webkit-text-fill-color: currentColor; animation: none; position: relative; white-space: nowrap; }
.cta h2 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em; z-index: -1; border-radius: 4px; background: rgba(255, 255, 255, .7); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-out) .5s; }
.cta.in h2 em::after, html:not(.js) .cta h2 em::after { transform: scaleX(1); }
.cta .lead { margin: 20px auto 0; color: rgba(28, 20, 0, .74); }
.tel { margin-top: 34px; display: grid; justify-items: center; gap: 2px; }
.tel small { font-size: 13px; letter-spacing: .14em; color: rgba(28, 20, 0, .62); }
.tel a { font-size: clamp(38px, 7vw, 88px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cta .hero-actions { justify-content: center; margin-top: 30px; }
.cta-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(28, 20, 0, .16); font-size: 15px; }
.cta-meta > div { display: flex; gap: 10px; text-align: left; }
.cta-meta dt { color: rgba(28, 20, 0, .6); white-space: nowrap; }
.cta-meta dd { font-weight: 600; }
.cta-meta a { text-decoration: underline; text-underline-offset: 3px; }

.footer { padding: 28px 0 44px; font-size: 14px; color: var(--faint); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer b { color: var(--muted); font-weight: 600; }
.footer a:hover { color: var(--accent); }

/* ───────── 灯箱 ───────── */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease; }
.lightbox::backdrop { background: rgba(4, 3, 8, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade .3s ease; }
.lightbox img { max-width: 94vw; max-height: 90vh; max-height: 90dvh; width: auto; border-radius: 18px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); animation: pop .5s var(--ease-out); cursor: zoom-out; }
.lightbox-close { position: absolute; right: 20px; top: 20px; z-index: 2; background: rgba(20, 16, 34, .8); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

/* ───────── 响应式 ───────── */
@media (max-width: 1100px) {
  .brand-sub { display: none; }
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: calc(100% - 2px); flex-direction: column; gap: 0; padding: 10px; border-radius: 24px;
    background: var(--menu-bg); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 60px var(--shadow-heavy);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: 50% 0; transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .burger { display: block; }
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-copy { display: grid; justify-items: center; }
  h1, html[lang="en"] h1 { font-size: min(8.4vw, 60px); }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stage { max-width: min(430px, 86vw); margin-top: 28px; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card:nth-child(1), .card:nth-child(6) { grid-column: auto; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .nav-actions .btn { display: none; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; text-align: left; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chip { font-size: 12px; padding: 7px 12px 7px 7px; border-radius: 14px; }
  .chip svg { width: 26px; height: 26px; }
  .chip-1 { left: -2%; } .chip-2 { right: -2%; } .chip-3 { padding-left: 12px; }
  .kicker i { display: none; }
  .end { padding: 20px 18px; }
  .bento, .scenes, .vs, .outs, .tech-steps { grid-template-columns: 1fr; }
  .tech-steps li, .tech-steps li + li { padding: 22px 0; border-left: 0; }
  .tech-steps li + li { border-top: 1px solid var(--line); }
  .tech-steps { margin-top: 28px; }
  .vs-badge { position: relative; left: auto; top: auto; margin: -8px auto; }
  .fork { display: none; }
  .outs { margin-top: 0; }
  .outs::before { content: ""; justify-self: center; width: 2px; height: 44px; background: var(--line-strong); }
  .hud { padding: 7px 10px; } .hud b { font-size: 22px; } .hud-tl, .hud-tr { top: 12px; } .hud-tl, .hud-bl { left: 12px; } .hud-tr { display: none; } .hud-bl { bottom: 12px; }
  .lab { height: 420px; }
  .specs > div { grid-template-columns: 6.5em 1fr; padding-inline: 4px; }
  html[lang="en"] .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .steps-line b { transform-origin: 50% 0; transform: scaleY(var(--sp, 0)); background: linear-gradient(var(--violet), var(--gold)); }
  .steps li { grid-template-columns: 64px 1fr; justify-items: start; align-items: center; text-align: left; padding: 12px 0; }
  .steps li b { max-width: none; }
  .flow { --w: min(58vw, 250px); }
  .flow-cap { font-size: 15px; min-width: 0; flex: 1; }
  .cta-meta > div { flex-direction: column; gap: 0; text-align: center; }
  .footer-inner, .footer-inner > div { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .nav-inner { padding: 0 8px 0 10px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .lang { padding: 7px 9px; }
  html[lang="en"] .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .statement .t { color: var(--ink); }
  .scanline, .wire i, .fork .pulse, .core-ring, .vs-new::before, .cursor-glow { display: none; }
  .marquee-row > div { animation: none !important; }
  .card { transform: none; }
}
