/* ============================================================
   产品落地页 · 共用层（SmartErgo / SmartViz 共享）
   依赖：assets/css/style.css（全站设计系统 v4）
   原则：与首页/内页同一套语言 —— 发丝线分区、近直角、
        单一强调色 --cyan、无渐变文字、无发光、无毛玻璃。
   说明：本文件只放「产品页有、其他页面没有」的组件；
        通用组件（nav / card / faq 容器 / btn / eyebrow / stats 网格）
        一律继承 style.css，这里只做产品页口径的收紧。
   加载顺序：style.css → product.css → <页面>.css
   ============================================================ */

/* ---------- 品牌标识（页头左侧产品字标） ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 3px;
  color: var(--cyan);
}
/* 有正式 logo 的产品：去掉空框，让标记自己说话（六边形/圆环本身已是徽标形状）。
   40px 而非 34px：这个标记是细描边的六边形，34px 下描边与 S 的笔画会粘连变糊。 */
.brand-mark.has-logo { width: 40px; height: 40px; border: 0; border-radius: 0; }
.brand-mark.has-logo img {
  width: 100%; height: 100%; display: block;
  object-fit: contain; object-position: center;
}
/* 品牌图标本身是深底方形（SmartErgo）：裁成圆形，方块感消失且与深色页底融合 */
.brand-mark.logo-disc { border-radius: 50%; overflow: hidden; }
.brand-mark.logo-disc img { object-fit: cover; }
.brand-word {
  font-family: var(--font-disp); font-weight: 600; font-size: 17px;
  letter-spacing: 0.01em; line-height: 1.15;
}
.brand-word small {
  display: block; font-size: 10px; font-weight: 400;
  letter-spacing: 0.16em; color: var(--dim); margin-top: 1px;
}

/* ---------- 首屏标签：发光胶囊 → 纯文字行 ---------- */
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em;
  color: var(--dim); border: 0; background: none;
  padding: 0; border-radius: 0; margin-bottom: 20px;
}
.hero-tag .dot {
  width: 16px; height: 1px; border-radius: 0;
  background: var(--cyan); box-shadow: none; animation: none;
}

/* ---------- 移动端导航：汉堡按钮 + 全高面板 ---------- */
/* 全站用的是 .nav-burger + .nav-links.open 那一套；产品页为了在面板里带 CTA，
   另起了 .nav-toggle + .nav-panel。这两组类原本没有定义，此时按钮会塌成 4px
   小方块、面板变成透明静态块把正文顶下去，所以在此补全。断点跟随全站 992px。 */
.nav-toggle {
  display: none;
  width: var(--touch); height: var(--touch); flex: none;
  padding: 0; margin-left: 4px;
  border: 1px solid var(--line-strong); border-radius: 3px;
  background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle .bar {
  display: block; width: 18px; height: 2px; border-radius: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) { .nav-toggle { display: flex; } }

/* 面板：默认 [hidden]，打开时铺满视口；链接逐条入场（延迟由 JS 写入） */
.nav-panel { display: none; }
.nav-panel:not([hidden]) {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--bg);
  padding: calc(var(--nav-h) + 20px) 20px 32px;
  overflow-y: auto;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.nav-panel.open { opacity: 1; transform: none; }

.nav-panel > a {
  display: flex; align-items: center; min-height: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--text);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease), color 0.2s var(--ease);
}
.nav-panel > a:first-of-type { border-top: 1px solid var(--line); }
.nav-panel.open > a { opacity: 1; transform: none; }
.nav-panel > a:active { color: var(--cyan); }

.nav-panel .panel-cta { display: grid; gap: 10px; margin-top: 28px; }
.nav-panel .panel-cta .btn { width: 100%; }

@media (min-width: 992px) { .nav-panel { display: none !important; } }

/* ---------- 数据条：四个数字横排，发丝线分隔 ---------- */
.stats {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: none;
}
.stat {
  padding: 22px 20px 22px 0; border-right: 1px solid var(--line);
  background: none;
}
.stat:last-child { border-right: 0; }
.stat b, .stat .v {
  font-family: var(--font-disp); font-weight: 600; font-size: 30px;
  line-height: 1.1; color: var(--text);
}
.stat span, .stat .k {
  display: block; margin-top: 6px;
  font-size: 12px; line-height: 1.5; color: var(--dim);
}
@media (max-width: 899px) {
  .stat { padding: 20px 16px 20px 0; }
}

