/* ============================================================
   店链 IP · Apple 风格设计系统
   ============================================================ */

:root {
  --ink: #1D1D1F;
  --ink2: #424245;
  --ink3: #6E6E73;
  --ink4: #86868B;

  --line: rgba(0, 0, 0, 0.085);
  --line-strong: rgba(0, 0, 0, 0.16);

  --bg: #FBFBFD;
  --bg2: #F5F5F7;
  --card: #FFFFFF;

  --accent: #0B6B45;
  --accent-hover: #085635;
  --accent-soft: rgba(11, 107, 69, 0.075);
  --accent-line: rgba(11, 107, 69, 0.22);

  --warm: #A8500C;
  --warm-soft: #FDF3E7;
  --danger: #C0392B;
  --danger-soft: #FDECEA;
  --warn: #8A5410;
  --warn-soft: #FDF6E9;
  --blue: #0071E3;
  --blue-soft: #EAF3FE;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 6px 16px -10px rgba(0, 0, 0, 0.16);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 24px 48px -28px rgba(0, 0, 0, 0.22);

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; }
h1 { font-size: 32px; }
h2 { font-size: 21px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
p { margin: 0 0 14px; color: var(--ink2); }
::selection { background: rgba(11, 107, 69, 0.16); }

/* ---------------- 导航 ---------------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 52px; padding: 0 28px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.logo {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
.nav-links a { color: var(--ink2); transition: color 200ms var(--ease); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav.nav-dark { background: linear-gradient(to bottom, rgba(0,0,0,0.78), rgba(0,0,0,0.24)); border-bottom-color: rgba(255, 255, 255, 0.06); }
.nav.nav-dark .brand, .nav.nav-dark .nav-links a { color: rgba(255, 255, 255, 0.86); }
.nav.nav-dark .nav-links a:hover { color: #fff; }
.nav.nav-dark .logo { background: #fff; color: #000; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; padding: 4px 11px; border-radius: 980px;
  background: var(--accent-soft); color: var(--accent); font-weight: 500;
}
.pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); display: block;
}

/* ---------------- 版式 ---------------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section.tight { padding: 52px 0; }
.divider { height: 1px; background: var(--line); }

.section-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 14px;
}
.section-head-lg {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.032em; margin-bottom: 18px; max-width: 700px;
}
.section-sub {
  font-size: 17px; line-height: 1.6; color: var(--ink3);
  max-width: 620px; margin-bottom: 44px; letter-spacing: -0.01em;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.03em; }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: 980px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  background: var(--accent); color: #fff;
  transition: background 220ms var(--ease), transform 120ms var(--ease-out),
    box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); text-decoration: none; }
}
.btn:active { transform: scale(0.97); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: rgba(0, 0, 0, 0.04); }
}
.btn-dark { background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #000; }
}
.btn-light { background: #fff; color: #000; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #F0F0F2; color: #000; }
}
.btn-outline-light { background: transparent; color: #F5F5F7; border-color: rgba(255, 255, 255, 0.28); }
@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
}
.btn-danger { background: var(--danger); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------------- 卡片 ---------------- */

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-xs);
}
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.services { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   Hero
   ============================================================ */

.hero-cinema {
  position: relative; overflow: hidden;
  background: #000; color: #F5F5F7;
  padding: 120px 0 64px; margin-top: -52px;
}
.hero-aurora {
  position: absolute; inset: -30% -10% auto -10%; height: 130%;
  pointer-events: none;
  background:
    radial-gradient(46% 50% at 30% 36%, rgba(60, 200, 140, 0.19), transparent 68%),
    radial-gradient(42% 46% at 72% 44%, rgba(70, 130, 245, 0.16), transparent 70%),
    radial-gradient(38% 38% at 52% 70%, rgba(240, 190, 120, 0.10), transparent 72%),
    radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.05), transparent 72%);
  filter: blur(70px) saturate(130%);
  animation: drift 22s var(--ease) infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.08); }
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; padding: 0 28px 56px; text-align: center;
  box-sizing: border-box;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(245, 245, 247, 0.62); margin-bottom: 26px;
}
.hero-eyebrow i {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE9B;
  box-shadow: 0 0 12px rgba(74, 222, 155, 0.8); display: block;
}
.hero-cinema h1 {
  font-size: clamp(38px, 6vw, 76px); line-height: 1.02; font-weight: 600;
  letter-spacing: -0.045em; margin: 0 0 24px; color: #F5F5F7;
}
.hero-cinema h1 em { font-style: normal; color: #5FDFA6; }
.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; letter-spacing: -0.012em;
  color: rgba(245, 245, 247, 0.6); max-width: 620px; margin: 0 auto 36px;
}
.hero-actions-c { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-live {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-top: 46px; font-size: 12.5px; color: rgba(245, 245, 247, 0.42);
}
.hero-live span { display: inline-flex; align-items: center; gap: 8px; }
.hero-live .lv { color: #F5F5F7; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.hero-live .dot-live {
  width: 5px; height: 5px; border-radius: 50%; background: #4ADE9B;
  box-shadow: 0 0 8px rgba(74, 222, 155, 0.7); display: block;
}

.hero-product { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.product-frame {
  border-radius: 18px; overflow: hidden;
  background: #0C0C0E; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.product-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03);
}
.product-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: block; }
.product-bar span { margin-left: 10px; font-size: 11px; color: rgba(255, 255, 255, 0.34); }
.product-body { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 258px; }
.product-side {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 12px; background: rgba(255, 255, 255, 0.018);
}
.product-side .ps-label {
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26); padding: 0 8px; margin-bottom: 8px;
}
.product-side .ps-item {
  display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.5);
  padding: 6px 8px; border-radius: 6px; margin-bottom: 1px;
}
.product-side .ps-item.on { background: rgba(255, 255, 255, 0.08); color: #fff; }
.product-main { padding: 18px 20px; min-width: 0; }
.pm-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.pm-title { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.pm-sub { font-size: 10.5px; color: rgba(255, 255, 255, 0.3); }
.pm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.pm-kpi {
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 9px;
  padding: 9px 10px; background: rgba(255, 255, 255, 0.022);
}
.pm-kpi .k { font-size: 9.5px; color: rgba(255, 255, 255, 0.34); margin-bottom: 3px; }
.pm-kpi .v { font-size: 15px; font-weight: 600; color: #F5F5F7; letter-spacing: -0.02em; }
.pm-kpi .v small { font-size: 9.5px; font-weight: 400; color: rgba(255, 255, 255, 0.34); }
.pm-rows { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.pm-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px;
  padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px; color: rgba(255, 255, 255, 0.44);
}
.pm-row b {
  color: rgba(255, 255, 255, 0.78); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-row .ok { color: #4ADE9B; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  font-size: 10.5px; letter-spacing: 0.16em; color: rgba(245, 245, 247, 0.22);
  text-transform: uppercase;
}

/* 兼容旧结构 */
.hero2 { padding: 64px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink3); font-weight: 600; margin-bottom: 22px;
}
.hero-title { font-size: 44px; line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero-lede { font-size: 17px; color: var(--ink3); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 数字带 ---------------- */

.num-band {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.num-item { padding: 36px 26px; border-right: 1px solid var(--line); }
.num-item:last-child { border-right: none; }
.num-v { font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.num-v small { font-size: 15px; font-weight: 500; color: var(--ink3); margin-left: 3px; }
.num-k { font-size: 13px; color: var(--ink3); margin-top: 10px; }

/* ---------------- 产品矩阵 ---------------- */

.tabs { display: flex; gap: 2px; padding: 3px; background: var(--bg2); border-radius: 980px; margin-bottom: 24px; }
.tab {
  flex: 1; text-align: center; padding: 8px 16px; border-radius: 980px;
  font-size: 13.5px; cursor: pointer; color: var(--ink2); border: none;
  background: transparent; font-family: inherit; white-space: nowrap;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }
.tab.active {
  background: var(--card); color: var(--ink); font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.tabs.cats { width: auto; margin: 0; }
.tabs.cats .tab { flex: none; padding: 7px 18px; }
#adminTabs { overflow-x: auto; }
#adminTabs .tab { flex: none; }

.svc-list { border-top: 1px solid var(--line); }

.svc-row {
  display: grid; grid-template-columns: minmax(260px, 1fr) 604px;
  gap: 20px 40px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  transition: background 200ms var(--ease);
}
.svc-info { min-width: 0; }
.svc-name {
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.018em;
  margin-bottom: 3px; display: flex; align-items: center; gap: 7px;
}
.svc-desc {
  font-size: 12.5px; color: var(--ink3); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; white-space: normal;
}
.tag {
  font-size: 10px; padding: 1px 6px; border-radius: 5px;
  background: var(--bg2); color: var(--ink4); font-weight: 500;
}

.svc-plans { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; flex: 0 0 auto; }
.plan {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "f f";
  align-items: center; column-gap: 12px; row-gap: 1px;
  width: 196px; flex: 0 0 196px; text-align: left; cursor: pointer; font-family: inherit;
  background: transparent; border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 13px;
  transition: border-color 220ms var(--ease), background 220ms var(--ease),
    transform 130ms var(--ease-out);
}
.plan:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { border-color: var(--line-strong); background: #FCFCFD; }
}
.plan.selected { border-color: var(--accent); background: var(--accent-soft); }
.plan-top { grid-area: n; display: flex; align-items: center; gap: 5px; min-width: 0; }
.plan-name {
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.plan-feat {
  grid-area: f; font-size: 11px; color: var(--ink4); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 2px;
}
.plan-price {
  grid-area: p; font-size: 16px; font-weight: 600; letter-spacing: -0.03em;
  white-space: nowrap; text-align: right;
}
.plan-price small { font-size: 10px; font-weight: 400; color: var(--ink4); }
.plan.selected .plan-price { color: var(--accent); }
.dot-hot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  flex: 0 0 5px; display: block; box-shadow: 0 0 0 2px var(--accent-soft);
}

/* ---------------- 配置器 ---------------- */

.formrow {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.formrow:last-child { border-bottom: none; padding-bottom: 0; }
.formrow > label { font-size: 13.5px; color: var(--ink3); }
.formrow .control { min-width: 0; }
.formrow .sub { font-size: 12px; color: var(--ink4); margin-top: 7px; line-height: 1.5; }
.formrow select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg2); font-family: inherit; font-size: 14px; color: var(--ink);
  appearance: none; -webkit-appearance: none;
}

.combo { position: relative; }
.combo-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg2); font-family: inherit; font-size: 14px; color: var(--ink);
  cursor: pointer; text-align: left;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .combo-trigger:hover { border-color: var(--line-strong); }
}
.combo-trigger.open { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.combo-trigger .ph { color: var(--ink4); }
.combo-trigger .caret { color: var(--ink4); font-size: 10px; }
.combo-pop {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line); border-radius: var(--r); padding: 8px;
  box-shadow: var(--shadow); animation: popIn 220ms var(--ease-out) both;
  transform-origin: top center;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.97) translateY(-4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.combo-search {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 13px; margin-bottom: 6px; background: #fff;
}
.combo-search:focus { outline: none; border-color: var(--accent); }
.combo-list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.combo-opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border-radius: 9px; cursor: pointer; font-size: 13.5px;
  transition: background 140ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .combo-opt:hover { background: rgba(0, 0, 0, 0.045); }
}
.combo-opt.sel { background: var(--accent-soft); }
.combo-opt .nm { flex: 1; color: var(--ink); min-width: 0; font-size: 13.5px; }
.combo-opt .nm small { color: var(--ink4); font-size: 11px; margin-left: 5px; }
.combo-opt .pr { color: var(--accent); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.combo-opt .st { color: var(--ink4); font-size: 11px; width: 44px; text-align: right; white-space: nowrap; }
.combo-opt .tag-d {
  font-size: 11px; color: var(--accent); background: var(--accent-soft);
  padding: 2px 8px; border-radius: 980px; white-space: nowrap; font-weight: 500;
}
.combo-empty { padding: 18px 10px; font-size: 13px; color: var(--ink4); text-align: center; }

.flag { width: 22px; height: 16px; border-radius: 4px; object-fit: cover; flex: 0 0 22px; background: var(--bg2); display: block; }
.flag-fb {
  width: 22px; height: 16px; border-radius: 4px; flex: 0 0 22px;
  background: var(--bg2); color: var(--ink4); font-size: 9px; font-weight: 600;
  display: grid; place-items: center;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.chip {
  padding: 5px 13px; border-radius: 980px; border: 1px solid var(--line);
  font-size: 12.5px; cursor: pointer; background: transparent; font-family: inherit;
  color: var(--ink2);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--line-strong); } }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.switch {
  width: 46px; height: 28px; border-radius: 980px; background: rgba(0, 0, 0, 0.14);
  position: relative; cursor: pointer; border: none; padding: 0; flex: 0 0 46px;
  transition: background 280ms var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 280ms var(--ease-out);
}
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(18px); }

.qv-panel { background: var(--bg2); border-radius: var(--r); padding: 20px; margin: 4px 0 16px; }
.qv-panel h4 {
  font-size: 11.5px; font-weight: 600; color: var(--ink3);
  letter-spacing: 0.07em; margin-bottom: 12px; text-transform: uppercase;
}
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.seg-opt {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; background: #fff; font-family: inherit; text-align: left;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .seg-opt:hover { border-color: var(--line-strong); } }
.seg-opt.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.seg-opt b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.seg-opt span { display: block; font-size: 11.5px; color: var(--ink4); margin-top: 3px; line-height: 1.45; }

.range-wrap { margin-top: 18px; }
.range-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.range-head .lbl { font-size: 12.5px; color: var(--ink2); }
.range-head .val { font-size: 14px; font-weight: 600; color: var(--warm); letter-spacing: -0.01em; }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 980px; outline: none; cursor: pointer; direction: rtl;
  background: linear-gradient(90deg, #E8B25E 0%, #B85C1A 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24); cursor: pointer;
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24); cursor: pointer;
}
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink4); margin-top: 8px; }

.qty {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 980px; overflow: hidden; background: var(--bg2);
}
.qty button {
  width: 36px; height: 34px; border: none; background: transparent; cursor: pointer;
  font-size: 16px; color: var(--ink2); font-family: inherit; line-height: 1;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .qty button:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
}
.qty input {
  width: 54px; height: 34px; border: none; text-align: center; font-size: 14px;
  font-family: inherit; color: var(--ink); background: transparent;
}
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------------- 摘要 ---------------- */

.sum-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.sum-strong { font-weight: 500; color: var(--ink); text-align: right; }
.sum-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px 0 6px; font-size: 13.5px;
}
.price { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; }
.price small { font-size: 13px; font-weight: 400; color: var(--ink3); margin-left: 3px; }
.discount { color: var(--accent); font-weight: 500; }

.trust-mini {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12.5px; color: var(--ink4); line-height: 1.5;
}
.trust-mini > div { display: flex; gap: 10px; align-items: flex-start; }
.trust-mini .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: 0 0 4px; margin-top: 8px; }

