/* ═══════════════════════════════════════════════════════════
   LUCAS — 官网样式
   深墨底 + 暖金光 + 墨蓝强调；产品窗口是纸白，和背景形成对比。
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
  --bg: #06070a;
  --bg-soft: #0a0c11;
  --panel: #0c0f15;
  --panel-2: #11151d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-2: #a3abb9;
  --text-3: #6e7686;
  --gold: #f5c451;
  --gold-2: #ffe3a1;
  --ink: #7d84ff;
  --paper: #fbfbfd;
  --paper-line: #e2e6ee;
  --paper-text: #14171c;
  --paper-muted: #5a6270;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --maxw: 1180px;
  --nx: 0.5;
  --ny: 0.35;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.92em; }
::selection { background: rgba(245, 196, 81, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── 全局光标效果层 ─────────────────────────────────────── */

.trail,
.spotlight,
.grain { position: fixed; inset: 0; pointer-events: none; }

.trail { z-index: 60; width: 100%; height: 100%; }

.spotlight {
  z-index: 1;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 40%),
    rgba(245, 196, 81, 0.075),
    rgba(125, 132, 255, 0.03) 42%,
    transparent 68%
  );
  transition: opacity 0.4s var(--ease);
}

/* 极淡的胶片颗粒，压住大面积渐变的色带 */
.grain {
  z-index: 2;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 70;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--ink));
  box-shadow: 0 0 16px rgba(245, 196, 81, 0.6);
}

/* ── 导航 ───────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--maxw), calc(100% - 32px));
  padding: 10px 12px 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), padding 0.35s var(--ease), top 0.35s var(--ease);
}

.nav.is-stuck {
  top: 10px;
  background: rgba(10, 12, 17, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.brand__mark { width: 22px; height: 22px; color: var(--gold); }
.brand__name { color: var(--text); }

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text-2);
}
.nav__links a {
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ── 按钮 ───────────────────────────────────────────────── */

.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translate3d(var(--tx), var(--ty), 0) scale(var(--scale, 1));
  will-change: transform;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 16px 30px; font-size: 15.5px; }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 62%, #e5b23f);
  color: #1a1405;
  box-shadow: 0 10px 30px -12px rgba(245, 196, 81, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--primary:hover {
  --scale: 1.025;
  box-shadow: 0 16px 44px -14px rgba(245, 196, 81, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--primary svg { width: 16px; height: 16px; }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { --scale: 1.02; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 0 74px;
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: -10% -10% 0;
  z-index: -1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  transform: translate3d(calc(var(--nx, 0) * 12px), calc(var(--ny, 0) * 12px), 0);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 26%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 26%, #000 8%, transparent 72%);
  opacity: 0.9;
}

.hero__beam {
  position: absolute;
  left: 50%;
  top: -190px;
  width: 900px;
  height: 640px;
  margin-left: -450px;
  background: radial-gradient(closest-side, rgba(245, 196, 81, 0.34), rgba(245, 196, 81, 0.06) 58%, transparent 76%);
  filter: blur(28px);
  transform: translate3d(calc(var(--nx, 0) * -26px), calc(var(--ny, 0) * -18px), 0);
  opacity: 0.85;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--nx, 0) * 46px), calc(var(--ny, 0) * 34px), 0);
  background:
    radial-gradient(38% 34% at 16% 46%, rgba(125, 132, 255, 0.16), transparent 70%),
    radial-gradient(32% 30% at 84% 38%, rgba(245, 196, 81, 0.14), transparent 72%);
  filter: blur(10px);
}

.hero__ring {
  position: absolute;
  left: 50%;
  top: 240px;
  width: 1160px;
  height: 1160px;
  margin-left: -580px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: translate3d(calc(var(--nx, 0) * 8px), calc(var(--ny, 0) * 8px), 0);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(var(--maxw), calc(100% - 40px));
  text-align: center;
  transform: translate3d(calc(var(--nx, 0) * 4px), calc(var(--ny, 0) * 3px), 0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 196, 81, 0.16);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(245, 196, 81, 0.04); }
}

