/* ==========================================================================
   WITCD Site Design System — 工业精密风
   成都伟特自动化工程有限公司 全站共享样式
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens — 设计变量
   ========================================================================== */
:root {
  /* —— 基础色板 —— */
  --ink-0: #0d0e11;            /* 深炭黑：极深背景/分隔 */
  --ink-1: #16181d;            /* 主深炭黑：导航、页脚、Hero */
  --ink-2: #1e2229;            /* 面板色 */
  --ink-3: #262b34;            /* 抬升色：卡片、悬浮 */
  --ink-4: #343a45;            /* 分割线/边框 */
  --steel-1: #4a5260;          /* 钢灰：次级文字 */
  --steel-2: #6b7480;          /* 钢灰：辅助文字 */
  --paper: #e8e6e1;            /* 暖白文字 */
  --paper-dim: #c5c2ba;        /* 次级文字 */
  --paper-mute: #9aa0ab;       /* 辅助/提示文字 */

  /* —— 强调色 —— */
  --signal: #e8492b;           /* 信号红：CTA、关键数据、hover */
  --signal-dim: #b5361e;       /* 信号红暗调 */
  --orange: #e8731f;           /* 工程橙：LOGO 徽章底、强调点缀 */
  --titanium: #c9a35c;         /* 钛金：刻度、分割线、精密装饰 */
  --titanium-bright: #e6c882;  /* 钛金亮调：hover 高光 */
  --titanium-dim: #8a7340;     /* 钛金暗调 */

  /* —— 浅色面板（对比区） —— */
  --paper-bg: #f4f2ee;         /* 浅色区块底 */
  --paper-card: #ffffff;
  --ink-on-paper: #1b1e24;

  /* —— 字体栈 —— */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Impact", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "微软雅黑", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "Monaco", "Courier New", monospace;

  /* —— 字号（流体 clamp） —— */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --fs-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-md: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --fs-lg: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  --fs-xl: clamp(1.8rem, 1.4rem + 2vw, 2.5rem);
  --fs-2xl: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);
  --fs-3xl: clamp(2.8rem, 2rem + 4vw, 4.5rem);
  --fs-4xl: clamp(3.5rem, 2.4rem + 5.5vw, 6rem);

  /* —— 间距 —— */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* —— 圆角（工业精密=微圆角/直角） —— */
  --r-0: 0;
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;
  --r-pill: 999px;

  /* —— 边框 —— */
  --b-hair: 1px solid rgba(232, 230, 225, 0.08);
  --b-titanium: 1px solid var(--titanium);
  --b-titanium-dim: 1px solid rgba(201, 163, 92, 0.3);

  /* —— 阴影（克制使用） —— */
  --sh-low: 0 2px 8px rgba(0, 0, 0, 0.25);
  --sh-mid: 0 8px 24px rgba(0, 0, 0, 0.35);
  --sh-glow-red: 0 0 0 1px var(--signal), 0 4px 14px rgba(232, 73, 43, 0.35);
  --sh-glow-ti: 0 0 0 1px var(--titanium), 0 4px 14px rgba(201, 163, 92, 0.25);

  /* —— 动效 —— */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 600ms;

  /* —— 布局 —— */
  --nav-h: 72px;
  --container-max: 1280px;
  --container-pad: clamp(1rem, 2vw, 2rem);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--paper);
  background: var(--ink-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-1) var(--ease-out-quart); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--signal); color: var(--paper); }

/* ==========================================================================
   3. Typography
   ========================================================================== */
.display, .display-2, .display-3, .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--paper);
}
.display { font-size: var(--fs-xl); }
.display-2 { font-size: var(--fs-2xl); }
.display-3 { font-size: var(--fs-3xl); }
.display-4 { font-size: var(--fs-4xl); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  font-weight: 500;
}
.eyebrow--red { color: var(--signal); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  font-weight: 500;
}
.kicker::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--titanium);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--paper);
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 3px;
  background: var(--signal);
}
.section-title .num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  color: var(--titanium);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.section-title-light {
  color: var(--ink-on-paper);
}
.section-title-light::before { background: var(--signal); }

