/* ===========================================================
   山东历战软件有限公司 · 官网设计系统 v2
   方向：工业蓝图 / 硬核工程感（Industrial Blueprint）
   深色钢蓝底 + 发丝蓝图网格 + 信号橙单一强调 + 等宽数字
   =========================================================== */

/* ---------- 自托管字体（原 Google Fonts 拉丁子集，本地化）----------
   放在 CSS 顶部，避免 <link> 外链阻塞首屏渲染；中文交给系统字体。
   Chakra Petch / IBM Plex Sans / Space Mono 均为 SIL OFL 1.1 授权。 */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/chakra-petch-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/chakra-petch-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/chakra-petch-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* 表面 */
  --bg: #0b0d11;
  --bg-2: #0e1117;
  --surface: #161b22;
  --surface-2: #1d232c;
  /* 线条 */
  --line: rgba(233, 237, 243, .10);
  --line-2: rgba(233, 237, 243, .18);
  /* 文字 */
  --text: #e9edf3;
  --muted: #98a3b3;
  --faint: #697484;
  /* 强调（单一） */
  --accent: #ff7a1a;
  --accent-2: #ffae6b;
  --accent-soft: rgba(255, 122, 26, .14);
  --accent-line: rgba(255, 122, 26, .42);
  --cyan: #3fd0c9;            /* 仅 AI 区克制使用 */
  --cyan-soft: rgba(63, 208, 201, .14);
  --primary: var(--accent);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 24px;

  --shadow-1: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-2: 0 14px 40px rgba(0, 0, 0, .5);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, .6);

  --maxw: 1200px;
  --nav-h: 70px;

  --font-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-display: "Chakra Petch", var(--font-cn);
  --font-body: "IBM Plex Sans", var(--font-cn);
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace, "Microsoft YaHei";

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 全局颗粒氛围层 */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }

/* ---------- 文字与标题 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text); line-height: 1.12; font-weight: 700; letter-spacing: -.01em;
}
.section { padding: 92px 0; position: relative; }
.section--soft { background: var(--bg-2); }
.section--dark { background: var(--bg); }
.section--blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  opacity: .7;
}
.section--blueprint > .container { position: relative; z-index: 1; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-mono);
  color: var(--accent); font-weight: 700; letter-spacing: .22em;
  font-size: 12.5px; text-transform: uppercase; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

.lead { font-size: 18px; color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em;
  color: var(--accent-2); text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; font-family: var(--font-body);
}
.btn--primary { background: var(--accent); color: #1a0e02; box-shadow: 0 10px 28px rgba(255, 122, 26, .3); }
.btn .btn-ic { width: 17px; height: 17px; flex: none; margin-top: -1px; }
.btn--primary:hover { background: #ff8e3a; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: #111; }
.btn--light:hover { background: #ffe9d6; }
.btn--outline-light { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--outline-light:hover { border-color: var(--accent); color: var(--accent); }

/* 可见焦点环（键盘可达性） */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 17, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line); height: var(--nav-h);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo__img { height: 42px; display: block; width: auto; }
.nav__logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: .02em; white-space: nowrap; }
.nav__logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #1a0e02;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; font-family: var(--font-display);
  box-shadow: 0 6px 18px rgba(255, 122, 26, .32);
}
.nav__links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav__links > li { flex: 0 0 auto; }
.nav__links > li > a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--muted); transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav__links > li > a:hover, .nav__links > li > a.is-active { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: .25s var(--ease); }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 下拉菜单 ---------- */
.has-menu { position: relative; }
.has-menu > a::after { content: "▾"; font-size: 10px; margin-left: 6px; color: var(--faint); }
.has-menu .submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 216px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: var(--shadow-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .22s var(--ease); z-index: 50;
}
.has-menu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a { display: block; padding: 10px 13px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: .16s; }
.submenu li a:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; background: var(--bg); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 18%, #000, transparent 72%);
          mask-image: radial-gradient(80% 70% at 70% 18%, #000, transparent 72%);
}
.hero__glow {
  content: ""; position: absolute; top: -22%; right: -8%; width: 60vw; height: 60vw; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 122, 26, .22), transparent 70%);
  filter: blur(10px);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