.hero__title {
  margin: 0;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 620;
}
.hero__title .line { display: block; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child > span {
  background: linear-gradient(96deg, #ffffff 42%, var(--gold-2) 72%, var(--gold) 92%, #ffd479);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.75;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-3);
}
.hero__meta li { display: flex; align-items: center; gap: 9px; }
.hero__meta li::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

/* 产品窗口舞台 */
.stage {
  position: relative;
  z-index: 4;
  width: min(1060px, calc(100% - 32px));
  margin: 52px auto 0;
  perspective: 1200px;
}

.stage__glow {
  position: absolute;
  inset: 8% 6% -12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 196, 81, 0.28), rgba(125, 132, 255, 0.14) 55%, transparent 78%);
  filter: blur(58px);
  opacity: 0.7;
  transform: translate3d(calc(var(--nx, 0) * 26px), calc(var(--ny, 0) * 18px), 0);
}

/* ── 产品窗口（纸白） ──────────────────────────────────── */

.app {
  --rx: 0deg; --ry: 0deg;
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 580px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--paper);
  color: var(--paper-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 50px 130px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--out);
  will-change: transform;
}
.app.is-tilting { transition: transform 0.08s linear; }

.app__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--paper-line);
  background: linear-gradient(180deg, #f7f8fb, #f2f4f8);
  font-size: 12.5px;
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d7dce6; }
.app__dots i:first-child { background: #e7b3a8; }
.app__title { font-weight: 600; letter-spacing: 0.06em; color: #2a2f39; white-space: nowrap; }
.app__title span { color: var(--paper-muted); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.app__chips { display: flex; gap: 6px; margin-left: auto; }
.chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef1f7;
  border: 1px solid #e0e5ee;
  color: #454e5e;
  font-size: 11.5px;
  font-family: var(--mono);
  white-space: nowrap;
}
.chip--ghost { background: transparent; border-style: dashed; color: var(--paper-muted); }

.app__body {
  display: flex;
  flex: 1;
  min-height: 0;
  transform: translateZ(28px);
  transform-style: preserve-3d;
}

.app__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 224px;
  padding: 14px 12px;
  border-right: 1px solid var(--paper-line);
  background: #f7f8fb;
  font-size: 12.5px;
}
.side__group {
  margin: 12px 8px 5px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d95a4;
}
.side__group:first-child { margin-top: 2px; }
.side__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #3c4453;
}
.side__item--active { background: #e8ebf3; color: #171b22; font-weight: 550; }
.side__dot { width: 6px; height: 6px; border-radius: 2px; background: #3a3fc4; }
.side__dot--dim { background: #b9c0cd; }
.side__session {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #4d5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side__session--live {
  position: relative;
  background: #eef0fb;
  color: #232a63;
  font-weight: 550;
}
.side__session--live em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #4b52c9;
  text-transform: uppercase;
}
.side__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4b52c9;
  animation: pulse2 1.6s ease-in-out infinite;
}
@keyframes pulse2 { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.side__foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 9px 2px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: #8d95a4;
}

.app__chat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
  padding: 22px 26px 76px;
  overflow: hidden;
}