p { color: var(--paper-dim); }
p.lead { font-size: var(--fs-md); color: var(--paper); max-width: 64ch; }

.num-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
}
.num-display .unit {
  font-size: 0.45em;
  color: var(--titanium);
  margin-left: 0.2em;
  font-weight: 500;
}

/* ==========================================================================
   4. Layout Primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section {
  padding-block: clamp(2rem, 4vw, 4.5rem);
  position: relative;
}
.section > .container > :first-child { margin-top: 0; }
.section--ink { background: var(--ink-1); }
.section--ink-2 { background: var(--ink-2); }
.section--ink-0 { background: var(--ink-0); }
.section--paper { background: var(--paper-bg); color: var(--ink-on-paper); }
.section--paper p { color: #4a5260; }

.divider-titanium {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--titanium), transparent);
  margin-block: var(--sp-7);
  opacity: 0.4;
}

/* ==========================================================================
   5. Navigation — 顶部导航
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(201, 163, 92, 0.15);
  z-index: 100;
  transition: background var(--dur-2) var(--ease-out-quart);
}
.nav.is-scrolled { background: rgba(13, 14, 17, 0.96); border-bottom-color: rgba(232, 73, 43, 0.25); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* logo 徽章容器 —— 工业铭牌感 */
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  background: #ffffff;
  border: 1px solid var(--titanium);
  border-radius: var(--r-2);
  box-shadow: var(--sh-low);
  line-height: 0;
}
.nav__badge img { height: 38px; width: auto; display: block; }
.nav__name {
  display: none;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 700;
}
@media (min-width: 1024px) {
  .nav__name { display: block; }
}
/* 1024–1199px 横向空间有限：品牌名收一号，给导航链接留出空间 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__name { font-size: var(--fs-lg); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  padding-inline: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  transition: color var(--dur-1) var(--ease-out-quart);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 18px;
  height: 2px;
  background: var(--signal);
  transition: left var(--dur-2) var(--ease-out-expo), right var(--dur-2) var(--ease-out-expo);
}
.nav__link:hover, .nav__link.is-active {
  color: var(--paper);
}
.nav__link:hover::after, .nav__link.is-active::after {
  left: var(--sp-4); right: var(--sp-4);
}

/* 下拉菜单 */
.nav__dropdown {
  position: relative;
  display: inline-flex;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
  padding-inline: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--paper-dim);
  cursor: pointer;
}
.nav__dropdown-toggle .chev {
  font-size: 0.65em;
  transition: transform var(--dur-1) var(--ease-out-quart);
}
.nav__dropdown:hover .nav__dropdown-toggle,
.nav__dropdown.is-open .nav__dropdown-toggle { color: var(--paper); }
.nav__dropdown:hover .nav__dropdown-toggle .chev,
.nav__dropdown.is-open .nav__dropdown-toggle .chev { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: var(--sp-3);
  min-width: 200px;
  padding: var(--sp-2);
  background: var(--ink-2);
  border: 1px solid rgba(201, 163, 92, 0.25);
  border-radius: var(--r-2);
  box-shadow: var(--sh-mid);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-2) var(--ease-out-quart), transform var(--dur-2) var(--ease-out-expo), visibility 0s linear var(--dur-2);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-2) var(--ease-out-quart), transform var(--dur-2) var(--ease-out-expo), visibility 0s linear 0s;
}
.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--paper-dim);
  border-radius: var(--r-1);
  transition: background var(--dur-1) var(--ease-out-quart), color var(--dur-1) var(--ease-out-quart);
}
.nav__dropdown-item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--titanium);
  border-radius: 50%;
  transition: background var(--dur-1) var(--ease-out-quart), transform var(--dur-1) var(--ease-out-quart);
}
.nav__dropdown-item:hover {
  background: rgba(232, 73, 43, 0.08);
  color: var(--paper);
}
.nav__dropdown-item:hover::before { background: var(--signal); transform: scale(1.5); }

