/* ==========================================================================
   智枢 · AI Nexus  —  www.ai-nexus.cn
   设计方向："深空轨道"（Deep Orbit）
   深藏青与纯白明暗交替，亮科技蓝为唯一强调色，
   等宽字体点缀数字与代码，轨道环元素呼应品牌 LOGO。
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 颜色 */
  --ink: #0B1220;            /* 主深色（近黑藏青） */
  --ink-2: #0F172A;          /* 深藏青 */
  --ink-soft: #1B2740;       /* 深色区域卡片 */
  --line-dark: rgba(148, 178, 255, .14);
  --blue: #1A6EF5;           /* 品牌主蓝 */
  --blue-bright: #4D8DFF;    /* 深底亮蓝 */
  --blue-glow: rgba(26, 110, 245, .35);
  --white: #FFFFFF;
  --bg-light: #F5F8FE;       /* 浅色区域底 */
  --text-dark: #16233B;      /* 浅色区正文 */
  --text-mute: #5A6B85;      /* 浅色区次要文字 */
  --text-light: #E8EFFC;     /* 深色区正文 */
  --text-light-mute: #93A5C4;/* 深色区次要文字 */
  --line-light: #DEE7F7;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 节奏 */
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1140px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .61, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.mono { font-family: var(--font-mono); letter-spacing: .04em; }

/* 滚动锚点定位补偿 */
section[id], #hero { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- 布局通用 ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-light { background: var(--white); }
.section-dark { background: var(--ink); color: var(--text-light); overflow: hidden; }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  margin: 10px 0 14px;
}
.section-desc { color: var(--text-mute); font-size: 1.02rem; }
.section-head-dark h2 { color: var(--white); }
.section-head-dark .section-desc { color: var(--text-light-mute); }

.section-no {
  font-size: .78rem;
  color: var(--blue);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-no::after {
  content: "";
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.section-head-dark .section-no { color: var(--blue-bright); }
.section-head-dark .section-no::after { background: linear-gradient(90deg, var(--blue-bright), transparent); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, #2E7CF6, var(--blue));
  color: var(--white);
  box-shadow: 0 8px 24px -8px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(26, 110, 245, .55), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-ghost { border: 1px solid var(--line-light); color: var(--text-dark); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-ghost.dark-ghost,
.btn-outline-light { border: 1px solid rgba(148, 178, 255, .35); color: var(--text-light); background: transparent; }
.btn-outline-light:hover { border-color: var(--blue-bright); color: var(--blue-bright); transform: translateY(-2px); }

.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 入场动画（仅在 html.js 时隐藏待入场元素，无 JS 环境保持完全可见） ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal[data-delay="1"] { transition-delay: .07s; }
html.js .reveal[data-delay="2"] { transition-delay: .14s; }
html.js .reveal[data-delay="3"] { transition-delay: .21s; }
html.js .reveal[data-delay="4"] { transition-delay: .28s; }
html.js .reveal[data-delay="5"] { transition-delay: .35s; }
html.js .reveal[data-delay="6"] { transition-delay: .42s; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 18, 32, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 178, 255, .1);
  transition: box-shadow .3s var(--ease);
}
.site-nav.is-scrolled { box-shadow: 0 12px 32px -16px rgba(2, 8, 20, .8); }

.nav-inner {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 36px; height: 36px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-text strong { color: var(--white); font-size: 1.05rem; letter-spacing: .06em; }
.nav-brand-text em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .32em;
  color: var(--blue-bright);
}

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  color: rgba(232, 239, 252, .78);
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(148, 178, 255, .08); }
.nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* 移动端汉堡 */
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 900px 520px at 78% 8%, rgba(26, 110, 245, .22), transparent 62%),
    radial-gradient(ellipse 700px 460px at 8% 92%, rgba(26, 110, 245, .12), transparent 60%),
    linear-gradient(180deg, #0C1424 0%, var(--ink) 58%, #0C1220 100%);
  color: var(--text-light);
  padding: calc(var(--nav-h) + 48px) 0 96px;
  overflow: hidden;
}

/* 细网格背景 */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 30%, transparent 78%);
}