.msg { max-width: 86%; font-size: 13.5px; line-height: 1.7; }
.msg--user {
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: #eceffb;
  color: #1d2340;
  border: 1px solid #dfe3f5;
}
.msg--agent { color: #2b313c; }
.msg--agent p { margin: 0 0 10px; }

.tool {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid var(--paper-line);
  background: #f6f7fa;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #4a5162;
}
.tool__name { color: #3a3fc4; font-weight: 600; }
.tool__state { margin-left: auto; color: #8d95a4; }
.tool__state--ok { color: #1f8a5b; }

.todo {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid #e4e7ef;
  background: #fbfbfd;
  font-size: 12px;
}
.todo__head {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8d95a4;
  margin-bottom: 8px;
}
.todo__row { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: #4a5162; }
.todo__row i {
  width: 12px; height: 12px; border-radius: 4px;
  border: 1.4px solid #c7cedb;
  flex: none;
}
.todo__row--done { color: #9299a7; text-decoration: line-through; }
.todo__row--done i { background: #3a3fc4; border-color: #3a3fc4; position: relative; }
.todo__row--done i::after {
  content: "";
  position: absolute; inset: 2px 2px auto;
  height: 3px;
  border-left: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  transform: rotate(-45deg) translate(1px, 1px);
}
.todo__row--now i { border-color: #3a3fc4; box-shadow: 0 0 0 3px rgba(58, 63, 196, 0.12); }
.todo__row--now { color: #1d2340; font-weight: 550; }

.subagent {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #dfe8e2;
  background: #f2f9f5;
  font-size: 11.5px;
  color: #2c6b4f;
}
.subagent__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 5px;
  background: #dcefe4;
  color: #226b4b;
}
.subagent__ok { font-weight: 700; color: #1f8a5b; }

.composer {
  position: absolute;
  inset: auto 26px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e6ee;
  background: #fff;
  box-shadow: 0 6px 20px -14px rgba(20, 23, 28, 0.4);
  font-size: 13px;
  color: #9299a7;
}
.composer__send {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #3a3fc4;
  color: #fff;
  font-size: 12px;
}

.app__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.5), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.app:hover .app__sheen { opacity: 1; }

/* ── 统计条 ─────────────────────────────────────────────── */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.stats__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 26px;
  border-left: 1px solid var(--line);
}
.stats__list li:first-child { border-left: 0; }
.stats__list b {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__list span { font-size: 13px; color: var(--text-3); }

/* ── 区块通用 ───────────────────────────────────────────── */

.section {
  position: relative;
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0;
}
.section__head { max-width: 640px; margin: 0 auto 58px; text-align: center; }
.section__head--left { margin: 0 0 52px; text-align: left; max-width: 720px; }
.section__eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section__title {
  margin: 0;
  font-size: clamp(28px, 4.1vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.section__lede {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.section__head--left .section__lede { margin-left: 0; }
.br-md { display: none; }
@media (min-width: 900px) { .br-md { display: inline; } }

/* ── 能力卡 ─────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  --rx: 0deg; --ry: 0deg;
  --mx: 50%; --my: 50%;
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 0.5s var(--out), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}
.card.is-tilting { transition: transform 0.09s linear, border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }

/* 光标聚光灯 */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(245, 196, 81, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
/* 边框高光 */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(245, 196, 81, 0.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover::before,
.card:hover::after { opacity: 1; }
.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px -40px rgba(245, 196, 81, 0.55);
  z-index: 2;
}

.card > * { position: relative; z-index: 1; }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  transition: transform 0.4s var(--out), color 0.3s, border-color 0.3s, background 0.3s;
}
.card__icon svg { width: 20px; height: 20px; }
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-6deg);
  color: #1a1405;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
}
.card__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* 悬停显现：描述默认压低，指针进入时揭开 */
.card__body {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--text-2);
  opacity: 0.55;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--out), color 0.35s;
}
.card:hover .card__body,
.card:focus-within .card__body { opacity: 1; transform: translateY(0); color: var(--text); }

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--out);
}
.card__more span { transition: transform 0.4s var(--out); }
.card:hover .card__more { opacity: 1; transform: translateY(0); }
.card:hover .card__more span { transform: translateX(4px); }

/* ── 工作流 ─────────────────────────────────────────────── */

.section--flow { padding-top: 40px; padding-bottom: 88px; }

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.flow__step { position: relative; }
.flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -2px;
  right: -15px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1;
}
.flow__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.flow__card {
  --rx: 0deg; --ry: 0deg;
  --mx: 50%; --my: 50%;
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--out), border-color 0.3s;
}
.flow__card.is-tilting { transition: transform 0.09s linear; }
.flow__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(125, 132, 255, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.flow__card:hover::before { opacity: 1; }
.flow__card > * { position: relative; z-index: 1; }
.flow__card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.flow__card p { margin: 0 0 20px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

.flow__demo {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
}
.bubble { padding: 7px 10px; border-radius: 8px; }
.bubble--user { background: rgba(125, 132, 255, 0.16); color: #c9cdff; align-self: flex-end; }
.bubble--agent { background: rgba(255, 255, 255, 0.05); color: var(--text-2); }
.bubble code { color: var(--gold-2); }

.diff-line { padding: 3px 8px; border-radius: 5px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.diff-line--del { background: rgba(255, 106, 106, 0.1); color: #ff9d9d; }
.diff-line--add { background: rgba(86, 214, 154, 0.1); color: #86e0b4; }

.flow__demo--agents { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(86, 214, 154, 0.22);
  background: rgba(86, 214, 154, 0.08);
  color: #a5e8c6;
  font-family: var(--font);
  font-size: 12px;
}
.agent-pill i { width: 6px; height: 6px; border-radius: 50%; background: #56d69a; }

/* ── 关于 ───────────────────────────────────────────────── */

.section--about {
  padding-top: 96px;
  padding-bottom: 96px;
}
.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 68px;
  align-items: center;
  perspective: 1200px;
}

.about__art {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  z-index: 0;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--out);
  will-change: transform;
}
.about__art.is-tilting { transition: transform 0.1s linear; }

.about__frame {
  position: relative;
  padding: 14px 14px 0;
  border-radius: 22px;
  background: #ffffff;
  transform: rotate(-2.4deg);
  box-shadow: 0 44px 90px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.65s var(--out), box-shadow 0.4s var(--ease);
}
.about__art:hover .about__frame {
  transform: rotate(0deg) scale(1.015);
  box-shadow: 0 54px 100px -50px rgba(0, 0, 0, 0.98), 0 0 0 1px rgba(245, 196, 81, 0.4);
}
.about__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.about__caption {
  display: block;
  padding: 12px 0 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d95a4;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--out);
}
.about__art:hover .about__caption { opacity: 1; transform: none; }

.about__glow {
  position: absolute;
  inset: 12% 2% -12%;
  z-index: -1;
  background: radial-gradient(58% 58% at 50% 50%, rgba(245, 196, 81, 0.4), rgba(125, 132, 255, 0.12) 58%, transparent 76%);
  filter: blur(48px);
  opacity: 0.55;
}

.about__copy .section__title { max-width: 540px; }
.about__text {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.about__tags li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-2);
}

/* ── 深入卡片（共享元素转场入口） ──────────────────────── */

.deep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.deep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: transform 0.45s var(--out), border-color 0.3s, box-shadow 0.4s var(--ease);
}
.deep-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 60px -44px rgba(245, 196, 81, 0.55);
}

.deep-card__cover {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 216px;
  padding: 20px;
  overflow: hidden;
  color: var(--text);
}
.deep-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 60%);
  pointer-events: none;
}
.deep-card__cover[data-cover="privacy"] {
  background:
    radial-gradient(80% 80% at 18% 10%, rgba(245, 196, 81, 0.5), transparent 62%),
    linear-gradient(140deg, #2a2110, #120f08 62%, #0b0a06);
}
.deep-card__cover[data-cover="agents"] {
  background:
    radial-gradient(80% 80% at 82% 12%, rgba(125, 132, 255, 0.5), transparent 62%),
    linear-gradient(140deg, #161a3a, #0d0f1e 62%, #08090f);
}
.deep-card__cover[data-cover="desktop"] {
  background:
    radial-gradient(80% 80% at 50% 6%, rgba(86, 214, 154, 0.4), transparent 60%),
    linear-gradient(140deg, #0f2a22, #0a1411 62%, #060a09);
}

.deep-card__tag {
  position: relative;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.24);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.deep-card__glyph {
  position: absolute;
  left: 50%;
  top: 56%;
  z-index: 1;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 0.7s var(--out), color 0.4s;
}
.deep-card__glyph svg { width: 100%; height: 100%; }
.deep-card:hover .deep-card__glyph { transform: rotate(-8deg) scale(1.08); }

.deep-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 20px;
}
.deep-card__foot h3 { margin: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.deep-card__arrow {
  color: var(--text-3);
  transition: transform 0.4s var(--out), color 0.3s;
}
.deep-card:hover .deep-card__arrow { transform: translate(3px, -3px); color: var(--gold); }

/* ── FAQ ────────────────────────────────────────────────── */

.section--faq { padding-top: 88px; padding-bottom: 40px; }
.faq-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.faq-head { position: sticky; top: 108px; }
.faq-head__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-3);
}
.faq-head__note code { color: var(--gold-2); }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: background 0.3s, border-color 0.3s;
}
.faq details[open] { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
  color: var(--text-2);
  transition: transform 0.4s var(--out), color 0.3s;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { color: var(--gold); }
.faq details[open] .faq__plus::after { transform: rotate(90deg) scaleY(0); }
.faq__body {
  padding: 0 22px 20px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-2);
}

/* ── CTA ────────────────────────────────────────────────── */

.cta {
  position: relative;
  isolation: isolate;
  margin-top: 60px;
  padding: 120px 20px 110px;
  text-align: center;
  overflow: clip;
  border-top: 1px solid var(--line);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(245, 196, 81, 0.16), transparent 70%),
    radial-gradient(40% 50% at 12% 90%, rgba(125, 132, 255, 0.12), transparent 72%);
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000, transparent 70%);
}
.cta__title {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 620;
  background: linear-gradient(100deg, #fff 30%, var(--gold-2) 78%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__lede {
  max-width: 520px;
  margin: 20px auto 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.cta__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cta__cmd {
  --tx: 0px; --ty: 0px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform 0.4s var(--out), border-color 0.3s;
}
.cta__cmd:hover { border-color: rgba(255, 255, 255, 0.24); }
.cta__cmd-label { color: var(--text-3); font-size: 12px; }
.cta__cmd code { color: var(--gold-2); }
.cta__note {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
}
.cta__note code { color: var(--text-2); }
.copy {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.copy:hover { background: var(--gold); border-color: transparent; color: #1a1405; }
.copy.is-done { background: #56d69a; border-color: transparent; color: #062015; }

/* ── Footer ─────────────────────────────────────────────── */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}
.foot__left { display: flex; align-items: center; gap: 10px; }
.foot__left .brand__mark { width: 18px; height: 18px; color: var(--gold); }
.foot__right { display: flex; align-items: center; gap: 20px; }
.foot__right a { transition: color 0.2s; }
.foot__right a:hover { color: var(--text); }
.foot__copy { color: var(--text-3); }

/* ── 详情层（共享元素转场的目标） ──────────────────────── */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.sheet[hidden] { display: none; }
.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.sheet.is-open .sheet__scrim { opacity: 1; }

.sheet__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.36s var(--ease), transform 0.5s var(--out);
  overscroll-behavior: contain;
}
.sheet.is-open .sheet__panel { opacity: 1; transform: none; }

.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.3s var(--out);
}
.sheet__close:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }

.sheet__cover {
  height: 240px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.sheet__cover .deep-card__glyph { top: 54%; width: 110px; height: 110px; margin: -55px 0 0 -55px; }

.sheet__body { padding: 30px 34px 36px; }
.sheet__body h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 620;
}
.sheet__lede { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.sheet__list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 14px; }
.sheet__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}
.sheet__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}
.sheet__list b { color: var(--text); margin-right: 8px; font-weight: 600; }
.sheet__list code { color: var(--gold-2); }
.sheet__note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}