/* 汉堡按钮 */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--paper);
  border: 1px solid rgba(232, 230, 225, 0.15);
  border-radius: var(--r-2);
}
.nav__toggle:hover { border-color: var(--signal); color: var(--signal); }
.nav__toggle .bar {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  transition: background var(--dur-1) var(--ease-out-quart);
}
.nav__toggle .bar::before, .nav__toggle .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out-expo), top var(--dur-2) var(--ease-out-expo);
}
.nav__toggle .bar::before { top: -6px; }
.nav__toggle .bar::after { top: 6px; }
.nav__toggle.is-open .bar { background: transparent; }
.nav__toggle.is-open .bar::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open .bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-5) var(--container-pad) var(--sp-7);
    background: var(--ink-1);
    border-bottom: 1px solid rgba(201, 163, 92, 0.25);
    max-height: 0;
    overflow: hidden auto;
    opacity: 0;
    transition: max-height var(--dur-3) var(--ease-out-expo), opacity var(--dur-2) var(--ease-out-quart);
  }
  .nav__links.is-open {
    max-height: calc(100vh - var(--nav-h));
    opacity: 1;
  }
  .nav__link {
    height: auto;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(232, 230, 225, 0.08);
  }
  .nav__link::after { display: none; }
  .nav__link:hover::after, .nav__link.is-active::after { display: none; }
  .nav__link.is-active {
    color: var(--signal);
  }
  .nav__dropdown {
    flex-direction: column;
    align-items: stretch;
  }
  .nav__dropdown-toggle {
    height: auto;
    padding: var(--sp-4) 0;
    justify-content: space-between;
    border-bottom: 1px solid rgba(232, 230, 225, 0.08);
  }
  .nav__dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    background: var(--ink-2);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: none;
  }
  .nav__dropdown.is-open .nav__dropdown-menu { display: block; }
  .nav__dropdown-item {
    padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-5);
    border-bottom: 1px solid rgba(232, 230, 225, 0.04);
  }
  .nav__toggle { display: inline-flex; }
}

/* ==========================================================================
   6. Footer — 页脚
   ========================================================================== */
.footer {
  background: var(--ink-0);
  border-top: 1px solid rgba(201, 163, 92, 0.25);
  padding-block: var(--sp-9) var(--sp-5);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 163, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 92, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}
.footer__inner {
  position: relative;
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.footer__brand .nav__badge { margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); color: var(--paper-mute); max-width: 36ch; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  font-weight: 500;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(201, 163, 92, 0.2);
}
.footer__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__list a, .footer__list span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--paper-dim);
  transition: color var(--dur-1) var(--ease-out-quart);
}
.footer__list a:hover { color: var(--signal); }
.footer__list i { color: var(--titanium); font-size: 0.95em; width: 1.4em; text-align: center; }
.footer__bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(232, 230, 225, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--paper-mute);
}
.footer__bottom a { color: var(--paper-mute); }
.footer__bottom a:hover { color: var(--titanium); }

/* ==========================================================================
   7. Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--r-1);
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--signal);
  color: var(--paper);
  border: 1px solid var(--signal);
}
.btn--primary:hover {
  background: var(--signal-dim);
  border-color: var(--signal-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 73, 43, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(232, 230, 225, 0.25);
}
.btn--ghost:hover {
  border-color: var(--titanium);
  color: var(--titanium);
}
.btn--titanium {
  background: transparent;
  color: var(--titanium);
  border: 1px solid var(--titanium);
}
.btn--titanium:hover {
  background: var(--titanium);
  color: var(--ink-1);
}
.btn .arrow { transition: transform var(--dur-2) var(--ease-out-expo); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--titanium);
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 24px; height: 1px;
  background: var(--titanium);
  transition: width var(--dur-2) var(--ease-out-expo), background var(--dur-1) var(--ease-out-quart);
}
.link-arrow:hover { color: var(--signal); }
.link-arrow:hover::after { width: 100%; background: var(--signal); }
.link-arrow .arrow { transition: transform var(--dur-2) var(--ease-out-expo); }
.link-arrow:hover .arrow { transform: translateX(4px); }

.text-link {
  color: var(--titanium);
  border-bottom: 1px solid rgba(201, 163, 92, 0.4);
  transition: color var(--dur-1) var(--ease-out-quart), border-color var(--dur-1) var(--ease-out-quart);
}
.text-link:hover { color: var(--signal); border-bottom-color: var(--signal); }

/* ==========================================================================
   8. Cards & Components
   ========================================================================== */
