/* AIMYRIA V6 · 黑钻极简
   设计语言参考：Apple 产品页的留白与大字 / Nothing 的单色精密 / Linear 的暗色细腻
   品牌主张：稳定 · 源头 · 低于官方三折
   主色：钻石色（Logo 是倒置钻石）+ 纯黑底 */

:root {
  --bg: #000000;
  --bg-lift: #0A0A0B;
  --bg-card: rgba(255, 255, 255, 0.028);

  --ink: #F7F8FA;
  --ink-2: rgba(247, 248, 250, 0.60);
  --ink-3: rgba(247, 248, 250, 0.36);

  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* 钻石色：冷白 → 银蓝 → 钢灰，边缘带棱镜感 */
  --d-white: #FFFFFF;
  --d-light: #DCE7F2;
  --d-mid: #A9BDD1;
  --d-deep: #6D8399;
  --prism-cyan: #8FD9EC;
  --prism-violet: #B9A8E8;

  /* 钻石色：不用渐变。实色冷白 + 多向倒角内阴影 + 镜面高光条，模拟钻石切面反射 */
  --diamond: #E9EFF7;
  --diamond-edge: rgba(255, 255, 255, 0.92);
  --diamond-shade: rgba(86, 106, 132, 0.30);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #000; }
html.page-home, html.page-home body { background: #101114; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: 0.9em; }
::selection { background: rgba(169, 189, 209, 0.28); }

/* 极简工具类 */
.dim { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.dia-text {
  color: #EAF0F8;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 -1px 0 rgba(120, 140, 165, 0.25),
    0 0 26px rgba(200, 220, 242, 0.30);
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 40px); }

/* 进场 */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: 0.9s var(--ease) both rise; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= 导航 ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.42) 62%, transparent 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  transition: background .4s;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 40px);
  height: 72px;
  display: flex; align-items: center; gap: 36px;
}
.nav-logo { display: flex; align-items: center; margin-right: auto; }
/* 上下组合 Logo（图形在上、字标在下，整体成一个倒三角） */
.nav-logo img {
  height: 24px; width: auto;
  animation: navspin 90s linear infinite;   /* 左上角图标缓慢匀速旋转 */
}
@keyframes navspin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.84rem;
  color: var(--ink-2);
  transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px;
  border-radius: 999px;
  font-size: 0.84rem; font-weight: 500;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .25s, background .25s;
}
.nav-btn:hover { border-color: rgba(255,255,255,0.28); }
.nav-btn.light {
  background: var(--ink);
  color: #000;
  border-color: var(--ink);
}
.nav-btn.light:hover { background: var(--d-light); border-color: var(--d-light); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ================= Hero 第一屏（V8 重做） =================
   布局：左文案 / 右官方组合 Logo（粒子图形 + 字标，按定稿比例合成整体）
   背景：纯 CSS 径向渐变，**不用 filter:blur**（超大 blur 会产生可见矩形假象） */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(20px, 3.2vw, 52px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px clamp(24px, 4.5vw, 44px) 80px;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 92px 22px 68px;
    gap: 8px;
  }
  .hero-logo { order: -1; margin-inline: auto; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
}
/* 背景光：直接写在 hero 自身，零伪元素、零 blur，不可能产生遮挡或硬边 */

/* ---------- Logo 组合：粒子三角与字标基座精确对齐 ----------
   目标（业主）：粒子三角的两条底边落点，正好对应字标首尾两个 A，
   形成"一个稳定的三角形"。做法：粒子画布 padding=0 铺满，
   宽度与字标一致，负 margin 让三角底边压住字母上沿。 */
.hero-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(92vw, 720px);
  margin-left: auto;
}
@media (max-width: 980px) { .hero-logo { max-width: min(94vw, 520px); margin-left: auto; margin-right: auto; } }

.hero-logo .mark-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 832.228 / 699.535;
}
.hero-logo .mark-stage canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: #FFFFFF;
  pointer-events: none;
}

