/* =============================================================
   独立版式主题：平台控制台（console）
   定位：卖的是「卡 + 管理平台」，就把平台本身摆到首屏。
   冷灰画布 + 白色面板 + 信号青；数字一律等宽数字；板块之间靠细线和留白，不堆卡片。
   ============================================================= */

:root {
  --bg: #f3f5f7;
  --panel: #ffffff;
  --ink: #172230;
  --ink-2: #3f4b5a;
  --muted: #6b7785;
  --line: #dce2e8;
  --line-2: #ebeff3;
  --accent: #0e7c7b;
  --accent-600: #0a6362;
  --accent-50: #e6f3f2;
  --ok: #1e8e4e;
  --warn: #b7791f;
  --off: #b5382f;
  --op-cm: #0a6bc4;
  --op-cu: #d22630;
  --op-ct: #1450b8;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(23, 34, 48, 0.06), 0 8px 24px rgba(23, 34, 48, 0.06);
  --wrap: 1200px;
  --font: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, -apple-system, sans-serif;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.narrow .sec-head { grid-template-columns: 1fr; gap: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-line { border-color: var(--line); background: var(--panel); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 页头 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
}
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.logo-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 7px; background: var(--accent); color: #fff;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink-2);
}
.nav-link:hover { color: var(--ink); background: var(--line-2); }
.nav-link.is-active { color: var(--accent); font-weight: 600; }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 168px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav-sub a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-2); }
.nav-sub a:hover { background: var(--accent-50); color: var(--accent); }
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-mobile-cta { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar-phone { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.topbar-phone:hover { color: var(--accent); }
.nav-toggle { display: none; }

/* ---------- 首屏 ---------- */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-kicker { font-size: 14px; color: var(--accent); font-weight: 500; margin-bottom: 16px; }
.hero h1 { font-size: 44px; line-height: 1.22; letter-spacing: -0.01em; font-weight: 650; }
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-dot { width: 24px; height: 4px; border: 0; border-radius: 2px; background: var(--line); padding: 0; }
.hero-dot.is-active { background: var(--accent); }

/* 后台示意面板 */
.screen {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.screen-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--line-2); background: #fafbfc;
}
.screen-title { font-size: 14px; font-weight: 600; }
.screen-tabs { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.screen-tabs b { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 2px; }
.screen-tabs i { font-style: normal; }
.screen-note { padding: 8px 18px 12px; font-size: 12px; color: var(--muted); text-align: right; }
.screen-media { display: grid; aspect-ratio: 16 / 10; background: var(--line-2); }
.screen-media .hero-bg { grid-area: 1 / 1; opacity: 0; transition: opacity 0.6s; }
.screen-media .hero-bg.is-active { opacity: 1; }
.screen-media img { width: 100%; height: 100%; object-fit: cover; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.kpis li { padding: 16px 18px; border-right: 1px solid var(--line-2); }
.kpis li:last-child { border-right: 0; }
.kpi-v { display: block; font-size: 26px; font-weight: 650; line-height: 1.1; color: var(--ink); }
.kpi-v small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.kpi-l { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.kpis-strip { margin-top: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

.sim-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sim-table th {
  text-align: left; font-weight: 500; color: var(--muted); font-size: 12px;
  padding: 10px 18px; background: #fafbfc; border-bottom: 1px solid var(--line-2);
}
.sim-table td { padding: 11px 18px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.sim-table tr:last-child td { border-bottom: 0; }
.op { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 12px; color: #fff; }
.op-cm { background: var(--op-cm); }
.op-cu { background: var(--op-cu); }
.op-ct { background: var(--op-ct); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-on { color: var(--ok); }
.st-warn { color: var(--warn); }
.st-off { color: var(--off); }
.bar { display: block; width: 110px; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bar.is-warn i { background: var(--warn); }
.w-10 { width: 10%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-45 { width: 45%; }
.w-60 { width: 60%; } .w-70 { width: 70%; } .w-85 { width: 85%; } .w-90 { width: 90%; }

/* ---------- 板块 ---------- */
.sec { padding: 88px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-tint { background: var(--panel); }
/* 首页板块底色按位置交替：后台怎么调顺序都不会两块同色相邻 */
.home-sections > .sec:nth-child(even) { background: var(--panel); }
.sec-page { padding: 48px 0 88px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.sec-head h2 { font-size: 32px; letter-spacing: -0.01em; }
.sec-aside { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-aside p { color: var(--ink-2); max-width: 28em; }
.sec-more { flex-shrink: 0; font-size: 14px; color: var(--accent); font-weight: 500; }
.sec-more::after { content: ' ›'; }
.sec-more:hover { color: var(--accent-600); text-decoration: underline; text-underline-offset: 4px; }

/* 优势：清单，不是卡片 */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.checklist li { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.check-ico {
  flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; background: var(--accent-50); color: var(--accent);
}
.check-ico svg { width: 22px; height: 22px; }
.checklist h3 { font-size: 18px; margin-bottom: 6px; }
.checklist p { color: var(--ink-2); }

/* 产品：对照表 */
.spec-table { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row {
  display: grid; grid-template-columns: 96px 200px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--line-2); transition: background-color 0.15s;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row:hover { background: #fafbfc; }
.spec-thumb { display: block; width: 96px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--line-2); }
.spec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spec-name { font-size: 17px; font-weight: 600; }
.spec-desc { color: var(--ink-2); font-size: 14px; }
.spec-go { font-size: 14px; color: var(--accent); font-weight: 500; }
.spec-go::after { content: ' ›'; }

/* 场景：首条大图 + 右侧列表 */
.scenes { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.scene-lead { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scene-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-lead-body { padding: 24px 28px 28px; }
.scene-lead h3 { font-size: 22px; margin-bottom: 8px; }
.scene-lead p { color: var(--ink-2); margin-bottom: 16px; }
.scene-lead:hover { border-color: var(--accent); }
.scene-list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.scene-list li + li { border-top: 1px solid var(--line-2); }
.scene-list a { display: block; padding: 18px 24px; transition: background-color 0.15s; }
.scene-list a:hover { background: #fafbfc; }
.scene-list a:hover h3 { color: var(--accent); }
.scene-list h3 { font-size: 16px; transition: color 0.15s; }
.scene-list p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* 平台能力：选项卡 */
.tabs { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tab-list { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  flex: 1; min-width: 120px; padding: 16px 20px; border: 0; background: none;
  font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px; }
.tab-panel + .tab-panel { border-top: 1px solid var(--line-2); }
.js-tabs .tab-panel { display: none; }
.js-tabs .tab-panel.is-active { display: grid; border-top: 0; }
.tab-copy h3 { font-size: 24px; margin-bottom: 12px; }
.tab-copy p { color: var(--ink-2); font-size: 16px; }
.mock { display: grid; place-items: center; min-height: 220px; padding: 28px; background: var(--bg); border-radius: var(--radius); }
.mock-list { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.ml-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--panel); border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.ml-row b { width: 48px; font-weight: 500; }
.ml-row i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.mock-tree { display: grid; justify-items: center; gap: 18px; }
.node-row { display: flex; gap: 14px; }
.node { padding: 8px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; }
.node-root { background: var(--accent); color: #fff; border-color: var(--accent); }
.node-sm { font-size: 12px; padding: 6px 10px; color: var(--muted); }
.mock-chart { display: flex; align-items: flex-end; gap: 12px; height: 160px; width: 100%; max-width: 360px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mock-chart .col { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent); opacity: 0.85; }
.h-40 { height: 40%; } .h-50 { height: 50%; } .h-60 { height: 60%; } .h-65 { height: 65%; } .h-70 { height: 70%; } .h-80 { height: 80%; } .h-90 { height: 90%; }
.mock-phone { display: grid; gap: 12px; width: 180px; padding: 22px 18px; background: var(--panel); border: 6px solid var(--ink); border-radius: 26px; }
.mp-bal { font-size: 24px; font-weight: 650; text-align: center; }
.mp-row { display: block; height: 10px; border-radius: 5px; background: var(--line-2); }
.mp-btn { display: block; padding: 8px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-size: 13px; text-align: center; }

/* 资讯：日志行 */
.log { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.log li + li { border-top: 1px solid var(--line-2); }
.log a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 24px; }
.log a:hover .log-title { color: var(--accent); }
.log time { color: var(--muted); font-size: 14px; }
.log-title { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-col { font-size: 13px; color: var(--muted); }

/* 伙伴 */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; height: 96px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.logos img { width: 100%; max-width: 150px; height: 44px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- 留言区 ---------- */
.cta { background: var(--ink); color: #fff; padding: 88px 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
.cta h2 { font-size: 34px; letter-spacing: -0.01em; }
.cta-copy > p { margin-top: 16px; color: rgba(255, 255, 255, 0.72); font-size: 17px; }
.cta-contact { display: grid; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cta-contact dt { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.cta-contact dd { font-size: 17px; }
.cta-contact dd.num { font-size: 30px; font-weight: 600; }
.lead-form { background: var(--panel); color: var(--ink); border-radius: 12px; padding: 28px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.field em { color: var(--off); font-style: normal; margin-left: 2px; }
.field input,
.field textarea {
  width: 100%; height: 42px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field textarea { height: 88px; padding: 10px 12px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.captcha-row { align-items: end; }
.captcha-img {
  height: 42px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center; font-size: 12px; color: var(--muted); cursor: pointer; overflow: hidden; background: #fff;
}
.captcha-img img { height: 100%; width: auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--off); }

/* ---------- 内页 ---------- */
.page-head { position: relative; background: var(--panel); border-bottom: 1px solid var(--line); padding: 36px 0 40px; overflow: hidden; }
.page-head h1 { font-size: 32px; letter-spacing: -0.01em; }
.page-desc { margin-top: 10px; color: var(--ink-2); max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.page-head.has-media { color: #fff; border-bottom: 0; padding: 72px 0; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.has-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 34, 48, 0.82), rgba(23, 34, 48, 0.35)); z-index: 1; }
.page-head.has-media .wrap { position: relative; z-index: 2; }
.page-head.has-media .crumbs,
.page-head.has-media .page-desc { color: rgba(255, 255, 255, 0.8); }

.rows { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.rows li + li { border-top: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 140px; gap: 28px; align-items: center; padding: 22px 24px; }
.row:hover .row-title { color: var(--accent); }
.row-thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb-empty { display: grid; place-items: center; height: 100%; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.row-title { display: block; font-size: 18px; font-weight: 600; transition: color 0.15s; }
.row-sum { display: -webkit-box; margin-top: 8px; color: var(--ink-2); font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { display: grid; gap: 4px; justify-items: end; font-size: 13px; color: var(--muted); }

.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.pager a,
.pager span { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.pager a { background: var(--panel); border: 1px solid var(--line); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .is-off { color: var(--muted); opacity: 0.6; }
.pager-now { color: var(--ink-2); }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.tags-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.tag:hover,
.tag.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-50); }

.search { display: flex; gap: 12px; max-width: 640px; margin-bottom: 24px; }
.search input { flex: 1; height: 44px; padding: 0 14px; font: inherit; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.search-meta { margin-bottom: 16px; color: var(--ink-2); }

.empty { display: grid; justify-items: center; gap: 12px; padding: 72px 0; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty svg { width: 40px; height: 40px; }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.doc-body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; min-width: 0; }
.doc > .empty { min-width: 0; }
.doc-head { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.doc-head h1 { font-size: 28px; line-height: 1.4; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.doc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.doc-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 14px; }
.doc-nav span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.doc-nav a:hover { color: var(--accent); }
.doc-nav em { font-style: normal; color: var(--muted); }
.doc-nav div:last-child { text-align: right; }
.doc-aside { position: sticky; top: 84px; }
.aside-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 17px; }
.aside-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.aside-card .aside-phone { font-size: 22px; font-weight: 600; color: var(--ink); margin: 16px 0; }

.prose { font-size: 16px; line-height: 1.85; color: var(--ink); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose h3 { font-size: 18px; margin-top: 1.6em; }
.prose ul,
.prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th,
.prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--bg); font-weight: 600; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--accent-50); color: var(--ink-2); }

/* ---------- 下载页 ---------- */
.app { background: var(--panel); border-bottom: 1px solid var(--line); padding: 48px 0 72px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; }
.app-head { display: flex; align-items: center; gap: 20px; }
.app-icon { width: 80px; height: 80px; border-radius: 18px; box-shadow: var(--shadow); }
.app-icon-empty { display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 32px; font-weight: 700; }
.app-head h1 { font-size: 32px; }
.app-slogan { margin-top: 6px; color: var(--ink-2); }
.app-spec { display: flex; gap: 32px; margin: 28px 0; padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.app-spec dt { font-size: 12px; color: var(--muted); }
.app-spec dd { font-size: 16px; font-weight: 600; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.app-tip { margin-top: 16px; color: var(--muted); }
.app-qr { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.qr-tabs { display: flex; gap: 4px; padding: 4px; background: var(--panel); border-radius: var(--radius-sm); margin-bottom: 16px; }
.qr-tab { flex: 1; border: 0; background: none; padding: 6px; border-radius: 4px; font-size: 13px; color: var(--muted); }
.qr-tab.is-active { background: var(--accent); color: #fff; }
.qr-panel { display: none; }
.qr-panel.is-active { display: block; }
.qr-img { width: 200px; margin: 0 auto 12px; background: #fff; padding: 8px; border-radius: var(--radius-sm); }
.qr-img svg { display: block; width: 100%; height: auto; }
.qr-panel p { font-size: 13px; color: var(--muted); }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.stores a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.stores a:hover { border-color: var(--accent); }
.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.shots img { height: 480px; width: auto; border-radius: 16px; border: 1px solid var(--line); flex-shrink: 0; }
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.notice h3 { font-size: 18px; margin-bottom: 12px; }
.notice li { padding: 8px 0; color: var(--ink-2); }
.notice li + li { border-top: 1px solid var(--line-2); }

/* ---------- 页脚 ---------- */
.footer { background: var(--panel); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto; gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 26em; color: var(--muted); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact dl { display: grid; gap: 8px; }
.footer-contact dl div { display: flex; gap: 10px; }
.footer-contact dt { color: var(--muted); flex-shrink: 0; }
.footer-qr { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.footer-qr img { width: 96px; height: 96px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: var(--panel); color: var(--ink-2); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.back-top svg { width: 20px; height: 20px; }
.back-top.is-visible { opacity: 1; visibility: visible; }
.back-top:hover { color: var(--accent); border-color: var(--accent); }

.theme-preview-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 10px 16px;
  background: #fff7e0; border-top: 1px solid #f0d58a; color: #7a5a00; font-size: 13px; text-align: center;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1080px) {
  .topbar-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc { grid-template-columns: 1fr; }
  .doc-aside { position: static; }
}

@media (max-width: 860px) {
  .topbar-inner { gap: 16px; }
  .topbar-actions { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel);
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; position: relative; }
  .nav-toggle span::before,
  .nav-toggle span::after { content: ''; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 16px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav-mobile-cta { display: block; color: var(--accent); font-weight: 600; border-bottom: 0; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .sec { padding: 64px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .sec-head h2 { font-size: 26px; }
  .checklist { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 80px minmax(0, 1fr); gap: 8px 16px; padding: 16px; }
  .spec-thumb { width: 80px; grid-row: span 2; }
  .spec-desc { grid-column: 2; }
  .spec-go { display: none; }
  .scenes { grid-template-columns: 1fr; }
  .tab-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .mock { display: none; }
  .log a { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .log-title { white-space: normal; }
  .log-col { display: none; }
  .cta { padding: 64px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta h2 { font-size: 28px; }
  .row { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .row-meta { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .doc-body { padding: 24px 20px; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis li:nth-child(2n) { border-right: 0; }
  .kpis li:nth-child(-n + 2) { border-bottom: 1px solid var(--line-2); }
  .sim-table th:nth-child(2),
  .sim-table td:nth-child(2) { display: none; }
  .sim-table td,
  .sim-table th { padding: 10px 12px; }
  .bar { width: 64px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .captcha-row { grid-template-columns: 1fr 120px; gap: 12px; }
  .lead-form { padding: 20px; }
  .row { grid-template-columns: 1fr; }
  .row-thumb { display: none; }
  .row-meta { grid-column: 1; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-nav { grid-template-columns: 1fr; }
  .doc-nav div:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .app-spec { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}