.hero-glow {
  position: absolute;
  left: 50%; top: 44%;
  width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26, 110, 245, .16), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

/* 轨道环装饰（呼应 LOGO） */
.hero-orbits {
  position: absolute;
  right: -180px; top: 50%;
  width: 820px; height: 820px;
  transform: translateY(-50%);
  opacity: .5;
  pointer-events: none;
}
.orbit-svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(148, 178, 255, .22); stroke-width: 1.2; }
.orbit-r1 { transform-origin: 400px 400px; animation: orbit-spin 46s linear infinite; }
.orbit-r2 { transform-origin: 400px 400px; animation: orbit-spin 32s linear infinite reverse; stroke: rgba(77, 141, 255, .3); }
.orbit-r3 { transform-origin: 400px 400px; animation: orbit-spin 24s linear infinite; stroke: rgba(77, 141, 255, .4); }
.orbit-dot { fill: var(--blue-bright); }
.orbit-d1 { transform-origin: 400px 400px; animation: orbit-spin 32s linear infinite reverse; }
.orbit-d2 { transform-origin: 400px 400px; animation: orbit-spin 46s linear infinite; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(148, 178, 255, .22);
  border-radius: 999px;
  background: rgba(27, 39, 64, .55);
  font-size: .78rem;
  color: var(--text-light-mute);
}
.hero-badge .mono { color: var(--blue-bright); }
.badge-divider { width: 1px; height: 12px; background: rgba(148, 178, 255, .3); }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35D07F;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(53, 208, 127, .55);
  animation: pulse-ring 1.8s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero-mark { margin: 30px 0 22px; }
.hero-mark img {
  width: 88px; height: 88px;
  filter: drop-shadow(0 12px 32px rgba(26, 110, 245, .45));
}

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: .01em;
}
.grad-text {
  background: linear-gradient(100deg, #6EA8FF 0%, var(--blue) 55%, #8FB8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub-en {
  margin-top: 16px;
  color: var(--blue-bright);
  font-size: clamp(.82rem, 1.6vw, .95rem);
  letter-spacing: .42em;
  text-transform: uppercase;
}

.hero-desc {
  margin-top: 20px;
  max-width: 560px;
  color: var(--text-light-mute);
  font-size: 1.05rem;
}

.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-ghost { background: rgba(27, 39, 64, .4); border-color: rgba(148, 178, 255, .28); color: var(--text-light); }
.hero-cta .btn-ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

/* 数据统计 */
.hero-stats {
  margin-top: clamp(44px, 7vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  border-top: 1px solid rgba(148, 178, 255, .14);
  padding-top: 28px;
}
.stat dt {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
}
.stat dd { font-size: .84rem; color: var(--text-light-mute); margin-top: 2px; }

/* 向下滚动提示（纯装饰动画线） */
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--blue-bright), transparent);
  overflow: hidden;
  animation: scroll-drip 2s var(--ease) infinite;
}
@keyframes scroll-drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   核心能力（浅色）
   ========================================================================== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cap-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 110, 245, .4);
  box-shadow: 0 24px 48px -20px rgba(22, 35, 59, .18);
}
.cap-card:hover::before { opacity: 1; }

.cap-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(26, 110, 245, .12), rgba(26, 110, 245, .04));
  border: 1px solid rgba(26, 110, 245, .22);
  margin-bottom: 20px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.cap-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cap-card:hover .cap-icon {
  transform: scale(1.06) rotate(-3deg);
  background: linear-gradient(135deg, var(--blue), #2E7CF6);
  border-color: transparent;
}
.cap-card:hover .cap-icon svg { stroke: var(--white); }

.cap-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.cap-card p { color: var(--text-mute); font-size: .93rem; }

/* ==========================================================================
   模型矩阵（深色）
   ========================================================================== */
.models-glow {
  position: absolute;
  right: -220px; top: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(26, 110, 245, .16), transparent 65%);
  pointer-events: none;
}
.glow-alt { right: auto; left: -220px; top: auto; bottom: -160px; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.model-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(27, 39, 64, .72), rgba(15, 23, 42, .5));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 141, 255, .5);
  box-shadow: 0 28px 56px -24px rgba(2, 8, 20, .9);
}
.model-card-accent { border-color: rgba(77, 141, 255, .35); }
.model-card-accent:hover { border-color: rgba(77, 141, 255, .7); }

