/* ============================================================
   欧易 OKX App 官方下载模板（深色科技版）
   设计语言：深色科技 · 光晕背景 · 紧凑胶囊布局 · 柔和半透明选中态
   ============================================================ */

:root {
  /* 色彩 */
  --bg: #0a0d14;
  --bg-2: #0e1320;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --ink: #eef2f8;
  --ink-2: #9aa6b6;
  --ink-3: #5e6a7c;
  --accent: #22c55e;
  --accent-ink: #86efac;
  --accent-soft: rgba(34, 197, 94, 0.13);
  --accent-2: #4ade80;
  --ink-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --up: #2fd39a;
  --down: #f56c6c;

  /* 形状 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --pill: 999px;

  /* 阴影 */
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.4), 0 18px 48px rgba(0, 0, 0, 0.5);

  /* 布局 */
  --nav-h: 60px;
  --dock-h: 118px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::selection { background: var(--accent-soft); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.wrap {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(10, 13, 20, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, #22c55e, #4ade80);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.brand-logo svg { width: 17px; height: 17px; display: block; }

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: -2px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* 桌面胶囊导航 */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
  background: var(--ink-soft);
  border: 1px solid var(--line);
}

.nav-pill a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border-radius: var(--pill);
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-pill a:hover { color: var(--ink); }

.nav-pill a.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 600;
}

.nav-pill a .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

@media (max-width: 900px) {
  .nav-pill { display: none; }
}

/* ---------- 按钮（胶囊） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { box-shadow: 0 6px 22px rgba(34, 197, 94, 0.4); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); }

.btn-ink {
  background: var(--ink);
  color: #0a0d14;
}

.btn-ink:hover { box-shadow: 0 6px 22px rgba(238, 242, 248, 0.22); }

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-block { width: 100%; }

/* 居中按钮行 */
.btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 徽标（胶囊） ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 13px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent-soft);
  white-space: nowrap;
}

.badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.badge-neutral {
  color: var(--ink-2);
  background: var(--ink-soft);
}

/* ---------- 页头标题区 ---------- */
.page-head {
  padding: 40px 0 8px;
}

.page-head .badge { margin-bottom: 14px; }

.page-head h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.page-head p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 640px;
}

/* ---------- Hero（首页，双栏 + 光晕） ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 460px;
  background:
    radial-gradient(ellipse at center, rgba(34, 197, 94, 0.16), transparent 62%),
    radial-gradient(ellipse at 28% 62%, rgba(74, 222, 128, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 46px 0 22px;
}

.hero-copy .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.5px;
}

.hero-copy h1 .em {
  background: linear-gradient(90deg, #86efac, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .sub {
  margin-top: 16px;
  max-width: 520px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.hero-copy .cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy .trust-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* 应用商店按钮 */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #0a0d14;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.store-btn:hover { box-shadow: 0 8px 24px rgba(238, 242, 248, 0.2); }
.store-btn:active { transform: scale(0.97); }

.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.store-btn .t {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.store-btn .t small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  opacity: 0.6;
}

.store-btn .t b { font-size: 16px; font-weight: 800; }

.store-btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.store-btn.ghost:hover { box-shadow: none; border-color: rgba(255, 255, 255, 0.28); }

/* ---------- 手机模型 ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
}

.phone {
  position: relative;
  width: 272px;
  max-width: 100%;
  border-radius: 38px;
  background: #151b28;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(34, 197, 94, 0.14);
}

.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 12px;
  background: #151b28;
  z-index: 3;
}

.phone .screen {
  border-radius: 29px;
  overflow: hidden;
  background: #0c1019;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 14px 14px;
}

/* 屏幕内迷你 App 界面 */
.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0 4px 10px;
}

.app-status .sig {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
}

.app-status .sig i { width: 2.5px; border-radius: 1px; background: currentColor; display: block; }
.app-status .sig i:nth-child(1) { height: 4px; }
.app-status .sig i:nth-child(2) { height: 6px; }
.app-status .sig i:nth-child(3) { height: 8px; }
.app-status .sig i:nth-child(4) { height: 10px; }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-brand { font-size: 14px; font-weight: 800; letter-spacing: 0.3px; }
.app-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, #22c55e, #4ade80);
}

