/* ==========================================================================
   Gate 交易所中文站 · 主样式表
   设计原则：交易所风格、移动优先、加载快（纯 CSS、无外部字体/框架）
   ========================================================================== */

:root {
  --blue: #2354e6;
  --blue-600: #1c46c8;
  --blue-700: #1738a3;
  --blue-050: #eef2fe;
  --blue-100: #dde6fd;

  --ink: #0e1526;
  --ink-2: #3d4a66;
  --muted: #7d89a6;
  --line: #e4e9f4;
  --bg: #f5f7fc;
  --card: #ffffff;

  --up: #0aa47c;
  --up-bg: #e0f6ef;
  --down: #e5484d;
  --down-bg: #fdecec;

  --dark: #0b1120;
  --dark-2: #111a2e;
  --dark-3: #1a2440;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(15, 25, 60, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 20, 60, 0.18);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.icon { width: 24px; height: 24px; flex: none; }
.icon.xs { width: 15px; height: 15px; }
.icon.xl { width: 34px; height: 34px; }
.icon.xxl { width: 84px; height: 84px; }

/* ── 布局工具 ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 860px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── 按钮 ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font: 600 15px/1.2 var(--font);
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s, color 0.12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #3d6bff, var(--blue-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(35, 84, 230, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(35, 84, 230, 0.45); }

.btn-light { background: #fff; color: var(--ink); border-color: rgba(255,255,255,0.9); }
.btn-light:hover { background: #f2f5ff; }

.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--blue-100);
}
.btn-outline:hover { background: var(--blue-050); border-color: var(--blue); }

.btn-outline-light {
  background: transparent;
  color: #dfe7ff;
  border-color: rgba(223, 231, 255, 0.4);
}
.btn-outline-light:hover { border-color: #dfe7ff; color: #fff; background: rgba(255,255,255,0.06); }

.btn-lg { padding: 15px 30px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-xs { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }

.text-link { font-weight: 600; }

/* ── 顶部导航 ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand-text em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  color: #9fb0d8;
}

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: #c3cee8;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.main-nav a.active { color: #fff; background: rgba(61, 107, 255, 0.22); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-download { box-shadow: 0 4px 14px rgba(35, 84, 230, 0.5); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #dfe7ff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 面包屑 ───────────────────────────────────────────────────────── */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--blue); }
.bc-sep { color: #c3cce0; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ── 首屏 Hero ────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(61, 107, 255, 0.35), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(28, 70, 200, 0.28), transparent 60%),
    linear-gradient(160deg, #0d1428 0%, #101d45 55%, #13275e 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(61, 107, 255, 0.18);
  border: 1px solid rgba(120, 156, 255, 0.35);
  color: #bcd0ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 16.5px;
  color: #b9c6e6;
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-note { margin-top: 16px; font-size: 12.5px; color: #8ea0cd; }

/* 迷你行情面板 */
.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
}
.hero-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: #eaf0ff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.hero-panel-title span { font-size: 11.5px; font-weight: 400; color: #8ea0cd; }

.hero-tickers { display: flex; flex-direction: column; }
.hero-tickers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.hero-tickers li:last-child { border-bottom: 0; }
.ht-pair { font-weight: 700; color: #dfe7ff; font-size: 14.5px; }
.ht-pair em { font-style: normal; font-weight: 400; color: #7d8fbd; font-size: 12px; }
.ht-price { font-variant-numeric: tabular-nums; color: #fff; font-size: 14.5px; }

.hero-panel-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #9db4ff;
}

/* ── 滚动行情条 ───────────────────────────────────────────────────── */
.ticker-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 25, 60, 0.06);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 11px 0;
  white-space: nowrap;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.ticker-item b { color: var(--ink); font-weight: 700; }
.ticker-item span { color: var(--ink-2); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── 指标带 ───────────────────────────────────────────────────────── */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13.5px; color: var(--muted); }

/* ── 通用区块 ─────────────────────────────────────────────────────── */
.section { padding: 68px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head-gap { margin-top: 52px; }
.kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(23px, 2.6vw, 31px);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: 15.5px; }

/* ── 涨跌徽章 ─────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  min-width: 72px;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.badge.up { color: var(--up); background: var(--up-bg); }
.badge.down { color: var(--down); background: var(--down-bg); }

/* ── 行情表格 ─────────────────────────────────────────────────────── */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.market-table, .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 760px;
}

.market-table th, .data-table th {
  text-align: left;
  padding: 13px 18px;
  background: #f8faff;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.market-table td, .data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.market-table tbody tr:last-child td, .data-table tbody tr:last-child td { border-bottom: 0; }
.market-table tbody tr { transition: background 0.12s; }
.market-table tbody tr:hover { background: #f7f9ff; }

.num { font-variant-numeric: tabular-nums; color: var(--ink); }
.th-action { text-align: right; }
.market-table td:last-child { text-align: right; }

.pair-link { color: var(--ink); font-size: 14.5px; }
.pair-link b { font-weight: 700; }
.pair-link span { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.pair-link:hover b { color: var(--blue); }

.js-price.flash { animation: cellflash 0.7s ease-out; }
@keyframes cellflash {
  from { background: #fff3c2; border-radius: 6px; }
  to { background: transparent; }
}

.table-foot { margin-top: 22px; text-align: center; }
.table-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.table-empty {
  margin-top: 14px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ── 行情页工具栏 ─────────────────────────────────────────────────── */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(61, 107, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #0d1428, #12234f);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.kicker-light {
  color: #9db4ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}
.page-lead { color: #b9c6e6; max-width: 760px; font-size: 15.5px; }
.page-hero-actions { margin-top: 26px; }
.page-hero-note { margin-top: 14px; font-size: 12.5px; color: #8ea0cd; }

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.search-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 10px 16px;
  color: #9fb0d8;
  min-width: 260px;
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 14.5px var(--font);
  width: 100%;
}
.search-box input::placeholder { color: #7488b8; }

.data-status { font-size: 13px; color: #9fb0d8; font-variant-numeric: tabular-nums; }
.data-status .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2fd48f;
  box-shadow: 0 0 0 4px rgba(47, 212, 143, 0.18);
  margin-right: 6px;
}

/* ── 产品卡片 ─────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 25, 60, 0.12); }

.card-icon, .feature-icon, .platform-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--blue-050);
  color: var(--blue);
  margin-bottom: 16px;
}
.card-icon .icon, .feature-icon .icon, .platform-icon .icon { width: 26px; height: 26px; }

.product-card h3, .feature-item h3, .platform-card h3 {
  font-size: 17.5px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.card-desc { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.point-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.point-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.point-list .icon { color: var(--up); }

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── 功能网格 ─────────────────────────────────────────────────────── */
.feature-grid { display: grid; gap: 22px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature-item p { font-size: 13.8px; color: var(--muted); }

/* ── 下载横幅 ─────────────────────────────────────────────────────── */
.download-band {
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(61, 107, 255, 0.4), transparent 60%),
    linear-gradient(135deg, #0e1730, #152a63);
  color: #fff;
}
.download-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.download-band h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.download-band-copy > p { color: #b9c6e6; margin-bottom: 26px; max-width: 560px; }

.download-band-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 200px; height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.18);
  color: #9db4ff;
  box-shadow: var(--shadow-lg);
}

/* ── CTA 横幅 ─────────────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(61, 107, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #101a35, #17306e);
  color: #fff;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.cta-band h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b9c6e6; font-size: 14.5px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-arrow {
  position: relative;
  width: 11px; height: 11px;
  flex: none;
}
.faq-arrow::before, .faq-arrow::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.18s;
}
.faq-arrow::before { left: 0; top: 5px; width: 11px; height: 2px; }
.faq-arrow::after { left: 5px; top: 0; width: 2px; height: 11px; }
.faq-item[open] .faq-arrow::after { transform: scaleY(0); }

.faq-body { padding: 16px 20px 20px; }
.faq-body p { font-size: 14.5px; color: var(--ink-2); }
.faq-body p + p { margin-top: 8px; }

/* ── 关于区块 / 文本块 ───────────────────────────────────────────── */
.about-block h2, .prose h2 {
  font-size: clamp(21px, 2.4vw, 28px);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 18px;
}
.about-block p, .prose p {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ── 下载页 ───────────────────────────────────────────────────────── */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 34px;
  font-size: 14px;
}
.notice .icon { flex: none; margin-top: 2px; width: 21px; height: 21px; }
.notice-warn {
  background: #fff8ec;
  border: 1px solid #f5dfa8;
  color: #7a5a12;
}
.notice-warn .icon { color: #d99a06; }
.notice-info {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: #2c4377;
}
.notice-info .icon { color: var(--blue); }
.notice strong { color: inherit; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.platform-card { text-align: center; align-items: center; }
.platform-icon { margin-left: auto; margin-right: auto; }
.platform-url {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

/* ── 内链导航页 ───────────────────────────────────────────────────── */
.links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}
.link-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.link-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.link-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.link-title:hover { color: var(--blue); text-decoration: none; }
.link-title .icon { color: var(--muted); }
.link-desc { font-size: 13px; color: var(--muted); margin: 6px 0 8px; line-height: 1.6; }
.link-url {
  display: block;
  font-size: 12px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound { text-align: center; padding-top: 30px; padding-bottom: 30px; }
.notfound-code {
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #3d6bff, #1738a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.notfound h1 { color: var(--ink); font-size: 28px; margin-bottom: 12px; }
.notfound .page-lead { margin: 0 auto 26px; color: var(--muted); }
.notfound .about-links { justify-content: center; }

/* ── 页脚 ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #9fb0d8;
  padding-top: 56px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-desc { font-size: 13.5px; line-height: 1.75; margin: 16px 0 20px; max-width: 320px; }
.footer-title { font-size: 14.5px; font-weight: 700; color: #e6ecfa; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #9fb0d8; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 26px;
}
.footer-bottom p { font-size: 12px; line-height: 1.8; color: #6c7ba0; }

/* ── 响应式 ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid, .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { max-width: 560px; }
  .download-band-inner { grid-template-columns: 1fr; }
  .download-band-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 58px; gap: 12px; }

  .nav-toggle { display: flex; margin-left: 4px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px 16px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 15.5px; }

  .header-actions .btn-outline-light { display: none; }

  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat strong { font-size: 25px; }

  .section { padding: 48px 0; }

  .cards-grid, .feature-grid-3, .feature-grid-4, .platform-grid { grid-template-columns: 1fr; }

  .search-box { min-width: 0; width: 100%; }
  .market-toolbar { gap: 10px; }

  .links-list { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
