/* ==========================================================================
   火世网站模板库 · industry theme · automation
   非标自动化设备 / 智能产线集成
   --------------------------------------------------------------------------
   设计语言：工业控制台 / 工程蓝图
   - 近黑墨蓝底 + 钢青信号色 + 警示橙（只用于待确认 / 注意标记）
   - 面板卡（左侧竖向色条 + 角标编号）、横向流程条（移动端转纵向步骤轨）
   - 细网格 + 十字准线背景纹理，等宽字体读数，数据用 dl 事实卡呈现
   零外链：系统字体栈 + 内联 SVG，无第三方资源
   ========================================================================== */

/* ─────────────────────────────── tokens ─────────────────────────────── */
:root {
  --ink: #0E1418;
  --ink-2: #0A1115;
  --panel: #131B21;
  --panel-2: #182229;
  --line: #223038;
  --line-strong: #35474F;
  --text: #C9D4DA;
  --muted: #7E9099;
  --steel: #00A6A6;
  --steel-dim: #12B5B0;
  --steel-soft: rgba(0, 166, 166, .14);
  --amber: #FF7A1A;
  --amber-soft: rgba(255, 122, 26, .13);
  --paper: #E6EAED;
  --grid-line: rgba(126, 200, 205, .055);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;

  --wrap: 1320px;
}

/* ─────────────────────────────── base ─────────────────────────────── */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: #F2F6F8;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

::selection { background: var(--steel); color: #05201F; }

/* 等宽读数 */
.readout {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 500;
}

/* ─────────────────────────────── 布局容器 ─────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  position: relative;
  padding: 92px 0;
  background-color: var(--bg, transparent);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
}

.section-dark {
  --bg: var(--ink-2);
  --panel: #101A20;
  --panel-2: #141F26;
  --line: #1E2C34;
  --line-strong: #2E4049;
}

.section-paper {
  --bg: var(--paper);
  --panel: #F3F6F7;
  --panel-2: #E9EEF0;
  --line: rgba(14, 20, 24, .16);
  --line-strong: rgba(14, 20, 24, .3);
  --text: #17242B;
  --muted: #55666F;
  --steel: #08797A;
  --grid-line: rgba(14, 20, 24, .07);
}

.section-paper h2,
.section-paper h3,
.section-paper h4 { color: #0E1418; }

.section-head { max-width: 760px; margin-bottom: 44px; }

.section-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}

.section-foot { margin-top: 32px; }

.eyebrow,
.kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  padding-left: 26px;
  position: relative;
}

.eyebrow::before,
.kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--steel);
}

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

.stack { display: grid; gap: 18px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: start;
}

.split-side { min-width: 0; }

.media { margin: 0; }
.media img { width: 100%; border: 1px solid var(--line); }
.media-wide { margin-top: 26px; }

/* ─────────────────────────────── 顶部演示横幅 ─────────────────────────────── */
.demo-bar {
  background: var(--amber-soft);
  border-bottom: 1px solid rgba(255, 122, 26, .35);
  color: #EBD8C8;
}

.demo-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.demo-bar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.demo-bar strong { color: #FFD9B8; }

.demo-badge {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--amber);
  padding: 2px 9px;
  border-radius: 2px;
  font-weight: 700;
}

/* ─────────────────────────────── 页头 ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 20, 24, .92);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 17, 21, .98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo-mark { width: 38px; height: 38px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-name {
  font-size: 19px;
  font-weight: 800;
  color: #F2F6F8;
  letter-spacing: .02em;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--steel);
  text-transform: uppercase;
}

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

.nav-link {
  position: relative;
  padding: 8px 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-link:hover { color: #EAF3F5; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.is-active { color: #EAF3F5; }
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.header-phone:hover { color: var(--steel-dim); }
.header-phone .ico { width: 17px; height: 17px; }

.ico { width: 20px; height: 20px; flex: none; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--text);
  content: '';
  transition: transform .2s ease, opacity .2s ease;
}

.burger span { top: 19px; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* ─────────────────────────────── 移动抽屉 ─────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 10, .7);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 70;
}

.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #0B1216;
  border-left: 1px solid var(--line);
  padding: 22px 22px 30px;
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 80;
  overflow-y: auto;
}

.drawer.is-open { transform: translateX(0); }

body.is-locked { overflow: hidden; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.drawer .nav-link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(34, 48, 56, .7);
  font-size: 16px;
}

.drawer .nav-link::after { display: none; }
.drawer .nav-link.is-active { color: var(--steel-dim); }

.drawer-cta {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

/* ─────────────────────────────── 按钮 ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.btn-primary {
  background: var(--steel);
  border-color: var(--steel);
  color: #04211F;
}

.btn-primary:hover { background: var(--steel-dim); border-color: var(--steel-dim); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--steel); color: var(--steel-dim); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ─────────────────────────────── 首屏 ─────────────────────────────── */
.hero {
  position: relative;
  padding: 84px 0 76px;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(0, 166, 166, .16) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 300px 300px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: start;
}

.hero-title {
  font-size: 52px;
  line-height: 1.14;
  margin-bottom: 20px;
  color: #F6FAFB;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-points { margin-bottom: 30px; }

.hero-points li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 9px;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--steel);
  transform: rotate(45deg);
}

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