.model-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--blue-bright);
  border: 1px solid rgba(77, 141, 255, .35);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.model-card h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; }
.model-card-head > p { color: var(--text-light-mute); font-size: .88rem; margin: 6px 0 20px; }

.model-list { flex: 1; border-top: 1px solid var(--line-dark); }
.model-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(148, 178, 255, .12);
  transition: padding-left .25s var(--ease);
}
.model-list li:hover { padding-left: 8px; }
.model-name { color: var(--white); font-size: .92rem; font-weight: 600; }
.model-note { color: var(--text-light-mute); font-size: .78rem; text-align: right; }

.model-foot {
  margin-top: 18px;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-light-mute);
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(11, 18, 32, .5);
  border-left: 2px solid var(--blue);
}

/* ==========================================================================
   价格优势（浅色）
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -22px rgba(22, 35, 59, .22);
}
.price-card::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 110, 245, .14), transparent 70%);
}

.price-label { font-size: .9rem; color: var(--text-mute); }
.price-value { margin: 8px 0 10px; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.price-num {
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--blue) 20%, #6EA8FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-unit { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
.price-note { font-size: .88rem; color: var(--text-mute); position: relative; }

.price-banner {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.price-banner-item {
  padding: 20px 22px;
  font-size: .92rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-banner-item + .price-banner-item { border-left: 1px solid var(--line-light); }
.price-banner-item .mono {
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
}

.price-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: .8rem;
  color: var(--text-mute);
}

/* ==========================================================================
   充值权益阶梯（深色）
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(27, 39, 64, .72), rgba(15, 23, 42, .5));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 141, 255, .55);
  box-shadow: 0 28px 56px -24px rgba(2, 8, 20, .9);
}

.tier-name { font-size: .95rem; color: var(--text-light-mute); }
.tier-price {
  margin: 10px 0 4px;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
}
.tier-bonus { font-size: .86rem; color: var(--text-light-mute); }
.tier-bonus strong { color: var(--blue-bright); font-size: 1.05em; }

.tier-list { flex: 1; margin: 20px 0 24px; border-top: 1px solid var(--line-dark); }
.tier-list li {
  position: relative;
  padding: 9px 0 9px 20px;
  font-size: .85rem;
  color: var(--text-light-mute);
  border-bottom: 1px dashed rgba(148, 178, 255, .12);
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(77, 141, 255, .8);
}

.tier-card-hot {
  background: linear-gradient(180deg, rgba(26, 110, 245, .2), rgba(15, 23, 42, .6));
  border-color: rgba(77, 141, 255, .6);
  box-shadow: 0 0 0 1px rgba(77, 141, 255, .18), 0 24px 60px -24px rgba(26, 110, 245, .4);
}
.tier-card-hot:hover { border-color: var(--blue-bright); }

.tier-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2E7CF6, var(--blue));
  color: var(--white);
  font-size: .74rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px var(--blue-glow);
  white-space: nowrap;
}

.tier-card-max { border-color: rgba(143, 184, 255, .35); }

.tier-note {
  margin-top: 28px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-light-mute);
  position: relative;
  z-index: 1;
}
.tier-note-sub { margin-top: 10px; }

/* ==========================================================================
   使用流程（浅色）
   ========================================================================== */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: flow;
  margin-bottom: 40px;
}

.flow-step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.flow-step:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 110, 245, .45);
  box-shadow: 0 20px 40px -20px rgba(22, 35, 59, .2);
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -22px;
  width: 22px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
  opacity: .6;
}

.flow-no {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(26, 110, 245, .1);
}
.flow-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.flow-step p { font-size: .86rem; color: var(--text-mute); }