/* ---------------- 内容组件 ---------------- */

.mod {
  padding: 28px 26px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-xs);
}
.mod-n { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; display: block; margin-bottom: 12px; }
.mod h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.mod p { font-size: 13.5px; color: var(--ink3); margin: 0; line-height: 1.6; }

.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q { font-size: 16px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.018em; color: var(--ink); }
.faq-a { font-size: 14px; color: var(--ink3); margin: 0; line-height: 1.7; max-width: 760px; }

.cta-band {
  background: #000; color: #F5F5F7; border-radius: var(--r-xl);
  padding: 72px 56px; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(60, 200, 140, 0.24), transparent 62%);
  filter: blur(60px); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; margin-bottom: 12px;
  font-weight: 600; letter-spacing: -0.035em; color: #F5F5F7;
}
.cta-band p { color: rgba(245, 245, 247, 0.56); font-size: 15px; margin: 0; max-width: 460px; }

.section-head-md {
  font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.14;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.region-list { border-top: 1px solid var(--line); }
.region-row {
  display: grid; grid-template-columns: 68px 1fr; gap: 6px 24px;
  align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.region-row .rg { font-size: 12.5px; color: var(--ink3); line-height: 1.6; }
.region-row .rv { font-size: 13.5px; color: var(--ink2); line-height: 1.6; }

.visual-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 18px; margin-top: 40px; }
.visual-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
  transition: box-shadow 340ms var(--ease), transform 340ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .visual-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
}
.visual-head { padding: 24px 24px 0; }
.visual-head h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.02em; }
.visual-head p { font-size: 13px; color: var(--ink3); margin: 0; line-height: 1.55; }
.visual-art { margin-top: 18px; height: 200px; background: #000; position: relative; overflow: hidden; }
.visual-art svg { width: 100%; height: 100%; display: block; }
.visual-card.wide .visual-art { height: 232px; }

.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 40px; }
.sec-item { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--card); box-shadow: var(--shadow-xs); }
.sec-item .idx { font-size: 11px; color: var(--ink4); letter-spacing: 0.08em; display: block; margin-bottom: 12px; font-weight: 600; }
.sec-item h3 { font-size: 15px; margin-bottom: 8px; letter-spacing: -0.018em; }
.sec-item p { font-size: 13px; color: var(--ink3); margin: 0; line-height: 1.62; }

