/* =============================================================
   Orbitra 奥比特 · 企业 AI 智能大脑
   设计系统 theme.css  ·  v3.0  「Mist Blue · 雾蓝极简」
   -------------------------------------------------------------
   参考：tec-do.com 的雾蓝气质 + 编辑式栅格排版
   风格：冷雾白底 + 单一克莱因蓝强调 + 藏青文字 + 白实心卡片
         无渐变 / 无玻璃拟态 / 无彩色光效 / 细边框 / 大留白
   字体：Noto Serif SC（标题衬线）+ 系统无衬线正文 + JetBrains Mono（数据）
   ============================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 背景层（冷雾白） */
  --bg:        #F4F6FA;
  --bg-2:      #FFFFFF;
  --bg-soft:   #F8FAFD;
  --panel:     #FFFFFF;
  --panel-2:   #FAFBFE;
  --panel-3:   #F1F4F9;
  --mist:      #E7EDF7;   /* 雾蓝底（Hero/重点区） */
  --mist-2:    #EFF3FA;

  /* 实色卡片 */
  --glass:        #FFFFFF;
  --glass-strong: #FFFFFF;
  --glass-soft:   #FFFFFF;
  --glass-line:   #E4E9F2;

  /* 线框 */
  --line:      #E7EBF2;
  --line-2:    #DDE3EE;
  --line-3:    #C9D2E2;

  /* 文字 */
  --text:      #17233F;
  --text-2:    #43506B;
  --muted:     #6C7A94;
  --dim:       #9AA6BC;

  /* 品牌（单一克莱因蓝） */
  --brand:     #2B5CE6;
  --brand-deep:#1E46C0;
  --brand-2:   #2B5CE6;
  --violet:    #2B5CE6;
  --gold:      #B97F1F;
  --ok:        #1E9E6A;
  --warn:      #C97F17;
  --danger:    #D8474B;

  --brand-ink: #1E46C0;
  --ok-ink:    #157A52;
  --warn-ink:  #9A6212;
  --danger-ink:#B23238;
  --violet-ink:#1E46C0;

  /* 兼容映射：旧渐变引用全部收敛为单色系 */
  --grad:      linear-gradient(115deg,#2E5FEB 0%,#2450CE 100%);
  --grad-2:    linear-gradient(115deg,#2E5FEB 0%,#2450CE 100%);
  --grad-soft: #EDF2FD;
  --grad-tint: #F3F6FD;

  /* 圆角（收敛，去模板感） */
  --r-xs: 6px; --r-sm: 8px; --r: 10px; --r-lg: 14px; --r-xl: 18px; --r-full: 8px;

  /* 阴影（中性、极淡） */
  --shadow-xs: 0 1px 2px rgba(23,35,63,.05);
  --shadow-sm: 0 1px 2px rgba(23,35,63,.04), 0 6px 18px -10px rgba(23,35,63,.10);
  --shadow:    0 2px 6px rgba(23,35,63,.04), 0 18px 40px -24px rgba(23,35,63,.18);
  --shadow-lg: 0 4px 10px rgba(23,35,63,.05), 0 40px 80px -40px rgba(23,35,63,.24);
  --glow:      0 0 0 1px rgba(43,92,230,.35), 0 18px 40px -22px rgba(43,92,230,.30);
  --glow-soft: 0 14px 34px -20px rgba(43,92,230,.28);
  --ring:      0 0 0 3px rgba(43,92,230,.13);

  /* 布局 */
  --maxw: 1220px;
  --nav-h: 66px;
  --side-w: 252px;

  /* 字体 */
  --font: 'PingFang SC','HarmonyOS Sans SC','Microsoft YaHei','Noto Sans SC',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-display: 'Noto Serif SC','Source Han Serif SC','Songti SC','STZhongsong','SimSun',serif;
  --font-mono: 'JetBrains Mono','SFMono-Regular',ui-monospace,Consolas,monospace;

  /* 深色块（终端/代码，唯一深色锚点） */
  --term-bg:   #101A33;
  --term-bg-2: #0C1428;
  --term-line: rgba(255,255,255,.08);
  --term-text: #E8ECF7;
  --term-dim:  #8493B4;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. 基础重置 ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,p { margin: 0; }
::selection { background: rgba(43,92,230,.16); color: var(--text); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(23,35,63,.16); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(23,35,63,.30); background-clip: content-box; }

/* ---------- 3. 排版 ---------- */
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; line-height: 1.22; }
h1.display { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2.display { font-size: clamp(1.7rem, 2.9vw, 2.35rem); line-height: 1.3; }
h3.display { font-size: clamp(1.12rem, 1.7vw, 1.4rem); line-height: 1.38; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:''; width: 22px; height: 1px; background: var(--brand); }
.lead { font-size: clamp(1rem,1.24vw,1.08rem); color: var(--muted); line-height: 1.9; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--font-mono); }
.grad-text { color: var(--brand); font-weight: 600; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.strong-t { color: var(--text); font-weight: 600; }

/* ---------- 4. 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1420px; }
.section { padding: clamp(72px,8.5vw,120px) 0; position: relative; }
.section-tight { padding: clamp(50px,5.8vw,78px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(38px,4.6vw,58px); text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head h2 { margin-top: 18px; }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.flex { display: flex; }
.between { justify-content: space-between; }
.aic { align-items: center; }
.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.gap24{gap:24px}
.wrap { flex-wrap: wrap; }
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt32{margin-top:32px}.mt48{margin-top:48px}
.mb8{margin-bottom:8px}.mb16{margin-bottom:16px}.mb24{margin-bottom:24px}.mb32{margin-bottom:32px}
.hide { display: none !important; }

/* ---------- 5. 背景纹理（极淡网格 + 单色雾面） ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--bg); }
.bg-fx::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(23,35,63,.026) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(23,35,63,.026) 1px,transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 74%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.orb-1 { width: 720px; height: 560px; top: -260px; left: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(78,113,214,.13), transparent 70%); }
.orb-2, .orb-3 { display: none; }

.glow-line { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 24px; border-radius: var(--r-full);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s;
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(43,92,230,.55); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 14px 28px -12px rgba(43,92,230,.62); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--line-3); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-soft { background: #EDF2FD; color: var(--brand-ink); border-color: rgba(43,92,230,.16); }
.btn-soft:hover { background: #E2EAFB; }
.btn-sm { height: 34px; padding: 0 14px; font-size: .82rem; }
.btn-lg { height: 52px; padding: 0 34px; font-size: .98rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-danger { background: #FDF1F1; color: var(--danger-ink); border-color: rgba(216,71,75,.24); }
.btn-danger:hover { background: #FAE4E5; }

/* ---------- 7. 卡片（白实心 + 细边框） ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: transform .24s var(--ease), border-color .24s, box-shadow .24s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card-flat { background: var(--panel); }
.card-glow::after { display: none; }
.card-lg { padding: 32px; }

/* 卡片顶部细线：收敛为品牌蓝短线 */
.card-line::before {
  content:''; position:absolute; top:0; left: 26px; width: 34px; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--brand);
}

.icon-box {
  width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center;
  background: #EDF2FD; border: none; color: var(--brand);
  flex: none; margin-bottom: 18px;
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box.sm { width: 36px; height: 36px; border-radius: var(--r-sm); margin: 0; }
.icon-box.sm svg { width: 17px; height: 17px; }
.icon-box.plain { background: rgba(23,35,63,.05); color: var(--text-2); }

/* 标签 */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 29px; padding: 0 13px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line-2);
  font-size: .78rem; color: var(--text-2); font-weight: 500;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(30,158,106,.13); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
}
.badge-brand { background: #EDF2FD; color: var(--brand-ink); border-color: rgba(43,92,230,.18); }
.badge-ok    { background: #E9F7F1; color: var(--ok-ink); border-color: rgba(30,158,106,.20); }
.badge-warn  { background: #FBF3E4; color: var(--warn-ink); border-color: rgba(201,127,23,.22); }
.badge-danger{ background: #FCEFEF; color: var(--danger-ink); border-color: rgba(216,71,75,.20); }
.badge-violet{ background: #EDF2FD; color: var(--brand-ink); border-color: rgba(43,92,230,.18); }
.badge-dim   { background: rgba(23,35,63,.045); color: var(--muted); border-color: rgba(23,35,63,.09); }

/* ---------- 8. 导航（营销站） ---------- */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav-shell.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line); box-shadow: 0 1px 20px -14px rgba(23,35,63,.24);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; }
.brand-mark { width: 32px; height: 32px; position: relative; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-sub { font-size: .71rem; color: var(--dim); font-weight: 400; letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-full); font-size: .89rem; color: var(--text-2);
  font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(23,35,63,.045); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- 9. Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(48px,6.4vw,88px)); padding-bottom: clamp(38px,4.8vw,66px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 36px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.hero-proof .k { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.hero-proof .l { font-size: .8rem; color: var(--muted); margin-top: 7px; }

/* 轨道动效（线框化，去发光） */
.orbit-stage { position: relative; aspect-ratio: 1/1; max-width: 470px; margin: 0 auto; }
.orbit-stage svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(23,35,63,.10); stroke-width: 1; }
.orbit-ring.hi { stroke: rgba(43,92,230,.42); stroke-dasharray: 3 7; }
.orbit-spin-1 { transform-origin: 250px 250px; animation: spin 26s linear infinite; }
.orbit-spin-2 { transform-origin: 250px 250px; animation: spin 40s linear infinite reverse; }
.orbit-spin-3 { transform-origin: 250px 250px; animation: spin 62s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { animation: pulseCore 4.2s var(--ease) infinite; transform-origin: 250px 250px; }
@keyframes pulseCore { 0%,100%{ opacity:.88 } 50%{ opacity:1; } }

/* 终端演示（深色锚点组件） */
.term {
  background: linear-gradient(180deg,var(--term-bg),var(--term-bg-2));
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-lg);
  box-shadow: 0 28px 64px -30px rgba(16,26,51,.5), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--term-line); background: rgba(255,255,255,.02); }
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-title { margin-left: 8px; font-family: var(--font-mono); font-size: .73rem; color: var(--term-dim); }
.term-body { padding: 20px 20px 24px; font-family: var(--font-mono); font-size: .84rem; line-height: 1.95; min-height: 266px; color: var(--term-text); }
.term-line { display: flex; gap: 10px; opacity: 0; animation: fadeUp .5s var(--ease-out) forwards; }
.term-prompt { color: #6FA0FF; flex: none; }
.term-cmd { color: var(--term-text); }
.term-ok { color: #4ADE9B; }
.term-dim { color: var(--term-dim); }
.term-out { color: #C3CCE4; padding-left: 20px; }
.term-cursor { display:inline-block; width: 8px; height: 15px; background: #6FA0FF; animation: blink 1.05s steps(2) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0 } }
@keyframes fadeUp { from { opacity:0; transform: translateY(7px) } to { opacity:1; transform:none } }

/* ---------- 10. 数字条 / 跑马灯 ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: #FBFCFE; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .91rem; white-space: nowrap; font-weight: 500; }
.ticker-item::before { content:''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 11. 九环节流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(9,1fr); gap: 10px; position: relative; }
.flow-node {
  position: relative; text-align: center; padding: 20px 10px 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line);
  box-shadow: none;
  transition: transform .24s var(--ease), border-color .24s, box-shadow .24s;
}
.flow-node:hover { transform: translateY(-4px); border-color: rgba(43,92,230,.36); box-shadow: var(--shadow-sm); }
.flow-node .n { font-family: var(--font-mono); font-size: .67rem; color: var(--brand); }
.flow-node .t { font-size: .83rem; font-weight: 600; margin-top: 9px; line-height: 1.35; }
.flow-node .s { font-size: .69rem; color: var(--dim); margin-top: 5px; }

/* ---------- 12. 套餐 ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .26s var(--ease), border-color .26s, box-shadow .26s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.plan.featured { border-color: rgba(43,92,230,.45); box-shadow: var(--glow-soft); }
.plan.featured::before { display: none; }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 4px 14px; border-radius: var(--r-full); letter-spacing: .05em; white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; }
.plan-desc { font-size: .84rem; color: var(--muted); margin-top: 6px; min-height: 40px; }
.plan-price { display: flex; align-items: flex-end; gap: 6px; margin: 20px 0 4px; }
.plan-price .cur { font-size: 1.05rem; color: var(--text-2); padding-bottom: 9px; }
.plan-price .num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 600; line-height: 1; letter-spacing: 0; }
.plan-price .per { font-size: .84rem; color: var(--dim); padding-bottom: 9px; }
.plan-year { font-size: .78rem; color: var(--gold); margin-bottom: 18px; }
.plan hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.plan-feats { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-feats li { display: flex; gap: 10px; font-size: .87rem; color: var(--text-2); align-items: flex-start; }
.plan-feats li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.plan-feats li.off { color: var(--dim); }
.plan-feats li.off svg { color: var(--dim); opacity: .55; }
.plan-x { font-weight: 600; color: var(--text); }
.plan .btn { margin-top: 26px; }

.seg {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-full);
  background: #F1F4F9; border: 1px solid var(--line);
}
.seg button {
  padding: 8px 20px; border-radius: var(--r-full); font-size: .86rem; font-weight: 600;
  color: var(--muted); transition: all .2s var(--ease);
}
.seg button.on { background: var(--brand); color: #fff; }

/* ---------- 13. 表单 ---------- */
.field { margin-bottom: 18px; }
.label { display: block; font-size: .84rem; color: var(--text-2); margin-bottom: 9px; font-weight: 500; }
.label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 15px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(43,92,230,.55); box-shadow: var(--ring); }
.textarea { height: auto; padding: 13px 15px; min-height: 108px; resize: vertical; line-height: 1.7; }
.select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236C7A94' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.input-err { border-color: rgba(216,71,75,.55) !important; box-shadow: 0 0 0 3px rgba(216,71,75,.10) !important; }
.field-msg { font-size: .78rem; color: var(--danger); margin-top: 7px; min-height: 16px; }
.field-msg.ok { color: var(--ok); }
.input-group { position: relative; }
.input-group .prefix { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-group .input { padding-left: 56px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--text-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); margin-top: 3px; flex: none; }
.search-input { position: relative; }
.search-input svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.search-input .input { padding-left: 39px; }

/* 密码强度 */
.pw-bars { display: flex; gap: 5px; margin-top: 10px; }
.pw-bars i { flex: 1; height: 5px; border-radius: 999px; background: rgba(23,35,63,.13); transition: background .3s; }
.pw-bars[data-level="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-bars[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-bars[data-level="3"] i:nth-child(-n+3) { background: #3E8EE0; }
.pw-bars[data-level="4"] i { background: var(--ok); }
.pw-hint { font-size: .76rem; color: var(--muted); margin-top: 8px; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pw-rule { font-size: .74rem; color: var(--dim); display: flex; align-items: center; gap: 5px; }
.pw-rule.on { color: var(--ok); }
.pw-rule::before { content:'○'; font-size: .7rem; }
.pw-rule.on::before { content:'●'; }

/* ---------- 14. 应用壳（控制台/后台/代理） ---------- */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.side-label { font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; color: var(--dim); padding: 16px 12px 7px; font-family: var(--font-mono); font-weight: 500; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: .885rem; font-weight: 500; transition: all .16s var(--ease); position: relative;
}
.side-nav a svg { width: 17px; height: 17px; flex: none; opacity: .68; }
.side-nav a:hover { background: rgba(23,35,63,.04); color: var(--text); }
.side-nav a:hover svg { opacity: 1; }
.side-nav a.active { background: #EDF2FD; color: var(--brand-ink); font-weight: 600; }
.side-nav a.active svg { opacity: 1; color: var(--brand); }
.side-nav a.active::before { content:''; position:absolute; left:-14px; top:50%; transform:translateY(-50%); width:3px; height:18px; border-radius:0 2px 2px 0; background: var(--brand); }
/* 「返回官网」链接自身带 .side-nav 类，需单独约束，否则内部 SVG 会撑满整行 */
a.side-nav { flex-direction: row; align-items: center; gap: 11px; padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: .885rem; font-weight: 500; text-decoration: none; transition: all .16s var(--ease); }
a.side-nav svg { width: 17px; height: 17px; flex: none; opacity: .68; }
a.side-nav:hover { background: rgba(23,35,63,.04); color: var(--text); }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.side-user { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: var(--r-sm); transition: background .2s; }
.side-user:hover { background: rgba(23,35,63,.04); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .8rem;
}
.avatar.lg { width: 56px; height: 56px; font-size: 1.12rem; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.topbar h1 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 600; letter-spacing: .01em; }
.topbar .crumb { font-size: .77rem; color: var(--dim); margin-top: 1px; }
.page { padding: 26px 28px 64px; max-width: 1400px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .lead { font-size: .9rem; margin-top: 6px; }

/* 页首横幅：实色淡蓝底 + 左侧品牌竖条 */
.hero-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px 28px;
  background: var(--mist-2);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.hero-band::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--brand);
}
.hero-band::after { display: none; }
.hero-band > * { position: relative; z-index: 1; }

/* 统计卡 */
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 21px;
  box-shadow: none;
  transition: border-color .24s, transform .24s, box-shadow .24s;
}
.stat:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.stat .k { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.05; letter-spacing: 0; }
.stat .l { font-size: .82rem; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 7px; }
.stat .d { font-size: .76rem; margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; }
.stat .d.up { color: var(--ok); } .stat .d.down { color: var(--danger); }
.stat .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* 面板 */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { font-size: .96rem; font-weight: 600; }
.panel-head .sub { font-size: .78rem; color: var(--dim); margin-top: 3px; }
.panel-body { padding: 20px 22px; }
.panel-body.flush { padding: 0; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 640px; }
table.tb th {
  text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 12px 18px;
  border-bottom: 1px solid var(--line); white-space: nowrap; background: #F8FAFD;
}
table.tb td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
table.tb tbody tr { transition: background .15s; }
table.tb tbody tr:hover { background: #F7F9FD; }
table.tb tbody tr:last-child td { border-bottom: none; }
table.tb .strong { color: var(--text); font-weight: 600; }
table.tb .num { font-family: var(--font-mono); }

/* 标签页 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  padding: 11px 17px; font-size: .89rem; color: var(--muted); font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: all .16s;
}
.tabs button:hover { color: var(--text-2); }
.tabs button.on { color: var(--brand-ink); border-bottom-color: var(--brand); font-weight: 600; }

/* 进度条 */
.bar { height: 7px; border-radius: 999px; background: rgba(23,35,63,.08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .8s var(--ease-out); }
.bar.warn > i { background: var(--warn); }
.bar.danger > i { background: var(--danger); }

/* 开关 */
.switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: rgba(23,35,63,.18); transition: background .22s; flex: none; cursor: pointer; }
.switch::after { content:''; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow: 0 1px 3px rgba(23,35,63,.26); transition: transform .22s var(--ease); }
.switch.on { background: var(--brand); }
.switch.on::after { transform: translateX(18px); }

/* 空态 */
.empty { text-align: center; padding: 52px 20px; color: var(--dim); }
.empty svg { width: 42px; height: 42px; margin: 0 auto 14px; opacity: .45; }

/* ---------- 15. 弹层 / 抽屉 / Toast ---------- */
.mask { position: fixed; inset: 0; background: rgba(16,26,51,.36); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .28s; }
.mask.on { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; z-index: 210; top: 50%; left: 50%; transform: translate(-50%,-46%) scale(.97);
  width: min(560px, calc(100vw - 36px)); max-height: 88vh; overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}
.modal.on { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
.modal.wide { width: min(760px, calc(100vw - 36px)); }
.modal-head { padding: 24px 28px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; }
.modal-head .sub { font-size: .83rem; color: var(--muted); margin-top: 6px; }
.modal-body { padding: 22px 28px; }
.modal-foot { padding: 0 28px 26px; display: flex; gap: 12px; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all .2s; flex: none; }
.modal-close:hover { background: rgba(23,35,63,.06); color: var(--text); }

.drawer {
  position: fixed; z-index: 210; top: 0; right: 0; height: 100vh; width: min(460px,100vw);
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 64px -36px rgba(23,35,63,.34);
  transform: translateX(100%); transition: transform .32s var(--ease-out);
  display: flex; flex-direction: column;
}
.drawer.on { transform: none; }
.drawer-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 16px 24px; border-top: 1px solid var(--line); }

.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 11px; padding: 12px 19px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: .88rem; animation: toastIn .3s var(--ease-out); color: var(--text);
}
.toast.ok { border-color: rgba(30,158,106,.4); }
.toast.err { border-color: rgba(216,71,75,.4); }
.toast svg { width: 17px; height: 17px; flex: none; }
.toast.ok svg { color: var(--ok); }
.toast.err svg { color: var(--danger); }
.toast svg { color: var(--brand); }
@keyframes toastIn { from { opacity:0; transform: translateY(-14px) scale(.96) } to { opacity:1; transform:none } }

/* 订单摘要行 */
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: .88rem; }
.sum-row + .sum-row { border-top: 1px solid var(--line); }
.sum-row .v { color: var(--text); font-weight: 600; font-family: var(--font-mono); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line-2); margin-top: 8px; }
.sum-total .v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }

/* 支付方式 */
.pay-opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.pay-opt { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 12px; text-align: center; font-size: .84rem; color: var(--text-2); transition: all .2s; background: #fff; }
.pay-opt:hover { border-color: var(--line-3); }
.pay-opt.on { border-color: rgba(43,92,230,.55); background: #F5F8FE; color: var(--text); box-shadow: var(--ring); }
.pay-opt .em { font-size: 1.3rem; display: block; margin-bottom: 5px; }

/* ---------- 16. 通用动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
.reveal.d5 { transition-delay: .35s; }  .reveal.d6 { transition-delay: .42s; }

/* ---------- 17. 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #FBFCFE; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: .82rem; color: var(--text); margin-bottom: 16px; font-weight: 600; letter-spacing: .05em; }
.footer a { display: block; color: var(--muted); font-size: .86rem; padding: 6px 0; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; color: var(--dim); flex-wrap: wrap; }

/* ---------- 18. 通用列表 / 行 / 磁贴 ---------- */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: none; }
.list-row .lr-ic { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: rgba(23,35,63,.045); color: var(--text-2); }
.list-row .lr-ic svg { width: 17px; height: 17px; }
.list-row .lr-main { min-width: 0; flex: 1; }
.list-row .lr-t { font-size: .89rem; font-weight: 600; color: var(--text); }
.list-row .lr-s { font-size: .77rem; color: var(--muted); margin-top: 2px; }
.list-row .lr-meta { font-size: .78rem; color: var(--dim); text-align: right; flex: none; }

.tile { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: all .2s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-xs); }
.tile .tv { font-family: var(--font-display); font-size: 1.38rem; font-weight: 600; line-height: 1; }
.tile .tl { font-size: .78rem; color: var(--muted); margin-top: 6px; }

.task-item { display: flex; align-items: flex-start; gap: 13px; padding: 15px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; margin-bottom: 11px; transition: all .2s; }
.task-item:hover { border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.task-item .ti-ic { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: #EDF2FD; color: var(--brand); }
.task-item .ti-ic svg { width: 16px; height: 16px; }

.pulse { position: relative; }
.pulse::after { content:''; position:absolute; inset: -3px; border-radius: inherit; border: 1px solid rgba(43,92,230,.38); animation: pulseRing 1.8s var(--ease-out) infinite; }
@keyframes pulseRing { 0% { opacity: .8; transform: scale(.94) } 100% { opacity: 0; transform: scale(1.14) } }

.donut { display: grid; place-items: center; position: relative; }
.donut text { font-family: var(--font-display); font-weight: 600; fill: var(--text); }

.kbd { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: #fff; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }

.divider { height: 1px; background: var(--line); border: none; margin: 18px 0; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .orbit-stage { max-width: 390px; }
  .flow { grid-template-columns: repeat(3,1fr); }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 120; width: var(--side-w); transform: translateX(-100%); transition: transform .3s var(--ease-out); box-shadow: var(--shadow-lg); }
  .side.on { transform: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2,1fr); }
  .page { padding: 20px 16px 52px; }
  .topbar { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-body,.modal-head,.modal-foot { padding-left: 20px; padding-right: 20px; }
  .pay-opts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   v4 覆盖段 · 后台三端「编辑式极简」
   目标：与 v3 明显区分——更窄的素净侧栏 / 编辑式数字带 / 更扁顶栏
   ============================================================= */

/* 收紧外壳尺寸 */
:root {
  --side-w: 216px;
  --nav-h: 58px;
  --r-lg: 12px;
  --r-xl: 14px;
}

/* ---------- 侧边栏：去掉胶囊底色，改用左侧竖线激活 ---------- */
.side { padding: 16px 12px 14px; gap: 2px; }
.side-brand { padding: 4px 8px 16px; font-size: 1rem; }
.side-label { padding: 15px 10px 6px; font-size: .64rem; letter-spacing: .2em; color: var(--dim); }
.side-nav { gap: 1px; }
.side-nav a {
  padding: 8px 10px; border-radius: 6px;
  font-size: .87rem; font-weight: 450; color: var(--muted);
}
.side-nav a svg { width: 16px; height: 16px; opacity: .55; stroke-width: 1.6; }
.side-nav a:hover { background: rgba(23,35,63,.035); color: var(--text-2); }
.side-nav a.active {
  background: transparent; color: var(--brand-ink); font-weight: 650;
}
.side-nav a.active::before {
  left: -12px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 16px; border-radius: 0 2px 2px 0; background: var(--brand);
}
a.side-nav { padding: 8px 10px; border-radius: 6px; font-size: .87rem; color: var(--muted); }
.side-foot { padding-top: 12px; }

/* ---------- 顶栏：更扁、更安静的细线 ---------- */
.topbar { height: 54px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.06rem; font-weight: 600; }
.topbar .crumb { font-size: .74rem; margin-top: 0; }

/* ---------- 页面留白加大 ---------- */
.page { padding: 30px 30px 72px; }
.page-head { margin-bottom: 26px; }

/* ---------- 编辑式数字带：KPI 从「卡片」变「数字条」 ---------- */
.stat {
  background: transparent; border: none; border-radius: 0;
  border-left: 2px solid var(--line);
  padding: 4px 0 6px 18px;
  box-shadow: none;
}
.stat:hover { transform: none; box-shadow: none; border-left-color: var(--brand); }
.stat .k { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--text); }
.stat .l { font-size: .8rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.stat .d { margin-top: 8px; }
.stat .head { margin-bottom: 12px; }

/* ---------- 卡片与面板：更冷静（去位移、去阴影） ---------- */
.card, .panel { box-shadow: none; }
.card:hover { transform: none; box-shadow: none; border-color: var(--line-3); }
.card-glow::before, .card-glow::after { display: none; }

/* ---------- 表格：表头去底色，改用细底线 ---------- */
table.tb th {
  background: transparent; border-bottom: 1px solid var(--line-2);
  padding: 11px 16px; font-size: .71rem; letter-spacing: .1em;
}
table.tb td { padding: 12px 16px; }

/* ---------- KPI 副标题里的图标盒收小 ---------- */
.icon-box { width: 40px; height: 40px; border-radius: 9px; }
.icon-box svg { width: 19px; height: 19px; }

/* ---------- 抽屉/弹层标题统一衬线 ---------- */
.drawer-head h3, .modal-head h3 { font-family: var(--font-display); font-weight: 600; }

@media (max-width: 1080px) {
  :root { --side-w: 200px; }
  .page { padding: 24px 20px 64px; }
}