/* 代码示例 */
.code-sample {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  box-shadow: 0 32px 64px -28px rgba(22, 35, 59, .45);
  max-width: 780px;
}
.code-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: rgba(27, 39, 64, .8);
  border-bottom: 1px solid var(--line-dark);
}
.code-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 178, 255, .25); }
.code-head .dot:first-child { background: #FF5F57; }
.code-head .dot:nth-child(2) { background: #FEBC2E; }
.code-head .dot:nth-child(3) { background: #28C840; }
.code-title { margin-left: 10px; font-size: .74rem; color: var(--text-light-mute); }

.code-sample pre {
  padding: 24px 22px;
  overflow-x: auto;
  font-size: .84rem;
  line-height: 1.9;
  color: #C9D8F5;
}
.code-sample code .c-key { color: #7FB0FF; }
.code-sample code .c-str { color: #7CE0A6; }
.code-sample code .c-cmt { color: #64779B; }
.code-sample code .c-fn { color: #9FB6FF; }
.code-sample code .c-num { color: #FFB86C; }

/* ==========================================================================
   联系我们（深色）
   ========================================================================== */
.section-contact { padding-bottom: clamp(88px, 12vw, 140px); }
.contact-glow {
  position: absolute;
  left: 50%; bottom: -280px;
  transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(ellipse, rgba(26, 110, 245, .18), transparent 65%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.contact-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 39, 64, .72), rgba(15, 23, 42, .5));
  border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(77, 141, 255, .55); }
.contact-card h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 14px; }
.contact-label { font-size: .68rem; letter-spacing: .26em; color: var(--blue-bright); }
.contact-value { font-size: 1.18rem; font-weight: 600; color: var(--white); margin: 6px 0 10px; }
.contact-note { font-size: .82rem; color: var(--text-light-mute); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #070D18;
  color: var(--text-light-mute);
  border-top: 1px solid rgba(148, 178, 255, .1);
  padding: 44px 0 30px;
  font-size: .86rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(148, 178, 255, .1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; opacity: .9; }
.footer-name { color: var(--text-light); }
.footer-slogan { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; color: var(--blue-bright); }

.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--blue-bright); }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: .8rem;
}
.footer-meta .mono { font-size: .74rem; letter-spacing: .08em; }

.footer-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--blue-bright); }

/* ==========================================================================
   法务页面（服务条款 / 充值与退款规则 / 隐私政策）
   复用主站设计变量、导航与页脚结构；正文为窄栏阅读版式。
   ========================================================================== */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 84px)) 0 clamp(56px, 8vw, 84px);
  background:
    radial-gradient(ellipse 760px 420px at 82% 0%, rgba(26, 110, 245, .22), transparent 62%),
    linear-gradient(180deg, #0C1424 0%, var(--ink) 100%);
  color: var(--text-light);
}
.legal-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 78% 92% at 50% 0%, #000 34%, transparent 82%);
  mask-image: radial-gradient(ellipse 78% 92% at 50% 0%, #000 34%, transparent 82%);
}
.legal-hero-glow {
  position: absolute;
  right: -160px; top: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(26, 110, 245, .18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.legal-hero-inner {
  position: relative; z-index: 1;
  width: min(840px, calc(100% - 48px));
  margin-inline: auto;
}
.legal-crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: .74rem; letter-spacing: .12em;
  color: var(--text-light-mute);
}
.legal-crumb a { color: var(--blue-bright); transition: color .2s; }
.legal-crumb a:hover { color: var(--white); }
.crumb-sep { color: rgba(147, 165, 196, .5); }
.legal-eyebrow {
  margin-top: 26px;
  font-size: .74rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.legal-title {
  margin: 14px 0 12px;
  font-size: clamp(2.1rem, 4.8vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--white);
}
.legal-date {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(148, 178, 255, .22);
  border-radius: 999px;
  background: rgba(27, 39, 64, .55);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--text-light-mute);
}
.legal-date::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(77, 141, 255, .8);
}