/* slogan：两行，极短 */
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-slogan {
  position: relative;
  font-size: clamp(2rem, 3.9vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}
.hero-slogan .sub {
  display: block;
  margin-top: 16px;
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0;
  line-height: 1.6;
}

.hero-actions {
  position: relative; z-index: 2;
  margin-top: clamp(26px, 3.4vh, 38px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
}
.btn-dia {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 28px;
  border-radius: 999px;
  background: var(--diamond);
  color: #05070B;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--diamond-edge);
  overflow: hidden;
  /* 钻石切面感：上缘纯白高光 / 下缘冷灰倒角 / 左右微反射 */
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -2.5px 6px var(--diamond-shade),
    inset 2px 0 5px rgba(255, 255, 255, 0.55),
    inset -2px 0 5px rgba(120, 140, 165, 0.20),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 12px 32px rgba(170, 195, 222, 0.20);
  transition: transform .4s var(--ease), box-shadow .4s;
}
/* 镜面高光条：实心白色斜带 + 模糊，非渐变 */
.btn-dia::before {
  content: "";
  position: absolute;
  top: -60%; left: 12%;
  width: 26%; height: 220%;
  background: rgba(255, 255, 255, 0.75);
  transform: rotate(22deg);
  filter: blur(7px);
  pointer-events: none;
}
.btn-dia > * { position: relative; }
.btn-dia:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -2.5px 6px rgba(86, 106, 132, 0.26),
    inset 2px 0 5px rgba(255, 255, 255, 0.6),
    inset -2px 0 5px rgba(120, 140, 165, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 18px 44px rgba(170, 195, 222, 0.32);
}
.btn-dia:active { transform: scale(0.985); }
.btn-dia svg { width: 15px; height: 15px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.03); }

/* 底部极细的 API 行（唯一的技术信息，无多余文字） */
.hero-api {
  position: relative; z-index: 2;
  margin-top: clamp(20px, 2.8vh, 30px);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-3);
}
.hero-api code { color: var(--ink-2); }
.hero-api .copy {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 6px;
  color: var(--ink-3);
  transition: color .2s, background .2s;
}
.hero-api .copy:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.hero-api .copy.ok { color: var(--d-light); }
.hero-api .copy svg { width: 12px; height: 12px; }

/* ================= 区块（大量留白） ================= */
.section {
  padding: clamp(90px, 12vw, 170px) 0;
  position: relative;
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.sec-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.sec-head .note {
  font-size: 0.82rem;
  color: var(--ink-3);
  text-align: right;
  max-width: 22em;
  line-height: 1.6;
}
.sec-head .link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; color: var(--ink-2);
  transition: color .2s;
  white-space: nowrap;
}
.sec-head .link:hover { color: var(--ink); }
.sec-head .link svg { width: 12px; height: 12px; }

/* ================= 60 分钟记录：极细发丝条（几乎看不见的存在感） ================= */
.uptime {
  position: relative; z-index: 2;
  margin-top: clamp(22px, 3vh, 32px);
  display: flex; align-items: center; gap: 10px;
}
.uptime-spark {
  display: flex; align-items: stretch; gap: 1px;
  height: 3px;                     /* 发丝级：3px */
  flex: 0 0 auto;
  width: min(38vw, 168px);
}
.uptime-spark i {
  flex: 1;
  border-radius: 0.5px;
  background: rgba(69, 196, 134, 0.55);
}
.uptime-spark i.warn { background: rgba(229, 180, 84, 0.75); }
.uptime-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ================= 模型状态 ================= */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;              /* 关键：卡片自撑高度，不被同行拉伸压缩 */
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) { .status-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .status-grid { grid-template-columns: 1fr; } }
.status-card {
  position: relative;
  display: block;
  align-self: start;
  padding: clamp(22px, 2.6vw, 30px);
  background: #000;
  transition: background .4s;
}
.status-card.open { background: var(--bg-lift); }
.status-card:hover { background: var(--bg-lift); }
/* DeepSeek 置顶 */
.status-card.lead {
  grid-column: span 2;
  background: #060708;             /* 实色加深，不用渐变 */
}
@media (max-width: 600px) { .status-card.lead { grid-column: span 1; } }
/* 最后一张（智谱 AI）铺满整行收尾，消除右下空白格 */
.status-card:last-child { grid-column: 1 / -1; }
@media (max-width: 600px) { .status-card:last-child { grid-column: span 1; } }
/* 宽卡内把元信息拉开，不显得空旷 */
.status-card:last-child .chan-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
@media (max-width: 700px) { .status-card:last-child .chan-inner { grid-template-columns: 1fr; } }