/* 面板里的绝对定位节点会把 min-content 撑大，单列时连带正文一起溢出 */
.hero__inner > * { min-width: 0; }
.hero__main > * + * { margin-top: 22px; }
.hero h1 {
  /* 中文字面比原 Noto Sans SC 拉丁字体宽，钳制上限避免「战」字掉到第三行 */
  font-size: clamp(30px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.02em; color: #fff;
  font-weight: 700;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead { color: #b6c0d0; font-size: 19px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 30px !important; padding-top: 26px; }
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.hero__stats span { font-size: 13px; color: var(--faint); letter-spacing: .04em; }

/* Hero 右侧蓝图面板 */
.hero__panel {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  padding: 22px; min-height: 380px; overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
}
.panel__head { position: relative; display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; margin-bottom: 18px; }
.panel__head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.panel__nodes { position: relative; min-height: 250px; }
.panel__nodes li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 14px; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, .12);
}
.panel__nodes li::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%); opacity: .8;
}
.panel__foot { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.panel__foot .ok { color: var(--cyan); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card:hover::after { width: 100%; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: 14px; }
.card .num-tag { position: absolute; right: 22px; top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--faint); }

/* 产品卡片：编码徽标 + 演示入口 */
.card__code {
  position: absolute; right: 22px; top: 20px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--faint); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 9px; background: rgba(255, 255, 255, .02);
  transition: color .25s, border-color .25s;
}
.card:hover .card__code { color: var(--accent); border-color: var(--accent-line); }
.card__acts {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.card__link { font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .18s; }
.card__link:hover { color: var(--accent); }
.btn--sm { padding: 9px 17px; font-size: 13.5px; border-radius: 999px; gap: 7px; }
.btn--sm svg { width: 12px; height: 12px; flex: 0 0 auto; }
/* 卡片内主按钮：随卡片一起点亮，避免整页都是橙色块 */
.card .btn--primary { box-shadow: none; background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.card .btn--primary:hover { background: var(--accent); color: #1a0e02; border-color: var(--accent); box-shadow: 0 8px 20px rgba(255, 122, 26, .28); }

.svc { display: flex; gap: 16px; align-items: flex-start; }
.svc .ico { flex: 0 0 auto; margin-bottom: 0; }

/* ---------- 特性行 ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.reverse .fr__media { order: -1; }
.fr__media {
  position: relative; border-radius: var(--radius); min-height: 340px; padding: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-2); overflow: hidden; display: block;
}
.fr__media::before {
  content: ""; position: absolute; inset: 0; opacity: .5; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
}
.fr__media img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .5s var(--ease);
}
.fr__media:hover img { transform: scale(1.025); }
.fr__media__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 30px 16px 12px; pointer-events: none;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--faint);
  background: linear-gradient(transparent, rgba(7, 9, 13, .88));
}
.fr__media__cap b { color: var(--muted); font-weight: 400; }
.fr__media .ph { position: relative; color: var(--muted); font-size: 15px; text-align: center; display: grid; gap: 14px; place-items: center; padding: 40px; }
.scene-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene-band figure {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2);
}
.scene-band img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.scene-band figure:hover img { transform: scale(1.04); }
.scene-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 13px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--text);
  background: linear-gradient(transparent, rgba(7, 9, 13, .9));
}
.scene-band figcaption b { color: var(--accent); font-weight: 600; letter-spacing: .12em; margin-right: 8px; }
.checklist li { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.checklist li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }

/* ---------- 行业方案 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab-pill {
  padding: 9px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .18s;
}
.tab-pill.is-active, .tab-pill:hover { background: var(--accent); color: #1a0e02; border-color: var(--accent); }

/* ---------- 案例 ---------- */
.case-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: .25s var(--ease); }
.case-card:hover { box-shadow: var(--shadow-2); transform: translateY(-5px); border-color: var(--line-2); }
.case-card .thumb {
  height: 180px; position: relative; border-bottom: 1px solid var(--line);
  overflow: hidden; display: block; background: var(--bg-2);
}
.case-card .thumb::before { content: ""; position: absolute; inset: 0; opacity: .4; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 26px 26px; }
.case-card .thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.case-card:hover .thumb img { transform: scale(1.05); }
.case-card .body { padding: 22px; position: relative; }
.case-card .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.case-card h3 { font-size: 18px; margin: 12px 0 8px; }
.case-card p { color: var(--muted); font-size: 14px; }

/* ---------- 客户墙跑马灯 ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee .logo {
  flex: 0 0 auto; height: 72px; min-width: 168px; border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: var(--surface);
}
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-wall .logo { height: 70px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 14px; background: var(--surface); }

/* ---------- 资质 / 数据 ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .num { font-family: var(--font-mono); font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; }
.stats-band .label { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- 流程（作战流程） ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 16px; left: 6%; right: 6%; height: 1px; background: var(--line-2); }
.step { position: relative; padding: 30px 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step); position: relative; z-index: 2;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-mono); font-weight: 700; margin-bottom: 14px;
}
.step h4 { margin: 8px 0 6px; font-size: 16px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- 新闻 ---------- */
.news-card { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .22s var(--ease); align-items: center; }
.news-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.news-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--bg-2); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-card .date { font-family: var(--font-mono); color: var(--accent); font-weight: 700; font-size: 14px; }
.news-card h3 { font-size: 17px; margin-bottom: 6px; }
.news-card p { color: var(--muted); font-size: 14px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px;
  font-family: inherit; color: var(--text); background: var(--bg-2); transition: .18s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field--full { grid-column: 1 / -1; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); }
.note { font-size: 13px; color: var(--faint); }

/* 公众号 / 微信二维码 */
.qr-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.qr { text-align: center; }
.qr img {
  display: block; width: 120px; height: 120px; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 7px;
  border: 1px solid var(--line-2);
}
.qr figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* 反机器人诱饵：移出视口而不是 display:none，部分脚本会跳过隐藏元素 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { margin-top: 8px; line-height: 1.6; }
.form-tip.is-error { color: #ff7d7d; }
.form-tip.is-ok { color: #46d3a4; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, #1c1206, #221606);
  border-radius: 24px; padding: 56px 50px; color: #fff; text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 14px; }
.cta-band p { color: #d9c3ad; margin-bottom: 26px; font-size: 17px; }

/* ---------- 内页头 ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg); color: #fff; padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(100% 80% at 20% 0%, #000, transparent 75%); mask-image: radial-gradient(100% 80% at 20% 0%, #000, transparent 75%); }
.page-hero .container { position: relative; }
.page-hero .crumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; font-family: var(--font-mono); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.page-hero p { color: #b6c0d0; font-size: 18px; max-width: 720px; }
.page-hero__acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.page-hero__hint { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .02em; }
@media (max-width: 640px) {
  .page-hero__acts .btn { flex: 1 1 auto; }
  .page-hero__hint { flex-basis: 100%; }
}

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-2); color: var(--muted); padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer h4 { color: var(--text); font-size: 15px; margin-bottom: 16px; font-family: var(--font-display); letter-spacing: .02em; }
.footer a { color: var(--muted); font-size: 14px; display: block; padding: 5px 0; transition: color .16s; }
.footer a:hover { color: var(--accent); }
.footer .brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 16px; }
.footer .brand .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #1a0e02; display: grid; place-items: center; font-weight: 700; }
.footer .brand .brand__img { height: 40px; width: auto; display: block; }
.footer p { font-size: 14px; line-height: 1.85; }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; font-family: var(--font-mono); color: var(--faint); }

/* ---------- 占位提示徽标 ---------- */
.placeholder-flag { position: fixed; right: 14px; bottom: 14px; z-index: 200; background: var(--accent); color: #1a0e02; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.placeholder-flag a { color: #1a0e02; text-decoration: underline; }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 90ms; }
.reveal[data-d="2"] { transition-delay: 180ms; }
.reveal[data-d="3"] { transition-delay: 270ms; }
.reveal[data-d="4"] { transition-delay: 360ms; }
.reveal[data-d="5"] { transition-delay: 450ms; }
.reveal[data-d="6"] { transition-delay: 540ms; }

/* ---------- 产品演示 ---------- */
.demo {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px; align-items: start;
}
.demo__radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 演示屏外壳 */
.demo__stage {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-2);
}
.demo__chrome {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  background: rgba(0, 0, 0, .3); border-bottom: 1px solid var(--line);
}
.demo__dots { display: inline-flex; gap: 6px; }
.demo__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.demo__dots i:first-child { background: var(--accent); }
.demo__url { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: .05em; }
.demo__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--cyan); }
.demo__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }

/* 章节切换（纯 CSS，无需 JS） */
.demo__slides { position: relative; }
.demo__slide { display: none; }
.demo__radio:nth-of-type(1):checked ~ .demo__stage .demo__slide:nth-child(1),
.demo__radio:nth-of-type(2):checked ~ .demo__stage .demo__slide:nth-child(2),
.demo__radio:nth-of-type(3):checked ~ .demo__stage .demo__slide:nth-child(3),
.demo__radio:nth-of-type(4):checked ~ .demo__stage .demo__slide:nth-child(4),
.demo__radio:nth-of-type(5):checked ~ .demo__stage .demo__slide:nth-child(5),
.demo__radio:nth-of-type(6):checked ~ .demo__stage .demo__slide:nth-child(6) {
  display: block; animation: demoIn .45s var(--ease) both;
}
@keyframes demoIn { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: none; } }