.steps-list { counter-reset: st; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: st; position: relative; padding: 0 0 26px 46px; }
.steps-list li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft);
  display: grid; place-items: center;
}
.steps-list li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 8px; width: 1px; background: var(--line); }
.steps-list li:last-child::after { display: none; }
.steps-list b { display: block; font-size: 15px; margin-bottom: 5px; letter-spacing: -0.015em; }
.steps-list p { margin: 0; font-size: 13.5px; color: var(--ink3); line-height: 1.6; }

.kv-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.kv-row:last-child { border-bottom: none; }
.kv-row .k { color: var(--ink3); font-size: 12.5px; }
.kv-row .v {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: var(--ink); word-break: break-all;
}

.node-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; box-shadow: var(--shadow-xs); }
.node-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.node-head .t { font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink3); font-weight: 600; }
.node-list { padding: 8px 10px 12px; }
.node-row {
  display: grid; grid-template-columns: 12px 1fr auto auto; gap: 10px; align-items: center;
  padding: 9px 10px; border-radius: 8px; font-size: 12.5px; color: var(--ink2);
}
.node-row:nth-child(odd) { background: rgba(0, 0, 0, 0.018); }
.node-row .cc { font-size: 10.5px; color: var(--ink4); }
.node-row .ms { font-size: 11px; color: var(--accent); font-weight: 500; }
.node-foot {
  padding: 13px 20px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink4); display: flex; justify-content: space-between;
}