/* 表格内链接（如备案号） */
.legal-table a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* [占位] 标注高亮 */
mark {
  background: rgba(26, 110, 245, .1);
  color: var(--blue);
  padding: 1px 7px;
  border-radius: 5px;
  font-size: .92em;
  font-weight: 600;
}

/* 窄栏正文 */
.legal-body {
  width: min(800px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(44px, 6vw, 64px) 0 clamp(72px, 9vw, 104px);
  color: #42536F;
}

/* 本页目录 */
.legal-toc {
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.legal-toc-title {
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--blue);
  margin-bottom: 14px;
}
.legal-toc ol { counter-reset: toc; display: grid; gap: 2px; }
.legal-toc a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--text-mute);
  transition: color .2s, background .2s;
}
.legal-toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--blue);
}
.legal-toc a:hover { color: var(--blue); background: rgba(26, 110, 245, .07); }

/* 条款章节 */
.legal-section {
  margin-top: clamp(38px, 5vw, 54px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.legal-section h2 {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.26rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-dark);
}
.legal-section h2::before {
  content: "";
  flex: none;
  width: 4px; height: 1.15em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), #6EA8FF);
}
.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-dark);
}
.legal-section p { margin: 12px 0; font-size: .94rem; line-height: 1.95; }
.legal-section ul { margin: 12px 0; display: grid; gap: 9px; }
.legal-section ul li {
  position: relative;
  padding-left: 20px;
  font-size: .94rem;
  line-height: 1.85;
}
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .68em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .7;
}
.legal-steps { margin: 14px 0; counter-reset: step; display: grid; gap: 12px; }
.legal-steps li {
  position: relative;
  padding-left: 40px;
  font-size: .94rem;
  line-height: 1.85;
  counter-increment: step;
}
.legal-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: .12em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(26, 110, 245, .1);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
}

/* 表格 */
.legal-table-wrap {
  margin: 16px 0;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  overflow-x: auto;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 560px;
}
.legal-table th, .legal-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table th {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: .86rem;
  white-space: nowrap;
}
.legal-table td { color: #42536F; }
.legal-table td:first-child { font-weight: 600; color: var(--text-dark); white-space: nowrap; }

/* 重点提示框 */
.legal-callout {
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(26, 110, 245, .05);
  border: 1px solid rgba(26, 110, 245, .16);
  border-left: 3px solid var(--blue);
  font-size: .9rem;
  line-height: 1.85;
}
.legal-callout strong { color: var(--blue); }

/* 文末结束符 */
.legal-end {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(48px, 7vw, 64px);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--text-mute);
}
.legal-end::before,
.legal-end::after {
  content: "";
  flex: 1; height: 1px;
}
.legal-end::before { background: linear-gradient(90deg, transparent, var(--line-light)); }
.legal-end::after { background: linear-gradient(90deg, var(--line-light), transparent); }

/* 页脚法务链接当前态 */
.footer-legal a.is-current { color: var(--blue-bright); font-weight: 600; }

@media (max-width: 640px) {
  .legal-toc { padding: 20px 18px; }
  .legal-eyebrow { letter-spacing: .22em; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .cap-grid, .model-grid, .price-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:not(:last-child)::after { display: none; }
  .hero-orbits { right: -320px; opacity: .35; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px 22px;
    background: rgba(11, 18, 32, .96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 178, 255, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-links a.is-active::after { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-bottom: 72px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .hero-orbits { display: none; }
  .hero-scroll { display: none; }
}

@media (max-width: 640px) {
  .cap-grid, .model-grid, .price-grid, .contact-grid,
  .tier-grid, .flow-list, .price-banner { grid-template-columns: minmax(0, 1fr); }
  .price-banner-item + .price-banner-item { border-left: none; border-top: 1px solid var(--line-light); }
  .hero-cta .btn { width: 100%; }
  .nav-actions .btn-sm { display: none; }  /* 移动端隐藏顶栏 CTA，避免拥挤 */
  .footer-inner, .footer-meta { flex-direction: column; align-items: flex-start; }
}
