/* ==========================================================================
   ketec 官网样式
   - 深色科技风：深蓝黑底 + 青 / 靛 / 紫渐变强调色
   - 字体只用系统字体栈（含西里尔与中日韩字形），不外链任何资源
   - 所有动效在 prefers-reduced-motion: reduce 下关闭（见文件末尾）
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #05070d;
  --bg-2: #080c18;
  --bg-3: #0c1224;
  --panel: rgba(16, 22, 44, .62);
  --panel-solid: #0e1428;
  --line: rgba(140, 160, 255, .14);
  --line-2: rgba(140, 160, 255, .26);
  --text: #e8ecff;
  --muted: #98a2c8;
  --dim: #646e96;
  --c1: #2ef2c9;   /* 青 */
  --c2: #6b7bff;   /* 靛 */
  --c3: #c06bff;   /* 紫 */
  --warn: #ffb547;
  --grad: linear-gradient(100deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
  /* 首尾同色的循环渐变：background-size 200% 平移时无接缝 */
  --grad-loop: linear-gradient(100deg, var(--c1), var(--c2) 25%, var(--c3) 50%, var(--c2) 75%, var(--c1));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --nav-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(46, 242, 201, .3); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }
.i { width: 22px; height: 22px; flex: none; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--c1); color: #04110e; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

/* 页面顶部滚动进度条 */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* 跟随鼠标的柔光（仅桌面指针设备） */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 0;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(107, 123, 255, .12), transparent 62%);
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- 按钮 ---------- */
.btn {
  --bh: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn .i { width: 19px; height: 19px; }
.btn--lg { --bh: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn--xs { --bh: 32px; padding: 0 14px; font-size: 13px; gap: 6px; }
.btn--xs .i { width: 15px; height: 15px; }
.btn--primary {
  color: #050914; background: var(--grad-loop); background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px rgba(46, 242, 201, .55), inset 0 0 0 1px rgba(255, 255, 255, .2);
  animation: grad-pan 6s linear infinite;
}
.btn--primary:hover { box-shadow: 0 14px 40px -10px rgba(107, 123, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(46, 242, 201, .6); background: rgba(46, 242, 201, .06); }
.btn--ghost .i { transition: transform .25s var(--ease); }
.btn--ghost:hover .i { transform: translateX(4px); }
@keyframes grad-pan { to { background-position: 200% 0; } }

/* ---------- 导航（吸顶毛玻璃） ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6, 9, 20, .62); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 32px; height: 32px; }
.logo-word { width: 66px; height: auto; }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* 语言切换 */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: color .2s, border-color .2s, background .2s;
}
.lang__btn .i { width: 17px; height: 17px; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 14px;
  background: rgba(12, 17, 36, .92); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform-origin: top right; animation: pop .18s var(--ease);
}
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: var(--muted); text-align: left;
}
.lang__menu button:hover, .lang__menu button:focus-visible { background: rgba(107, 123, 255, .14); color: var(--text); }
.lang__menu button[aria-checked="true"] { color: var(--text); }
.lang__menu button[aria-checked="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-4px); } }

.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 56px) 0 90px;
  overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .55; }
.hero__aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -6vw; top: 0; background: radial-gradient(circle, rgba(46,242,201,.35), transparent 65%); }
.hero__aurora i:nth-child(2) { width: 50vw; height: 50vw; right: -10vw; top: -8vw; background: radial-gradient(circle, rgba(107,123,255,.4), transparent 65%); animation-duration: 22s; }
.hero__aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 18vw; background: radial-gradient(circle, rgba(192,107,255,.3), transparent 65%); animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
.hero::after { /* 底部渐隐，衔接下一屏 */
  content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13.5px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 0 rgba(46,242,201,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(46,242,201,0); } 100% { box-shadow: 0 0 0 0 rgba(46,242,201,0); } }