.hero-panel { min-width: 0; }

/* 产线示意（纯 CSS 绘制） */
.lineviz {
  border: 1px solid var(--line);
  background: rgba(19, 27, 33, .8);
  padding: 18px 18px 14px;
  margin-bottom: 18px;
}

.lineviz-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}

.lineviz-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  height: 30px;
}

.lineviz-rail::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--line-strong);
}

.lv-node {
  position: relative;
  justify-self: center;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border: 2px solid var(--steel);
  transform: rotate(45deg);
  z-index: 1;
}

.lv-signal {
  position: absolute;
  top: 50%;
  left: 0;
  margin: -5px 0 0 -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .18);
  animation: lv-move 7s linear infinite;
  z-index: 2;
}

@keyframes lv-move {
  0% { left: 0; }
  100% { left: 100%; }
}

.lineviz-scale {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 10px;
  text-align: center;
}

.lineviz-scale .readout { font-size: 11px; }

/* ─────────────────────────────── 事实卡（dl） ─────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.facts-1 { grid-template-columns: minmax(0, 1fr); }
.facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fact {
  background: var(--panel);
  padding: 15px 17px;
  min-width: 0;
}

.fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--steel);
  margin-bottom: 7px;
}

.fact dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
  overflow-wrap: anywhere;
}

.fact-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─────────────────────────────── 面板卡 ─────────────────────────────── */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 24px 26px 30px;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--steel);
}

.panel:nth-child(even)::before { background: var(--amber); }

.panel-wide { padding: 30px 28px 28px 34px; }

.panel-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--steel);
  flex: none;
}

.panel-wide .panel-code {
  position: absolute;
  top: 16px;
  right: 20px;
}

.panel-title {
  font-size: 22px;
  margin: 0;
  color: #F2F6F8;
}

.panel-text {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.panel-wide .panel-text { max-width: 78ch; }

.panel-wide .facts { margin-top: 18px; }

.panel-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--steel-dim);
  border-bottom: 1px solid rgba(0, 166, 166, .4);
  padding-bottom: 2px;
}

.panel-link:hover { color: var(--amber); border-color: rgba(255, 122, 26, .55); }