.card {
  background: var(--ink-2);
  border: 1px solid rgba(232, 230, 225, 0.06);
  border-radius: var(--r-2);
  padding: var(--sp-6);
  position: relative;
  transition: border-color var(--dur-2) var(--ease-out-quart), transform var(--dur-2) var(--ease-out-quart);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--sp-6); right: var(--sp-6);
  height: 2px;
  background: var(--titanium);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out-expo);
}
.card:hover {
  border-color: rgba(232, 73, 43, 0.3);
  transform: translateY(-2px);
}
.card:hover::before {
  transform: scaleX(1);
  background: var(--signal);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--titanium);
  background: rgba(201, 163, 92, 0.08);
  border: 1px solid rgba(201, 163, 92, 0.25);
  border-radius: var(--r-1);
}
.tag--red {
  color: var(--signal);
  background: rgba(232, 73, 43, 0.08);
  border-color: rgba(232, 73, 43, 0.3);
}

/* 工程图十字线 / 坐标线装饰 */
.crosshair {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background: var(--titanium);
  opacity: 0.6;
}
.crosshair::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.crosshair::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }

/* 信号扫描线动画 */
@keyframes scanline {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* 滚动入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-3) var(--ease-out-quart), transform var(--dur-3) var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* 数字滚动 (data-count) */
.count-up {
  display: inline-block;
}

/* ==========================================================================
   9. Hero — 工程蓝图风
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 100vh, 880px);
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--ink-0);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 14, 17, 0.55) 0%, rgba(13, 14, 17, 0.25) 35%, rgba(13, 14, 17, 0.4) 100%),
    url('../hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  z-index: -3;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 75% at 30% 50%, rgba(13, 14, 17, 0.35), transparent 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 163, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 92, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 30%, transparent 80%);
  z-index: -2;
}
.hero__radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(232, 73, 43, 0.12), transparent 70%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201, 163, 92, 0.06), transparent 70%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  padding-block: var(--sp-9);
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); padding-block: var(--sp-7); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3xl);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
}
.hero__title .accent {
  display: block;
  color: var(--signal);
  font-style: italic;
}
.hero__title .stroke {
  -webkit-text-stroke: 1px var(--titanium);
  color: transparent;
}
.hero__lede {
  margin-top: var(--sp-5);
  font-size: var(--fs-md);
  color: var(--paper-dim);
  max-width: 56ch;
  line-height: 1.65;
}
.hero__actions {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* 英雄区右侧：技术铭牌 / 数据卡 */
.hero__panel {
  position: relative;
  padding: var(--sp-6);
  background: var(--ink-2);
  border: 1px solid rgba(201, 163, 92, 0.25);
  border-radius: var(--r-2);
}
.hero__panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--signal);
  border-left: 2px solid var(--signal);
}
.hero__panel::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 20px; height: 20px;
  border-bottom: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
}
.hero__panel h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(201, 163, 92, 0.25);
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.hero__stat {
  position: relative;
  padding-left: var(--sp-3);
}
.hero__stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 2px;
  background: var(--titanium);
}
.hero__stat .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
}
.hero__stat .v .s { color: var(--signal); }
.hero__stat .l {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--paper-mute);
  letter-spacing: 0.04em;
}