/* ---------- 截图框：与首页 .lt-shot 一致，去掉悬停位移与放大按钮 ---------- */
.shots { display: grid; gap: 20px; }
.shot {
  border: 1px solid var(--line-strong); border-radius: 3px;
  overflow: hidden; background: #000; position: relative;
  box-shadow: none;
  transition: border-color 0.2s var(--ease);
}
.shot:hover {
  border-color: var(--line-strong);
  transform: none; box-shadow: none;
}
/* 产品截图各有自己的画幅，不能被切成 16:9，否则报告封面右侧会被裁掉 */
.shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: auto; object-fit: contain; object-position: center;
  transition: none;
}
.shot:hover img { transform: none; }
.shot::after { display: none; }
.shot .shot-bar { background: var(--bg-2); }
.shot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.shot-cap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding: 11px 14px; border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.shot-cap b {
  font-family: var(--font-disp); font-size: 12px;
  letter-spacing: 0.06em; color: var(--text); font-weight: 600;
}
.shot-cap span { font-size: 12px; color: var(--dim); line-height: 1.6; }

/* 放大按钮：只在悬停/键盘聚焦时出现，不做毛玻璃 */
.shot-zoom {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 2px; color: var(--text);
  background: rgba(5, 8, 15, 0.8);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; }
.shot-zoom:hover { color: var(--cyan); }

/* 截图排布：宽幅通栏 + 双列 */
.shot-wide { grid-column: 1 / -1; }
.shot-full { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shot-wide, .shot-full { grid-column: 1 / -1; }
  /* 一组的最后一张通栏收尾，避免右侧留白 */
  .shot-doc, .shot:last-of-type { grid-column: 1 / -1; }
}

/* ---------- 截图查看器：默认隐藏，.on 时显示 ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px; padding: 48px 4vw;
  background: rgba(3, 5, 12, 0.95);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.lb.on { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; }
.lb-cap { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.7; }
.lb-btn {
  position: absolute; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 3px;
  background: none; color: var(--text);
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lb-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- 能力标签：胶囊 → 文字标记 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 2px 8px; color: var(--muted); background: none;
  text-transform: none;
}
.tag.hot { color: var(--cyan); border-color: rgba(62, 230, 255, 0.3); }

/* ---------- 步骤编号 ---------- */
.step .n, .step-num { color: var(--cyan); font-family: var(--font-disp); font-size: 12px; font-weight: 600; }

/* ---------- 流程步骤：竖排 → 等分横排（发丝线切分，编号做锚点） ---------- */
.flow { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
@media (min-width: 768px) {
  .flow { grid-template-columns: repeat(4, 1fr); column-gap: 40px; margin-top: 48px; }
}
/* 五步流程：中屏 3 列换行，宽屏 5 列一行 */
.flow-5 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .flow-5 { grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 28px; }
}
@media (min-width: 1120px) {
  .flow-5 { grid-template-columns: repeat(5, 1fr); row-gap: 0; column-gap: 32px; }
}
/* 正文长短不一时，标签行贴底对齐，四列读起来是一条基线 */
.flow .fw-step { display: flex; flex-direction: column; }
.flow .fw-step .tags { margin-top: auto; padding-top: 12px; }

/* ---------- 可核验清单：一行一条，右侧状态徽标 ---------- */
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row b {
  display: block; font-size: 13px; font-weight: 600;
  line-height: 1.55; color: var(--text);
}
.ledger-row small {
  display: block; margin-top: 3px;
  font-size: 11.5px; color: var(--dim); line-height: 1.6;
}
/* 徽标：胶囊 → 发丝线小标 */
.ledger-row .chip {
  font-family: var(--font-disp); font-size: 10px; letter-spacing: 0.08em;
  padding: 3px 7px; border-radius: 2px; background: none;
  border: 1px solid var(--line-strong); color: var(--dim);
  transition: none; transform: none; white-space: nowrap;
}
.ledger-row .chip:hover { transform: none; border-color: var(--line-strong); color: var(--dim); }
.ledger-row .chip.ok { color: var(--cyan); border-color: rgba(62, 230, 255, 0.3); }
.ledger-row .chip.ok:hover { color: var(--cyan); border-color: rgba(62, 230, 255, 0.5); }
.ledger-row .chip.mid { color: var(--muted); }
.ledger-row .chip.info { border-style: dashed; }

/* ---------- 高亮短语 ---------- */
.hl { color: var(--text); font-weight: 600; }
/* 标签语脚本给命中的字加 .hl（不是 .tl-hl），这里按品牌色处理 */
.tagline .tl-w.hl, .tagline .hl { color: var(--cyan); font-weight: 600; }