/* 演示屏内的产品界面示意 */
.demo__screen {
  padding: 18px; min-height: 266px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
}
.ui { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
.ui__rail {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 8px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02);
}
.ui__rail span { display: block; height: 6px; border-radius: 3px; background: var(--line-2); }
.ui__rail .ui__logo { width: 22px; height: 22px; border-radius: 6px; margin: 0 auto 4px; background: var(--accent); }
.ui__body { display: grid; gap: 10px; align-content: start; }
.ui__top { display: flex; align-items: center; justify-content: space-between; }
.ui__crumb { display: block; width: 118px; height: 8px; border-radius: 4px; background: var(--line-2); }
.ui__pill { display: block; width: 46px; height: 15px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.ui__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ui__kpi { display: grid; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .02); }
.ui__kpi i { display: block; height: 5px; border-radius: 3px; background: var(--line-2); }
.ui__kpi b { display: block; height: 13px; border-radius: 3px; background: rgba(255, 122, 26, .34); }
.ui__panel {
  display: flex; align-items: flex-end; gap: 8px; height: 122px; padding: 14px 12px 0;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02);
}
.ui__panel span {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(255, 122, 26, .62), rgba(255, 122, 26, .1));
  animation: barRise .55s var(--ease) both; animation-delay: var(--d);
}
.ui__panel span:nth-child(2n) { background: linear-gradient(180deg, rgba(233, 237, 243, .3), rgba(233, 237, 243, .04)); }
@keyframes barRise { from { height: 0; } }