.section-paper .panel-title { color: #0E1418; }
.section-paper .panel-text { color: var(--muted); }
.section-paper .panel-link { color: var(--steel); }

/* ─────────────────────────────── 通用卡片 ─────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px 22px;
}

.feature-title { font-size: 19px; margin-bottom: 8px; }

.feature-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.feature-link { display: block; transition: border-color .2s ease, transform .2s ease; }
.feature-link:hover { border-color: var(--steel); transform: translateY(-2px); }

.qa {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  padding: 22px 22px 20px;
}

.qa-q {
  font-size: 17.5px;
  margin-bottom: 10px;
  color: #EDF4F6;
}

.qa-a {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.note-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  padding: 26px 24px;
  margin-bottom: 20px;
}

.note-panel-warn { border-top-color: var(--amber); }

.note-label {
  display: block;
  color: var(--steel);
  margin-bottom: 10px;
}

.note-panel-warn .note-label { color: var(--amber); }

.note-title { font-size: 20px; margin-bottom: 10px; }

.note-text {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.note-line {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
  margin: 14px 0 0;
}

.note-line-warn { border-left-color: var(--amber); color: #C9A98A; }

.section-paper .note-line-warn { color: #8A4A12; }

.tick-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 8px;
}

.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 1px;
  background: var(--steel);
}

.tick-list-mute li { color: var(--muted); }
.tick-list-mute li::before { background: var(--line-strong); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel-dim);
  border: 1px solid rgba(0, 166, 166, .35);
  background: var(--steel-soft);
  padding: 4px 10px;
}

.tag-alt {
  color: var(--amber);
  border-color: rgba(255, 122, 26, .38);
  background: var(--amber-soft);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.price-value {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
}

/* ─────────────────────────────── 横向流程条 ─────────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  list-style: none;
}

.flow-step {
  position: relative;
  padding: 24px 16px 20px 0;
  border-top: 2px solid var(--line-strong);
}

.flow-step::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--ink-2);
  border: 2px solid var(--steel);
  transform: rotate(45deg);
}

.flow-no { display: block; margin-bottom: 8px; color: var(--steel); }

.flow-title {
  font-size: 16px;
  margin-bottom: 6px;
  color: #EAF2F4;
}

.flow-text {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ─────────────────────────────── 纵向步骤轨 ─────────────────────────────── */
.steps { list-style: none; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 26px;
  padding-bottom: 30px;
}

.step::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}

.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step-no {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--steel);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.step-body { padding-top: 6px; min-width: 0; }

.step-title { font-size: 21px; margin-bottom: 8px; }

.step-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 80ch;
}

.step-body .facts { margin-top: 16px; }

/* ─────────────────────────────── 团队 ─────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.member {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 14px;
  filter: grayscale(.35) contrast(1.05);
}

.member-role { display: block; color: var(--steel); margin-bottom: 4px; }

.member-name { font-size: 17px; margin-bottom: 6px; }

.member-bio {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ─────────────────────────────── 案例 ─────────────────────────────── */
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
}

.case-media { border-bottom: 1px solid var(--line); }
.case-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.case-body { padding: 20px 20px 22px; flex: 1; }

.case-title { font-size: 18px; margin-bottom: 8px; }

.case-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.case-card .panel-link { margin: 0 20px 20px; }

.case-list { display: grid; gap: 22px; }

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--panel);
  border: 1px solid var(--line);
}

.case-panel-media { border-right: 1px solid var(--line); }
.case-panel-media img { width: 100%; height: 100%; object-fit: cover; }

.case-panel-body { padding: 26px 28px 24px; min-width: 0; }

.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.case-panel .case-title { font-size: 24px; }

.case-panel .facts { margin-top: 18px; }

.case-panel.is-hidden,
.case-card.is-hidden { display: none; }

/* ─────────────────────────────── 筛选 ─────────────────────────────── */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin-bottom: 30px;
}

.filter-group { min-width: 0; }

.filter-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--steel);
  margin-bottom: 10px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.chip:hover { color: #EAF2F4; border-color: var(--steel); }

.chip.is-active {
  color: #04211F;
  background: var(--steel);
  border-color: var(--steel);
}

.filter-count {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ─────────────────────────────── FAQ 手风琴 ─────────────────────────────── */
.faq-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.faq-group-title {
  font-size: 22px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--steel);
}

.accordion { border-bottom: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }

.acc-q { margin: 0; }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #EDF4F6;
  background: transparent;
  border: 0;
  padding: 18px 0;
  cursor: pointer;
}

.acc-q-text { min-width: 0; }

.acc-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.acc-icon::before,
.acc-icon::after {
  content: '';
  position: absolute;
  background: var(--steel);
  transition: transform .25s ease;
}

.acc-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.acc-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }

.acc-item.is-open .acc-icon::after { transform: scaleY(0); }
.acc-item.is-open .acc-trigger { color: var(--steel-dim); }

.acc-panel {
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
}

.acc-item.is-open .acc-panel { height: auto; }

.acc-text {
  color: var(--muted);
  font-size: 14.5px;
  padding: 0 0 20px;
  margin: 0;
  max-width: 74ch;
}

/* ─────────────────────────────── 页内大图页头 ─────────────────────────────── */
.page-hero {
  position: relative;
  padding: 64px 0 58px;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}

.page-hero-copy { min-width: 0; }

