/* 字体随站点一起托管（SIL OFL），不依赖 Google Fonts */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Orb API 首页 — 主题变量（换品牌色只改这里）
   ============================================================ */
:root {
  --bg: #090a10;
  --bg-2: #0e111b;
  --panel: #111626;
  --panel-2: #161c2f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1f3f8;
  --muted: #9aa1b5;
  --dim: #6c7389;
  --accent: #7f9cf5;          /* 主强调色：标题高亮词、链接 */
  --accent-2: #5b7cf0;
  --light-card: #eef0f6;      /* 浅色卡片 */
  --light-ink: #121a33;
  --particle: 91, 124, 240;   /* 首屏粒子颜色 RGB */
  --radius: 18px;
  --wrap: 1152px;
  --font: "Hanken Grotesk", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
/* 浅色主题：纸白底 + 墨蓝字 + 靛蓝强调，强调卡用淡靛蓝而不是反转成深色 */
[data-theme="light"] {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f0f2f8;
  --line: rgba(16, 24, 64, 0.08);
  --line-2: rgba(16, 24, 64, 0.14);
  --text: #121833;
  --muted: #545c78;
  --dim: #8a90a8;
  --accent: #4a5fe0;
  --accent-2: #3a4fd0;
  --light-card: #eef1ff;
  --light-ink: #121833;
  --particle: 70, 92, 220;
  --particle-boost: 1.45;
  --shadow-soft: 0 1px 2px rgba(16, 24, 64, .04), 0 10px 30px -14px rgba(16, 24, 64, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.section { padding: 110px 0; }

/* ---------- 通用组件 ---------- */
.pill {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel);
  font-size: 13px; letter-spacing: .06em; color: var(--text);
}
.h2 {
  margin-top: 18px; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.035em;
}
.hl { color: var(--accent); }
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 520px; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead.small { font-size: 15px; }
.head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; }
.head-split .lead { max-width: 360px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; font-size: 15px; font-weight: 600; transition: transform .2s, background .2s, border-color .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 34px; padding: 0 15px; font-size: 14px; border-radius: 10px; }
.btn-light { background: #f1f3f8; color: #111629; }
.btn-dark { background: rgba(17, 22, 38, .85); border: 1px solid var(--line-2); color: #f1f3f8; }
.btn-ink { background: #111629; color: #fff; }
.btn-outline { border: 1px solid rgba(17, 22, 41, .18); color: #111629; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- 鼠标手电筒 ---------- */
/* 光圈大小 / 亮度 / 周围压暗程度都在这里调 */
.spotlight {
  --mx: 50vw; --my: 40vh;
  --spot-size: 460px;
  --spot-glow: rgba(150, 175, 255, .14);
  --spot-dim: rgba(4, 5, 10, .2);
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  opacity: 0; transition: opacity .4s ease;
  background:
    radial-gradient(var(--spot-size) circle at var(--mx) var(--my), var(--spot-glow), transparent 70%),
    radial-gradient(calc(var(--spot-size) * 1.6) circle at var(--mx) var(--my), transparent 35%, var(--spot-dim) 100%);
}
.spotlight.is-on { opacity: 1; }
[data-theme="light"] .spotlight {
  --spot-glow: rgba(120, 145, 245, .14);
  --spot-dim: rgba(20, 24, 40, .08);
}
/* 卡片被照到时边框跟着亮 */
.card, .plan, .mini, .stat, .team, .console { --cx: -999px; --cy: -999px; }
.card::before, .plan::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; background: radial-gradient(260px circle at var(--cx) var(--cy), rgba(160, 185, 255, .55), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan { position: relative; }
@media (hover: none), (pointer: coarse) {
  .spotlight { display: none; }
}

/* 滚动出现 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 导航（滚动后收缩成悬浮胶囊） ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px 0; transition: padding .35s; }
.nav-inner {
  margin: 0 auto; max-width: 1240px; height: 56px; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; border-radius: 16px;
  border: 1px solid transparent; transition: max-width .45s cubic-bezier(.2,.8,.2,1), background .35s, border-color .35s;
}
.nav.is-compact .nav-inner {
  max-width: 810px; background: rgba(17, 25, 45, .82); border-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
[data-theme="light"] .nav.is-compact .nav-inner { background: rgba(255,255,255,.85); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.brand img { border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-tools { display: flex; align-items: center; gap: 12px; padding-left: 18px; border-left: 1px solid var(--line); }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--text); }
.icon-btn:hover { background: var(--panel-2); }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 34% 30% at 50% 50%, color-mix(in srgb, var(--bg) 72%, transparent), transparent 75%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.hero-eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.hero-word {
  margin-top: 6px; font-size: clamp(4rem, 13vw, 10rem); font-weight: 900; line-height: .95;
  letter-spacing: -0.04em; color: rgba(235, 238, 245, .86);
}
[data-theme="light"] .hero-word { color: rgba(17, 22, 41, .9); }
.hero-sub { margin: 26px auto 0; max-width: 560px; font-size: 19px; color: var(--muted); }
.hero-sub em { font-style: normal; color: var(--accent); }
.hero-actions { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .14em; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 32px; background: linear-gradient(var(--muted), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 控制台预览 ---------- */
#console .center { margin-bottom: 56px; }
.console {
  max-width: 1030px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0,0,0,.7);
}
.console-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.console-url {
  margin: 0 auto; display: flex; align-items: center; gap: 8px; min-width: 320px; padding: 6px 14px;
  border-radius: 10px; background: var(--panel-2); font: 13px var(--mono); color: var(--muted);
}
.console-url svg, .console-icons svg { width: 14px; height: 14px; }
.console-icons { display: flex; gap: 12px; color: var(--muted); }
.console-body { display: grid; grid-template-columns: 200px 1fr; }
.console-side { padding: 20px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.console-title { padding: 0 10px 12px; font-weight: 600; }
.console-title small { margin-left: 6px; font-weight: 400; color: var(--muted); font-size: 12px; }
.side-item { text-align: left; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; transition: background .25s, color .25s; }
.side-item:hover { color: var(--text); }
.side-item.is-active { background: var(--panel-2); color: var(--text); }
.console-main { padding: 24px; display: grid; gap: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 6px; }
.mini p { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.mini strong { font: 600 24px var(--mono); letter-spacing: -0.02em; }
.mini small { font-size: 12px; color: var(--muted); }
.mini em { font-style: normal; color: var(--accent); }
.mini-hl { background: var(--light-card); color: var(--light-ink); border-color: transparent; }
.mini-hl p, .mini-hl small { color: rgba(18, 26, 51, .65); }
.tag { font-weight: 500; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(18,26,51,.08); color: inherit; }
.bar { height: 5px; border-radius: 9px; background: rgba(18,26,51,.12); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--light-ink); border-radius: inherit; }
.bar-78 { width: 78%; }
.chart { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.chart p { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.chart b { font: 500 12px var(--mono); color: var(--text); }
.chart svg { margin-top: 10px; width: 100%; height: 90px; }
.chart-line { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-fill { fill: rgba(127, 156, 245, .1); stroke: none; }
.console-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); margin-left: 200px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--panel-2); font-size: 12px; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  overflow: hidden; padding: 70px 0; border-top: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee-track span {
  padding: 0 46px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em;
  border-right: 1px solid var(--line-2); line-height: 1;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 能力数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 44px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong, .stat > b { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat h3 { margin-top: 18px; font-size: 16px; font-weight: 500; }
.stat p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Bento 卡片 ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento .card-wide { grid-column: span 2; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card-wide { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.card-light { background: var(--light-card); color: var(--light-ink); border-color: transparent; }
.card-light p { color: rgba(18, 26, 51, .7); }
.card-light .chips span { background: rgba(18, 26, 51, .08); color: rgba(18, 26, 51, .78); }
.card-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #f1f3f8; color: #111629; }
.card-light .card-icon { background: rgba(18, 26, 51, .08); color: inherit; }
.card-icon svg { width: 18px; height: 18px; }
.card h3 { margin-top: 26px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 11px; border-radius: 999px; background: var(--panel-2); font-size: 13px; color: var(--muted); }
.card p { margin-top: 22px; font-size: 15px; color: var(--muted); }
.card-spark { width: 100%; height: 90px; }
.card-spark path { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s ease; }
.card.is-in .card-spark path { stroke-dashoffset: 0; }
.card-code { margin: 0; padding: 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font: 13px/1.9 var(--mono); color: var(--muted); }
.card-code i { font-style: normal; color: var(--accent); }
.card-code code, .code-pane code, .steps code { font-family: var(--mono); }

/* ---------- 方案卡 ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  display: flex; flex-direction: column; padding: 30px 24px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan-light { background: var(--light-card); color: var(--light-ink); border-color: transparent; }
.plan-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.num { font: 13px var(--mono); letter-spacing: .2em; color: var(--muted); }
.plan-light .num { color: rgba(18, 26, 51, .6); }
.plan-light .tag { background: rgba(18, 26, 51, .08); }
.plan h3 { margin-top: 18px; font-size: 20px; font-weight: 700; }
.plan p { margin-top: 18px; font-size: 15px; color: var(--muted); }
.plan-light p, .plan-light small { color: rgba(18, 26, 51, .66); }
.plan hr { width: 100%; margin: 22px 0 18px; border: 0; border-top: 1px solid var(--line-2); }
.plan small { font-size: 13px; color: var(--muted); }
.plan a { margin-top: auto; padding-top: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--accent); }
.plan-light a { color: inherit; }
.plan a svg { width: 13px; height: 13px; }

/* ---------- 快速开始 ---------- */
.quick { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.steps li > span {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
  background: #f1f3f8; color: #111629; font-size: 13px; font-weight: 700;
}
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.steps code { display: inline-block; margin-top: 12px; padding: 4px 9px; border-radius: 7px; background: var(--panel-2); font: 13px var(--mono); }
.models-line { margin-top: 36px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.models-line svg { width: 14px; height: 14px; color: var(--accent); }
.code-box { border-radius: var(--radius); overflow: hidden; background: #0f1a3a; border: 1px solid rgba(127,156,245,.18); }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.code-tab { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: #9aa6c8; transition: background .2s, color .2s; }
.code-tab.is-active { background: #f1f3f8; color: #111629; }
.copy-btn { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #9aa6c8; }
.copy-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.is-done { color: #6ee7a8; }
.code-pane { display: none; margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 14px/1.75 var(--mono); color: #dfe5f7; }
.code-pane.is-active { display: block; }
.code-pane k { color: #c4a6ff; }
.code-pane f { color: #7fb4ff; }
.code-pane s { color: #a8c6ff; text-decoration: none; }
.code-pane n { color: #ffc28a; }

/* ---------- 团队 ---------- */
.team {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line);
}
.team-art { border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 50%, var(--panel-2), var(--bg)); border: 1px solid var(--line); }
.team-art svg { display: block; width: 100%; }
.rings circle { stroke: var(--line-2); stroke-width: 1; }
.links path { stroke: var(--dim); stroke-width: 1; }
.nodes circle { fill: var(--muted); stroke: none; }
.nodes .core { fill: var(--text); }
.rings { transform-origin: 200px 150px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.team-text .link-arrow { margin-top: 28px; }

/* ---------- 结尾 CTA ---------- */
.cta {
  text-align: center; padding: 96px 32px; border-radius: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #ffffff, #e9ecf4); color: #111629;
}
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.cta p { margin: 20px auto 0; max-width: 420px; font-size: 17px; color: #5a6178; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer-cols { display: flex; gap: 80px; }
.footer-cols div { display: grid; gap: 12px; align-content: start; }
.footer-cols h4 { font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--dim); margin-bottom: 4px; }
.footer-cols a { font-size: 15px; color: var(--muted); }
.footer-cols a:hover { color: var(--text); }
.footer-bar {
  margin-top: 48px; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 14px; color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-tools { margin-left: auto; border-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .bento .card-wide { grid-column: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .quick, .team { grid-template-columns: 1fr; }
  .head-split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .console-foot { margin-left: 0; }
  .console-url { min-width: 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stat strong, .stat > b { font-size: 48px; }
  .marquee-track span { font-size: 24px; padding: 0 28px; }
  .team { padding: 22px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .footer-bar { flex-direction: column; gap: 6px; }
}

/* ============================================================
   浅色主题细节
   ============================================================ */
[data-theme="light"] .hero {
  background: radial-gradient(ellipse 75% 60% at 50% 48%, #eaeeff 0%, rgba(234, 238, 255, 0) 70%);
}
[data-theme="light"] .hero-word {
  background: linear-gradient(180deg, #121833 30%, #3b4aa8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="light"] .hero-sub { color: #4a5270; }

/* 按钮：主按钮用墨蓝实心，次按钮用白底描边 */
[data-theme="light"] .btn-light { background: #121833; color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 24, 51, .5); }
[data-theme="light"] .btn-dark { background: #fff; color: #121833; border-color: var(--line-2); box-shadow: var(--shadow-soft); }
[data-theme="light"] .nav-tools .btn-light { box-shadow: none; }
[data-theme="light"] .nav.is-compact .nav-inner { box-shadow: 0 8px 30px -16px rgba(16, 24, 64, .25); }

/* 卡片与面板：白底 + 细边 + 柔和投影 */
[data-theme="light"] .pill,
[data-theme="light"] .card,
[data-theme="light"] .plan,
[data-theme="light"] .console,
[data-theme="light"] .team { box-shadow: var(--shadow-soft); }
[data-theme="light"] .console { box-shadow: 0 30px 80px -40px rgba(16, 24, 64, .3); }
[data-theme="light"] .mini,
[data-theme="light"] .chart { background: #fafbff; }
[data-theme="light"] .chart-fill { fill: rgba(74, 95, 224, .1); }
[data-theme="light"] .chips span { background: #f0f2f8; color: #545c78; }
[data-theme="light"] .card-icon { background: #eef1ff; color: var(--accent); }
[data-theme="light"] .card-code { background: #f5f7ff; color: #545c78; }

/* 强调卡：淡靛蓝渐变 */
[data-theme="light"] .card-light,
[data-theme="light"] .plan-light,
[data-theme="light"] .mini-hl {
  background: linear-gradient(155deg, #eef1ff 0%, #e2e7ff 100%);
  border: 1px solid rgba(74, 95, 224, .16);
}
[data-theme="light"] .card-light p,
[data-theme="light"] .plan-light p,
[data-theme="light"] .plan-light small,
[data-theme="light"] .mini-hl p,
[data-theme="light"] .mini-hl small { color: #4a5270; }
[data-theme="light"] .card-light .chips span { background: rgba(74, 95, 224, .1); color: #3b4aa8; }
[data-theme="light"] .card-light .card-icon { background: #fff; color: var(--accent); }
[data-theme="light"] .plan-light .tag,
[data-theme="light"] .mini-hl .tag { background: rgba(74, 95, 224, .14); color: var(--accent); }
[data-theme="light"] .plan-light a { color: var(--accent); }
[data-theme="light"] .plan-light .num { color: #6a74a8; }
[data-theme="light"] .mini-hl .bar { background: rgba(74, 95, 224, .15); }
[data-theme="light"] .mini-hl .bar i { background: var(--accent); }

/* 快速开始：步骤编号墨蓝，代码框保留深色 */
[data-theme="light"] .steps li > span { background: #121833; color: #fff; }
[data-theme="light"] .steps code { background: #eef1ff; color: #3b4aa8; }
[data-theme="light"] .code-box { background: #151b3d; border-color: transparent; box-shadow: 0 24px 60px -30px rgba(21, 27, 61, .55); }

/* 团队配图 */
[data-theme="light"] .team-art { background: radial-gradient(circle at 50% 50%, #ffffff, #eef1ff); }

/* 跑马灯 */
[data-theme="light"] .marquee-track span { color: #1f2747; }

/* 结尾 CTA：浅色背景上改用靛蓝渐变，和页面拉开层次 */
[data-theme="light"] .cta {
  background: radial-gradient(ellipse 80% 90% at 50% 0%, #5d70f2 0%, #3442b8 55%, #232c80 100%);
  color: #fff; box-shadow: 0 30px 80px -40px rgba(35, 44, 128, .6);
}
[data-theme="light"] .cta p { color: rgba(255, 255, 255, .78); }
[data-theme="light"] .cta .btn-ink { background: #fff; color: #232c80; }
[data-theme="light"] .cta .btn-outline { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* 页脚 */
[data-theme="light"] .footer { background: #fff; }
[data-theme="light"] .footer-bar { background: #f7f8fc; }

/* 手电筒：浅色下用靛蓝微光 */
[data-theme="light"] .spotlight {
  --spot-glow: rgba(74, 95, 224, .09);
  --spot-dim: rgba(16, 24, 64, .045);
}
[data-theme="light"] .card::before,
[data-theme="light"] .plan::before {
  background: radial-gradient(260px circle at var(--cx) var(--cy), rgba(74, 95, 224, .5), transparent 70%);
}