/* View Transitions：接管时关闭手写过渡，交给浏览器 morph */
html.vt .sheet__panel { opacity: 1; transform: none; transition: none; }
html.vt .sheet__scrim { opacity: 1; transition: none; }
html.vt .sheet__cover { view-transition-name: deep-cover; }
html.vt .sheet__body { animation: sheetIn 0.44s var(--out) 0.08s both; }
@keyframes sheetIn {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

/* 封面是共享元素：旧快照立即让位，新快照不淡入，
   只留 group 的几何动画——看上去才是同一个形状在长大。 */
::view-transition-old(deep-cover) { animation: none; opacity: 0; }
::view-transition-new(deep-cover) { animation: none; mix-blend-mode: normal; }
/* 整页快照快速交接，避免与面板内容叠出重影 */
::view-transition-old(root) { animation-duration: 0.2s; }
::view-transition-new(root) { animation-duration: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ── 滚动显现 ─────────────────────────────────────────────
   用 animation 而不是 transition：卡片/画像本身的 transition 属于
   transform（倾斜、悬停），两者互不覆盖。 */

:where(html.js) :where([data-reveal]) { opacity: 0; }
:where(html.js) :where([data-reveal].is-in) {
  opacity: 1;
  animation: revealIn 0.95s var(--out) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes revealIn {
  from { opacity: 0; translate: 0 22px; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; filter: none; }
}

/* ── 特效被系统关掉时的提示条 ─────────────────────────── */

.motion-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(440px, calc(100% - 36px));
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(12, 15, 21, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
  animation: noticeIn 0.5s var(--out) 1.2s both;
}
@keyframes noticeIn {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.motion-notice__text { flex: 1; }
.motion-notice__on {
  flex: none;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1405;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.motion-notice__x {
  flex: none;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-3);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.motion-notice__x:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

/* ── 响应式 ─────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .cards, .flow, .deep { grid-template-columns: repeat(2, 1fr); }
  .flow__step:last-child, .deep-card:last-child { grid-column: span 2; }
  .hero { padding-top: 148px; }
  .app { height: 520px; }
  .about { grid-template-columns: 300px 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav { gap: 14px; padding-left: 14px; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .stats__list li:nth-child(3) { border-left: 0; }
  .stats__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .app { height: 460px; }
  .app__side { width: 190px; }
  .section { padding: 84px 0; }
  .cta { padding: 88px 20px 80px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 118px; }
  .hero__title { font-size: clamp(34px, 10.5vw, 52px); letter-spacing: -0.035em; }
  .hero__lede { font-size: 14.5px; }
  .stage { margin-top: 44px; }
  .app { height: 420px; }
  .app__side { display: none; }
  .app__title span { display: none; }
  .chip--ghost { display: none; }
  .app__chat { padding: 18px 18px 72px; }
  .cards, .flow, .deep { grid-template-columns: 1fr; }
  .flow__step:last-child, .deep-card:last-child { grid-column: auto; }
  .flow__step:not(:last-child)::after { content: "↓"; top: auto; right: auto; left: 50%; bottom: -16px; }
  .card__top { margin-bottom: 32px; }
  .deep-card__cover { height: 190px; }
  .about { grid-template-columns: 1fr; gap: 34px; }
  .about__art { max-width: 340px; margin: 0 auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .faq-head { position: static; }
  .sheet { padding: 12px; }
  .sheet__body { padding: 24px 22px 28px; }
  .sheet__cover { height: 190px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero__meta { gap: 6px 14px; font-size: 11.5px; }
  .btn--lg { padding: 14px 22px; font-size: 14.5px; }
  .cta__cmd { flex-wrap: wrap; justify-content: center; border-radius: 18px; padding: 12px; }
  .stats__list li { padding: 24px 18px; }
}

/* 触屏 / 关闭动效偏好 */
@media (hover: none) {
  .card__body { opacity: 0.86; transform: none; }
  .card::before, .card::after { display: none; }
  .spotlight { display: none; }
  .trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }
  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  html:not([data-motion="on"]) [data-reveal] { opacity: 1; }
  html:not([data-motion="on"]) .spotlight,
  html:not([data-motion="on"]) .trail,
  html:not([data-motion="on"]) .grain { display: none; }
  html:not([data-motion="on"]) .hero__grid,
  html:not([data-motion="on"]) .hero__beam,
  html:not([data-motion="on"]) .hero__aurora,
  html:not([data-motion="on"]) .hero__ring { transform: none; }
}