/* 行业领域条 */
.hero__industries {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(232, 230, 225, 0.08);
}
.hero__industries .label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: var(--sp-3);
}
.hero__industries ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.hero__industries li {
  padding: 4px 10px;
  font-size: var(--fs-xs);
  color: var(--paper-dim);
  border: 1px solid rgba(232, 230, 225, 0.15);
  border-radius: var(--r-1);
}

/* ==========================================================================
   9.6 Project Card — 行业案例项目卡 (通用)
   ========================================================================== */
.projects { display: flex; flex-direction: column; gap: var(--sp-6); }
.project {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 0;
  background: var(--ink-2);
  border: 1px solid rgba(232, 230, 225, 0.06);
  border-radius: var(--r-2);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out-quart), transform var(--dur-2) var(--ease-out-quart);
  position: relative;
}
.project:hover {
  border-color: rgba(232, 73, 43, 0.3);
  transform: translateY(-2px);
}
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }
.project__media {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  overflow: hidden;
  background: var(--ink-3);
}
.project__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(201, 163, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 92, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.project__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--dur-3) var(--ease-out-expo);
}
.project:hover .project__media img { transform: scale(1.02); }
.project__num {
  position: absolute;
  bottom: var(--sp-4); left: var(--sp-4);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(232, 73, 43, 0.25);
  z-index: 2;
}
.project__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  color: var(--titanium);
  font-weight: 500;
}
.project__tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--titanium);
}
.project__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}
.project__desc {
  font-size: var(--fs-sm);
  color: var(--paper-dim);
  line-height: 1.8;
  margin-bottom: var(--sp-3);
}
.project__meta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(232, 230, 225, 0.08);
}
.project__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: var(--paper-mute);
}
.project__meta i { color: var(--titanium); }

/* ==========================================================================
   9.5 CTA Band — 行动召唤条 (通用)
   ========================================================================== */
.cta-band {
  padding: var(--sp-7);
  background:
    linear-gradient(135deg, rgba(232, 73, 43, 0.08), transparent),
    var(--ink-2);
  border: 1px solid rgba(232, 73, 43, 0.3);
  border-radius: var(--r-2);
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr auto;
  align-items: center;
  position: relative;
}
@media (max-width: 768px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
}
.cta-band::before { top: -1px; left: -1px; border-top: 2px solid var(--signal); border-left: 2px solid var(--signal); }
.cta-band::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--signal); border-right: 2px solid var(--signal); }
.cta-band h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.cta-band p { color: var(--paper-dim); max-width: 56ch; }

/* ==========================================================================
   10. Page Header — 子页面头部
   ========================================================================== */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--sp-9));
  padding-bottom: var(--sp-7);
  background: var(--ink-0);
  overflow: hidden;
  isolation: isolate;
}
.page-header__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 163, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 92, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
}
.page-header__line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--titanium), transparent);
  opacity: 0.4;
  z-index: -1;
}
.page-header .container { position: relative; }
.page-header .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.page-header .breadcrumb a { color: var(--paper-mute); }
.page-header .breadcrumb a:hover { color: var(--signal); }
.page-header .breadcrumb .sep { color: var(--titanium); }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3xl);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--paper);
  max-width: 20ch;
}
.page-header .num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  color: var(--signal);
  margin-bottom: var(--sp-3);
  font-weight: 500;
}
.page-header .lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--paper-dim);
  max-width: 64ch;
}