.demo__slide figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  padding: 13px 18px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .18);
}
.demo__slide figcaption b { font-family: var(--font-display); font-size: 16px; color: var(--text); }
.demo__slide figcaption span { font-size: 13.5px; color: var(--muted); }
.demo__slide figcaption em { margin-left: auto; font-family: var(--font-mono); font-size: 12px; font-style: normal; color: var(--accent); }

.demo__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 11px 18px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint);
}
.demo__play { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.demo__play .tri {
  width: 0; height: 0; border-left: 8px solid currentColor;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.demo__meta { margin-left: auto; }

/* 章节列表 */
.demo__chapters { display: grid; gap: 9px; counter-reset: none; }
.demo__chapters label {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 11px; align-items: start;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.demo__chapters label:hover { border-color: var(--line-2); transform: translateX(3px); }
.demo__chapters i { font-family: var(--font-mono); font-size: 12px; font-style: normal; color: var(--faint); padding-top: 2px; }
.demo__chapters b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--text); margin-bottom: 2px; }
.demo__chapters small { display: block; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.demo__chapters em { font-family: var(--font-mono); font-size: 11px; font-style: normal; color: var(--faint); }

.demo__radio:nth-of-type(1):checked ~ .demo__chapters li:nth-child(1) label,
.demo__radio:nth-of-type(2):checked ~ .demo__chapters li:nth-child(2) label,
.demo__radio:nth-of-type(3):checked ~ .demo__chapters li:nth-child(3) label,
.demo__radio:nth-of-type(4):checked ~ .demo__chapters li:nth-child(4) label,
.demo__radio:nth-of-type(5):checked ~ .demo__chapters li:nth-child(5) label,
.demo__radio:nth-of-type(6):checked ~ .demo__chapters li:nth-child(6) label {
  border-color: var(--accent-line);
  background: linear-gradient(110deg, rgba(255, 122, 26, .12), var(--surface) 62%);
  box-shadow: inset 3px 0 0 var(--accent);
}
.demo__radio:nth-of-type(1):checked ~ .demo__chapters li:nth-child(1) label i,
.demo__radio:nth-of-type(2):checked ~ .demo__chapters li:nth-child(2) label i,
.demo__radio:nth-of-type(3):checked ~ .demo__chapters li:nth-child(3) label i,
.demo__radio:nth-of-type(4):checked ~ .demo__chapters li:nth-child(4) label i,
.demo__radio:nth-of-type(5):checked ~ .demo__chapters li:nth-child(5) label i,
.demo__radio:nth-of-type(6):checked ~ .demo__chapters li:nth-child(6) label i { color: var(--accent); }

/* 底部动作 */
.demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.demo__actions .link { color: var(--accent); font-weight: 600; font-size: 14px; }
.demo__actions .link:hover { text-decoration: underline; }

/* 画布内：章节可切换，但光标提示为可选中 */
.is-embed .demo__chapters label { cursor: pointer; }

/* 导航防挤压：文字永不换行，宽度不够时依次「缩间距 → 收按钮 → 切汉堡菜单」 */
@media (max-width: 1280px) {
  .nav__links > li > a { padding: 9px 9px; font-size: 14px; }
}
@media (max-width: 1120px) {
  .nav__cta { display: none; }
}
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .scene-band { grid-template-columns: 1fr; }
  .scene-band img { height: 220px; }
  .feature-row, .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .demo { grid-template-columns: 1fr; }
  .demo__screen { min-height: 236px; }
  .ui__panel { height: 104px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .news-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow-2);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.open .has-menu .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 12px; }
  .section { padding: 64px 0; }
  .grid--3, .grid--4, .grid--2, .form-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .demo__screen { padding: 12px; min-height: 196px; }
  .ui { grid-template-columns: minmax(0, 1fr); }
  .ui__rail { display: none; }
  .ui__kpis { gap: 6px; }
  .ui__kpi { padding: 8px; }
  .ui__panel { height: 88px; padding: 10px 8px 0; }
  .demo__slide figcaption { padding: 11px 14px; }
  .demo__slide figcaption em { margin-left: 0; }
  .demo__foot { padding: 10px 14px; }
  .demo__meta { margin-left: 0; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero__stats { gap: 18px; }
  .hero__stats b { font-size: 28px; }
}

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

/* ===========================================================
   产品演示中心（demo.html）
   与官网同源：深色工业风 + 信号橙；演示界面本身自成一套“产品 UI”
   =========================================================== */
.dx-herometa { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.dx-herometa span { display: inline-flex; align-items: center; gap: 9px; }
.dx-herometa i { font-style: normal; color: var(--accent); letter-spacing: .08em; }

.dx-section { padding-top: 48px; }

/* 顶部产品切换 */
.dx-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.dx-tabs { display: flex; gap: 6px; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; flex-wrap: wrap; }
.dx-tab {
  display: grid; gap: 1px; text-align: left; padding: 9px 18px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); cursor: pointer; font-family: inherit; transition: .18s var(--ease);
}
.dx-tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.dx-tab.is-active { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent-line); }
.dx-tab__code { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--faint); }
.dx-tab.is-active .dx-tab__code { color: var(--accent); }
.dx-tab__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.dx-topbar__right { display: flex; align-items: center; gap: 16px; }
.dx-productdesc { font-size: 13.5px; color: var(--faint); max-width: 380px; }
.dx-ghostbtn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font-family: var(--font-mono); font-size: 12px; cursor: pointer; transition: .18s; white-space: nowrap;
}
.dx-ghostbtn:hover { color: var(--accent); border-color: var(--accent-line); }
.dx-ghostbtn svg { width: 15px; height: 15px; }