.live-strip { display: flex; gap: 34px; flex-wrap: wrap; align-items: baseline; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.live-item { display: flex; align-items: baseline; gap: 8px; }
.live-item .lv { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.live-item .lk { font-size: 11.5px; color: var(--ink4); }

.social-line { margin-top: 20px; font-size: 13px; color: var(--ink3); padding-left: 14px; border-left: 2px solid var(--accent-line); }
.social-line.on-dark { border-left: none; text-align: center; color: rgba(245, 245, 247, 0.42); margin-top: 20px; padding-left: 0; font-size: 12.5px; }

/* ---------------- 表单 ---------------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; color: var(--ink3); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg2);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft);
}
.field .hint { font-size: 12px; color: var(--ink4); margin-top: 6px; }

/* ---------------- 提示 ---------------- */

.notice { border-radius: var(--r-sm); padding: 11px 14px; font-size: 12.5px; border: 1px solid; margin-bottom: 16px; line-height: 1.5; }
.notice.warn { background: var(--warn-soft); border-color: rgba(138, 84, 16, 0.2); color: var(--warn); }
.notice.info { background: var(--blue-soft); border-color: rgba(0, 113, 227, 0.18); color: #0A5BB5; }
.notice.ok { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.notice.danger { background: var(--danger-soft); border-color: rgba(192, 57, 43, 0.18); color: var(--danger); }

.badge {
  display: inline-block; font-size: 11.5px; padding: 3px 10px; border-radius: 980px;
  background: var(--accent-soft); color: var(--accent); font-weight: 500; white-space: nowrap;
}
.badge.muted { background: var(--bg2); color: var(--ink3); font-weight: 400; }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }

/* ---------------- 表格 ---------------- */

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; font-size: 11.5px; color: var(--ink4); font-weight: 500;
  padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
table.data td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: middle; }
table.data tbody tr { transition: background 160ms var(--ease); }
table.data tbody tr:hover td { background: rgba(0, 0, 0, 0.018); }
table.data td.mono, .mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

.cred {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-sm); margin-bottom: 8px;
}
.cred .val { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--ink); word-break: break-all; }