/* ==========================================================================
   11. Modal — 模态框
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal.is-open { display: flex; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 86vh;
  overflow: auto;
  background: var(--ink-1);
  border: 1px solid rgba(201, 163, 92, 0.3);
  border-radius: var(--r-2);
  box-shadow: var(--sh-mid);
  animation: modal-in var(--dur-2) var(--ease-out-expo);
}
.modal__panel::before, .modal__panel::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
}
.modal__panel::before { top: -1px; left: -1px; border-top: 2px solid var(--signal); border-left: 2px solid var(--signal); }
.modal__panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--signal); border-right: 2px solid var(--signal); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--ink-2);
  border-bottom: 1px solid rgba(201, 163, 92, 0.2);
  z-index: 1;
}
.modal__head h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--paper);
}
.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(232, 230, 225, 0.15);
  border-radius: var(--r-1);
  color: var(--paper-dim);
  font-size: 1.5em;
  line-height: 1;
}
.modal__close:hover { color: var(--signal); border-color: var(--signal); }
.modal__body { padding: var(--sp-6); }
.modal__body img {
  width: 100%;
  border-radius: var(--r-2);
  border: 1px solid rgba(201, 163, 92, 0.2);
  margin-bottom: var(--sp-4);
}
.modal__body .date {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: var(--sp-3);
}

/* ==========================================================================
   12. Utility — 工具类
   ========================================================================== */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
.flex { display: flex; gap: var(--sp-4); }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }
.color-paper { color: var(--paper); }
.color-titanium { color: var(--titanium); }
.color-signal { color: var(--signal); }
.fw-700 { font-weight: 700; }
.fs-sm { font-size: var(--fs-sm); }
.fs-xs { font-size: var(--fs-xs); }
.uppercase { text-transform: uppercase; letter-spacing: 0.18em; }

/* ==========================================================================
   13. A11y / Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* ==========================================================================
   14. GEO 内容组件：答案摘要块 / 事实表
   —— 供搜索引擎与生成式引擎直接摘录的「定义式回答 + 结构化事实」
   ========================================================================== */
.answer-box {
  position: relative;
  margin-top: var(--sp-5);
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  background: var(--ink-2);
  border: 1px solid rgba(201, 163, 92, 0.22);
  border-left: 3px solid var(--signal);
  border-radius: var(--r-1);
  max-width: 78ch;
}
.answer-box__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: var(--sp-3);
}
.answer-box__q {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}
.answer-box__a {
  font-size: var(--fs-base);
  color: var(--paper-dim);
  line-height: 1.8;
}
.answer-box__a strong { color: var(--paper); font-weight: 600; }
.answer-box__list {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: 1fr 1fr;
  list-style: none;
}
@media (max-width: 640px) { .answer-box__list { grid-template-columns: 1fr; } }
.answer-box__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-sm);
  color: var(--paper-dim);
  line-height: 1.55;
}
.answer-box__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 2px;
  background: var(--signal);
}
.answer-box__list li b { color: var(--titanium); font-weight: 600; }

.fact-table-wrap {
  margin-top: var(--sp-6);
  overflow-x: auto;
  border: 1px solid rgba(232, 230, 225, 0.08);
  border-radius: var(--r-1);
  background: var(--ink-2);
}
table.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.fact-table caption {
  caption-side: top;
  text-align: left;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--paper);
}
.fact-table caption .cap-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--paper-mute);
}
.fact-table thead th {
  background: var(--ink-3);
  color: var(--titanium);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: left;
  padding: 0.7rem var(--sp-4);
  border-bottom: 1px solid rgba(201, 163, 92, 0.22);
  white-space: nowrap;
}
.fact-table tbody th {
  width: 20%;
  color: var(--paper);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem var(--sp-4);
  border-bottom: 1px solid rgba(232, 230, 225, 0.06);
  white-space: nowrap;
}
.fact-table td {
  color: var(--paper-dim);
  line-height: 1.6;
  padding: 0.7rem var(--sp-4);
  border-bottom: 1px solid rgba(232, 230, 225, 0.06);
}
.fact-table tbody tr:last-child th,
.fact-table tbody tr:last-child td { border-bottom: none; }
.fact-table tbody tr:hover th,
.fact-table tbody tr:hover td { background: rgba(232, 230, 225, 0.03); }
@media (max-width: 600px) {
  .fact-table tbody th { white-space: normal; width: auto; }
  .fact-table thead th { white-space: normal; }
}