/* 工作区 */
.dx-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 18px; align-items: start; }
.dx-workspace:fullscreen { background: var(--bg); padding: 22px; overflow: auto; }
.dx-workspace.is-pseudo-fs { position: fixed; inset: 0; z-index: 300; background: var(--bg); padding: 22px; overflow: auto; }
.dx-stagecol { min-width: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden; box-shadow: var(--shadow-3); }

.dx-stagebar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #0a0c10; }
.dx-dots { display: inline-flex; gap: 6px; }
.dx-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.dx-dots i:first-child { background: var(--accent); }
.dx-url { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: .05em; }
.dx-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--cyan); }
.dx-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }

.dx-stage { background: #0d1117; min-height: 542px; }
.dx-understage { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }
.dx-understage .mono { font-size: 11px; }

/* 演示应用外壳 */
.dx-app { display: grid; grid-template-columns: 186px minmax(0, 1fr); min-height: 542px; }
.dx-app__rail { border-right: 1px solid var(--line); background: #0a0e14; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.dx-app__brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 12px; border-bottom: 1px solid var(--line); }
.dx-app__brand i { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #1a0e02; display: grid; place-items: center; font-style: normal; font-weight: 700; font-family: var(--font-display); font-size: 14px; }
.dx-app__brand b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.dx-app__nav { display: grid; gap: 3px; }
.dx-app__navitem {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font-family: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: .16s;
}
.dx-app__navitem svg { width: 16px; height: 16px; flex: 0 0 auto; }
.dx-app__navitem:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.dx-app__navitem.is-active { background: var(--accent-soft); color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
.dx-app__railfoot { margin-top: auto; display: grid; gap: 8px; padding: 10px 8px 0; border-top: 1px solid var(--line); }
.dx-app__railfoot span { height: 6px; border-radius: 3px; background: var(--line-2); }
.dx-app__railfoot span:nth-child(2) { width: 72%; }
.dx-app__railfoot span:nth-child(3) { width: 48%; }

.dx-app__main { min-width: 0; display: flex; flex-direction: column; }
.dx-app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.dx-app__crumb { font-size: 12.5px; color: var(--faint); }
.dx-app__crumb i { margin: 0 7px; font-style: normal; }
.dx-app__crumb b { color: var(--text); font-weight: 600; }
.dx-app__topright { display: flex; align-items: center; gap: 9px; }
.dx-app__who { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--faint); }
.dx-app__ava { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; }
.dx-app__body { padding: 18px; flex: 1; min-width: 0; }

/* 视图通用 */
.dx-view { display: grid; gap: 14px; }
.dx-view__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dx-view__head h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); }
.dx-view__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.dx-view__tag--cyan { color: var(--cyan); border-color: rgba(63, 208, 201, .35); }
.dx-view__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dx-search { position: relative; display: inline-flex; align-items: center; }
.dx-search svg { position: absolute; left: 9px; width: 14px; height: 14px; color: var(--faint); pointer-events: none; }
.dx-search input {
  width: 210px; padding: 7px 10px 7px 29px; border: 1px solid var(--line-2); border-radius: 8px;
  background: #0a0e14; color: var(--text); font-family: inherit; font-size: 12px;
}
.dx-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dx-mini { border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); border-radius: 8px; padding: 7px 12px; font-size: 12px; font-family: inherit; cursor: pointer; }

