/* ============================================================
   Feng API · 展示层（v4 · 柔和自然风）
   参考 adaline.ai：米白纸感底色、深林绿、药丸按钮、大留白、
   圆角媒体框、渐变柔光、克制的滚动显现
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-2: #fdfbf6;
  --ink: #101e17;
  --ink-2: #5c6a62;
  --ink-3: #8b968f;
  --forest: #16382a;
  --forest-2: #0e2a1f;
  --mint: #e7f0da;
  --mint-2: #d8e8c4;
  --line: #e5e0d1;
  --line-2: #efeade;
  --brand: #1ebd44;
  --white: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-s: 0 1px 2px rgba(16, 30, 23, 0.04), 0 8px 24px -12px rgba(16, 30, 23, 0.12);
  --shadow-m: 0 2px 4px rgba(16, 30, 23, 0.04), 0 24px 60px -28px rgba(16, 30, 23, 0.28);
  --shadow-l: 0 40px 120px -40px rgba(16, 30, 23, 0.45);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #12140f;
  --paper-2: #191c16;
  --ink: #eef1e6;
  --ink-2: #a9b2a5;
  --ink-3: #7d8779;
  --forest: #d9e8c4;
  --forest-2: #eef1e6;
  --mint: #232b1d;
  --mint-2: #2e3826;
  --line: #2a2f25;
  --line-2: #232820;
  --white: #191c16;
  --shadow-m: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
main, header, footer { position: relative; z-index: 1; }
section[id] { scroll-margin-top: 92px; }
.hero-in > *, .status-grid > *, .faq-grid > *, .steps > *, .feat-row > *, .showcase, .table-card { min-width: 0; }

a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-3); }
::selection { background: var(--mint-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

/* ---------------- 顶栏 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-head.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); }
.head-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; display: block; }
.nav { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav a { transition: color 0.2s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.link-quiet { font-size: 14px; color: var(--ink-2); padding: 8px 4px; }
.link-quiet:hover { color: var(--ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid transparent; border-radius: 999px; background: transparent;
  color: var(--ink-2); cursor: pointer; transition: 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--line); background: var(--paper-2); color: var(--ink); }
.only-mobile { display: none !important; }
.mobile-nav { display: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; }
.btn-dark { background: var(--forest); color: var(--paper); box-shadow: 0 1px 2px rgba(16, 30, 23, 0.2); }
html[data-theme="dark"] .btn-dark { color: #12140f; }
.btn-dark:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(16, 30, 23, 0.55); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--paper-2); border-color: var(--ink-3); transform: translateY(-1px); }
.btn-light { background: var(--paper); color: #16382a; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn .i { width: 15px; height: 15px; }

/* ---------------- HERO ---------------- */
.hero { padding: 88px 0 0; overflow: clip; }
.hero-in { display: grid; grid-template-columns: 0.98fr 1.02fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--mint); color: #2c4a34;
  font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em;
  transition: background 0.2s var(--ease);
}
html[data-theme="dark"] .pill { color: var(--ink); }
.pill:hover { background: var(--mint-2); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pill .i { width: 12px; height: 12px; opacity: 0.7; }

h1 {
  margin: 22px 0 0;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 500;
}
h1 .soft { color: #4e5d54; }
html[data-theme="dark"] h1 .soft { color: var(--ink-2); }
.lede { margin: 22px 0 0; max-width: 470px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.lede code {
  padding: 1px 6px; border-radius: 6px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 0.88em; color: var(--ink);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta-row.center { justify-content: center; }

.endpoint {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
}
.endpoint-label { font: 500 9.5px/1 var(--mono); letter-spacing: 0.16em; color: var(--ink-3); }
.endpoint code { font: 400 12.5px/1 var(--mono); color: var(--ink); }
.copy {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2); cursor: pointer; transition: 0.2s var(--ease);
}
.copy:hover { color: var(--ink); border-color: var(--ink-3); }
.copy.ok { color: var(--brand); border-color: var(--brand); }

.hero-art { position: relative; }
.hero-img {
  display: block; width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
  border-radius: 26px; box-shadow: var(--shadow-m);
  transform: translateY(0); will-change: transform;
}
.float-code {
  position: absolute; left: -34px; bottom: -34px; width: min(360px, 78%);
  border-radius: 16px; overflow: hidden;
  background: #0f1512; color: #e7ece7;
  box-shadow: var(--shadow-l);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fc-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 400 10.5px/1 var(--mono); color: #8b968f;
}
.fc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.fc-status { margin-left: auto; color: var(--brand); }
.fc-body { margin: 0; padding: 12px 14px; font: 400 11.4px/1.75 var(--mono); color: #d6ded8; }
.fc-body .c { color: #6f7b73; }
.fc-body .k { color: #9fd8a8; }
.fc-body .s { color: #e4e9e0; }
.fc-foot {
  display: flex; gap: 14px; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 400 10px/1 var(--mono); color: #7f8a82;
}
.fc-stream { margin-left: auto; color: var(--brand); }

/* ---------------- LOGO MARQUEE ---------------- */
.logos { margin-top: 104px; padding: 36px 0 12px; border-top: 1px solid var(--line); }
.logos-label {
  text-align: center; font: 500 10px/1 var(--mono); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px;
}
.marquee { 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; align-items: center; gap: 0; width: max-content;
  animation: slide 34s linear infinite;
  font-size: 17px; letter-spacing: -0.01em; color: var(--ink-2); font-weight: 500;
  opacity: 0.9;
}
.marquee-track > * { margin-right: 34px; font-style: normal; }
.marquee-track i { color: var(--ink-3); opacity: 0.6; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- 章节 ---------------- */
.section { padding: 124px 0; }
.section-tint { background: color-mix(in srgb, var(--mint) 34%, var(--paper)); }
.sec-head { max-width: 620px; }
.sec-head.tight { max-width: 420px; }
.eyebrow {
  margin: 0 0 18px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
}
h2 {
  margin: 0; font-size: clamp(32px, 3.9vw, 48px); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 500;
}
.sub { margin: 18px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }

/* 三列特性 */
.feat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.feat { padding-top: 22px; border-top: 1px solid var(--line); }
.feat-i { display: inline-flex; color: var(--ink-3); margin-bottom: 16px; }
.feat-i .i { width: 20px; height: 20px; }
.feat h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.feat p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }

/* 产品展示 */
.showcase { position: relative; margin-top: 64px; padding: 56px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-m); }
.showcase-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 248, 242, 0.06), rgba(250, 248, 242, 0.52)); }
.terminal {
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto;
  border-radius: 18px; overflow: hidden; background: #0e1310;
  box-shadow: 0 50px 100px -40px rgba(16, 30, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.t-bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.t-tabs { display: flex; gap: 2px; }
.t-tab {
  border: 0; background: transparent; color: #7f8a82; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: 0.06em; padding: 6px 10px; border-radius: 7px;
  transition: 0.2s var(--ease);
}
.t-tab:hover { color: #dfe6df; }
.t-tab.is-on { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.t-code { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); color: var(--brand); }
.t-code i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.t-body { display: none; margin: 0; padding: 18px 20px 0; font: 400 12.4px/1.85 var(--mono); color: #dbe3dc; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.t-body.is-on { display: block; }
.t-body .c { color: #6f7b73; }
.t-body .k { color: #9fd8a8; }
.t-body .s { color: #e6ebe5; }
.t-resp { margin-top: 16px; padding: 14px 20px 18px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.t-resp-label { display: block; margin-bottom: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: 0.18em; color: #6f7b73; }
.t-json { margin: 0; font: 400 11.6px/1.8 var(--mono); color: #b9c4bb; white-space: pre-wrap; }
.t-json .k { color: #9fd8a8; }
.t-json .s { color: #e6ebe5; }

/* 三步 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { padding: 28px; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.step-n { display: inline-block; margin-bottom: 18px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.16em; color: var(--ink-3); }
.step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.step p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.step-code { display: inline-block; padding: 8px 11px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); font: 400 11.5px/1 var(--mono); color: var(--ink); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 72px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.metrics dt { font: 500 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.metrics dd { margin: 14px 0 0; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.metrics dd span { font-size: 15px; color: var(--ink-2); }

/* 表格 */
.table-card { margin-top: 48px; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden; }
.table-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 20px 0; }
.field { display: flex; align-items: center; gap: 9px; flex: 1 1 240px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-3); }
.field:focus-within { border-color: var(--ink-3); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--font); font-size: 13.5px; }
.select-wrap { position: relative; }
.select { height: 40px; padding: 0 32px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 400 12.5px/1 var(--mono); appearance: none; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 14px; top: 16px; width: 6px; height: 6px; border-right: 1.4px solid var(--ink-3); border-bottom: 1.4px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; }
.count { font: 400 11px/1 var(--mono); color: var(--ink-3); }
.tag-demo { padding: 5px 9px; border-radius: 999px; background: var(--mint); color: #2c4a34; font: 500 10px/1 var(--mono); letter-spacing: 0.06em; }
html[data-theme="dark"] .tag-demo { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 4px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: 400 11.5px/1 var(--mono); cursor: pointer; transition: 0.18s var(--ease); }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--paper); }
html[data-theme="dark"] .chip.is-on { color: #12140f; }

.table-wrap { overflow-x: auto; padding: 12px 8px 8px; }
table { width: 100%; border-collapse: collapse; font-size: 13.6px; }
thead th { padding: 12px 14px; text-align: left; white-space: nowrap; font: 500 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
tbody td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s var(--ease); }
tbody tr:hover { background: color-mix(in srgb, var(--mint) 40%, transparent); }
.r { text-align: right; font-variant-numeric: tabular-nums; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--ink); }
.sort-ind { display: inline-block; width: 0; height: 0; margin-left: 6px; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid currentColor; opacity: 0; vertical-align: middle; transition: 0.15s; }
th.is-sorted .sort-ind { opacity: 0.8; }
th.is-asc .sort-ind { transform: rotate(180deg); }
.model { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.model .vendor { padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); font: 400 9.5px/1 var(--mono); letter-spacing: 0.04em; }
.price { font-family: var(--mono); font-size: 12.8px; color: var(--ink); }
.price small { color: var(--ink-3); font-size: 10.5px; }
.empty { padding: 34px; text-align: center; color: var(--ink-3); }
.foot-note { margin: 14px 0 0; font: 400 11px/1.7 var(--mono); color: var(--ink-3); }

/* 状态 */
.status-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.status-card { border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-s); padding: 8px 22px 12px; }
.status-top { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: var(--mint); color: #2c4a34; font: 500 10.5px/1 var(--mono); letter-spacing: 0.06em; }
html[data-theme="dark"] .status-pill { color: var(--ink); }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.status-pill.warn { background: #faf0d6; color: #7a5a12; } .status-pill.warn i { background: #d9a220; }
.status-pill.bad { background: #fbe4e0; color: #8c2f24; } .status-pill.bad i { background: #d9534f; }
.status-time { font: 400 11px/1 var(--mono); color: var(--ink-3); }
.status-count { margin-left: auto; font: 400 10.5px/1 var(--mono); color: var(--ink-3); }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: grid; grid-template-columns: 8px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.status-list li:last-child { border-bottom: 0; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.dot.ok { background: var(--brand); } .dot.warn { background: #d9a220; } .dot.bad { background: #d9534f; }
.status-list .nm { font-size: 14px; font-weight: 500; }
.status-list .meta { font: 400 11px/1 var(--mono); color: var(--ink-3); }
.bar { width: 96px; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.status-list .status-empty { grid-template-columns: 8px 1fr; align-items: start; }
.status-empty b { display: block; font-size: 14px; font-weight: 500; }
.status-empty small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; max-width: 460px; }
.status-empty .dot { margin-top: 8px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--ink-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq p { margin: 0 0 20px; max-width: 560px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* CTA */
.cta { position: relative; margin: 40px 0 0; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 26, 52, 0.32), rgba(30, 26, 52, 0.55)); }
.cta-in { position: relative; text-align: center; color: #f6f4ec; }
.cta h2 { color: #f6f4ec; font-size: clamp(32px, 4vw, 50px); }
.cta p { margin: 16px 0 30px; color: rgba(246, 244, 236, 0.78); font-size: 15.5px; }

/* 页脚 */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 0; overflow: hidden; }
.foot-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.foot-brand img { border-radius: 7px; }
.foot-nav { display: flex; gap: 24px; font-size: 13.5px; color: var(--ink-2); }
.foot-nav a:hover { color: var(--ink); }
.copyright { margin-left: auto; font: 400 10.5px/1 var(--mono); color: var(--ink-3); white-space: nowrap; }
.foot-mark {
  margin-top: 48px; font-size: clamp(64px, 15vw, 190px); line-height: 0.8; font-weight: 500;
  letter-spacing: -0.05em; color: var(--ink); opacity: 0.07; white-space: nowrap;
  transform: translateY(12%);
}

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ---------------- 响应式 ---------------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-in { gap: 30px; }
  .hero-copy h1 { font-size: clamp(32px, 4.2vw, 46px); }
  .hero-copy .lede { font-size: 14px; }
  .pw-code { font-size: 10.2px; }
  .pw-pane-head { padding: 8px 12px; }
}
@media (max-width: 1024px) {
  .hero { padding-top: 48px; }
  .hero-art { order: 2; }
  .float-code { left: 12px; bottom: -24px; width: min(340px, 86%); }
  .status-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-row { gap: 28px; }
  .showcase { padding: 32px; }
  .section { padding: 84px 0; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .only-mobile { display: inline-grid !important; }
  .link-quiet { display: none; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 6px 28px 16px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { padding: 12px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
  .feat-row, .steps { grid-template-columns: 1fr; gap: 24px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 620px) {
  .shell { padding: 0 20px; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(34px, 10vw, 44px); }
  .showcase { padding: 18px; border-radius: 20px; }
  .float-code { position: static; width: 100%; margin-top: 16px; }
  .logos { margin-top: 48px; }
  .table-tools { padding: 14px 14px 0; }
  .chips { padding: 12px 14px 2px; }
  .cta { padding: 84px 0; }
  .copyright { margin-left: 0; }
}

/* 截图/无动画模式（?still=1） */
html.still .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.still .marquee-track { animation: none !important; }

/* ---------------- Hero 产品用量浮层 ---------------- */
.float-usage {
  position: absolute; right: -26px; top: 22px; width: 232px;
  padding: 14px 14px 12px; border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
}
.fu-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fu-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-left: auto; }
.fu-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.fu-row b { font: 500 12px/1 var(--mono); color: var(--ink); }
.fu-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fu-bar { height: 4px; margin-top: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fu-bar i { display: block; height: 100%; width: 62%; border-radius: 999px; background: linear-gradient(90deg, var(--forest), #3f7c5a); }

/* ---------------- 滚动缩放章节 ---------------- */
.pinned { position: relative; height: 190vh; }
.pinned-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.pinned-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); will-change: transform; }
.pinned-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 26, 19, 0.42), rgba(12, 26, 19, 0.78)); }
.pinned-copy { position: relative; z-index: 1; max-width: 660px; padding: 0 24px; text-align: center; color: #f6f4ec; }
.pinned-copy .eyebrow { color: rgba(246, 244, 236, 0.62); }
.pinned-copy h2 { color: #f6f4ec; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.pinned-copy > p { margin: 20px auto 0; max-width: 520px; color: rgba(246, 244, 236, 0.78); font-size: 15.5px; line-height: 1.8; }
.pinned-metrics { display: flex; justify-content: center; gap: 56px; margin: 42px 0 0; }
.pinned-metrics dd { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pinned-metrics dd span { font-size: 14px; opacity: 0.7; margin-left: 2px; }
.pinned-metrics dt { margin-top: 6px; font: 400 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 244, 236, 0.55); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-bottom: 20px; }
  .hero-copy { max-width: 640px; }
  .float-usage { display: none; }
  .pinned { height: auto; }
  .pinned-sticky { position: relative; height: auto; padding: 96px 0; }
  .pinned-media { position: absolute; inset: 0; }
  .pinned-metrics { gap: 28px; margin-top: 30px; }
  .pinned-metrics dd { font-size: 24px; }
}
/* 浮层压在插画之上（插画有 transform 会提升层叠上下文） */
.hero-art { isolation: isolate; }
.hero-img { position: relative; z-index: 0; }
.float-usage { z-index: 3; }
.float-code { z-index: 4; }

/* ---------- 移动端：模型表卡片化 ---------- */
@media (max-width: 620px) {
  .table-wrap { padding: 10px 14px 14px; overflow: visible; }
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody tr {
    border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
    padding: 12px 14px; margin-bottom: 10px;
  }
  .table-wrap tbody td {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 0; padding: 5px 0; text-align: right;
  }
  .table-wrap tbody td::before {
    content: attr(data-label);
    font: 400 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-3); text-align: left;
  }
  .table-wrap tbody td.cell-model {
    border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 4px;
    display: block; text-align: left;
  }
  .table-wrap tbody td.cell-model::before { content: ""; }
  .table-wrap .model { justify-content: flex-start; font-size: 14.5px; }
  .table-wrap tbody tr:hover { background: var(--paper); }
  .table-wrap .empty { border: 0; }
}

/* ---------- 手机端专项 ---------- */
.brand, .brand span { white-space: nowrap; }

@media (max-width: 620px) {
  /* 触控尺寸与避免 iOS 输入聚焦缩放 */
  .field, .select { height: 44px; }
  .field input, .select { font-size: 16px; }

  /* 终端代码改为横向滚动，避免逐字换行 */
  .t-body, .t-json { white-space: pre; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 11.2px; }
  .terminal { border-radius: 14px; }
  .showcase { border-radius: 18px; }

  /* 表格卡片更紧凑 */
  .table-wrap tbody tr { padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; }
  .table-wrap tbody td { padding: 3px 0; }
  .table-wrap tbody td.cell-model { padding-bottom: 8px; }
  .table-wrap .model { font-size: 14px; }

  .foot-mark { font-size: 92px; transform: translateY(8%); }
  .cta { padding: 72px 0; }
  .pinned-copy h2 { font-size: clamp(28px, 8.4vw, 40px); }
}

@media (max-width: 420px) {
  .head-in { gap: 8px; height: 64px; }
  .head-actions { gap: 4px; }
  .head-actions .btn { height: 38px; padding: 0 12px; font-size: 12.5px; }
  .head-actions .btn .i { width: 13px; height: 13px; }
  #themeBtn { display: none; }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(32px, 9.6vw, 40px); }
  .lede { font-size: 15px; }
  .endpoint { padding: 7px 7px 7px 12px; }
  .endpoint code { font-size: 11.5px; }
  .float-code { width: 100%; }
  .metrics dd { font-size: 26px; }
}

@media (max-width: 360px) {
  .head-actions .btn { padding: 0 10px; font-size: 12px; }
  .head-actions .btn .i { display: none; }
  .shell { padding: 0 16px; }
  .chip { padding: 5px 10px; font-size: 11px; }
}

@media (max-width: 620px) {
  .endpoint { gap: 8px; max-width: 100%; }
  .endpoint-label { white-space: nowrap; }
  .endpoint code { overflow: hidden; text-overflow: ellipsis; }
  .mobile-nav.open a { font-size: 15px; }
}

@media (max-width: 620px) {
  /* Hero 浮层代码卡：横向滚动而不是溢出 */
  .fc-body { white-space: pre; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 10.8px; }
  .float-code { border-radius: 14px; }
}

@media (max-width: 620px) {
  /* 浮层卡片：留在文档流里但压在插画之上 */
  .float-code { position: relative; left: auto; bottom: auto; margin-top: 14px; width: 100%; z-index: 5; }
  .hero-art { padding-bottom: 4px; }
}

/* ============================================================
   V5：文案改版 + 粒子球 / 辐射关系图
   ============================================================ */
.hero-micro {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3);
}
.hero-micro em { font-style: normal; opacity: 0.45; }
.hero-micro a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.hero-micro a:hover { color: var(--ink); }

.stat-band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 72px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line);
}
.stat-band > div { padding: 0 18px; border-left: 1px solid var(--line); }
.stat-band > div:first-child { border-left: 0; padding-left: 0; }
.stat-band dd {
  margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1;
  letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums;
}
.stat-band dd span { font-size: 14px; color: var(--ink-2); }
.stat-band dt {
  margin-top: 10px; font: 400 10px/1 var(--mono); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}

.sec-head.center { text-align: center; margin: 0 auto; }

/* ---------- 辐射关系图 ---------- */
.orbit {
  position: relative; width: 100%; max-width: 1000px; margin: 40px auto 0;
  aspect-ratio: 1000 / 560;
}
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ol {
  fill: none; stroke: var(--ink-3); stroke-width: 1.1; stroke-opacity: 0.42;
  stroke-dasharray: 5 7; animation: dashmove 5s linear infinite;
}
.ol:nth-child(2) { animation-delay: -0.8s; }
.ol:nth-child(3) { animation-delay: -1.6s; }
.ol:nth-child(4) { animation-delay: -2.4s; }
.ol:nth-child(5) { animation-delay: -3.2s; }
@keyframes dashmove { to { stroke-dashoffset: -96; } }
.ol-dot { fill: var(--brand); opacity: 0.9; }

.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 340px; text-align: center;
}
.orbit-core::before {
  content: ""; position: absolute; left: 50%; top: 44%; width: 320px; height: 320px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 10%, transparent), transparent 72%);
}
#sphereCanvas { position: relative; display: block; width: 300px; height: 300px; margin: 0 auto; }
.orbit-title {
  position: relative; margin: 2px 0 0; font-size: 19px; line-height: 1.35;
  font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
}

.orbit-node {
  position: absolute; width: 220px; text-align: center;
  animation: floaty 7s ease-in-out infinite alternate;
}
.orbit-node b {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 30, 23, 0.04), 0 10px 24px -18px rgba(16, 30, 23, 0.4);
  white-space: nowrap;
}
.orbit-node small {
  display: block; margin-top: 10px; font-size: 11.5px; line-height: 1.75;
  color: var(--ink-3); letter-spacing: 0.01em;
}
.n-top { left: 50%; top: 0%; transform: translateX(-50%); animation-delay: -0.4s; }
.n-left { left: 4%; top: 30%; animation-delay: -1.8s; }
.n-right { right: 4%; top: 30%; animation-delay: -3.1s; }
.n-bl { left: 12%; bottom: 1%; animation-delay: -2.3s; }
.n-br { right: 12%; bottom: 1%; animation-delay: -4.2s; }
@keyframes floaty { from { translate: 0 0; } to { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
  .ol, .orbit-node { animation: none; }
}

@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .stat-band > div { padding: 0 0 0 14px; }
  .stat-band > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .orbit { aspect-ratio: auto; display: grid; gap: 14px; margin-top: 28px; }
  .orbit-lines { display: none; }
  .orbit-core, .orbit-node { position: static; transform: none; width: auto; animation: none; }
  .orbit-core { display: grid; justify-items: center; margin-bottom: 6px; }
  .orbit-node {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 12px; text-align: left;
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--paper-2); padding: 12px 14px;
  }
  .orbit-node b { justify-self: start; box-shadow: none; background: var(--paper); }
  .orbit-node small { margin: 0; line-height: 1.6; font-size: 11.5px; }
  .orbit-title { font-size: 17px; }
  #sphereCanvas { width: 230px; height: 230px; }
}

/* 连线更清晰一点 */
.ol { stroke: var(--ink-2); stroke-opacity: 0.62; stroke-width: 1.3; }

/* 客户端支持条 */
.clients {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.clients-label {
  font: 400 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-right: 6px;
}
.clients i { font-style: normal; color: var(--ink-3); opacity: 0.5; }
.clients span:not(.clients-label) { color: var(--ink-2); }
@media (max-width: 620px) {
  .clients { gap: 8px; font-size: 12px; }
  .clients-label { width: 100%; margin: 0 0 2px; }
}

/* ============================================================
   V6：首屏产品窗口（替换照片 + 浮层卡）
   ============================================================ */
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: -10% -1% -12% -1%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 60% 40%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%);
  filter: blur(6px);
}
.product-window {
  position: relative; z-index: 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 30, 23, 0.04), 0 40px 80px -48px rgba(16, 30, 23, 0.45);
  overflow: hidden;
}
.pw-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.pw-dots { display: inline-flex; gap: 6px; }
.pw-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.pw-url { font: 400 11.5px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.01em; }
.pw-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--forest);
}
.pw-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.pw-pane { background: #0f1512; border-radius: 12px; overflow: hidden; }
.pw-pane-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 9.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #7f8a82;
}
.pw-tag { color: #9fd8a8; }
.pw-tag.ok { color: var(--brand); }
.pw-code {
  margin: 0; padding: 12px 14px; overflow-x: auto;
  font: 400 11px/1.8 var(--mono); color: #dbe3dc; white-space: pre;
}
.pw-code .c { color: #6f7b73; }
.pw-code .k { color: #9fd8a8; }
.pw-code .s { color: #e6ebe5; }
.pw-code .n { color: #f0c674; }
.pw-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-top: 1px solid var(--line);
  font: 500 10.5px/1 var(--mono); color: var(--ink-3);
}
.pw-foot b { color: var(--ink); font-weight: 600; }
.pw-foot i { width: 1px; height: 9px; background: var(--line); }
.pw-stream { margin-left: auto; color: var(--brand); }

/* 展示窗口：去掉底图，改成干净的渐变底 */
.showcase {
  background:
    radial-gradient(80% 100% at 20% 0%, color-mix(in srgb, var(--mint) 55%, transparent), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--line);
}
.showcase::after { display: none; }

/* 粒子球悬停 */
#sphereCanvas { cursor: pointer; transition: transform 0.5s var(--ease), filter 0.5s var(--ease); }
#sphereCanvas.hot { transform: scale(1.06); filter: drop-shadow(0 0 26px rgba(30, 189, 68, 0.28)); }
.orbit-core::before { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.orbit-core.hot::before { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

@media (max-width: 720px) {
  .pw-grid { grid-template-columns: 1fr; }
  .pw-code { font-size: 10.5px; }
}

/* Hero 窗口：单列堆叠，避免代码被裁 */
.pw-grid { grid-template-columns: 1fr; }
.pw-code { font-size: 11.5px; }

/* 展示区：左文案 + 右终端 */
.showcase {
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 44px;
  align-items: center; padding: 44px;
}
.sc-copy .eyebrow { margin-bottom: 14px; }
.sc-copy h3 {
  margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25; letter-spacing: -0.025em; font-weight: 500;
}
.sc-copy p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.sc-list { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.sc-list li {
  position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-2);
}
.sc-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.sc-link { font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.sc-link:hover { border-color: var(--ink); }
.showcase .terminal { max-width: none; width: 100%; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
}

/* 粒子球悬停：外圈脉冲 */
.orbit-core::after {
  content: ""; position: absolute; left: 50%; top: 44%; width: 300px; height: 300px;
  transform: translate(-50%, -50%) scale(0.9); border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
  opacity: 0; pointer-events: none;
}
.orbit-core.hot::after { animation: ringPulse 1.6s var(--ease) infinite; }
@keyframes ringPulse {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.86); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-core.hot::after { animation: none; }
}

@media (max-width: 620px) {
  .pw-code, .t-body, .t-json { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10.5px; }
  .pw-code { padding: 10px 12px; }
  .t-bar { gap: 8px; padding: 9px 10px; }
  .t-tabs { gap: 0; }
  .t-tab { padding: 5px 7px; font-size: 10px; }
  .t-code { font-size: 9px; white-space: nowrap; }
  .t-resp { padding: 12px 14px 16px; }
  .pw-bar { gap: 8px; padding: 10px 12px; }
  .pw-url { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pw-status { font-size: 9.5px; white-space: nowrap; }
}

/* 自定义分组下拉：与整体风格一致 */
.select-wrap { position: relative; }
.select {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 12.5px/1 var(--mono); cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.select:hover { border-color: var(--ink-3); }
.select.open { border-color: var(--ink-3); background: var(--paper-2); }
.select .chev { width: 14px; height: 14px; color: var(--ink-3); transition: transform 0.2s var(--ease); }
.select.open .chev { transform: rotate(180deg); }
.select-menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: 100%;
  list-style: none; margin: 0; padding: 6px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 30, 23, 0.04), 0 24px 48px -28px rgba(16, 30, 23, 0.45);
  animation: menuIn 0.16s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.select-menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font: 400 12.5px/1 var(--mono); color: var(--ink-2);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.select-menu li:hover { background: var(--mint); color: var(--ink); }
.select-menu li.is-on { background: var(--forest); color: var(--paper); }
.select-menu li.is-on b { color: var(--paper); }
.select-menu li b { font-weight: 400; color: var(--ink-3); }

/* 旧原生下箭头的伪元素关闭（改用组件内 svg） */
.select-wrap::after { display: none !important; }
@media (max-width: 620px) {
  .select { height: 44px; font-size: 13px; }
  .select-menu { right: auto; left: 0; min-width: 160px; }
}

/* 分组多时下拉可滚动 */
.select-menu { max-height: 320px; overflow-y: auto; }

/* 展开全部 */
.table-more { display: flex; justify-content: center; padding: 6px 0 14px; }
.more-btn {
  height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 13px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.more-btn:hover { border-color: var(--ink-3); background: var(--paper-2); transform: translateY(-1px); }

@media (max-width: 900px) { #sphereCanvas { width: 280px; height: 280px; } .orbit-core { width: 320px; } }

/* 终端光标 */
.pw-code::after,
.t-body::after {
  content: ""; display: inline-block; width: 6px; height: 1.05em;
  background: var(--brand); vertical-align: -0.16em; margin-left: 3px;
  animation: caret 1.1s steps(1, end) infinite;
}
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pw-code::after, .t-body::after { animation: none; opacity: .7; } }


/* ===== 命令行演示播放器 ===== */
.sc-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.sc-steps li { display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.sc-steps b {
  flex: 0 0 auto; font: 400 10.5px/1 var(--mono); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 7px;
}
.sc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-btn {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--paper); font-size: 13.5px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
.sc-btn:hover { transform: translateY(-1px); background: #0f2c20; }
.sc-btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.sc-btn.is-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }

.demo {
  display: flex; flex-direction: column; min-width: 0;
  background: #0c1411; border: 1px solid rgba(255,255,255,.07); border-radius: 18px;
  box-shadow: 0 2px 4px rgba(10,25,18,.06), 0 40px 70px -50px rgba(10,25,18,.7);
  overflow: hidden;
}
.demo-bar {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: #121b16; border-bottom: 1px solid rgba(255,255,255,.06);
}
.demo-title { font: 11.5px/1 var(--mono); color: rgba(233,240,235,.45); margin-right: auto; white-space: nowrap; }
.demo-live { display: inline-flex; align-items: center; gap: 7px; font: 11px/1 var(--mono); color: #79d79a; white-space: nowrap; }
.demo-live i { width: 6px; height: 6px; border-radius: 50%; background: #1ebd44; box-shadow: 0 0 0 0 rgba(30,189,68,.5); animation: livePulse 1.8s var(--ease) infinite; }
.demo-live[data-mode="run"] i { animation-duration: .9s; }
.demo-live[data-mode="done"] { color: #b9c8bf; }
.demo-live[data-mode="done"] i { animation: none; background: #6f7f76; }

.demo-screen { padding: 18px 18px 10px; min-height: 286px; max-height: 400px; overflow: auto; }
.demo-cmd {
  display: block; font: 12.5px/1.9 var(--mono); color: #e9f0eb;
  white-space: pre-wrap; word-break: break-word;
}
.demo-prompt { color: #1ebd44; margin-right: 9px; }
.demo-typed i { font-style: normal; }
.demo-typed i.s { color: #a6ddb6; }
.demo-typed i.c { color: #86b6ff; }
.demo-typed i.k { color: #e8c883; }
.demo-caret {
  display: inline-block; width: 7px; height: 14px; background: #1ebd44;
  vertical-align: -2px; margin-left: 2px; animation: caret 1.05s steps(1, end) infinite;
  transition: opacity .2s var(--ease);
}
.demo-out { margin: 14px 0 0; font: 12px/1.85 var(--mono); color: #9fb0a7; white-space: pre-wrap; }
.dl { animation: lineIn .2s var(--ease) both; }
.dl.dim { color: #6f8078; }
.dl.ok { color: #5fd68b; }
.dl.sse { color: #aebeb5; }
.dl.done { color: #1ebd44; margin-top: 8px; }
@keyframes lineIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(30,189,68,.45); }
  70% { box-shadow: 0 0 0 7px rgba(30,189,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,189,68,0); }
}
.demo-foot {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.06); background: #101916;
  font: 11px/1 var(--mono); color: rgba(233,240,235,.42);
}
.demo-foot span:last-child { color: rgba(233,240,235,.7); }

@media (max-width: 900px) {
  .demo-screen { min-height: 240px; }
  .demo-title { display: none; }
}
@media (max-width: 620px) {
  .demo-bar { gap: 8px; padding: 10px; }
  .demo-screen { padding: 14px; }
  .demo-cmd { font-size: 11px; line-height: 1.8; }
  .demo-out { font-size: 10.5px; }
}


/* ===== pin.com 风格：点阵底 + 三步流程卡 ===== */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 17%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 26%, #000 26%, transparent 76%);
  mask-image: radial-gradient(72% 62% at 50% 26%, #000 26%, transparent 76%);
  opacity: 0.5;
}
.hero-in { position: relative; z-index: 1; }

.steps { gap: 26px; position: relative; }
.step { position: relative; padding: 26px 26px 24px; background: var(--paper); border-radius: 18px; }
.step + .step::before {
  content: ""; position: absolute; left: -13px; top: 50%; width: 12px;
  border-top: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent);
}
.step.is-core {
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--mint) 70%, #fff) 100%);
  border-color: color-mix(in srgb, var(--brand) 46%, var(--line));
  box-shadow: 0 1px 2px rgba(12,30,22,.04), 0 26px 50px -40px rgba(12,30,22,.6);
}
.step.is-core .step-n { color: var(--brand); }
.step-flag {
  position: absolute; top: 18px; right: 18px;
  padding: 4px 9px; border-radius: 999px; font: 400 10px/1 var(--mono); letter-spacing: .04em;
  color: var(--forest); background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
}
.step-check { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.step-check li { position: relative; padding-left: 20px; font-size: 12.5px; color: var(--ink-2); }
.step-check li::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent);
}
.step-check li::after {
  content: ""; position: absolute; left: 5.5px; top: 7px; width: 4px; height: 2px;
  border-left: 1.2px solid var(--brand); border-bottom: 1.2px solid var(--brand);
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .step + .step::before { display: none; }
  .step.is-core { box-shadow: 0 18px 36px -30px rgba(12,30,22,.55); }
}


/* ===== pin.com 风格：FAQ 手风琴 + 极简 CTA + 段落节奏 ===== */
.faq details { border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.faq details[open] { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.faq summary {
  padding: 22px 4px; font-size: 15.5px; letter-spacing: -0.01em;
  transition: color .2s var(--ease), padding .3s var(--ease);
  border-radius: 8px;
}
.faq summary:hover { color: var(--forest); padding-left: 10px; }
.faq details[open] summary { color: var(--forest); }
.faq summary .i { width: 16px; height: 16px; opacity: .55; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.faq summary:hover .i { opacity: 1; }
.faq p { margin: 0 0 22px; padding-right: 24px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.faq details > p { overflow: hidden; }

/* CTA：平底 + 点阵，去掉照片 */
.cta {
  position: relative; margin: 0; padding: 150px 0 158px; overflow: hidden;
  background: var(--paper); border-top: 1px solid var(--line);
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 13%, transparent) 1px, transparent 0),
    linear-gradient(180deg, transparent 20%, var(--paper) 90%);
  background-size: 22px 22px, 100% 100%;
  opacity: .5;
}
.cta-in { position: relative; z-index: 1; text-align: center; }
.cta .eyebrow { color: var(--ink-3); }
.cta h2 {
  margin: 0 0 18px; color: var(--ink);
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500;
}
.cta p { margin: 0 auto 34px; max-width: 520px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.cta .cta-row { margin-top: 0; }

/* 段落节奏：多一点呼吸 */
.section { padding: 138px 0; }
.section + .section { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.section-tint + .section, .section + .section-tint { border-top: 0; }

@media (max-width: 900px) {
  .section { padding: 92px 0; }
  .cta { padding: 104px 0 112px; }
}


/* ===== 价格表：行悬停 + 厂商色标 + 实时计数 ===== */
#modelRows tr { transition: background .18s var(--ease); }
#modelRows tr:hover { background: color-mix(in srgb, var(--mint) 55%, transparent); }
#modelRows tr:hover .model { color: var(--forest); }
#modelRows tr:hover .price { color: var(--forest); }

.vendor[data-v="anthropic"] { background: color-mix(in srgb, #d8c6b0 26%, transparent); }
.vendor[data-v="openai"] { background: color-mix(in srgb, #1ebd44 14%, transparent); }
.vendor[data-v="google"] { background: color-mix(in srgb, #4a7cf0 12%, transparent); }
.vendor[data-v="xai"] { background: color-mix(in srgb, #2b2b2b 9%, transparent); }
.vendor[data-v="moonshot"] { background: color-mix(in srgb, #7c5cf0 12%, transparent); }
.vendor[data-v="zhipu"] { background: color-mix(in srgb, #2f9fd8 12%, transparent); }
.vendor[data-v="qwen"] { background: color-mix(in srgb, #8a5cf0 12%, transparent); }
.vendor[data-v="deepseek"] { background: color-mix(in srgb, #3d6ef5 12%, transparent); }

.live-count { display: inline-flex; align-items: center; gap: 8px; font: 400 11.5px/1 var(--mono); color: var(--ink-3); }
.live-count i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(30,189,68,.45); animation: livePulse 2s var(--ease) infinite;
}
.price { font-variant-numeric: tabular-nums; }


/* ===== 状态卡：重新检测 + 迷你曲线 ===== */
.status-refresh {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2); font-size: 12px; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.status-refresh:hover { border-color: var(--ink-3); color: var(--ink); background: var(--paper-2); }
.status-refresh .rf-ico { font-size: 13px; line-height: 1; display: inline-block; transition: transform .6s var(--ease); }
.status-refresh.is-busy { color: var(--ink-3); pointer-events: none; }
.status-refresh.is-busy .rf-ico { animation: rfSpin 1s linear infinite; }
@keyframes rfSpin { to { transform: rotate(360deg); } }

.spark-wrap { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 60px; }
.spark { width: 60px; height: 18px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.spark circle { fill: var(--brand); }

@media (max-width: 620px) {
  .status-refresh { height: 28px; padding: 0 10px; font-size: 11.5px; }
  .spark-wrap { min-width: 48px; }
  .spark { width: 48px; }
}


/* ===== 厂商条：字母徽标 ===== */
.marquee-track { align-items: center; }
.lg { display: inline-flex; align-items: center; gap: 9px; }
.lg i {
  width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font: 600 9.5px/1 var(--mono); letter-spacing: 0; color: var(--forest);
  background: color-mix(in srgb, var(--mint) 72%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}
.marquee-track { gap: 30px; }
.marquee-track > .sep { display: none; }
@media (max-width: 620px) {
  .lg i { width: 17px; height: 17px; border-radius: 5px; font-size: 8.5px; }
  .lg { gap: 7px; }
}



}


/* ===== 04 可观测：进度条 + 文案随滚动浮现 ===== */
.pinned-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2;
  background: rgba(246, 244, 236, 0.16);
}
.pinned-progress i {
  display: block; height: 100%; width: 100%; background: var(--brand);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .12s linear;
}
.pinned-copy { will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .pinned-progress i { transition: none; }
}


/* ===== 右侧章节导航 ===== */
.page-rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 14px;
  padding: 12px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
body.scrolled .page-rail { opacity: 1; pointer-events: auto; }
.page-rail a {
  position: relative; display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; text-decoration: none;
}
.page-rail i {
  width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 26%, transparent);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.page-rail span {
  position: absolute; right: 16px; white-space: nowrap;
  font: 400 11px/1 var(--mono); color: var(--ink-2);
  padding: 5px 8px; border-radius: 6px;
  background: var(--paper-2); border: 1px solid var(--line);
  opacity: 0; transform: translateX(4px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.page-rail a:hover span { opacity: 1; transform: none; }
.page-rail a:hover i { transform: scale(1.5); background: color-mix(in srgb, var(--ink) 60%, transparent); }
.page-rail a.is-on i {
  background: var(--brand); transform: scale(1.35);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
@media (max-width: 1180px) { .page-rail { display: none; } }


/* ===== 首屏入场编排 ===== */
.hero-copy .lede, .hero-copy .cta-row,
.hero-copy .hero-micro, .hero-copy .endpoint, .hero-art .product-window {
  animation: introUp .78s var(--ease) both;
}
.hero-copy .lede { animation-delay: .12s; }
.hero-copy .cta-row { animation-delay: .19s; }
.hero-copy .hero-micro { animation-delay: .25s; }
.hero-copy .endpoint { animation-delay: .31s; }
.hero-art .product-window { animation-delay: .16s; animation-name: introScale; }

@keyframes introUp {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes introScale {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* 标题：分行遮罩上移 */
.hero-copy h1 { position: relative; }
.hero-copy h1::after { content: none; }

/* 磁吸按钮 */
.btn { will-change: transform; }
.btn.is-magnet { transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }

/* 卡片悬停质感 */
.step, .table-card, .status-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.step:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1, .hero-copy .lede, .hero-copy .cta-row,
  .hero-copy .hero-micro, .hero-copy .endpoint, .hero-art .product-window {
    animation: none !important;
  }
}

/* ===== 04 可观测：照片双色调 + 氛围层 ===== */
.pinned-tint {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--forest); mix-blend-mode: color; opacity: .92;
}
.pinned-media { filter: contrast(1.06) saturate(.9); }
.pinned-veil {
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(10, 24, 16, 0.25), rgba(8, 18, 12, 0.86) 78%),
    linear-gradient(180deg, rgba(10, 24, 16, 0.55), rgba(6, 14, 10, 0.9));
}

/* ===== 流程卡依次点亮 + 表格行错峰 ===== */
.steps .step {
  opacity: 0; transform: translate3d(0, 16px, 0);
}
.steps.in .step {
  animation: stepIn .62s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: calc(var(--i, 0) * 95ms);
}
.steps .step + .step::before {
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 1) * 95ms + 60ms);
}
.steps.in .step + .step::before { transform: scaleX(1); }

@keyframes stepIn {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes rowIn {
  from { transform: translate3d(0, 6px, 0); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps .step, .steps .step + .step::before { opacity: 1; transform: none; }
  .steps.in .step { animation: none; }
}


/* ===== 价格表：列表 / 按厂商 ===== */
.view-switch {
  display: inline-flex; padding: 3px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper); flex: 0 0 auto;
}
.view-switch button {
  height: 32px; padding: 0 13px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-3); font-size: 12.5px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.view-switch button.is-on { background: var(--forest); color: var(--paper); }
.view-switch button:not(.is-on):hover { color: var(--ink); background: var(--paper-2); }

#modelRows .vrow td { padding: 18px 0 6px; }
#modelRows .vrow:first-child td { padding-top: 6px; }
.vrow-in {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 13px; color: var(--ink-2);
}
.vrow-in i {
  width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font: 600 9.5px/1 var(--mono); font-style: normal; color: var(--forest);
  background: color-mix(in srgb, var(--mint) 72%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}
.vrow-in b { font-weight: 600; color: var(--ink); }
.vrow-in em { font-style: normal; color: var(--ink-3); font-size: 11.5px; }
.vrow-in .chev { width: 14px; height: 14px; color: var(--ink-3); transition: transform .2s var(--ease); }
.vrow.is-off .vrow-in .chev { transform: rotate(-90deg); }
.vrow:hover .vrow-in b { color: var(--forest); }

/* ===== 可访问性：焦点可见 ===== */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 75%, var(--ink));
  outline-offset: 3px;
  border-radius: 8px;
}
.hero-copy h1:focus-visible, .sec-head h2:focus-visible { outline-offset: 6px; }
@media (max-width: 900px) { html { scroll-padding-top: 72px; } }

/* 标题按行遮罩上移 */
.hero-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-copy h1 .ln > span {
  display: block;
  animation: lineUp .95s cubic-bezier(.22,.61,.36,1) both;
}
.hero-copy h1 .ln:nth-child(1) > span { animation-delay: .05s; }
.hero-copy h1 .ln:nth-child(2) > span { animation-delay: .16s; }
@keyframes lineUp {
  from { transform: translateY(108%); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 .ln > span { animation: none; transform: none; }
}
