/* =============================================================================
   餐有道 · 官方主页样式（v2.38.0）
   -----------------------------------------------------------------------------
   唯一品牌色源：docs/brand/trainstudio-color-system.html（主色 #193662）
   本文件不引入任何外部依赖（无 CDN / 无图标库 / 无字体文件），
   以保证在离线网络与内网环境下同样可渲染。
   ============================================================================= */

:root {
  /* 品牌色阶（H216 锁定） */
  --p:   #193662;
  --p1:  #F0F4FA;
  --p2:  #DCE6F5;
  --p3:  #B9CBE8;
  --p5:  #6383B4;
  --p6:  #3C5E95;
  --p7:  #28497A;
  --p9:  #112947;
  --p10: #0A1B33;

  /* 中性色 */
  --t1: #1C2130;
  --t2: #5F6775;
  --t3: #8A93A6;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --line: #E4E9F1;
  --line2: #D3D9E4;

  /* 功能色 */
  --ok: #0F9D62;
  --warn: #C47510;

  /* 阴影（统一品牌色相，避免投影发灰） */
  --sh1: 0 1px 2px rgba(25, 54, 98, .06);
  --sh2: 0 4px 12px rgba(25, 54, 98, .08);
  --sh3: 0 8px 28px rgba(25, 54, 98, .10);
  --sh4: 0 16px 48px rgba(25, 54, 98, .14);

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #2E86DE 0%, #193662 100%);
  --grad-deep:  linear-gradient(160deg, #0A1B33 0%, #193662 100%);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -3px; }

/* ── 按钮 ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn .ic { width: 17px; height: 17px; }
.btn-p { background: var(--p); color: #fff; box-shadow: 0 6px 18px rgba(25, 54, 98, .22); }
.btn-p:hover { background: var(--p7); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(25, 54, 98, .28); }
.btn-p:active { background: var(--p9); transform: translateY(0); }
.btn-outline { background: transparent; color: var(--p); border-color: var(--p3); }
.btn-outline:hover { border-color: var(--p); background: var(--p1); }
.btn-soft { background: var(--p1); color: var(--p); border-color: var(--p2); }
.btn-soft:hover { background: var(--p2); }
.btn-ghost { background: transparent; color: var(--p); padding: 9px 14px; }
.btn-ghost:hover { background: var(--p1); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-lg .ic { width: 18px; height: 18px; }
.btn-block { width: 100%; }

/* ── 导航 ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh1); background: rgba(255, 255, 255, .94); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; font-weight: 800; color: var(--p9); letter-spacing: .5px; }
.brand-text i { font-size: 9.5px; font-style: normal; font-weight: 700; letter-spacing: 2.4px; color: var(--t3); }
/* v2.38.1：官网 LOGO 改用 TrainStudio 组合标（TS 图标 + TrainStudio 字标） */
.brand-logo { height: 25px; width: auto; display: block; }
.brand-light .brand-logo { height: 30px; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--t2);
  transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--p); background: var(--p1); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--p); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 68px 0 0; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 78%;
  background:
    radial-gradient(60% 60% at 78% 22%, rgba(46, 134, 222, .16) 0%, rgba(46, 134, 222, 0) 68%),
    radial-gradient(50% 50% at 12% 6%, rgba(25, 54, 98, .10) 0%, rgba(25, 54, 98, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(25, 54, 98, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25, 54, 98, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(80% 62% at 50% 26%, #000 0%, transparent 76%);
  mask-image: radial-gradient(80% 62% at 50% 26%, #000 0%, transparent 76%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--p2);
  box-shadow: var(--sh1);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--p7);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(15, 157, 98, .16); }

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.9vw, 46px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--p10);
}
.hero h1 em {
  display: inline-block;
  font-size: .86em;
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { margin: 0 0 28px; font-size: 17px; line-height: 1.85; color: var(--t2); max-width: 34em; }
.lede strong { color: var(--p); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t2); }
.hero-points .ic { width: 16px; height: 16px; color: var(--ok); }

/* ── 笔记本 mockup ──────────────────────────────────────────────────────── */
.hero-visual { position: relative; }
.laptop { position: relative; filter: drop-shadow(0 26px 46px rgba(25, 54, 98, .20)); }
.laptop-lid {
  border-radius: 20px;
  padding: 12px;
  background: linear-gradient(160deg, #38445C 0%, #1E2A3E 100%);
  border: 1px solid rgba(255, 255, 255, .10);
}
.mock {
  display: grid;
  grid-template-columns: 62px 1fr;
  background: #F4F7FC;
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.mock-side { background: var(--p10); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mock-brand { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-brand); }
.mock-nav { display: flex; flex-direction: column; gap: 13px; align-items: center; }
.mock-nav i { display: block; width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.mock-nav i.on { background: #fff; }
.mock-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-head b { font-size: 13.5px; color: var(--p9); }
.mock-tag { font-size: 10.5px; font-weight: 600; color: var(--p7); background: var(--p2); padding: 3px 9px; border-radius: 999px; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ms {
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.ms small { font-size: 9.5px; color: var(--t3); white-space: nowrap; }
.ms b { font-size: 13.5px; font-weight: 800; color: var(--t1); letter-spacing: -.01em; }
.ms em { font-size: 9.5px; font-style: normal; font-weight: 700; }
.ms em.up { color: var(--ok); }
.ms em.down { color: var(--t3); }
.mock-charts { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.mock-charts .panel {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.ptitle { font-size: 10.5px; font-weight: 700; color: var(--t2); }
.chart-line { width: 100%; flex: 1; min-height: 0; }
.chart-donut { width: 100%; max-width: 118px; margin: auto; }
.laptop-base {
  height: 11px;
  margin: 0 auto;
  width: 74%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #C7D0DE 0%, #98A3B4 100%);
}

/* ── Hero 底部三特性条 ──────────────────────────────────────────────────── */
.feature-strip {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.feature-strip li { display: flex; align-items: center; gap: 13px; padding: 22px 26px 0 0; }
.feature-strip li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.feature-strip .ic { width: 30px; height: 30px; color: var(--p); flex: none; }
.feature-strip b { display: block; font-size: 15px; color: var(--t1); }
.feature-strip small { display: block; font-size: 13px; color: var(--t3); line-height: 1.55; }

/* ── 数据条 ─────────────────────────────────────────────────────────────── */
.stats { padding: 46px 0 4px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh2);
  padding: 26px 30px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -10px; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--p); line-height: 1.15; }
.stat small { display: block; margin-top: 4px; font-size: 13px; color: var(--t3); }

/* ── 通用 section ───────────────────────────────────────────────────────── */
.section { padding: 86px 0; }
.section-alt { background: linear-gradient(180deg, #FFFFFF 0%, var(--p1) 100%); border-block: 1px solid var(--line); }
.sec-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--p5);
}
.sec-head h2 { margin: 0 0 14px; font-size: clamp(26px, 3.1vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--p9); }
.sec-sub { margin: 0; font-size: 16px; line-height: 1.85; color: var(--t2); }

/* ── 功能卡片 ───────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px 26px;
  box-shadow: var(--sh1);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh3); border-color: var(--p3); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--p1); color: var(--p); border: 1px solid var(--p2);
  margin-bottom: 16px;
}
.card-ic .ic { width: 23px; height: 23px; }
.card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; color: var(--t1); }
.card p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--t2); }

/* ── 终端矩阵 ───────────────────────────────────────────────────────────── */
.terminals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.terminal {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 32px;
  box-shadow: var(--sh1);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.terminal:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.terminal-featured { border-color: var(--p3); box-shadow: var(--sh3); background: linear-gradient(180deg, #fff 0%, var(--p1) 100%); }
.badge-featured {
  position: absolute; top: -12px; left: 26px;
  background: var(--p); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(25, 54, 98, .26);
}
.t-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-deep); color: #fff; margin-bottom: 18px;
}
.t-ic .ic { width: 26px; height: 26px; }
.terminal h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: var(--p9); }
.terminal p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.8; color: var(--t2); }
.t-list { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line2); }
.t-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--t2); margin: 7px 0; }
.t-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--p5); }

/* ── 场景优势 ───────────────────────────────────────────────────────────── */
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scene {
  display: flex; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px;
  box-shadow: var(--sh1);
  transition: border-color .2s, box-shadow .2s;
}
.scene:hover { border-color: var(--p3); box-shadow: var(--sh2); }
.s-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: var(--p1); color: var(--p); border: 1px solid var(--p2);
}
.s-ic .ic { width: 23px; height: 23px; }
.scene h4 { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; color: var(--t1); }
.scene p { margin: 0; font-size: 14px; line-height: 1.78; color: var(--t2); }

/* ── 下载区 ─────────────────────────────────────────────────────────────── */
.download { background: var(--grad-deep); color: #fff; }
.download .sec-head-light h2 { color: #fff; }
.download .sec-head-light .kicker { color: #8FA9D2; }
.download .sec-head-light .sec-sub { color: rgba(255, 255, 255, .74); }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.dl-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 20px;
  backdrop-filter: blur(6px);
}
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-ic {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
}
.dl-ic .ic { width: 24px; height: 24px; }
.dl-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; }
.dl-head p { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }

.dl-body { display: flex; gap: 18px; align-items: center; margin-top: auto; }
.dl-body-plain { flex-direction: column; align-items: stretch; gap: 18px; }
.qr {
  width: 132px; height: 132px; flex: none;
  background: #fff; border-radius: 12px; padding: 7px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.dl-actions { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.dl-actions .btn-p { background: #fff; color: var(--p); box-shadow: none; }
.dl-actions .btn-p:hover { background: var(--p1); transform: translateY(-1px); }
.dl-actions .btn-soft { background: rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .18); }
.dl-actions .btn-soft:hover { background: rgba(255, 255, 255, .16); }
.dl-note { margin: 2px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .58); }

.dl-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.dl-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.dl-features .ic { width: 17px; height: 17px; color: #7FD3A9; flex: none; }
.dl-card .btn-p.btn-block { background: #fff; color: var(--p); box-shadow: none; }
.dl-card .btn-p.btn-block:hover { background: var(--p1); }

/* ── 关于我们 ───────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
.about-copy h2 { margin: 0 0 18px; font-size: clamp(26px, 3.1vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--p9); }
.about-copy p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.9; color: var(--t2); }
.about-copy strong { color: var(--p); }
.about-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 13px; }
.about-meta > div { display: flex; gap: 14px; font-size: 14px; }
.about-meta b { flex: none; width: 72px; color: var(--t3); font-weight: 600; }
.about-meta span { color: var(--t1); }
.about-meta a { color: var(--p); }
.about-meta a:hover { text-decoration: underline; }

.about-cta {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--sh3);
}
.about-cta h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: var(--p9); }
.about-cta p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.8; color: var(--t2); }
.about-cta .btn + .btn { margin-top: 10px; }

/* ── 页脚 ───────────────────────────────────────────────────────────────── */
.foot { background: var(--p10); color: rgba(255, 255, 255, .72); padding: 58px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text i { color: rgba(255, 255, 255, .45); }
.foot-brand p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .55); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.foot-col a { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .62); padding: 5px 0; transition: color .16s; }
.foot-col a:hover { color: #fff; }

.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; }
.compliance { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.compliance a { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.compliance a:hover { color: #fff; }
.compliance .police img { width: 18px; height: 20px; }
.copyright { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .48); }
.foot-note { margin: 14px 0 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .34); }

/* ── 回到顶部 ───────────────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line2); background: #fff; color: var(--p);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--sh2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s, background .2s;
}
.to-top .ic { width: 19px; height: 19px; transform: rotate(-90deg); }
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--p1); }

/* ── 滚动进入动画（无 JS 时默认可见） ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 响应式 ─────────────────────────────────────────────────────────────── */
@media (max-width: 1160px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-cta { max-width: 560px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh3);
    padding: 12px 20px 18px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn-sm { padding: 9px 14px; }

  .terminals { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .stat:nth-child(odd)::before { display: none; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip li { padding: 20px 0 0; }
  .feature-strip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 4px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  :root { --nav-h: 62px; }
  .wrap { padding: 0 18px; }
  .section { padding: 62px 0; }
  .hero { padding-top: 40px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .03em; padding: 6px 12px 6px 10px; }
  .lede { font-size: 15.5px; }
  .cards { grid-template-columns: 1fr; }
  .dl-body { flex-direction: column; align-items: stretch; }
  .qr { align-self: center; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-charts { grid-template-columns: 1fr; }
  .mock-charts .panel:nth-child(2) { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
  .sec-head { margin-bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