/* KPI */
.dx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dx-kpi { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.dx-kpi__label { font-size: 11.5px; color: var(--faint); }
.dx-kpi__num { font-family: var(--font-mono); font-size: 21px; color: #fff; line-height: 1.2; }
.dx-kpi__delta { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; }
.dx-kpi__delta.is-up { color: var(--green, #46d39a); }
.dx-kpi__delta.is-down { color: var(--cyan); }

.dx-grid2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; }
.dx-card { border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: rgba(255, 255, 255, .015); }
.dx-card__t { font-size: 11.5px; color: var(--faint); font-family: var(--font-mono); letter-spacing: .04em; margin-bottom: 10px; }

.dx-bars { display: flex; align-items: flex-end; gap: 9px; height: 136px; }
.dx-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; }
.dx-bar i { display: block; width: 100%; max-width: 30px; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(255, 122, 26, .18)); animation: dxbar .55s var(--ease) both; transform-origin: bottom; }
.dx-bar span { font-family: var(--font-mono); font-size: 9.5px; color: var(--faint); }
@keyframes dxbar { from { transform: scaleY(.05); opacity: .3; } to { transform: none; opacity: 1; } }

.dx-list { display: grid; gap: 9px; }
.dx-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.dx-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.dx-list b { display: block; font-size: 12.5px; font-weight: 500; }
.dx-list small { display: block; font-size: 11px; color: var(--faint); }

.dx-pill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.dx-pill--green { color: #46d39a; background: rgba(70, 211, 154, .12); }
.dx-pill--orange { color: var(--accent); background: var(--accent-soft); }
.dx-pill--cyan { color: var(--cyan); background: rgba(63, 208, 201, .12); }
.dx-pill--red { color: #ff5d6c; background: rgba(255, 93, 108, .12); }

/* 表格 */
.dx-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.dx-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
.dx-table th { text-align: left; padding: 9px 13px; font-size: 10.5px; letter-spacing: .05em; font-weight: 600; color: var(--faint); background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); white-space: nowrap; }
.dx-table td { padding: 10px 13px; border-bottom: 1px solid var(--line); color: var(--muted); }
.dx-table td.dx-strong { color: var(--text); font-weight: 500; }
.dx-table tbody tr { cursor: pointer; transition: background .14s; }
.dx-table tbody tr:hover { background: rgba(255, 255, 255, .035); }
.dx-table tbody tr.is-selected { background: var(--accent-soft); }
.dx-table tbody tr:last-child td { border-bottom: 0; }
.dx-table tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.dx-empty { padding: 26px; text-align: center; color: var(--faint); font-size: 12.5px; }
.dx-tablefoot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }

.dx-detail { border: 1px solid var(--accent-line); border-radius: 10px; background: rgba(255, 122, 26, .05); padding: 12px 14px; }
.dx-detail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dx-detail__head b { font-family: var(--font-display); font-size: 13.5px; }
.dx-detail__head button { background: none; border: 0; color: var(--faint); font-size: 17px; cursor: pointer; line-height: 1; }
.dx-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
.dx-detail dl > div { display: flex; gap: 8px; font-size: 12px; }
.dx-detail dt { color: var(--faint); flex: 0 0 62px; }
.dx-detail dd { color: var(--text); }

/* AI 对话 */
.dx-view--chat { grid-template-rows: auto auto 1fr auto; }
.dx-chat__sub { font-size: 11.5px; color: var(--faint); }
.dx-chat { display: grid; gap: 12px; align-content: start; min-height: 232px; max-height: 296px; overflow-y: auto; padding: 4px 4px 4px 0; }
.dx-msg { display: flex; gap: 9px; align-items: flex-start; }
.dx-msg--user { justify-content: flex-end; }
.dx-msg__ava { width: 24px; height: 24px; border-radius: 7px; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; font-family: var(--font-mono); font-size: 9.5px; flex: 0 0 auto; }
.dx-msg__bubble { max-width: 78%; padding: 9px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.65; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); }
.dx-msg--user .dx-msg__bubble { background: var(--accent-soft); border-color: var(--accent-line); color: #ffd9bd; }
.dx-msg__bubble cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--cyan); opacity: .9; }
.dx-chat__bar { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.dx-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.dx-chip { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-family: inherit; cursor: pointer; transition: .16s; }
.dx-chip:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.dx-composer { display: flex; gap: 8px; }
.dx-composer input { flex: 1; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #0a0e14; color: var(--text); font-family: inherit; font-size: 12.5px; }
.dx-composer input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dx-composer button { border: 0; background: var(--accent); color: #1a0e02; border-radius: 8px; padding: 0 18px; font-weight: 700; font-size: 12.5px; cursor: pointer; font-family: inherit; }

/* 流程 */
.dx-flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 6px 0 10px; }
.dx-node { flex: 1 1 0; min-width: 128px; display: grid; gap: 3px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); color: var(--muted); text-align: left; cursor: pointer; transition: .18s; font-family: inherit; }
.dx-node:hover { border-color: var(--line-2); color: var(--text); }
.dx-node.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--text); box-shadow: 0 0 0 1px var(--accent-line); }
.dx-node i { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: var(--accent); letter-spacing: .1em; }
.dx-node b { font-size: 12.5px; font-weight: 600; color: inherit; }
.dx-node small { font-size: 10.5px; color: var(--faint); }
.dx-arrow { align-self: center; width: 18px; height: 1px; background: var(--line-2); flex: 0 0 18px; position: relative; }
.dx-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg); }
.dx-node-detail { border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; background: rgba(255, 255, 255, .015); }
.dx-node-detail__t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--faint); margin-bottom: 8px; }
.dx-node-detail ul { display: grid; gap: 6px; }
.dx-node-detail li { position: relative; padding-left: 15px; font-size: 12.5px; color: var(--muted); }
.dx-node-detail li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* 引导面板 */
.dx-guide { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); padding: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.dx-workspace:fullscreen .dx-guide, .dx-workspace.is-pseudo-fs .dx-guide { position: static; }
.dx-guide__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dx-guide__eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--accent); }
.dx-guide__head h3 { font-family: var(--font-display); font-size: 19px; margin-top: 3px; }
.dx-guide__count { font-size: 11.5px; color: var(--faint); }
.dx-prog { height: 3px; background: var(--line); border-radius: 2px; margin: 14px 0 16px; overflow: hidden; }
.dx-prog i { display: block; height: 100%; background: var(--accent); transition: width .35s var(--ease); }
.dx-steps { display: grid; gap: 4px; }
.dx-step { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; text-align: left; padding: 11px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-family: inherit; transition: .18s; }
.dx-step:hover { background: rgba(255, 255, 255, .035); }
.dx-step.is-active { background: var(--accent-soft); border-color: var(--accent-line); }
.dx-step__no { font-family: var(--font-mono); font-size: 11px; color: var(--faint); padding-top: 2px; }
.dx-step.is-active .dx-step__no { color: var(--accent); }
.dx-step.is-done .dx-step__no { color: var(--cyan); }
.dx-step__body b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.dx-step__body small { display: block; font-size: 11.5px; line-height: 1.6; color: var(--faint); }
.dx-step__time { font-family: var(--font-mono); font-size: 10px; color: var(--faint); padding-top: 3px; }
.dx-guide__foot { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dx-ctrl { flex: 1; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: transparent; color: var(--muted); font-family: inherit; font-size: 12.5px; cursor: pointer; transition: .16s; }
.dx-ctrl:hover:not(:disabled) { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.dx-ctrl:disabled { opacity: .35; cursor: not-allowed; }
.dx-ctrl--primary { background: var(--accent); border-color: var(--accent); color: #1a0e02; font-weight: 700; }
.dx-ctrl--primary:hover:not(:disabled) { background: #ff8e3a; color: #1a0e02; }
.dx-ctrl--icon { flex: 0 0 40px; font-family: var(--font-mono); }
.dx-ctrl--icon.is-on { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

.dx-note { margin-top: 14px; font-size: 11.5px; color: var(--faint); font-family: var(--font-mono); }

/* 预约区 */
.dx-book { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; }
.dx-book__copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 16px; }
.dx-book__copy .checklist { margin-top: 20px; }
.dx-book__tip { margin-top: 18px; font-size: 12px; color: var(--faint); }
.dx-book__card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-2); }
.dx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dx-book__card .field { margin-bottom: 14px; }
.dx-book__card .field label { font-size: 12.5px; }
.dx-book__card .field input, .dx-book__card .field select, .dx-book__card .field textarea { background: #0a0e14; font-size: 13.5px; }
.dx-book__card .btn { width: 100%; margin-top: 4px; }
.dx-book__card .field input.is-invalid { border-color: #ff5d6c; box-shadow: 0 0 0 3px rgba(255, 93, 108, .12); }
.dx-form__msg { min-height: 18px; margin-top: 10px; font-size: 12px; }
.dx-form__msg.is-error { color: #ff8b95; }
.dx-done { display: flex; gap: 14px; align-items: flex-start; }
.dx-done__ico { width: 38px; height: 38px; border-radius: 50%; background: rgba(70, 211, 154, .14); color: #46d39a; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.dx-done b { font-family: var(--font-display); font-size: 16px; }
.dx-done p { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; }
.dx-done .btn { width: auto; }

/* 响应式 */
@media (max-width: 1180px) {
  .dx-workspace { grid-template-columns: 1fr; }
  .dx-guide { position: static; }
  .dx-steps { grid-template-columns: 1fr 1fr; }
  .dx-book { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 980px) {
  .dx-app { grid-template-columns: 64px minmax(0, 1fr); }
  .dx-app__brand b, .dx-app__navitem span { display: none; }
  .dx-app__navitem { justify-content: center; padding: 10px 0; }
  .dx-app__railfoot { display: none; }
  .dx-productdesc { display: none; }
}
@media (max-width: 760px) {
  .dx-tabs { width: 100%; }
  .dx-tab { flex: 1 1 auto; padding: 8px 12px 9px; }
  .dx-stage { min-height: 480px; }
  .dx-app { grid-template-columns: 1fr; }
  .dx-app__rail { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; overflow-x: auto; }
  .dx-app__brand { border-bottom: 0; padding: 0 8px 0 0; }
  .dx-app__nav { display: flex; gap: 2px; }
  .dx-steps { grid-template-columns: 1fr; }
  .dx-kpis { grid-template-columns: 1fr; }
  .dx-grid2 { grid-template-columns: 1fr; }
  .dx-form__row { grid-template-columns: 1fr; }
  .dx-detail dl { grid-template-columns: 1fr; }
  .dx-understage .mono { display: none; }
  .dx-search input { width: 150px; }
}