.app-balance {
  padding: 13px 14px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(74, 222, 128, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.app-balance span {
  display: block;
  font-size: 10px;
  color: var(--ink-2);
}

.app-balance b {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.app-balance em {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 10px;
  color: var(--ink-3);
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.app-actions span {
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink-soft);
  font-size: 10.5px;
  color: var(--ink-2);
}

.app-chart {
  margin-top: 10px;
  padding: 11px 12px 8px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.app-chart .chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.app-chart .chart-head b { font-size: 11px; font-weight: 700; }
.app-chart .chart-head span { font-size: 11px; font-weight: 700; color: var(--up); }

.app-chart svg { width: 100%; height: 58px; display: block; }

.app-list { margin-top: 10px; display: flex; flex-direction: column; }

.app-list .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.app-list .row:last-child { border-bottom: 0; }

.app-list .c {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 800;
  color: #0a0d14;
  flex-shrink: 0;
}

.app-list .c.eth { background: #86efac; }
.app-list .c.sol { background: #a5f3d0; }
.app-list .c.doge { background: #f8d57e; }

.app-list .name { font-weight: 700; }
.app-list .p { margin-left: auto; font-weight: 700; }
.app-list .chg { width: 46px; text-align: right; font-weight: 700; }
.app-list .chg.up { color: var(--up); }
.app-list .chg.down { color: var(--down); }

/* ---------- 数据胶囊条 ---------- */
.stat-strip {
  position: relative;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat-strip .item {
  padding: 15px 10px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.stat-strip .num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.stat-strip .num b { color: var(--accent-ink); }

.stat-strip .label {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .num { font-size: 18px; }
}

/* ---------- 区块 ---------- */
.section { padding: 40px 0 6px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.section-head .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.section-head .more:hover { color: var(--accent-ink); }

.section-head .more svg { width: 14px; height: 14px; }

/* ---------- 紧凑条目网格（2 列填满，无大卡片） ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.entry {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

a.entry:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: var(--shadow-soft);
}

.entry .ico {
  width: 40px;
  height: 40px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.entry .ico svg { width: 19px; height: 19px; stroke: var(--accent-ink); }

.entry .ico-line { background: var(--ink-soft); }
.entry .ico-line svg { stroke: var(--ink); }

.entry h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.entry p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}

.entry .go {
  margin-left: auto;
  align-self: center;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.entry .go svg { width: 16px; height: 16px; display: block; }

a.entry:hover .go { color: var(--accent); transform: translateX(2px); }

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 .entry:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 界面预览卡（横滑） ---------- */
.prev-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.prev-card {
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.prev-card .shot {
  height: 128px;
  border-radius: 11px;
  background: #0c1019;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.prev-card .shot svg { width: 100%; height: 100%; }

.prev-card h4 {
  margin-top: 11px;
  font-size: 14px;
  font-weight: 700;
}

.prev-card p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .prev-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .prev-card { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- 迷你标签（卡片内角标） ---------- */
.mini-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.entry h3.has-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 热门行情胶囊条 ---------- */
.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s ease;
}

.tk-item:hover { border-color: rgba(34, 197, 94, 0.45); }

.tk-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #0a0d14;
  flex-shrink: 0;
}

.tk-icon.btc { background: #f8d57e; }
.tk-icon.eth { background: #86efac; }
.tk-icon.sol { background: #a5f3d0; }
.tk-icon.doge { background: #f8b88e; }

.tk-info { flex: 1; min-width: 0; }
.tk-info b { display: block; font-size: 13.5px; font-weight: 700; }
.tk-info span { display: block; font-size: 11px; color: var(--ink-3); }

.tk-price { text-align: right; flex-shrink: 0; }
.tk-price b { display: block; font-size: 13px; font-weight: 700; }
.tk-price em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; }
.tk-price em.up { color: var(--up); }
.tk-price em.down { color: var(--down); }

@media (max-width: 720px) {
  .ticker { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 用户评价卡 ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.quote > p {
  flex: 1;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 9px;
}

.quote .who .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quote .who b { display: block; font-size: 13px; font-weight: 700; }
.quote .who span { display: block; font-size: 11px; color: var(--ink-3); }

/* ---------- 平台动态列表 ---------- */
.news { display: flex; flex-direction: column; }

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.news-item:first-child { padding-top: 4px; }
.news-item:last-child { border-bottom: 0; padding-bottom: 4px; }

.news-item .tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.news-item .tag.neutral { background: var(--ink-soft); color: var(--ink-2); }

.news-item .news-title {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.news-item:hover .news-title { color: var(--accent-ink); }

.news-item .date {
  font-size: 12px;
  color: var(--ink-3);
  flex-shrink: 0;
}

/* ---------- 标签页（胶囊组，柔和选中态，宽度稳定） ---------- */
.tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--pill);
}

.tabs button {
  height: 40px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.tabs button.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 15px;
  position: relative;
  padding-bottom: 22px;
}

.step:last-child { padding-bottom: 0; }

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.step .num {
  width: 36px;
  height: 36px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.step .body { flex: 1; min-width: 0; }

.step .body h4 {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.step .body p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------- 卡片面板 ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}

.panel + .panel { margin-top: 14px; }

/* ---------- 提示胶囊行 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.chip svg { width: 14px; height: 14px; stroke: var(--accent); flex-shrink: 0; }

/* ---------- 注意事项列表 ---------- */
.note-list { display: flex; flex-direction: column; gap: 9px; }

.note-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.note-list li .ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 版本信息胶囊 ---------- */
.ver-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.ver-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}

.ver-chip b { color: var(--ink); font-weight: 700; }

/* ---------- 更新日志时间线 ---------- */
.updates { display: flex; flex-direction: column; }

.update {
  display: flex;
  gap: 15px;
  position: relative;
  padding-bottom: 20px;
}

.update:last-child { padding-bottom: 0; }

.update:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.update .ver {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.update .body { flex: 1; min-width: 0; }

.update .body .top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.update .body h4 { font-size: 15px; font-weight: 700; }
.update .body .date { font-size: 12px; color: var(--ink-3); }

.update .body ul { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }

.update .body li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.update .body li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.update .body li.hot { color: var(--accent-ink); }

/* ---------- FAQ 折叠 ---------- */
.acc { border-top: 1px solid var(--line); }

.acc:last-child { border-bottom: 1px solid var(--line); }

.acc .q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.acc .q:hover { color: var(--accent-ink); }

.acc .q .arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-soft);
  display: grid;
  place-items: center;
  transition: transform 0.22s ease, background 0.15s ease;
}

.acc .q .arrow svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink-2);
  transition: stroke 0.15s ease;
}

.acc.open .q { color: var(--accent-ink); }
.acc.open .q .arrow { background: var(--accent-soft); transform: rotate(180deg); }
.acc.open .q .arrow svg { stroke: var(--accent-ink); }

.acc .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.acc .a .inner {
  padding: 2px 4px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ---------- CTA 区块 ---------- */
.cta-box {
  margin: 44px 0 8px;
  padding: 26px 22px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(74, 222, 128, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--r-lg);
  text-align: center;
}

.cta-box h3 { font-size: 19px; font-weight: 800; letter-spacing: 0.3px; }

.cta-box p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.cta-box .cta-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 52px;
  padding: 30px 0 calc(30px + var(--dock-h));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer .links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

.footer .links a {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.footer .links a:hover { color: var(--accent-ink); }

.footer .brand-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.footer .brand-line .brand-logo { width: 26px; height: 26px; border-radius: 8px; }
.footer .brand-line .brand-logo svg { width: 15px; height: 15px; }
.footer .brand-line span { font-weight: 700; font-size: 15px; }

.footer .about {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.75;
}

.footer .copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 720px) {
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
}

@media (min-width: 901px) {
  .footer { padding-bottom: 30px; }
}

/* ---------- 移动端底部悬浮胶囊坞（2×2 网格，柔和选中态） ---------- */
.dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 70;
  width: calc(100% - 28px);
  max-width: 420px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 6px;
  background: rgba(14, 19, 32, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  border-radius: 13px;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.dock a svg { width: 18px; height: 18px; stroke: currentColor; }

.dock a.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 600;
}

.dock a.cta {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.dock a.cta:active { transform: scale(0.95); }

@media (min-width: 901px) {
  .dock { display: none; }
}

/* ---------- 页面主体 ---------- */
.main {
  flex: 1;
  padding-bottom: calc(34px + var(--dock-h));
}

@media (min-width: 901px) {
  .main { padding-bottom: 40px; }
}

/* ---------- 响应式：Hero ---------- */
@media (max-width: 880px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 34px;
    text-align: center;
  }
  .hero-copy .sub { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row,
  .hero-copy .trust-row,
  .hero-copy .badge-row { justify-content: center; }
  .phone { width: 248px; }
}

@media (max-width: 640px) {
  .hero-copy h1 { font-size: 29px; }
  .hero-copy .sub { font-size: 14.5px; }
}

/* ---------- 通用工具 ---------- */
.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ============================================================
   深度模块（deep modules）
   ============================================================ */

/* 数据表格 */
.deep-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.deep-table th {
  text-align: left; color: var(--ink-2); font-weight: 600;
  padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.deep-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.deep-table td:first-child { font-weight: 700; }
.deep-table tbody tr:last-child td { border-bottom: 0; }
.deep-table .hi { color: var(--accent-ink); font-weight: 700; }
.deep-table .tag-cell { color: var(--accent-ink); font-weight: 700; }
.deep-table .muted { color: var(--ink-3); font-weight: 400; }
.deep-note { margin-top: 12px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.deep-note::before { content: '※ '; color: var(--accent); font-weight: 700; }

/* 时间线 */
.tl { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 9px; top: 26px; bottom: 0;
  width: 2px; background: var(--line); border-radius: 1px;
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--accent-soft); border: 2px solid var(--accent);
  display: grid; place-items: center;
}
.tl-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tl-item.hot .tl-dot { border-color: var(--up); }
.tl-item.hot .tl-dot i { background: var(--up); }
.tl-body { flex: 1; min-width: 0; }
.tl-body .t {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; font-weight: 700; margin-bottom: 4px;
}
.tl-body .t time { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.tl-body .t .mini-tag {
  font-size: 10px; font-weight: 700; padding: 1px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.tl-body p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }

/* 指标条 */
.metric-row { display: flex; flex-direction: column; gap: 16px; }
.metric-item .mi-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 6px; }
.metric-item .mi-top b { font-weight: 700; }
.metric-item .mi-top span { color: var(--ink-3); font-size: 12px; }
.metric-bar { height: 8px; border-radius: 4px; background: var(--ink-soft); overflow: hidden; }
.metric-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.metric-item p { margin-top: 6px; font-size: 12px; color: var(--ink-2); line-height: 1.7; }

/* 术语表 */
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gloss-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px;
}
.gloss-item b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--accent-ink); }
.gloss-item span { font-size: 12px; color: var(--ink-2); line-height: 1.7; display: block; }
@media (max-width: 640px) { .gloss { grid-template-columns: 1fr; } }

/* 深度文章 */
.art-block { margin-bottom: 16px; }
.art-block:last-child { margin-bottom: 0; }
.art-block h4 {
  font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.art-block h4::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2)); flex-shrink: 0;
}
.art-block p { font-size: 13px; color: var(--ink-2); line-height: 1.85; }

/* 编号详解 */
.pairs { display: flex; flex-direction: column; }
.pairs-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pairs-item:first-child { padding-top: 2px; }
.pairs-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.pairs-num {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 800; font-size: 12px; display: grid; place-items: center;
}
.pairs-body { flex: 1; min-width: 0; }
.pairs-body h4 { font-size: 13.5px; margin-bottom: 3px; }
.pairs-body p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.pairs-body .mini-tag {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 8px;
  border-radius: 999px; background: var(--ink-soft); color: var(--ink-2); margin-left: 6px;
  vertical-align: 1px;
}
