/* ==========================================================================
   鑫见智能 · 官网样式表  xjianai.com
   设计约束：
   1) 全站零外部依赖（Nginx CSP 为 default-src 'self'，禁止 CDN / 外链字体 / 外链图床）
   2) 中文优先，使用系统字体栈，无需下载字体文件
   3) 移动端优先，断点 720 / 1000 / 1180
   4) 仅使用原生 CSS 与少量 JS，无构建步骤，复制即生效
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌色：沿用现有技术支持页的 #0a66c2，保持站内一致 */
  --blue: #0a66c2;
  --blue-dark: #084f96;
  --blue-light: #e8f2fd;
  --cyan: #12c9b4;          /* 电青：波形 / 数据强调 */
  --cyan-dark: #0ea393;

  /* 中性色 */
  --ink: #0d1b2a;
  --ink-soft: #1d3550;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e2e9f2;
  --line-strong: #cfdbe9;
  --text: #17293c;
  --muted: #5c6b7e;

  /* 深色区（Hero / 波形区） */
  --night: #071527;
  --night-2: #0c2338;
  --night-line: rgba(255, 255, 255, .12);
  --footer-bg: #061120;      /* 页脚底色：同时用作 html 底色，页面不足一屏时下方不露白 */

  /* 状态色 */
  --ok: #17a673;
  --warn: #f5a524;
  --danger: #e5484d;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 8px 24px -12px rgba(13, 27, 42, .18);
  --shadow-lg: 0 24px 60px -28px rgba(7, 21, 39, .45);
  --wrap: 1180px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

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

/* 底色用页脚同色：页面比视口矮（大屏/缩小浏览），或移动端下拉回弹时，
   露出来的都是页脚那一层深色，不会出现一条白边。 */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--footer-bg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  /* 不能用 overflow-x: hidden —— 它会把 body 变成滚动容器，导致 position: sticky
     （固定页头、移动端目录条）失效。clip 只裁剪、不建立滚动容器。 */
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section[id], div[id], figure[id] { scroll-margin-top: 82px; }   /* figure[id]：目录里的视频锚点 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* translateZ(0)：提升为独立合成层。移动端浏览器（尤其华为 ArkWeb 等 Chromium WebView）
     会把 <video> 提升成硬件叠加层，只靠 z-index 可能盖不住它。 */
  transform: translateZ(0);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