/* ---------- 首屏标题 ---------- */
/* 三行断句，靠断行控制视觉重量，不靠缩字号 */
.hero .h-xl { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.16; }
@media (min-width: 980px) { .hero .h-xl { font-size: clamp(40px, 4vw, 56px); } }
/* 标题里的品牌色重音（与首页 .lt-h1 .em 同语言） */
.hero .em { color: var(--cyan); }

/* ---------- 面板头：去掉 LIVE / AUDITED 这类假状态灯，只留一行说明 ---------- */
.hud-live { display: none; }
.hud-head { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; }
.hud-title { color: var(--dim); font-size: 11px; letter-spacing: 0.1em; }

/* 首屏面板底部说明：两条独立事实，各占一行，用短横做标记 */
.hud-meta { margin-top: 14px; display: grid; gap: 6px; }
.hud-meta span {
  display: block;
  font-size: 12px; line-height: 1.7; color: var(--dim);
}
.hud-meta span::before {
  content: ""; display: inline-block;
  width: 12px; height: 1px; margin-right: 8px;
  background: var(--cyan); vertical-align: middle;
}

/* ---------- 能力卡图标：去掉色块底座，只留线条 ---------- */
.card .c-ico {
  width: auto; height: auto; margin-bottom: 12px;
  display: block; border: 0; border-radius: 0;
  background: none; color: var(--cyan);
}
.card .c-ico svg { width: 18px; height: 18px; display: block; opacity: 0.9; }

/* ---------- 页尾：主区 + 规格侧栏（两栏，靠一条竖线分区） ---------- */
.cta-panel { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) {
  .cta-panel { grid-template-columns: 1.28fr 0.72fr; gap: 0 56px; align-items: stretch; }
  .cta-side {
    border-left: 1px solid var(--line); padding: 0 0 0 40px;
    display: flex; flex-direction: column; justify-content: center;
  }
}
.cta-main .h-lg { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.3; }
.cta-main .lead { margin-top: 16px; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-side-k {
  font-family: var(--font-disp); font-size: 11px; letter-spacing: 0.12em;
  color: var(--dim); margin-bottom: 16px;
}
/* 清单：环形对勾图标 → 发丝线短横（与 .check-list 同语言） */
.cta-facts { list-style: none; display: grid; gap: 0; }
.cta-facts li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px;
  align-items: start; padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; line-height: 1.7;
}
.cta-facts li:last-child { border-bottom: 1px solid var(--line); }
.cta-facts svg { display: none; }
.cta-facts li::before {
  content: ""; width: 16px; height: 1px; margin-top: 10px; background: var(--cyan);
}

/* ---------- 标签语区：去掉左侧竖排装饰轨，正文独占一行宽 ---------- */
.tl-grid { display: block; }
.tl-rail { display: none; }
.tl-main { max-width: 46em; }
.section-tagline .tagline { margin-top: 6px; }
.section-tagline .tl-line { font-weight: 600; }

/* ---------- 行业 / 场景：双列发丝线表 ---------- */
.ind-grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: 40px; border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .ind-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}
.ind-card {
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: none;
  padding: 22px 0; transform: none;
}
.ind-card:hover { transform: none; border-color: var(--line); background: none; }
.ind-code {
  font-family: var(--font-disp); font-size: 11px; letter-spacing: 0.12em;
  color: var(--cyan); margin-bottom: 8px;
}
.ind-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.45; }
.ind-card p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.ind-card .tags { margin-top: 12px; }

/* ---------- FAQ：左侧标题栏（sticky）+ 右侧宽列表 ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 0 64px; margin-top: 48px; }
  /* 右栏很长，标题跟到底，滚动时不让读者丢失上下文 */
  .faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
}
.faq-aside { max-width: 780px; border-top: 0; padding-top: 0; }
.faq-aside h2 { margin-top: 14px; font-size: clamp(24px, 3vw, 30px); line-height: 1.32; }
.faq-lead { margin-top: 14px; color: var(--dim); font-size: 13px; line-height: 1.8; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line); padding: 0;
  background: none; border-radius: 0; border-left: 0; border-right: 0;
}
.faq-q {
  display: grid; grid-template-columns: var(--q-ind, 40px) minmax(0, 1fr);
  align-items: baseline; gap: 0;
  padding: 18px 0 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--text);
}
.faq-q .q-n {
  font-family: var(--font-disp); font-size: 11px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--cyan); flex: none;
}
.faq-item p {
  margin: 8px 0 18px var(--q-ind, 40px);
  color: var(--muted); font-size: 13px; line-height: 1.85;
}
.faq-more {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 22px; font-size: 12px; color: var(--dim);
}
.faq-more a { color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.faq-more a:hover { color: var(--cyan); border-color: var(--cyan); }
@media (max-width: 560px) { .faq-item { --q-ind: 26px; } }