.hero__title {
  margin: 22px 0 22px; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
}
:lang(ru) .hero__title { font-size: clamp(32px, 4.5vw, 58px); letter-spacing: -.03em; }
:lang(zh) .hero__title { letter-spacing: -.01em; line-height: 1.12; }
.hero__title .line { display: block; }
.grad {
  background: var(--grad-loop); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-pan 8s linear infinite;
}
/* 逐字动画：JS 把文字拆成 .w > .ch，每个字带 --i 序号 */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; }
.js .split.is-split .ch {
  opacity: 0; transform: translateY(.55em) rotateX(-70deg); filter: blur(8px); transform-origin: 50% 100%;
  animation: char-in .8s var(--ease) forwards; animation-delay: calc(var(--i) * 28ms + var(--base, 0ms));
}
/* 渐变字拆字后：父元素不再画渐变，改由每个字按 --gx 偏移拼出整行渐变（fx.js paintGradient） */
.grad.is-split { background: none; animation: none; color: inherit; }
.grad.is-split .ch {
  background: var(--grad); background-size: var(--gw, 100%) 100%; background-position: var(--gx, 0) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes char-in { to { opacity: 1; transform: none; filter: blur(0); } }

.hero__sub { max-width: 600px; font-size: clamp(16px, 1.45vw, 18.5px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--dim); }

.stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line);
  border-radius: var(--radius); background: rgba(10, 14, 30, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.stats li { padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats li:nth-child(1) b { color: var(--c1); }
.stats li:nth-child(2) b { color: #8f9bff; }
.stats li:nth-child(3) b { color: #d79bff; }
.stats span { color: var(--muted); font-size: 14px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--dim); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--c1); animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 手机演示 ---------- */
.demo { margin: 0; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0; align-items: center; justify-items: center; }
.phone {
  --pw: 280px; position: relative; width: var(--pw); aspect-ratio: 9 / 19.2; padding: 11px; border-radius: 46px; z-index: 2;
  background: linear-gradient(145deg, #2a3150, #0f1426 40%, #1b2140);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(107,123,255,.45);
  transform: perspective(1200px) rotateY(-14deg) rotateX(6deg); transition: transform .8s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.demo:hover .phone { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: #2a3150; }
.phone__btn--l1 { left: -3px; top: 22%; height: 7%; }
.phone__btn--l2 { left: -3px; top: 31%; height: 7%; }
.phone__btn--r { right: -3px; top: 27%; height: 11%; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0a0f1f; }
.phone__island { position: absolute; left: 50%; top: 9px; width: 30%; height: 22px; margin-left: -15%; border-radius: 12px; background: #000; z-index: 5; }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #0f1733, #0a0f1f 60%); }
.app__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0 26px; height: 40px; font-size: 12px; font-weight: 600; }
.app__sig { display: flex; align-items: flex-end; gap: 2px; }
.app__sig i { width: 3px; background: var(--text); border-radius: 1px; }
.app__sig i:nth-child(1) { height: 4px; } .app__sig i:nth-child(2) { height: 6px; } .app__sig i:nth-child(3) { height: 8px; }
.app__sig b { width: 18px; height: 9px; margin-left: 5px; border-radius: 3px; border: 1.5px solid var(--text); position: relative; }
.app__sig b::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--text); border-radius: 1px; }
.app__head { padding: 16px 18px 10px; }
.app__head h3 { font-size: 22px; letter-spacing: -.02em; }
.app__head small { color: var(--dim); font-size: 12px; }
.app__viewport { position: relative; flex: 1; overflow: hidden; }
.app__list { padding: 4px 12px 20px; display: flex; flex-direction: column; gap: 8px; transition: transform 1s var(--ease); }
.row {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); font-size: 13px; transition: background .3s;
}
.row > span { flex: 1; min-width: 0; line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.row.is-hit { background: rgba(46,242,201,.08); }
.ico { width: 28px; height: 28px; flex: none; border-radius: 8px; background: #1c2550; }
.ico--a { background: linear-gradient(135deg, #2ef2c9, #1aa6a0); }
.ico--b { background: linear-gradient(135deg, #ffb547, #ff6b8b); }
.ico--c { background: linear-gradient(135deg, #6b7bff, #3b4bd8); }
.ico--d { background: linear-gradient(135deg, #c06bff, #7a3bd8); }
.ico--e { background: linear-gradient(135deg, #4fc3ff, #2a6bd8); }
.toggle { width: 36px; height: 21px; flex: none; border-radius: 999px; background: #2a3258; position: relative; transition: background .3s; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle.is-on { background: var(--c1); }
.toggle.is-on::after { transform: translateX(15px); }
.pill { position: relative; flex: none; padding: 5px 12px; border-radius: 999px; font-size: 12px; background: var(--c2); color: #fff; transition: background .3s, transform .15s; }
.pill__b { display: none; }
.pill.is-done { background: rgba(46,242,201,.18); color: var(--c1); }
.pill.is-done .pill__a { display: none; }
.pill.is-done .pill__b { display: inline; }
.pill.is-press { transform: scale(.92); }
.chev { width: 8px; height: 8px; flex: none; border-right: 2px solid var(--dim); border-top: 2px solid var(--dim); transform: rotate(45deg); margin-right: 4px; }
.sk { height: 9px; border-radius: 5px; background: rgba(255,255,255,.07); max-width: 70%; }
.sk--s { max-width: 45%; }

/* 节点高亮框 / OCR 扫描 / 手指 / 提示 */
.hl {
  position: absolute; z-index: 6; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid var(--c1); border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(46,242,201,.15), 0 0 24px rgba(46,242,201,.4); opacity: 0;
  transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s;
}
.hl.is-on { opacity: 1; }
.hl em {
  position: absolute; right: -1px; bottom: calc(100% + 5px); padding: 2px 7px; border-radius: 6px; white-space: nowrap;
  font: 600 10px/1.5 var(--mono); font-style: normal; color: #04110e; background: var(--c1);
}
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 80px; z-index: 6; opacity: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(107,123,255,.28) 85%, rgba(160,170,255,.9) 100%);
  border-bottom: 1px solid #a9b2ff;
}
.scan.is-run { animation: scan 1.6s var(--ease) forwards; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-80px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(560px); } }
.ocrbox-layer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.ocrbox {
  position: absolute; border: 1px solid #a9b2ff; border-radius: 4px; background: rgba(107,123,255,.1);
  animation: box-in .35s var(--ease) both; transition: opacity .4s;
}
.ocrbox b { position: absolute; right: -1px; top: -15px; padding: 0 4px; font: 600 9px/14px var(--mono); color: #0a0f1f; background: #a9b2ff; border-radius: 3px; }
@keyframes box-in { from { opacity: 0; transform: scale(1.15); } }
.finger {
  position: absolute; z-index: 8; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0 30%, rgba(255,255,255,.25) 31% 60%, transparent 61%);
  opacity: 0; transition: transform .7s var(--ease), opacity .3s;
}
.finger.is-on { opacity: 1; }
.finger.is-down { scale: .82; }
.ripple { position: absolute; z-index: 7; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--c1); pointer-events: none; animation: ripple .7s ease-out forwards; }
@keyframes ripple { to { transform: scale(4.5); opacity: 0; } }
.toast {
  position: absolute; z-index: 9; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(10,15,31,.9); border: 1px solid rgba(46,242,201,.5); color: var(--c1); font-size: 12px; font-weight: 600; white-space: nowrap;
  transform: translate(-50%, 24px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.toast .i { width: 16px; height: 16px; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* 演示旁的控制台 */
.console {
  position: relative; z-index: 3; width: min(320px, 100%); margin-left: -40px; align-self: end; margin-bottom: 40px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 12, 26, .82); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden;
}
.console__bar, .code__bar, .win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); }
.console__bar > i, .code__bar > i, .win__bar > i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f6d; }
.console__bar > i:nth-child(2), .code__bar > i:nth-child(2), .win__bar > i:nth-child(2) { background: #ffbd4a; }
.console__bar > i:nth-child(3), .code__bar > i:nth-child(3), .win__bar > i:nth-child(3) { background: #2ad66f; }
.console__bar span, .code__file { margin-left: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__state { margin-left: auto; flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c1); font-family: var(--font); font-size: 11px; }
.console__state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.console__body { margin: 0; padding: 12px 14px; height: 172px; overflow: hidden; font: 11px/1.65 var(--mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.console__body .ln { display: block; }
.console__body .ln.is-cur { color: var(--text); }
.console__body .ok { color: var(--c1); }
.console__body .cm { color: var(--dim); }
.caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -2px; margin-left: 1px; background: var(--c1); animation: blink 1s steps(2) infinite; }
.demo__cap { grid-column: 1 / -1; margin-top: 18px; color: var(--dim); font-size: 13px; text-align: center; }

/* ---------- 通用版块 ---------- */
.section { position: relative; padding: 120px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section--alt::before { /* 细网格纹理 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  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 at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.section > .container { position: relative; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c1);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.sec-title { margin-top: 16px; font-size: clamp(30px, 4vw, 50px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
:lang(ru) .sec-title { font-size: clamp(28px, 3.5vw, 44px); }
.sec-sub { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.split-2 .sec-head, .wb .sec-head { text-align: left; margin-left: 0; }

/* 滚动入场：.reveal 进入视口后加 .is-in */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 能力卡片（3D 倾斜 + 光晕） ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .dl__card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 27, 54, .75), rgba(11, 16, 34, .75)); border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
}
.js .card.reveal { transform: perspective(900px) translateY(28px); }
.js .card.reveal.is-in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card:hover, .dl__card:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(107,123,255,.45); }
.tilt.is-tilting { transition: transform .12s linear, border-color .3s, box-shadow .3s, opacity .9s; }
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(46,242,201,.16), transparent 45%);
}
.card::before, .dl__card::before { /* 跟随鼠标的描边高光 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(107,123,255,.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover .card__glow, .card:hover::before, .dl__card:hover .card__glow, .dl__card:hover::before { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px; color: var(--c1);
  background: rgba(46,242,201,.08); border: 1px solid rgba(46,242,201,.2); transform: translateZ(30px);
}
.card:nth-child(4n+2) .card__icon { color: #8f9bff; background: rgba(107,123,255,.1); border-color: rgba(107,123,255,.25); }
.card:nth-child(4n+3) .card__icon { color: #d79bff; background: rgba(192,107,255,.1); border-color: rgba(192,107,255,.25); }
.card:nth-child(4n+4) .card__icon { color: #ffcf7a; background: rgba(255,181,71,.08); border-color: rgba(255,181,71,.22); }
.card h3 { font-size: 17px; letter-spacing: -.01em; transform: translateZ(20px); }
.card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; transform: translateZ(10px); }

/* API 跑马灯 */
.marquee { margin-top: 80px; }
.marquee__label { text-align: center; color: var(--dim); font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.marquee__mask { 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__track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font: 13px var(--mono); color: var(--muted); white-space: nowrap; }
.marquee__track span:nth-child(3n+1) { color: var(--c1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 代码示例 ---------- */
.code__tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin: 0 auto 24px; }
.code { text-align: center; }
.code__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; text-align: left; align-items: stretch; }
.code__tab { position: relative; z-index: 1; padding: 9px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: color .25s; }
.code__tab.is-active { color: #050914; }
.code__ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 10px; background: var(--grad); transition: left .45s var(--ease), width .45s var(--ease); }
.code__win { --rx: 0deg; --ry: 0deg; border-radius: var(--radius); border: 1px solid var(--line-2); background: #070b18; box-shadow: var(--shadow), 0 0 60px -30px rgba(46,242,201,.4); overflow: hidden; transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.code__copy { margin-left: auto; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line); font: 600 11.5px var(--font); color: var(--muted); }
.code__copy:hover { color: var(--text); border-color: var(--line-2); }
.code__copy .cp-b { display: none; color: var(--c1); }
.code__copy.is-done .cp-a { display: none; }
.code__copy.is-done .cp-b { display: inline; }
.code__pre { margin: 0; padding: 20px 22px; min-height: 380px; overflow: auto; font: 13.5px/1.75 var(--mono); color: #cdd5ff; tab-size: 4; }
.code__pre code { display: block; white-space: pre; }
/* 简易语法高亮配色 */
.tk-c { color: #5d6894; font-style: italic; }
.tk-s { color: #9ef0c4; }
.tk-k { color: #c99bff; }
.tk-n { color: #ffcf7a; }
.tk-f { color: #7fd3ff; }
.tk-m { color: #2ef2c9; }
.tk-b { color: #ff9eb8; }
.code__side { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.code__note { font-size: 16px; color: var(--text); line-height: 1.6; animation: fade-up .5s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
.code__pkgs-t { margin-top: 8px; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pkgs { display: flex; flex-wrap: wrap; gap: 8px; }
.pkgs li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(46,242,201,.25); background: rgba(46,242,201,.06); color: var(--c1); font: 12.5px var(--mono); }
.engines { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.eng { padding: 6px 10px; border-radius: 8px; font: 600 12px var(--mono); border: 1px solid var(--line); color: var(--dim); transition: color .3s, border-color .3s, background .3s; }
.eng.is-on { color: var(--text); border-color: var(--line-2); background: rgba(107,123,255,.12); }

/* ---------- OCR / 识别 ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-2--rev > :first-child { order: 0; }
.points { display: flex; flex-direction: column; gap: 18px; }
.points li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.points li:hover { border-color: var(--line-2); background: rgba(107,123,255,.05); transform: translateX(4px); }
.points__i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; color: var(--c1); background: rgba(46,242,201,.08); }
.points h3 { font-size: 16.5px; }
.points p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

.vision { position: relative; }
.vision__screen {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 20% 0%, #18214a, #0a0f1f 60%); box-shadow: var(--shadow);
}
.vision__line, .vision__btn {
  position: absolute; left: 8%; top: var(--y); width: var(--w); padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); font-size: clamp(13px, 1.4vw, 17px); font-weight: 600; color: #dfe4ff;
}
.vision__btn { left: 8%; right: 8%; top: auto; bottom: 9%; width: auto; text-align: center; background: var(--c2); color: #fff; }
.vision__img { position: absolute; right: 8%; top: 14%; width: 26%; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg, #ffb547, #ff6b8b); overflow: hidden; }
.vision__img i { position: absolute; inset: 22%; border-radius: 50%; background: rgba(255,255,255,.35); }
/* 识别框：进入视口后逐个出现 */
.vision__line::after, .vision__btn::after, .vision__img::after {
  content: ""; position: absolute; inset: -5px; border-radius: 13px; border: 1.5px solid var(--c1); opacity: 0;
  box-shadow: 0 0 18px rgba(46,242,201,.35); transform: scale(1.06); transition: opacity .4s, transform .4s var(--ease);
}
.vision__img::after { border-color: var(--warn); box-shadow: 0 0 18px rgba(255,181,71,.4); border-radius: 18px; }
.vision em { position: absolute; right: -5px; top: -24px; padding: 1px 6px; border-radius: 5px; font: 600 10.5px/1.6 var(--mono); font-style: normal; color: #04110e; background: var(--c1); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.vision.is-in .vision__line::after, .vision.is-in .vision__btn::after, .vision.is-in .vision__img::after { opacity: 1; transform: none; }
.vision.is-in em { opacity: 1; transform: none; }
.vision.is-in .vision__line:nth-child(1)::after, .vision.is-in .vision__line:nth-child(1) em { transition-delay: .7s; }
.vision.is-in .vision__line:nth-child(2)::after, .vision.is-in .vision__line:nth-child(2) em { transition-delay: .95s; }
.vision.is-in .vision__line:nth-child(3)::after, .vision.is-in .vision__line:nth-child(3) em { transition-delay: 1.2s; }
.vision.is-in .vision__img::after { transition-delay: 1.4s; }
.vision.is-in .vision__btn::after, .vision.is-in .vision__btn em { transition-delay: 1.6s; }
.vision__beam {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0, rgba(46,242,201,.0) 40%, rgba(46,242,201,.22) 49%, rgba(46,242,201,.9) 50%, transparent 50.5%);
  background-size: 100% 200%; background-position: 0 100%; opacity: 0;
}
.vision.is-in .vision__beam { animation: beam 3.2s var(--ease) .3s infinite; }
@keyframes beam { 0% { opacity: 1; background-position: 0 100%; } 60% { opacity: 1; background-position: 0 -10%; } 61%, 100% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13.5px; color: var(--muted); transition: color .3s, border-color .3s, transform .3s var(--ease); }
.chips li:hover { color: var(--text); border-color: var(--c1); transform: translateY(-2px); }
.chip--num { font-family: var(--mono); }

/* ---------- 硬件示意图 ---------- */
.hw { position: relative; padding: 20px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(80% 80% at 70% 40%, rgba(46,242,201,.08), transparent 70%), var(--panel); }
.hw__svg { width: 100%; height: auto; overflow: visible; }
.hw__label { fill: var(--muted); font: 600 14px var(--font); }
.hw__tag { fill: var(--c1); font: 700 11px var(--mono); }
.hw__flow { stroke-dasharray: 10 14; animation: dash 1.2s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: 48; } }
.hw__tap { transform-box: fill-box; transform-origin: center; animation: tap 2.4s ease-out infinite; }
.hw__ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes tap { 0%, 100% { opacity: 0; } 8% { opacity: 1; } 40% { opacity: 0; } }
@keyframes ring { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; } 50% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; } }
.hw__led { animation: blink 1.2s steps(2) infinite; }
.hw__board { filter: drop-shadow(0 0 18px rgba(46,242,201,.2)); }

/* ---------- 工作台 ---------- */
.wb { display: grid; grid-template-columns: 1.45fr 1fr; gap: 32px; align-items: center; }
.win { position: relative; --rx: 0deg; --ry: 0deg; border-radius: 18px; border: 1px solid var(--line-2); background: #080c1a; box-shadow: var(--shadow), 0 0 80px -40px rgba(107,123,255,.6); overflow: hidden; transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); }
.win__title { margin: 0 auto; transform: translateX(-20px); }
.win__body { display: grid; grid-template-columns: 56px 1fr; min-height: 360px; }
.win__side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border-right: 1px solid var(--line); }
.win__side span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--dim); }
.win__side span.is-on { color: var(--c1); background: rgba(46,242,201,.1); }
.win__side .i { width: 18px; height: 18px; }
.win__main { padding: 16px; }
.win__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.win__top { flex-wrap: wrap; gap: 10px; }
.win__top small { margin-left: 8px; color: var(--dim); font-size: 12px; white-space: nowrap; }
.win__top small #wbOnline { color: var(--c1); font-weight: 700; }
.devs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dev { position: relative; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, box-shadow .3s; }
.dev__scr { aspect-ratio: 4 / 5; border-radius: 8px; background: #0f1733; padding: 18% 12% 0; display: flex; flex-direction: column; gap: 8%; overflow: hidden; }
.dev__scr i { height: 9%; border-radius: 3px; background: rgba(255,255,255,.07); }
.dev__scr i:nth-child(2) { width: 70%; }
.dev__scr i:nth-child(3) { width: 85%; }
.dev__meta { display: flex; flex-direction: column; margin-top: 6px; font-size: 11px; line-height: 1.4; }
.dev__meta b { font-weight: 600; }
.dev__st { color: var(--dim); display: inline-flex; align-items: center; gap: 5px; }
.dev__st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.dev .st-run { display: none; }
.dev.is-run { border-color: rgba(46,242,201,.45); box-shadow: 0 0 22px -6px rgba(46,242,201,.5); }
.dev.is-run .st-idle { display: none; }
.dev.is-run .st-run { display: inline; color: var(--c1); }
.dev.is-run .dev__st::before { background: var(--c1); box-shadow: 0 0 8px var(--c1); }
.dev.is-run .dev__scr i { background: linear-gradient(90deg, rgba(46,242,201,.15), rgba(107,123,255,.35), rgba(46,242,201,.15)); background-size: 200% 100%; animation: grad-pan 1.4s linear infinite; }
.dev.is-hit { animation: hit .5s var(--ease); }
@keyframes hit { 40% { transform: scale(1.06); } }
.pkt { position: absolute; z-index: 4; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 12px var(--c1); pointer-events: none; }

/* 远程调试 */
.rd {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
}
.rd small { display: block; color: var(--dim); font-size: 12px; margin-bottom: 6px; }
.rd__phone { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: #0b1124; text-align: center; }
.rd__code { font: 700 24px/1.2 var(--mono); letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd__wire { position: relative; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rd__wire i { position: absolute; inset: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--c1), transparent); transform: translateX(-100%); }
.rd.is-linked .rd__wire { background: rgba(46,242,201,.4); }
.rd.is-linking .rd__wire i { animation: wire 1s linear infinite; }
@keyframes wire { to { transform: translateX(400%); } }
.rd__desk { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.rd__desk small { grid-column: 1 / -1; }
.rd__input { position: relative; display: flex; align-items: center; min-width: 200px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #070b18; font: 600 15px var(--mono); letter-spacing: .12em; }
.rd__ph { color: var(--dim); font: 13px var(--font); letter-spacing: 0; }
.rd__input .caret { display: none; }
.rd.is-typing .rd__input .caret { display: inline-block; }
.rd.is-typing .rd__ph, .rd.is-linked .rd__ph { display: none; }
.rd__btn .rd__b2 { display: none; }
.rd.is-linked .rd__btn { border-color: var(--c1); color: var(--c1); background: rgba(46,242,201,.08); }
.rd.is-linked .rd__b1 { display: none; }
.rd.is-linked .rd__b2 { display: inline; }

/* ---------- 工作流程 ---------- */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps__line { position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding: 0 6px; }
.step__num {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; border-radius: 18px; position: relative;
  font: 700 18px var(--mono); background: var(--bg-3); border: 1px solid var(--line-2); color: var(--muted); transition: color .4s, border-color .4s, box-shadow .4s;
}
.step.is-in .step__num { color: var(--c1); border-color: rgba(46,242,201,.6); box-shadow: 0 0 30px -6px rgba(46,242,201,.5); transition-delay: var(--d, 0ms); }
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ---------- 下载 / 价格 ---------- */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl__card { display: flex; align-items: center; gap: 20px; padding: 26px 28px; }
.dl__card--tf { background: linear-gradient(135deg, rgba(46,242,201,.14), rgba(107,123,255,.12) 60%, rgba(11,16,34,.8)); border-color: rgba(46,242,201,.35); }
.dl__icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--c1); }
.dl__icon .i { width: 28px; height: 28px; }
.dl__txt { display: flex; flex-direction: column; line-height: 1.3; }
.dl__txt small { color: var(--muted); font-size: 13px; }
.dl__txt b { font-size: 24px; letter-spacing: -.02em; }
.dl__txt em { margin-top: 4px; color: var(--dim); font-size: 13px; font-style: normal; }
.dl__go { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.dl__card:hover .dl__go { transform: translateX(5px); color: var(--c1); }
.price {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; border-radius: var(--radius);
  border: 1px dashed var(--line-2); background: radial-gradient(60% 120% at 100% 0%, rgba(192,107,255,.12), transparent 60%), var(--panel);
}
.price__t { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.price__d { margin-top: 8px; color: var(--muted); max-width: 620px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: var(--line-2); background: rgba(107,123,255,.05); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--text); transition: transform .3s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { border-color: var(--c1); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { position: relative; padding: 72px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer__col a { color: var(--muted); font-size: 14.5px; transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--c1); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer__legal { flex: 1; }
.totop { color: var(--muted); }
.totop:hover { color: var(--c1); }

/* 占位链接（href="#"）点击时的提示 */
.ph-tip {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; padding: 10px 16px; border-radius: 12px; font-size: 13px;
  background: rgba(12,17,36,.95); border: 1px solid var(--warn); color: var(--warn); transform: translate(-50%, 20px); opacity: 0; transition: .3s var(--ease);
}
.ph-tip.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 9px; font-size: 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .console { margin-left: -60px; width: 260px; }
}
@media (max-width: 980px) {
  :root { --nav-h: 62px; }
  .burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 6px); flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 18px; border: 1px solid var(--line-2); background: rgba(8,12,26,.96); box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 13px 14px; font-size: 16px; }
  .nav__links a::after { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .code__grid, .split-2, .wb { grid-template-columns: 1fr; gap: 32px; }
  .split-2 .sec-head, .wb .sec-head { text-align: center; margin-inline: auto; }
  .split-2--rev > :first-child { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section { padding: 92px 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .lang__btn span { display: none; }
  .lang__btn { width: 38px; padding: 0; justify-content: center; }
  .btn--lg { --bh: 50px; width: 100%; }
  .hero__ctas { flex-direction: column; }
  .demo { grid-template-columns: 1fr; }
  .phone { --pw: 264px; transform: none; }
  .row { font-size: 12px; gap: 8px; padding: 8px 10px; }
  .vision__screen { aspect-ratio: 1 / 1; }
  .demo:hover .phone { transform: none; }
  .console { margin: -70px 0 0; width: 100%; max-width: 330px; }
  .cards { grid-template-columns: 1fr; }
  .stats li { padding: 18px; }
  .devs { grid-template-columns: repeat(2, 1fr); }
  .devs .dev:nth-child(n+5) { display: none; }
  .win__body { grid-template-columns: 1fr; }
  .win__side { display: none; }
  .rd { grid-template-columns: 1fr; text-align: center; }
  .rd__wire { width: 2px; height: 36px; margin: 0 auto; }
  .rd__wire i { width: 100%; height: 30%; background: linear-gradient(180deg, transparent, var(--c1), transparent); transform: translateY(-100%); }
  @keyframes wire { to { transform: translateY(400%); } }
  .rd__desk { grid-template-columns: 1fr; row-gap: 10px; }
  .rd__input { min-width: 0; }
  .steps { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .price { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .code__pre { font-size: 12px; min-height: 0; padding: 16px; }
  .code__tab { padding: 8px 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   尊重「减少动态效果」：关闭所有动画 / 过渡，直接展示最终状态
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .card.reveal { opacity: 1; transform: none; }
  .js .split.is-split .ch { opacity: 1; transform: none; filter: none; animation: none; }
  .phone { animation: none; transform: none; }
  .hero__aurora i, .marquee__track, .btn--primary, .grad { animation: none !important; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 20px; }
  .marquee__track span[aria-hidden="true"] { display: none; }
  .cursor-glow { display: none; }
  .hw__pkt { display: none; }
}