/* 品牌标：设计方 logo（白底已抠成透明）。高度固定 34px、宽度按比例自适应 */
.brand-mark { height: 34px; width: auto; flex: none; display: block; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1.6px; line-height: 1; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text); font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue-dark); text-decoration: none; }
.nav-links a.is-current { color: var(--blue); font-weight: 600; }
.nav-cta {
  margin-left: 8px; background: var(--blue); color: #fff !important;
  padding: 9px 16px !important; font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(18, 201, 180, .22), transparent 62%),
    radial-gradient(760px 420px at 8% 8%, rgba(10, 102, 194, .34), transparent 60%),
    linear-gradient(168deg, var(--night) 0%, var(--night-2) 58%, #0a1c2e 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1; display: grid; gap: 40px;
  /* 只写上下内边距：用 padding 简写会把 .wrap 的左右内边距覆盖成 0（移动端就会贴边） */
  padding-top: 64px; padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .5px;
  color: #bfe9e2; background: rgba(18, 201, 180, .12); border: 1px solid rgba(18, 201, 180, .3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(18, 201, 180, .7); animation: pulse 2.4s infinite; }
a.eyebrow { transition: background .15s, border-color .15s; }
a.eyebrow:hover { background: rgba(18, 201, 180, .22); border-color: rgba(18, 201, 180, .55); text-decoration: none; }

/* Hero 大图（产品主图，设计方提供的透明底 PNG） */
.hero-shot { position: relative; padding: 0; background: none; border: 0; }
.hero-shot::before {
  content: ""; position: absolute; inset: -6% -9%; pointer-events: none;
  /* 主图主体偏暗（不透明区中位明度约 103），深色底上需要一层浅色背光把轮廓托出来 */
  background:
    radial-gradient(56% 50% at 50% 50%, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0) 72%),
    radial-gradient(72% 62% at 50% 54%, rgba(18, 201, 180, .20), rgba(18, 201, 180, 0) 74%);
}
.hero-shot picture, .hero-shot img { position: relative; display: block; }
.hero-shot img { width: 100%; height: auto; filter: drop-shadow(0 20px 38px rgba(0, 0, 0, .5)); }
/* 标题强制不换行（产品页 H1） */
.hero h1.nowrap { white-space: nowrap; font-size: clamp(20px, 4.4vw, 40px); letter-spacing: -.2px; }
/* 首页曾用过的一行认证参数说明（已按要求移除，样式暂留备用） */
.hero-cred { margin: 20px 0 0; font-size: 12.5px; color: #9db6cd; line-height: 1.9; }
.hero-cred b { color: #cfe0ef; font-weight: 600; }
.hero-cred span { white-space: nowrap; }
.hero-cred i { font-style: normal; color: #5f7893; padding: 0 6px; }

/* 说明：早期的图片画廊样式（.gal）已随"安装图改内嵌、APP 改大图"而不再使用，故删除。 */

/* 安装步骤 */
.safety {
  background: #fff5f5; border: 1px solid #fbd5d5; border-left: 4px solid var(--danger);
  border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: #7a2a2a; margin-bottom: 24px;
}
.safety b { color: #c02b2b; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps > li { position: relative; padding: 0 0 0 46px; margin-bottom: 20px; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue); font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
}
.steps > li > b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.steps p { margin: 0 0 6px; font-size: 14.5px; color: var(--muted); }
.steps ul { margin: 4px 0 0; padding-left: 1.15em; font-size: 14.5px; color: var(--muted); }
/* 安装步骤内嵌配图（与步骤文字逐条对应，不集中堆在底部） */
.step-fig { margin: 14px 0 0; }
.step-fig img {
  display: block; width: 100%; max-width: 460px; height: auto;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.step-figs { display: grid; gap: 14px; margin-top: 14px; }
.step-figs .step-fig { margin: 0; }
@media (min-width: 620px) { .step-figs { grid-template-columns: 1fr 1fr; } }

.steps .tip { font-size: 13.5px; color: var(--muted); background: #f4f7fb; border-radius: 8px; padding: 8px 12px; margin-top: 6px; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(18, 201, 180, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 201, 180, 0); }
}
.hero h1 { color: #fff; font-size: clamp(30px, 5.4vw, 52px); letter-spacing: -.5px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { font-size: clamp(15px, 2.1vw, 18px); color: #c7d6e6; max-width: 60ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #04231f; box-shadow: 0 10px 26px -12px rgba(18, 201, 180, .95); }
.btn-primary:hover { background: #19d9c3; }
.btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-line { background: #fff; color: var(--blue); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--blue); }

.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 0; padding: 0; list-style: none; max-width: 620px; }
.hero-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d7e3f0; }
.hero-facts svg { flex: none; margin-top: 3px; }

/* ---------- 本页目录（长页面右侧快速索引，背景透明） ---------- */
.toc { display: none; }
@media (min-width: 1100px) {
  /* 给右侧目录让出空间：只缩正文与页脚，页头导航保持满宽 */
  body.has-toc main .wrap,
  body.has-toc .site-footer .wrap { padding-right: 226px; }
  .toc {
    display: block; position: fixed; top: 96px; right: 24px; width: 178px; z-index: 90;
    max-height: calc(100vh - 130px); overflow-y: auto;
    background: none; border: 0; box-shadow: none; padding: 0;
    color: var(--text);                   /* 浅色区块上：深色文字 */
    transition: color .18s;
  }
  .toc ol { list-style: none; margin: 0; padding: 0; }
  .toc li { margin-bottom: 2px; }
  .toc a {
    display: block; padding: 5px 0 5px 12px; font-size: 13.5px; line-height: 1.45;
    color: inherit; border-left: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .6);   /* 无底色时保证浅底可读 */
  }
  .toc a:hover { color: var(--blue); text-decoration: none; }
  .toc a.active { color: var(--blue); font-weight: 700; border-left-color: currentColor; }
  /* 滚到深色区块（Hero / 波形区）时自动切浅色文字，由 site.js 加 .on-dark */
  .toc.on-dark { color: #dbe7f3; }
  .toc.on-dark a { text-shadow: 0 1px 3px rgba(0, 0, 0, .65); }
  .toc.on-dark a:hover, .toc.on-dark a.active { color: #7ff0dc; }
  .toc-sub a { padding-left: 22px; font-size: 12.8px; opacity: .92; }
  .toc-sep { margin-top: 9px; padding-top: 9px; border-top: 1px solid currentColor; opacity: .7; }
  .toc-sep a { border-left: 0; }
}

/* ---------- 移动端目录条（常驻在页头下方，直接展开、可左右滑动选择章节） ---------- */
.toc-bar { display: none; }
@media (max-width: 1099px) {
  .toc-bar {
    display: block; position: sticky; top: var(--header-h, 106px); z-index: 90;
    transform: translateZ(0);
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .toc-bar ol {
    position: relative; display: flex; gap: 20px; align-items: stretch;
    margin: 0; padding: 0 22px; list-style: none;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .toc-bar ol::-webkit-scrollbar { display: none; }
  .toc-bar li { flex: 0 0 auto; }
  .toc-bar a {
    display: block; padding: 13px 1px 11px; font-size: 15px; line-height: 1.2;
    color: var(--muted); white-space: nowrap;
    border-bottom: 2px solid transparent; background: none;
  }
  .toc-bar a.active { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
  .toc-bar .toc-sub a { font-size: 14px; padding-left: 0; }
  .toc-bar .toc-sep { margin-left: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
}

/* ---------- 手机端 APP：三张大图 ---------- */
.shots { display: grid; gap: 30px; }
.shots figure { margin: 0; }
.shots .shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; padding: 10px; box-shadow: var(--shadow);
}
.shots img { width: 100%; height: auto; display: block; border-radius: 8px; }
.shots figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- 仪表盘卡片（已停用） ----------
   说明：首页改版后，Hero 右侧改用「手册第一页主图」大图（.hero-shot），
   下面这套纯 CSS/SVG 绘制的实时界面示意（.panel/.chan/.scope 等）目前没有页面引用。
   保留在此以备后续改版复用；确认不再需要时可整段删除。 */
.panel {
  background: linear-gradient(180deg, rgba(16, 42, 66, .96), rgba(8, 24, 40, .98));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg);
}
.panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--night-line); }
.panel-head .name { font-weight: 700; font-size: 15px; color: #fff; }
.panel-head .meta { margin-left: auto; font-size: 12px; color: #8fb0cd; font-family: var(--mono); }
.panel-head .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #7ff0dc; }
.panel-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.panel-stats { display: flex; gap: 18px; padding: 14px 2px 12px; }
.panel-stats div { flex: 1; }
.panel-stats b { display: block; font-family: var(--mono); font-size: 22px; color: #fff; line-height: 1.25; }
.panel-stats span { font-size: 12px; color: #94b2cd; }
.chan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chan {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px; padding: 9px 10px;
}
.chan .id { font-size: 11px; color: #8fb0cd; letter-spacing: .4px; }
.chan .a { font-family: var(--mono); font-size: 15px; color: #fff; }
.chan .w { font-family: var(--mono); font-size: 11px; color: #7ff0dc; }
.chan .bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); margin-top: 7px; overflow: hidden; }
.chan .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #4fd1ff); border-radius: 2px; }
.chan.off .a, .chan.off .w { color: #6d8aa6; }
.scope { margin-top: 14px; border-top: 1px solid var(--night-line); padding-top: 12px; }
.scope svg { width: 100%; height: 74px; display: block; }
.scope .cap { display: flex; justify-content: space-between; font-size: 11px; color: #8fb0cd; font-family: var(--mono); margin-top: 6px; }
.wave-path { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(18, 201, 180, .45)); }
.wave-path-2 { fill: none; stroke: #4fd1ff; stroke-width: 1.2; opacity: .55; }
.panel-note { font-size: 11px; color: #7c99b5; margin: 10px 2px 0; }

/* ---------- 信任条 ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
}
.trustbar li { background: #fff; padding: 18px 16px; }
.trustbar b { display: block; font-size: 15px; color: var(--ink); }
.trustbar span { font-size: 13px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section-dark { background: linear-gradient(180deg, #071527, #0c2338); color: #d7e3f0; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #a8c0d6; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--blue);
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.section-dark .section-tag { color: var(--cyan); }
.section h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.3px; }
.section-lead { font-size: 16.5px; color: var(--muted); margin: 0; }

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

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card ul { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--blue-light); color: var(--blue);
}
.card .icon svg { width: 22px; height: 22px; }

/* 场景卡 */
.scene { display: flex; flex-direction: column; height: 100%; }
.scene .thumb { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; margin-bottom: 14px; }
.scene .thumb img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.scene dl { margin: 0; font-size: 14px; }
.scene dt { font-weight: 600; color: var(--ink); margin-top: 10px; }
.scene dt:first-child { margin-top: 0; }
.scene dd { margin: 2px 0 0; color: var(--muted); }
.pill {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--blue-light); color: var(--blue-dark); margin: 3px 4px 0 0;
}

/* 配置模式（接线） */
.mode { display: flex; flex-direction: column; }
.mode .thumb { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 8px; margin-bottom: 14px; }
.mode .thumb img { aspect-ratio: 3 / 2; object-fit: contain; }
.mode .tag { font-family: var(--mono); font-size: 12px; color: var(--cyan-dark); font-weight: 600; }
/* 首页"配置速览"里的纯文字模式标签（不带接线图） */
.mode-tag {
  display: inline-block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px;
  font-weight: 600; letter-spacing: .6px; color: var(--cyan-dark);
}
.mode h3 { font-size: 16px; margin: 6px 0 6px; }
.mode p { font-size: 14px; color: var(--muted); margin: 0; }

/* 规格表 */
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.spec caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.spec tbody th { width: 38%; font-weight: 500; color: var(--muted); background: #fbfdff; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }

/* 资料与支持 */
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.res {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text);
}
.res:hover { border-color: var(--blue); text-decoration: none; box-shadow: var(--shadow); }
.res .badge {
  flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--danger); letter-spacing: .5px;
}
.res .badge.vid { background: var(--blue); }
.res b { display: block; font-size: 15px; color: var(--ink); }
.res span { font-size: 13px; color: var(--muted); }
.res .arrow { margin-left: auto; color: var(--blue); font-weight: 700; }

/* 深色区图文 */
.split { display: grid; gap: 34px; align-items: center; }
.figure-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .16);
  background: #06121f; box-shadow: var(--shadow-lg);
}
.figure-frame img { width: 100%; background: #fff; }
.figure-cap { font-size: 12.5px; color: #8fb0cd; margin: 10px 2px 0; }
.check-list { list-style: none; margin: 0 0 18px; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg);
}
.note {
  font-size: 13px; color: #9db6cd; background: rgba(255, 255, 255, .05);
  border-left: 3px solid var(--warn); border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 0;
}

.note-light { color: #5c6b7e; background: #fdf6e7; border-left-color: var(--warn); }

/* 波形栏目：图注独立成行放在文字下方，图片占满正文宽度（比原来两栏时大很多） */
.wf-figure { margin: 26px 0 0; }
.wf-cap {
  font-size: 15px; font-weight: 600; color: #cfe0ef;
  margin: 0 0 12px; padding-left: 2px;
}
.wf-figure .figure-frame img { width: 100%; height: auto; }
.wf-figure .figure-frame a { display: block; }
.wf-tip { font-weight: 400; font-size: 13px; color: #8fb0cd; }
@media (min-width: 1100px) {
  .wf-figure .figure-frame img { max-height: none; }
}

/* 关于 / 联系 */
.about-grid { display: grid; gap: 22px; }
.contact-card { background: var(--night); color: #d7e3f0; border-radius: var(--radius); padding: 24px; }
.contact-card h3 { color: #fff; }
.contact-card a { color: var(--cyan); }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.contact-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { flex: none; width: 5.5em; color: #8fb0cd; font-weight: 500; }
.roadmap { display: grid; gap: 12px; }
.roadmap .rm {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.roadmap .rm b { color: var(--ink); font-size: 15px; }
.roadmap .rm span { font-size: 13px; color: var(--muted); }
.roadmap .rm .soon { margin-left: auto; font-size: 12px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 16px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 12px 0; list-style: none; display: flex; gap: 10px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "?"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
details.faq[open] summary { color: var(--blue); }
details.faq .ans { font-size: 14.5px; color: var(--muted); padding: 0 0 14px 30px; }

/* CTA 条 */
.cta-band { background: linear-gradient(120deg, var(--blue), #0b83e8 60%, var(--cyan-dark)); color: #fff; border-radius: var(--radius); padding: 30px 26px; display: grid; gap: 18px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(20px, 2.8vw, 26px); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 15px; }

/* 页脚 */
.site-footer { background: var(--footer-bg); color: #93aac2; font-size: 14px; padding: 44px 0 30px; margin-top: 0; }
.footer-grid { display: grid; gap: 26px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .5px; margin-bottom: 12px; }
.site-footer a { color: #c6d8ea; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; gap: 8px; font-size: 12.5px; color: #7d94ac;
}
/* 备案号已填写（原 .footer-bottom .todo 的占位高亮样式已删除） */

/* 首页（body.home）：内容不足一屏时，让 Hero 撑满剩余高度、页脚贴到视口底部，
   这样页脚下方就不会留出一条浅色空白。仅作用于首页，产品页/支持页内容长，不受影响。
   内容一律顶部对齐（hero 用默认的 flex-start），不要用 justify-content: center，
   否则大屏上整块内容会浮在深色区中间。 */
body.home { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.home main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.home .hero { flex: 1 0 auto; display: flex; flex-direction: column; }

/* 首页：左栏文字与右栏产品图顶部对齐（默认的 align-items: center 会让文字相对图片下沉） */
@media (min-width: 1000px) {
  body.home .hero-inner { align-items: start; }
}

/* 滚动出现 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 719px) {
  /* 移动端不再用汉堡菜单：导航文字直接铺在第二行，点一下就跳转 */
  .nav { height: auto; flex-wrap: wrap; gap: 0; padding-top: 9px; padding-bottom: 9px; }
  .nav-links {
    position: static; display: flex; flex-direction: row; width: 100%;
    align-items: stretch; gap: 6px; margin: 9px 0 0; padding: 9px 0 0;
    background: none; border: 0; border-top: 1px solid var(--line); box-shadow: none;
  }
  /* 透明文字导航：没有底色，靠字号/颜色区分，选中项为品牌蓝 */
  .nav-links a {
    flex: 1 1 0; text-align: center; padding: 11px 6px; font-size: 15.5px;
    background: none; color: var(--text);
  }
  .nav-links a + a { border-left: 1px solid var(--line); }
  .nav-links a:active { color: var(--blue); }
  .nav-links a.is-current { background: none; color: var(--blue); font-weight: 700; }
  /* 淘宝店铺：原来继承了白字，在浅底上几乎看不见 —— 这里改成品牌蓝加粗，未选中也清晰 */
  .nav-cta { margin: 0; background: none !important; color: var(--blue) !important; font-weight: 700; }
  .nav-toggle { display: none; }

  /* 头部变高了，锚点偏移同步加大，否则跳转会藏在固定页头下面 */
  section[id], div[id], figure[id], details[id] { scroll-margin-top: 176px; }

  /* 移动端左右留白：加大到 22px，并让开刘海/曲面屏的安全区 */
  .wrap { padding-left: 22px; padding-right: 22px; }
  body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }

  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .section { padding: 44px 0; }
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .trustbar ul { grid-template-columns: repeat(4, 1fr); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 34px 36px; }
  .split { grid-template-columns: 1.05fr 1fr; }
}
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 76px; padding-bottom: 84px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* ---------- 技术支持页（/Support/EM600/） ---------- */
/* 已经去掉深色 Hero：页面直接从"用户手册"开始，只留一行纯文字标题 */
.page-head { padding: 34px 0 6px; }
.page-head .crumb { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.page-head .crumb a { color: var(--blue); }
.page-head h1 { font-size: clamp(24px, 3.6vw, 34px); margin: 0 0 8px; letter-spacing: -.3px; }
.page-head .page-sub { font-size: 15.5px; color: var(--muted); margin: 0; }

/* 视频：容器宽度自适应屏幕，高度统一固定，不被视频自身比例撑开 */
.vid-list { display: grid; gap: 18px; }
.vid-item { margin: 0; }

/* 标题行：默认只显示标题，点一下才展开下面的预览框（<video> 到那时才创建） */
.vid-toggle {
  width: 100%; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 15px 18px; text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.vid-toggle:hover { border-color: var(--blue); }
.vid-title { font-weight: 600; font-size: 16px; color: var(--ink); }
.vid-meta { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.vid-hint { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.vid-hint::after { content: " 展开 ▾"; font-weight: 500; color: var(--muted); }
.vid-item.open .vid-toggle { border-radius: var(--radius) var(--radius) 0 0; border-bottom-color: transparent; box-shadow: none; }
.vid-item.open .vid-hint::after { content: " 收起 ▴"; }

.vid-box {
  position: relative; overflow: hidden; z-index: 0;
  /* isolation：让 <video> 的合成层被限制在这个容器内，不去盖固定页头/目录条 */
  isolation: isolate;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #06111d; border: 1px solid var(--line); border-top: 0;
  border-color: var(--blue);
}
.vid-box[hidden] { display: none; }
.vid-box video {
  display: block; width: 100%;
  /* 高度统一：桌面封顶 540px；窄屏按 64vh 收缩，避免一条视频占掉大半屏手机屏 */
  height: min(540px, 64vh);
  object-fit: contain;            /* 完整显示画面：横屏两侧留边、竖屏上下留边，都不裁切 */
  background: #06111d;
}
/* 说明：视频改为「标题行 + 点击展开」后，标题与时长都在标题行里，原来的图注样式已删除。 */

/* 打印 */
@media print {
  .site-header, .hero-actions, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}