.status-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.status-top h3 {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* 单一综合状态 */
.status-top .state {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.status-top .state::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #45C486;
  box-shadow: 0 0 8px rgba(69,196,134,0.85);
  animation: pulseDot 2.8s ease-in-out infinite;
}
@keyframes pulseDot { 50% { opacity: 0.35; } }

/* 收起态：无状态条（业主指定） */

/* 一行摘要：最低倍率 + 通道数 */
.status-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.status-meta .from { font-size: 0.78rem; color: var(--ink-3); }
.status-meta .from b {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-left: 5px;
}
.chan-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 3px 2px;
  transition: color .25s;
}
.chan-toggle:hover { color: var(--ink); }
.chan-toggle svg {
  width: 11px; height: 11px;
  transition: transform .35s var(--ease);
}
.status-card.open .chan-toggle { color: var(--d-light); }
.status-card.open .chan-toggle svg { transform: rotate(180deg); }

/* ---------- 通道明细抽屉（max-height 过渡，兼容 grid 内层） ---------- */
.chan-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .3s, margin-top .3s;
  margin-top: 0;
}
.status-card.open .chan-drawer {
  max-height: 420px;
  opacity: 1;
  margin-top: 12px;
}
.chan-inner { min-height: 0; }
/* 展开后的分组行：名称 / 指纹状态条 / 可用率 / 倍率 */
.chan-row {
  display: grid;
  grid-template-columns: minmax(96px, 1.1fr) minmax(80px, 1.6fr) 44px 54px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.chan-inner .chan-row:first-child { border-top: 0; }
.chan-row .nm {
  font-size: 0.8rem; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chan-row .rate {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.chan-pct {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}
/* 指纹条：40 格，绿色为主，随机黄块 */
.chan-bar {
  display: flex; align-items: stretch; gap: 1px;
  height: 10px;
}
.chan-bar i {
  flex: 1;
  border-radius: 0.5px;
  background: rgba(69, 196, 134, 0.72);
  transition: background .25s;
}
.chan-bar i.warn { background: #E5B454; }
.chan-bar i.miss { background: rgba(229, 180, 84, 0.85); }
.chan-bar i.idle { background: rgba(255, 255, 255, 0.07); }
@media (max-width: 700px) {
  .chan-row { grid-template-columns: 1fr 44px 54px; gap: 8px; }
  .chan-row .chan-bar { grid-column: 1 / -1; margin-top: 2px; }
}

/* ================= 价格 ================= */
.price-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 26px;
}
.ptab {
  height: 36px; padding: 0 17px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-3);
  border: 1px solid transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.ptab:hover { color: var(--ink); }
.ptab.active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}
.ptab .flag {
  display: inline-block; margin-left: 6px;
  font-size: 0.6rem; font-family: var(--mono);
  color: var(--d-light);
  opacity: .9;
}

.price-table { border-top: 1px solid var(--line); }
.prow {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr 0.85fr 0.7fr;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s;
}
.prow.head {
  padding: 12px 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
}
.prow:not(.head):hover { background: rgba(255,255,255,0.018); }
.prow .model {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prow .was {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.25);
}
.prow .now {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}
.prow .now small { font-size: 0.66rem; color: var(--ink-3); font-weight: 400; margin-left: 3px; }
.prow .off {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--d-light);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head .note { text-align: left; max-width: none; font-size: 0.78rem; }
  .prow { grid-template-columns: 1.25fr 0.7fr 0.95fr; gap: 10px; padding: 15px 2px; }
  .prow .off { display: none; }
  .prow.head span:last-child { display: none; }
  .prow .model { font-size: 0.82rem; }
  .prow .now { font-size: 0.84rem; }
  .prow .now small { display: block; margin-left: 0; margin-top: 2px; font-size: 0.62rem; }
  .prow .was { font-size: 0.72rem; }
  /* 价格区底部紧凑 */
  .price-note { margin-top: 18px; gap: 8px; }
}
.price-note {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--ink-3);
}