/* ---------------- 支付 ---------------- */

.paybox { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-align: center; }
.qr { width: 200px; height: 200px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.qr-empty {
  width: 200px; height: 200px; margin: 0 auto; border-radius: 12px;
  border: 1px dashed var(--line-strong); display: grid; place-items: center;
  color: var(--ink4); font-size: 12.5px; text-align: center; padding: 16px; background: #fff;
}
.addr {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px; word-break: break-all; color: var(--ink); margin: 12px 0;
}

/* ---------------- 控制台 ---------------- */

.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: var(--bg2); }
.side {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-right: 1px solid var(--line);
  padding: 18px 14px 24px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.side .brand { font-size: 14.5px; padding: 4px 10px 22px; }
.side .brand .logo { background: var(--ink); color: #fff; }
.side-group {
  font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink4); padding: 18px 12px 8px; font-weight: 500;
}
.side nav a {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border-radius: 9px; color: var(--ink2); font-size: 13.5px; margin-bottom: 1px;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .side nav a:hover { background: rgba(0, 0, 0, 0.045); color: var(--ink); text-decoration: none; }
}
.side nav a.on { background: rgba(0, 0, 0, 0.07); color: var(--ink); font-weight: 500; }
.side-balance {
  margin-top: auto; padding: 16px 14px; border-radius: var(--r);
  background: rgba(0, 0, 0, 0.032); border: 1px solid var(--line);
}
.side-balance .k { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink4); }
.side-balance .v { font-size: 22px; font-weight: 600; color: var(--ink); margin: 5px 0 12px; letter-spacing: -0.035em; }
.side-balance .btn { width: 100%; font-size: 13px; padding: 8px; }