.page-hero .hero-title { font-size: 42px; }

.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; border: 1px solid var(--line); }

/* ─────────────────────────────── CTA 区块 ─────────────────────────────── */
.cta-band {
  background-color: var(--ink-2);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.cta-title { font-size: 30px; margin-bottom: 12px; }

.cta-text {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 68ch;
}

.cta-points { margin-top: 16px; }

.cta-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.cta-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--amber);
  transform: rotate(45deg);
}

.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* ─────────────────────────────── 表单 ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 44px;
  align-items: start;
}

.contact-form-col { min-width: 0; }
.contact-side { min-width: 0; }

.form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  padding: 28px 26px;
}

.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.field label i {
  font-style: normal;
  color: var(--amber);
}

.input,
.select,
.textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 11px 13px;
  transition: border-color .2s ease, background .2s ease;
}

.textarea { resize: vertical; min-height: 90px; line-height: 1.7; }

.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--steel) 50%),
    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.input::placeholder,
.textarea::placeholder { color: #5C6C75; }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: #0B1216;
}

[data-invalid] { border-color: var(--amber); }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.form-status.is-error { color: var(--amber); }
.form-status.is-ok { color: var(--steel-dim); }

.form-success {
  background: var(--panel);
  border: 1px solid var(--steel);
  padding: 24px 26px;
  margin-top: 18px;
}

.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin: 0; }

/* ─────────────────────────────── 页脚 ─────────────────────────────── */
.site-footer {
  background-color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 46ch;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-contact a:hover { color: var(--steel-dim); }

.footer-col h3 {
  font-size: 15px;
  letter-spacing: .02em;
  margin-bottom: 14px;
  color: #EDF4F6;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  padding: 5px 0;
}

.footer-col a:hover { color: var(--steel-dim); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.footer-bottom span:last-child { max-width: 72ch; line-height: 1.7; }

/* ─────────────────────────────── 返回顶部 ─────────────────────────────── */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--steel);
  color: var(--steel-dim);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, background .2s ease;
  z-index: 50;
}

.backtop.is-on { opacity: 1; visibility: visible; }
.backtop:hover { background: var(--steel); color: #04211F; }

/* ─────────────────────────────── 进场动画 ─────────────────────────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

html.js [data-reveal="left"] { transform: translateX(-18px); }
html.js [data-reveal="right"] { transform: translateX(18px); }

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────── 断点 1280 ─────────────────────────────── */
@media (max-width: 1280px) {
  .wrap { padding: 0 32px; }

  .hero-inner,
  .page-hero-inner { gap: 40px; }

  .hero-title { font-size: 46px; }
  .page-hero .hero-title { font-size: 38px; }

  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-step { padding-bottom: 26px; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 26px; }
}

/* ─────────────────────────────── 断点 1024 ─────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }

  .hero { padding: 64px 0 58px; }
  .hero-inner,
  .page-hero-inner,
  .split,
  .contact-grid,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title { font-size: 40px; }
  .page-hero .hero-title { font-size: 34px; }
  .section-title { font-size: 29px; }

  .hero-panel { margin-top: 8px; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-groups { grid-template-columns: minmax(0, 1fr); gap: 34px; }

  .case-panel { grid-template-columns: minmax(0, 1fr); }
  .case-panel-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-panel-media img { aspect-ratio: 16 / 9; height: auto; }

  .cta-actions { flex-direction: row; flex-wrap: wrap; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ─────────────────────────────── 断点 768 ─────────────────────────────── */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }

  .section { padding: 56px 0; }

  .nav { display: none; }
  .burger { display: block; }
  .header-phone { display: none; }
  .header-inner { min-height: 64px; gap: 12px; }
  .header-actions { margin-left: auto; }

  .hero { padding: 46px 0 44px; }
  .hero-title { font-size: 33px; }
  .hero-desc { font-size: 16px; }
  .page-hero { padding: 46px 0 40px; }
  .page-hero .hero-title { font-size: 28px; }
  .section-title { font-size: 25px; }
  .cta-title { font-size: 25px; }

  .demo-bar-inner { align-items: flex-start; }
  .demo-bar p { font-size: 12px; }

  /* 横向流程条 → 纵向步骤轨 */
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step {
    border-top: 0;
    border-left: 2px solid var(--line-strong);
    padding: 0 0 24px 26px;
  }
  .flow-step::before { top: 4px; left: -7px; }
  .flow-step:last-child { border-left-color: transparent; padding-bottom: 0; }

  .grid-2,
  .grid-3,
  .grid-4,
  .facts,
  .facts-2,
  .facts-3,
  .facts-4,
  .team-grid,
  .filter-bar,
  .form-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .step { grid-template-columns: 38px minmax(0, 1fr); gap: 0 18px; }
  .step::before { left: 18px; top: 40px; }
  .step-no { width: 38px; height: 38px; font-size: 13px; }
  .step-title { font-size: 19px; }

  .panel { padding: 24px 20px 22px 24px; }
  .panel-wide { padding: 26px 20px 24px 24px; }
  .panel-wide .panel-code { position: static; margin-bottom: 6px; }
  .panel-head { gap: 8px; }

  .case-panel-body { padding: 20px 20px 20px; }
  .case-panel .case-title { font-size: 20px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; }

  .backtop { right: 14px; bottom: 14px; }
}