/* ================= 三步接入 ================= */
.steps-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 940px) { .steps-row { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 2px; }
.step-btn {
  width: 100%;
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 4px;
  text-align: left;
  border-top: 1px solid var(--line-soft);
  transition: border-color .3s;
}
.step-btn:last-child { border-bottom: 1px solid var(--line-soft); }
.step-btn .no {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  padding-top: 3px;
  transition: color .3s;
}
.step-btn h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .3s;
}
.step-btn.active h3 { color: var(--ink); }
.step-btn.active .no { color: var(--d-light); }
.step-btn:hover h3 { color: var(--ink); }

.code-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #060607;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column;
}
.code-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.code-head .file {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.code-head .cpy {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 5px 11px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.code-head .cpy:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.code-head .cpy.ok { color: var(--d-light); }
.code-body {
  flex: 1;
  padding: 22px 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.9;
  white-space: pre;
  overflow-x: auto;
  color: #C8D0DA;
}
.code-body .cm { color: #566072; }
.code-body .kw { color: var(--prism-violet); }
.code-body .st { color: var(--prism-cyan); }
.code-body .fn { color: var(--d-light); }

/* ================= CTA 通栏 ================= */
.cta-band {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -100%;
  width: 90vmax; height: 90vmax;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(180, 205, 228, 0.10), transparent 58%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 4.5vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 30px;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.cta-inner p { margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); max-width: 26em; }

/* ================= Footer ================= */
.footer { padding: 40px 0 52px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 26px; opacity: 0.5; }
.footer-brand span { font-size: 0.74rem; color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-left: auto; }
.footer-links a { font-size: 0.76rem; color: var(--ink-3); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }

/* ================= 登录页 ================= */
.auth-shell {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* 左：纯黑视觉（桌面） */
.auth-visual {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 100dvh;
}

.auth-dots { position: absolute; inset: -4% 0 10% 0; z-index: 2; }
.auth-dots canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: #FFFFFF;
  pointer-events: none;
}
.auth-dots .glow {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,205,228,0.11), transparent 62%);
  filter: blur(64px);
  pointer-events: none;
}
.ball-stage {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(88%, 730px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 1;              /* 球在粒子之后，叠加出微妙反应 */
}
.ball-video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  /* 原片背景为纯黑（采样值 0,0,0）：screen 后黑底完全消失，球体高光原样保留 */
  mix-blend-mode: screen;
}


.back-home {
  position: absolute; top: 22px; left: 22px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem;
  color: var(--ink-3);
  transition: color .2s;
}
.back-home:hover { color: var(--ink); }
.back-home svg { width: 12px; height: 12px; }

/* 右：认证 */
.auth-side {
  position: relative;
  z-index: 10;              /* 最上层：任何情况下都压住球与粒子 */
  display: flex; align-items: center; justify-content: center;
  padding: clamp(32px, 5vw, 72px) clamp(22px, 4vw, 56px);
  border-left: 1px solid var(--line-soft);
  background: #000;
}

.auth-card { width: 100%; max-width: 352px; }
.auth-card h1 {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.auth-card .sub {
  font-size: 0.84rem;
  color: var(--ink-3);
  margin: 10px 0 30px;
}

.auth-tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 28px;
}
.auth-tabs button {
  position: relative;
  padding: 10px 0 12px;
  margin-right: 24px;
  font-size: 0.84rem;
  color: var(--ink-3);
  transition: color .25s;
}
.auth-tabs button:hover { color: var(--ink-2); }
.auth-tabs button.active { color: var(--ink); }
.auth-tabs button.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: #EAF0F8;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field .control { position: relative; }
.field input {
  width: 100%;
  font: inherit; font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 32px 11px 0;
  outline: none;
  transition: border-color .3s;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { border-bottom-color: var(--d-light); }
.field .control > svg { display: none; }
.field .eye {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  color: var(--ink-3);
  border-radius: 6px;
}
.field .eye:hover { color: var(--ink); }
.field .hint { margin-top: 7px; font-size: 0.7rem; color: var(--ink-3); }

.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 26px;
  font-size: 0.76rem;
}
.auth-row label { display: flex; align-items: center; gap: 8px; color: var(--ink-3); cursor: pointer; }
.auth-row input[type="checkbox"] {
  appearance: none; width: 13px; height: 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.auth-row input[type="checkbox"]::after {
  content: ""; width: 7px; height: 7px;
  transform: scale(0); transition: transform .18s;
  background: var(--d-light); border-radius: 1px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.auth-row input[type="checkbox"]:checked { border-color: var(--d-light); }
.auth-row input[type="checkbox"]:checked::after { transform: scale(1); }
.auth-row a { color: var(--ink-2); transition: color .2s; }
.auth-row a:hover { color: var(--ink); }

.auth-submit {
  position: relative;
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: var(--diamond);
  color: #05070B;
  font-size: 0.9rem; font-weight: 600;
  border: 1px solid var(--diamond-edge);
  overflow: hidden;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -2.5px 6px var(--diamond-shade),
    inset 2px 0 5px rgba(255, 255, 255, 0.55),
    inset -2px 0 5px rgba(120, 140, 165, 0.20),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(170, 195, 222, 0.18);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.auth-submit::before {
  content: "";
  position: absolute;
  top: -60%; left: 14%;
  width: 24%; height: 220%;
  background: rgba(255, 255, 255, 0.75);
  transform: rotate(22deg);
  filter: blur(7px);
  pointer-events: none;
}
.auth-submit > * { position: relative; }
.auth-submit:hover { transform: translateY(-1.5px); }
.auth-submit:active { transform: scale(0.99); }
.auth-submit.clay { background: var(--diamond); }

.auth-alt {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
}
.auth-alt button, .auth-alt a {
  color: var(--ink-2);
  margin-left: 4px;
  transition: color .2s;
}
.auth-alt button:hover, .auth-alt a:hover { color: var(--ink); }

.auth-foot {
  margin-top: 34px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.pane { display: none; }
.pane.active { display: block; animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }
.form-msg {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--d-light);
  opacity: 0;
  transition: opacity .3s;
}
.form-msg.show { opacity: 1; }
.form-msg a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.twofa-hint { font-size: 0.78rem; color: var(--ink-3); margin: 0 0 16px; }
.twofa-hint b { color: var(--ink-2); font-weight: 500; }

@media (max-width: 980px) {
  /* 移动端：球 + 粒子 + 登录面板全部叠在首屏 */
  body.auth-page { overflow: hidden; height: 100dvh; }
  .auth-shell {
    position: relative;
    display: block;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }
  .auth-visual {
    position: absolute;
    inset: 0;
    min-height: 100dvh;
    border-radius: 0;
  }
  .ball-stage {
    width: 118vw;                      /* 大到贴边 */
    max-width: none;
    top: 16%;
  }
  .auth-dots { inset: -26% 0 38% 0; }  /* Logo 粒子再上移，露出在面板上方 */
  .auth-side {
    position: absolute;
    z-index: 10;
    left: 12px; right: 12px; bottom: 12px;
    max-height: 72dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background: rgba(9, 11, 15, 0.62);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    backdrop-filter: blur(28px) saturate(1.3);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  }
  .auth-card { max-width: 100%; }
  .auth-card h1 { font-size: 1.5rem; }
  .auth-card .sub { margin: 6px 0 16px; }
  .auth-tabs { margin-bottom: 18px; }
  .auth-card .field { margin-bottom: 13px; }
  .auth-card .auth-foot { margin-top: 18px; padding-top: 12px; }
  .back-home { top: 14px; left: 14px; z-index: 6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ================= 语言切换 ================= */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.78rem;
  transition: color .25s, border-color .25s;
}
.lang-btn:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); }
.lang-btn svg { width: 14px; height: 14px; }

/* ================= 统一模型网关 ================= */
.gw-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 820px) { .gw-grid { grid-template-columns: 1fr; } }
.gw-lead {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 36em;
}
.gw-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.gw-chip {
  font-size: 0.8rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ================= 模型接入范围 ================= */
.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 860px) { .range-grid { grid-template-columns: 1fr; } }
.range-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg-card);
  transition: border-color .3s, background .3s;
}
.range-card:hover { border-color: rgba(220,231,242,0.28); background: rgba(255,255,255,0.045); }
.range-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--d-light);
  letter-spacing: 0.02em;
}
.range-card p { margin-top: 12px; font-size: 0.88rem; color: var(--ink-2); line-height: 1.75; }