.main { min-width: 0; }
.topbar {
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 30px;
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 17px; font-weight: 600; letter-spacing: -0.022em; }
.topbar .who { font-size: 12.5px; color: var(--ink4); }
.page { padding: 30px; max-width: 1080px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--card); box-shadow: var(--shadow-xs); }
.kpi .k { font-size: 12px; color: var(--ink4); }
.kpi .v { font-size: 27px; font-weight: 600; letter-spacing: -0.04em; margin-top: 7px; }
.kpi .v small { font-size: 14px; font-weight: 500; color: var(--ink4); }
.kpi .d { font-size: 12px; color: var(--ink4); margin-top: 6px; }

.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; box-shadow: var(--shadow-xs); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.018em; }
.panel-body { padding: 20px; }

.led { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #34C77B; box-shadow: 0 0 0 3px rgba(52, 199, 123, 0.14); }
.led.warn { background: #E0A030; box-shadow: 0 0 0 3px rgba(224, 160, 48, 0.16); }
.led.off { background: #C7C7CC; box-shadow: 0 0 0 3px rgba(199, 199, 204, 0.2); }

.ring { position: relative; width: 132px; height: 132px; flex: 0 0 132px; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring .track { stroke: var(--bg2); }
.ring .bar { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 800ms var(--ease); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label .n { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.ring-label .t { font-size: 10.5px; color: var(--ink4); margin-top: 3px; }

.bars { display: flex; gap: 2px; align-items: flex-end; height: 26px; }
.bars i { flex: 1; min-width: 2px; border-radius: 1.5px; background: #7BD9A8; height: 100%; display: block; }
.bars i.warn { background: #E8BC6A; }
.bars i.bad { background: #E29393; height: 42%; }

.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-xs); }
.stat .k { font-size: 12px; color: var(--ink4); margin-bottom: 8px; }
.stat .v { font-size: 25px; font-weight: 600; letter-spacing: -0.035em; }
.stat .v.accent { color: var(--accent); }

/* ---------------- 认证 ---------------- */

.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: var(--bg2); }
.auth-card { width: 100%; max-width: 400px; }
.auth-tabs { display: flex; gap: 2px; padding: 3px; background: var(--bg2); border-radius: 980px; margin-bottom: 22px; }

.modal-mask {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 240ms var(--ease-out) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 420px; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 32px 80px -30px rgba(0, 0, 0, 0.5);
  animation: modalIn 320ms var(--ease-out) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.login-shell { min-height: 100vh; background: #000; color: #F5F5F7; display: grid; grid-template-columns: 1fr 480px; }
.login-art { position: relative; overflow: hidden; display: flex; align-items: center; }
.login-art .art-glow {
  position: absolute; inset: -30%;
  background:
    radial-gradient(48% 52% at 42% 44%, rgba(60, 200, 140, 0.20), transparent 72%),
    radial-gradient(44% 48% at 62% 58%, rgba(70, 130, 245, 0.14), transparent 74%),
    radial-gradient(34% 36% at 34% 62%, rgba(240, 190, 120, 0.07), transparent 76%);
  filter: blur(90px) saturate(120%);
  animation: drift 24s var(--ease) infinite alternate;
}
.login-art .art-copy { position: relative; z-index: 2; padding: 0 72px; max-width: 520px; }
.login-art h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.042em; margin-bottom: 18px; color: #F5F5F7; }
.login-art p { color: rgba(245, 245, 247, 0.52); font-size: 15.5px; line-height: 1.62; margin: 0; letter-spacing: -0.005em; }
.login-panel { background: #0B0B0D; border-left: 1px solid rgba(255, 255, 255, 0.07); display: grid; place-items: center; padding: 44px; }
.login-form { width: 100%; max-width: 356px; }
.login-form .brand { color: #F5F5F7; margin-bottom: 34px; }
.login-form .brand .logo { background: #fff; color: #000; }
.login-form h1 { font-size: 24px; color: #F5F5F7; margin-bottom: 8px; letter-spacing: -0.03em; }
.login-form .lead-s { color: rgba(245, 245, 247, 0.42); font-size: 13.5px; margin: 0 0 28px; }
.login-form .field label { color: rgba(245, 245, 247, 0.44); }
.login-form .field input { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: #F5F5F7; }
.login-form .field input::placeholder { color: rgba(245, 245, 247, 0.26); }
.login-form .field input:focus { border-color: #4BE39C; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(75, 227, 156, 0.12); }
.login-form .auth-tabs { background: rgba(255, 255, 255, 0.055); }
.login-form .auth-tabs .tab { color: rgba(245, 245, 247, 0.48); }
.login-form .auth-tabs .tab.active { background: rgba(255, 255, 255, 0.12); color: #fff; }
.login-foot { margin-top: 24px; font-size: 12.5px; color: rgba(245, 245, 247, 0.32); text-align: center; }
.login-foot a { color: rgba(96, 226, 168, 0.82); }

/* ---------------- 页脚 ---------------- */

.footer {
  border-top: 1px solid var(--line); padding: 40px 28px 56px;
  max-width: 1080px; margin: 0 auto;
  font-size: 12.5px; color: var(--ink4); line-height: 1.8;
}
.footer strong { color: var(--ink3); font-weight: 500; }

/* ---------------- 工具类 ---------------- */

.muted { color: var(--ink4); font-size: 12.5px; }
.center { text-align: center; }
.mt { margin-top: 22px; }
.mt-sm { margin-top: 10px; }
.hidden { display: none !important; }
.copy { cursor: pointer; }
.lead { font-size: 17px; color: var(--ink3); max-width: 58ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 6px; background: none;
  border: 1px solid var(--line); border-radius: 980px; padding: 7px 14px;
  font-family: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink2);
}

/* ---------------- 动效 ---------------- */

.rise { animation: riseIn 720ms var(--ease-out) both; }
.rise-2 { animation: riseIn 720ms var(--ease-out) 90ms both; }
.rise-3 { animation: riseIn 720ms var(--ease-out) 180ms both; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.stagger > * { animation: riseIn 620ms var(--ease-out) both; }
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 55ms; }
.stagger > *:nth-child(3) { animation-delay: 105ms; }
.stagger > *:nth-child(4) { animation-delay: 150ms; }
.stagger > *:nth-child(5) { animation-delay: 190ms; }
.stagger > *:nth-child(6) { animation-delay: 220ms; }
.stagger > *:nth-child(7) { animation-delay: 245ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-2, .rise-3, .stagger > * { animation: none; }
  .hero-aurora, .login-art .art-glow { animation: none; }
  .btn, .plan, .card, .tab { transition: none; }
  .btn:active, .plan:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .side, .topbar, .combo-pop, .modal { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.nav-dark, .login-panel, .login-art { background: #000; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .num-band { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(2) { border-right: none; }
  .num-item:nth-child(1), .num-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid.three { grid-template-columns: 1fr; }
  .visual-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-band { padding: 48px 32px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-panel { border-left: none; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .pm-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-cinema { padding-top: 92px; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .svc-desc { white-space: normal; }
  .svc-plans { justify-content: flex-start; }
  .plan { flex: 0 0 calc(50% - 4px); width: auto; }
}

@media (max-width: 760px) {
  .nav-links a[href="#nodes"] { display: none; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 0 20px; gap: 10px; }
  .nav-links { gap: 12px; font-size: 12px; }
  .nav-links a[href="#guide"], .nav-links a[href="#faq"] { display: none; }
  .hero-inner { padding: 0 20px 56px; }
  .hero-cinema h1 { font-size: 34px; letter-spacing: -0.035em; }
  .hero-live { gap: 18px; margin-top: 34px; }
  .row, .grid.two, .grid.services { grid-template-columns: 1fr; }
  .plan { flex: 0 0 calc(50% - 4px); }
  .formrow { grid-template-columns: 1fr; gap: 8px; align-items: start; padding: 15px 0; }
  .formrow > label { font-size: 12.5px; color: var(--ink4); }
  .seg { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .card { padding: 22px; }
  .hero-product { padding: 0 20px; }
  .num-item { padding: 26px 20px; }
  .tabs.cats { width: 100%; overflow-x: auto; }
  .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 90;
    background: #fff; transform: translateX(-100%);
    transition: transform 320ms var(--ease-out);
  }
  .side.open { transform: translateX(0); }
  .page { padding: 22px 18px 60px; }
  .topbar { padding: 0 18px; }
  .menu-btn { display: inline-flex; }
  .main { max-width: 100vw; overflow-x: hidden; }
  .panel { overflow-x: auto; }
  .panel table.data { min-width: 560px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi .v { font-size: 22px; }
  .cta-band { padding: 40px 24px; border-radius: var(--r-lg); }
}

/* 语言切换器 */
.lang-combo { flex: 0 0 auto; }
.lang-btn {
  padding: 5px 11px; background: transparent; border-color: var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; gap: 5px;
  border-radius: 980px; min-width: 0;
}
.lang-btn .caret { font-size: 9px; opacity: 0.6; }
.nav.nav-dark .lang-btn { border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.86); }
.nav.nav-dark .lang-btn.open { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); box-shadow: none; }
.lang-combo .combo-pop { left: auto; right: 0; width: 208px; }
.lang-combo .combo-opt .nm { font-size: 13px; }
.lang-combo .combo-opt .st { width: 26px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink4); }
.lang-combo .combo-opt.on .nm { font-weight: 600; }
@media (max-width: 700px) {
  .lang-combo { display: flex; }
}

/* ===== 控制台：用量图 / 命令行 / 图标按钮 ===== */

.chart { position: relative; padding-top: 4px; }
.chart-y {
  position: absolute; left: 0; top: 4px; height: 118px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 10px; color: var(--ink4); width: 46px;
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 2px;
  height: 118px; margin-left: 52px;
  border-bottom: 1px solid var(--line);
}
.chart-col {
  flex: 1 1 0; min-width: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: default;
}
.chart-col i {
  display: block; background: var(--accent); opacity: 0.85;
  border-radius: 2px 2px 0 0; min-height: 2px;
  transition: opacity 160ms var(--ease);
}
.chart-col:hover i { opacity: 1; }
.chart-axis {
  display: flex; justify-content: space-between;
  margin: 7px 0 0 52px; font-size: 10.5px; color: var(--ink4);
}
.chart-empty {
  height: 118px; display: grid; place-items: center;
  font-size: 12.5px; color: var(--ink4);
  border: 1px dashed var(--line-strong); border-radius: 10px;
}

.cli {
  display: flex; align-items: center; gap: 12px;
  background: #1D1D1F; border-radius: 11px; padding: 13px 15px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; color: #E8E8ED; overflow-x: auto;
}
.cli code { flex: 1; white-space: nowrap; }
.cli button {
  flex: 0 0 auto; background: rgba(255,255,255,0.14); border: none;
  color: #fff; border-radius: 6px; padding: 4px 11px;
  font-size: 11px; cursor: pointer; font-family: inherit;
  transition: background 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .cli button:hover { background: rgba(255,255,255,0.24); }
}

.icon-btn {
  width: 27px; height: 27px; border-radius: 7px;
  border: 1px solid var(--line); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer;
  color: var(--ink4); padding: 0;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: rgba(0,0,0,0.045); color: var(--ink); }
}
.icon-btn svg { display: block; }

.link-list { display: flex; flex-direction: column; gap: 14px; }
.link-item { display: flex; gap: 11px; align-items: flex-start; }
.link-item .ic {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 30px;
  background: var(--bg2); display: grid; place-items: center;
  font-size: 13px; color: var(--ink3);
}
.link-item b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.link-item span { font-size: 12px; color: var(--ink4); line-height: 1.5; }