/* ─────────────────────────────── 断点 430 ─────────────────────────────── */
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }

  .section { padding: 44px 0; }
  .hero { padding: 36px 0 36px; }

  .logo-name { font-size: 17px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-sub { display: none; }

  .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .hero-title { font-size: 29px; }
  .page-hero .hero-title { font-size: 25px; }
  .section-title { font-size: 22px; }
  .cta-title { font-size: 22px; }

  .section-head { margin-bottom: 28px; }

  .panel-title { font-size: 19px; }
  .flow-title { font-size: 15px; }
  .acc-trigger { font-size: 15px; padding: 15px 0; }

  .fact dd { font-size: 14px; }
  .facts { grid-template-columns: minmax(0, 1fr); }

  .form-card { padding: 20px 18px; }
  .lineviz { padding: 14px 12px 12px; }
  .lineviz-scale .readout { font-size: 10px; }

  .demo-badge { font-size: 10px; padding: 2px 7px; }
  .demo-bar p { font-size: 11.5px; }
}

/* ─────────────────────────────── 断点 390 ─────────────────────────────── */
@media (max-width: 390px) {
  .wrap { padding: 0 14px; }

  .hero-title { font-size: 27px; }
  .page-hero .hero-title { font-size: 24px; }
  .section-title { font-size: 21px; }

  .logo-name { font-size: 16px; }
  .btn { padding: 0 14px; font-size: 14px; }
  .btn-lg { padding: 0 18px; font-size: 14.5px; }

  .panel { padding: 20px 16px 18px 20px; }
  .panel-wide { padding: 22px 16px 20px 20px; }
  .panel-title { font-size: 18px; }

  .fact { padding: 13px 14px; }
  .fact dd { font-size: 13.5px; }

  .step { grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; }
  .step::before { left: 16px; }
  .step-no { width: 34px; height: 34px; font-size: 12px; }

  .lineviz-scale .readout { font-size: 9.5px; letter-spacing: 0; }
  .lineviz-bar .readout { font-size: 10px; }

  .footer-bottom span:last-child { font-size: 11.5px; }
}

/* ─────────────────────────────── 动效降级 ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .lv-signal { animation: none; }
}

/* 模板成交入口：页脚「模板定制咨询」CTA（scripts/dev/apply-vendor-cta.js 注入） */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 26px 0 22px;
  padding: 22px 26px;
  border: 1px solid rgba(127, 127, 127, .28);
  border-radius: 14px;
  background: rgba(127, 127, 127, .07);
}
.footer-cta-copy { flex: 1 1 420px; min-width: 0; }
.footer-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .68;
}
.footer-cta-title { margin: 0 0 8px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; }
.footer-cta-desc { margin: 0; font-size: 14px; line-height: 1.8; opacity: .78; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.footer-cta-btn-primary { background: var(--steel); color: #FFFFFF; }
.footer-cta-btn-ghost { border-color: currentColor; color: inherit; }
.footer-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.footer-cta-btn:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
@media (max-width: 768px) {
  .footer-cta { padding: 20px 18px; margin: 22px 0 18px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cta-btn { transition: none; }
  .footer-cta-btn:hover { transform: none; }
}