/* ================= FAQ ================= */
.faq-list { display: grid; gap: 10px; max-width: 880px; margin-top: 28px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-size: 0.95rem; font-weight: 500;
  text-align: left;
  color: var(--ink);
}
.faq-q .pm { color: var(--d-light); font-weight: 300; transition: transform .35s var(--ease); }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { padding: 0 22px 20px; font-size: 0.86rem; color: var(--ink-3); line-height: 1.85; }

/* ================= 协议勾选 ================= */
.agree-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 5px;
  margin: 2px 0 16px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ink-3);
}
.agree-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.agree-row input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
}
.agree-row input[type="checkbox"]:checked {
  border-color: var(--d-light);
  background: rgba(233, 239, 247, 0.92);
}
.agree-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 3.5px; height: 7.5px;
  border: solid #0b0c0e;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.policy-link {
  font: inherit;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.policy-link:hover { color: var(--ink); }

/* ================= 政策弹窗（液态玻璃） ================= */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.policy-modal[hidden] { display: none; }
.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 1;
}
.policy-modal:not(.open) .policy-backdrop { opacity: 0; }

.policy-dialog {
  position: relative;
  width: min(92vw, 660px);
  max-height: min(84dvh, 760px);
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(158deg, rgba(40, 44, 53, 0.88) 0%, rgba(17, 19, 24, 0.92) 52%, rgba(10, 11, 14, 0.94) 100%);
  -webkit-backdrop-filter: blur(38px) saturate(1.55);
  backdrop-filter: blur(38px) saturate(1.55);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.72),
    0 2px 10px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  opacity: 1;
}
.policy-modal.open .policy-dialog {
  animation: policyIn .34s var(--ease, cubic-bezier(.22,1,.36,1));
}
@keyframes policyIn {
  from { transform: translateY(14px) scale(0.982); }
  to { transform: none; }
}
.policy-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 18% 0%, rgba(255, 255, 255, 0.12), transparent 58%);
  pointer-events: none;
}

.policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 0;
  position: relative;
}
.policy-head h2 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.policy-close {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.policy-close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); }

.policy-tabs {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.policy-tabs button {
  position: relative;
  padding: 0 0 13px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color .2s;
}
.policy-tabs button:hover { color: var(--ink-2); }
.policy-tabs button.active { color: var(--ink); }
.policy-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--d-light);
}

.policy-view {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
}
.policy-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 26px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
}
.policy-scroll::-webkit-scrollbar { width: 6px; }
.policy-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}
.policy-scroll h2 {
  margin: 22px 0 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}
.policy-scroll h2:first-child { margin-top: 0; }
.policy-scroll h3 {
  margin: 16px 0 5px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-2);
}
.policy-scroll p,
.policy-scroll li {
  margin: 8px 0;
  font-size: 0.79rem;
  line-height: 1.95;
  color: var(--ink-2);
}
.policy-scroll ul { margin: 8px 0; padding-left: 1.25em; }
.policy-scroll li { margin: 5px 0; }
.policy-scroll strong { color: var(--ink); font-weight: 500; }
.policy-scroll hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 22px 0;
}

.policy-foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.policy-agree-btn {
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--diamond);
  color: #0d0e10;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(233, 239, 247, 0.16);
  transition: transform .2s, box-shadow .2s;
}
.policy-agree-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(233, 239, 247, 0.22);
}
body.policy-open { overflow: hidden; }

@media (max-width: 640px) {
  .policy-modal { padding: 12px; }
  .policy-dialog { width: 100%; max-height: 88dvh; border-radius: 22px; }
  .policy-head { padding: 18px 18px 0; }
  .policy-tabs { padding: 0 18px; gap: 20px; }
  .policy-scroll { padding: 16px 18px 24px; }
  .policy-foot { padding: 12px 18px 16px; }
}
