/* ============================================================
   江苏尼曼网络科技 · 官网视觉系统
   风格：DUOTONE 双色调（蓝 × 紫）+ 明暗自适应
   - 默认：深色主题
   - 系统在浅色外观下：自动切换浅色主题
   - 页面结构与交互不变，仅通过 token 切换配色
   ============================================================ */

/* ---------- 1. Design Tokens（深色 / 默认） ---------- */
:root {
  color-scheme: dark light;

  /* —— 双色调主色 DUOTONE —— */
  --duo-1: #4f7cff;   /* 电光蓝 */
  --duo-2: #a855f7;   /* 紫罗兰 */
  --brand: var(--duo-1);
  --brand-2: var(--duo-2);
  --accent: var(--duo-1);

  /* 三条产品线强调色（保留品牌辨识度） */
  --cloud: #4f7cff;
  --shield: #22d3ee;
  --pay: #f5a524;

  /* —— 中性色阶 —— */
  --bg: #06080f;
  --bg-1: #0a0e1a;
  --bg-2: #0d1322;
  --text: #eaeefb;
  --text-2: #b6c2da;
  --muted: #7f8ca6;
  --faint: #737e96;

  /* —— 玻璃 / 描边 / 面板 —— */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --glass-3: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --panel-solid: rgba(9, 13, 24, 0.62);
  --panel-solid-2: rgba(9, 13, 24, 0.88);
  --nav-bg: rgba(6, 8, 15, 0.78);
  --dropdown-bg: rgba(24, 31, 52, 0.98);
  --dropdown-border: rgba(255, 255, 255, 0.17);
  --dropdown-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(255, 255, 255, 0.05);
  --dot-idle: rgba(255, 255, 255, 0.18);

  /* —— 渐变 —— */
  --grad-brand: linear-gradient(100deg, var(--duo-1) 0%, var(--duo-2) 100%);
  --grad-heading: linear-gradient(120deg, #ffffff 10%, #b6c4e6 90%);
  --grad-num: linear-gradient(120deg, #ffffff, #9fb2dc);
  --grad-hero: linear-gradient(100deg, var(--duo-1) 0%, var(--duo-2) 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));

  /* —— 光晕 / 阴影 —— */
  --glow-1: rgba(79, 124, 255, 0.42);
  --glow-2: rgba(168, 85, 247, 0.32);
  --glow-3: rgba(79, 124, 255, 0.20);
  --glow-op: 0.5;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.30);
  --shadow-brand: 0 12px 34px rgba(79, 124, 255, 0.36);
  --shadow-brand-hover: 0 18px 44px rgba(79, 124, 255, 0.50);
  --scrim: rgba(0, 0, 0, 0.42);

  /* —— 语义色 —— */
  --ok: #34d399;
  --warn: #f5a524;
  --bad: #ff6b6b;

  /* —— CTA 反色按钮 —— */
  --cta-btn-bg: #ffffff;
  --cta-btn-color: #0a0f1c;
  --cta-btn-shadow: 0 14px 34px rgba(255, 255, 255, 0.18);
  --cta-btn-shadow-hover: 0 18px 44px rgba(255, 255, 255, 0.28);

  /* —— 粒子网络 RGB —— */
  --p-dot: 155, 185, 255;
  --p-line: 110, 150, 255;

  /* —— 其它 —— */
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1200px;
  --nav-h: 72px;
}

/* ---------- 1b. 浅色主题 ----------
   ⚠️ 下面浅色 token 写了两次（手动指定 / 跟随系统），
      修改浅色配色时两处必须同步改，否则手动切换与系统跟随会不一致。 */
/* 手动指定（顶部按钮写入 data-theme="light"） */
:root[data-theme="light"] {
  /* 双色调在浅色下加深，保证文字对比度 */
  --duo-1: #2f5cf0;
  --duo-2: #8a34e0;

  --cloud: #2f5cf0;
  --shield: #0891b2;
  --pay: #c2740a;

  /* 中性色阶反转 */
  --bg: #f5f7fc;
  --bg-1: #ffffff;
  --bg-2: #eef2fa;
  --text: #0d1526;
  --text-2: #37455f;
  --muted: #5b6a85;
  --faint: #5f6b80;

  /* 玻璃 / 描边 / 面板 */
  --glass: rgba(13, 21, 38, 0.035);
  --glass-2: rgba(13, 21, 38, 0.065);
  --glass-3: rgba(13, 21, 38, 0.025);
  --line: rgba(13, 21, 38, 0.10);
  --line-strong: rgba(13, 21, 38, 0.20);
  --panel-solid: rgba(255, 255, 255, 0.72);
  --panel-solid-2: rgba(255, 255, 255, 0.94);
  --nav-bg: rgba(245, 247, 252, 0.82);
  --dropdown-bg: #ffffff;
  --dropdown-border: rgba(13, 21, 38, 0.10);
  --dropdown-shadow: 0 22px 52px rgba(13, 21, 38, 0.16);
  --grid-line: rgba(13, 21, 38, 0.055);
  --dot-idle: rgba(13, 21, 38, 0.16);

  /* 渐变 */
  --grad-heading: linear-gradient(120deg, #0d1526 10%, #3a4d72 90%);
  --grad-num: linear-gradient(120deg, #0d1526, #4a5d80);
  --grad-hero: linear-gradient(100deg, var(--duo-1) 0%, var(--duo-2) 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));

  /* 光晕 / 阴影 */
  --glow-1: rgba(47, 92, 240, 0.26);
  --glow-2: rgba(138, 52, 224, 0.20);
  --glow-3: rgba(47, 92, 240, 0.14);
  --glow-op: 0.55;
  --shadow: 0 22px 55px rgba(13, 21, 38, 0.10);
  --shadow-soft: 0 10px 28px rgba(13, 21, 38, 0.08);
  --shadow-brand: 0 12px 30px rgba(47, 92, 240, 0.26);
  --shadow-brand-hover: 0 18px 40px rgba(47, 92, 240, 0.34);
  --scrim: rgba(13, 21, 38, 0.06);

  /* 语义色加深 */
  --ok: #0f9d63;
  --warn: #b47108;
  --bad: #d93a3a;

  /* CTA 反色按钮 → 改用品牌渐变 */
  --cta-btn-bg: linear-gradient(100deg, var(--duo-1), var(--duo-2));
  --cta-btn-color: #ffffff;
  --cta-btn-shadow: 0 14px 32px rgba(47, 92, 240, 0.28);
  --cta-btn-shadow-hover: 0 18px 42px rgba(47, 92, 240, 0.38);

  /* 粒子 */
  --p-dot: 47, 92, 240;
  --p-line: 47, 92, 240;
}

/* 未手动指定时，跟随系统外观 */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    /* 双色调在浅色下加深，保证文字对比度 */
    --duo-1: #2f5cf0;
    --duo-2: #8a34e0;

    --cloud: #2f5cf0;
    --shield: #0891b2;
    --pay: #c2740a;

    /* 中性色阶反转 */
    --bg: #f5f7fc;
    --bg-1: #ffffff;
    --bg-2: #eef2fa;
    --text: #0d1526;
    --text-2: #37455f;
    --muted: #5b6a85;
    --faint: #5f6b80;

    /* 玻璃 / 描边 / 面板 */
    --glass: rgba(13, 21, 38, 0.035);
    --glass-2: rgba(13, 21, 38, 0.065);
    --glass-3: rgba(13, 21, 38, 0.025);
    --line: rgba(13, 21, 38, 0.10);
    --line-strong: rgba(13, 21, 38, 0.20);
    --panel-solid: rgba(255, 255, 255, 0.72);
    --panel-solid-2: rgba(255, 255, 255, 0.94);
    --nav-bg: rgba(245, 247, 252, 0.82);
    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(13, 21, 38, 0.10);
    --dropdown-shadow: 0 22px 52px rgba(13, 21, 38, 0.16);
    --grid-line: rgba(13, 21, 38, 0.055);
    --dot-idle: rgba(13, 21, 38, 0.16);

    /* 渐变 */
    --grad-heading: linear-gradient(120deg, #0d1526 10%, #3a4d72 90%);
    --grad-num: linear-gradient(120deg, #0d1526, #4a5d80);
    --grad-hero: linear-gradient(100deg, var(--duo-1) 0%, var(--duo-2) 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));

    /* 光晕 / 阴影 */
    --glow-1: rgba(47, 92, 240, 0.26);
    --glow-2: rgba(138, 52, 224, 0.20);
    --glow-3: rgba(47, 92, 240, 0.14);
    --glow-op: 0.55;
    --shadow: 0 22px 55px rgba(13, 21, 38, 0.10);
    --shadow-soft: 0 10px 28px rgba(13, 21, 38, 0.08);
    --shadow-brand: 0 12px 30px rgba(47, 92, 240, 0.26);
    --shadow-brand-hover: 0 18px 40px rgba(47, 92, 240, 0.34);
    --scrim: rgba(13, 21, 38, 0.06);

    /* 语义色加深 */
    --ok: #0f9d63;
    --warn: #b47108;
    --bad: #d93a3a;

    /* CTA 反色按钮 → 改用品牌渐变 */
    --cta-btn-bg: linear-gradient(100deg, var(--duo-1), var(--duo-2));
    --cta-btn-color: #ffffff;
    --cta-btn-shadow: 0 14px 32px rgba(47, 92, 240, 0.28);
    --cta-btn-shadow-hover: 0 18px 42px rgba(47, 92, 240, 0.38);

    /* 粒子 */
    --p-dot: 47, 92, 240;
    --p-line: 47, 92, 240;
  }
}


/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: color-mix(in srgb, var(--duo-1) 35%, transparent); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---------- 3. Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { position: relative; padding: 110px 0; }
.section--tight { padding: 70px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-title {
  margin-top: 20px;
  font-size: clamp(28px, 3.6vw, 44px);
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc { margin-top: 18px; color: var(--text-2); font-size: 17px; text-wrap: pretty; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-hover);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--text);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-2);
  border-color: color-mix(in srgb, var(--duo-1) 45%, var(--line-strong));
}

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
/* 抽屉打开时锁住页面滚动：背景不动，视觉才不会跟着「跳」 */
html.is-nav-open, html.is-nav-open body { overflow: hidden; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
  flex: none;
}
.logo__mark svg { width: 20px; height: 20px; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
/* nowrap 防止窄屏下副标题折行把导航栏撑高（此前 320px 下会错位） */
.logo__name { font-size: 16px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text-2);
  border-radius: 10px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
/* hover 效果只给「真有指针悬停」的设备：
   触摸设备上 :hover 会在手指抬起后仍然粘住，导致高亮/位移残留不复位 */
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--text); background: var(--glass); }
}
.nav__link.is-active { color: var(--text); }
/* 触摸时去掉系统默认的灰色高亮块（点击瞬间闪一下，视觉上像在跳） */
.nav__link, .theme-toggle, .nav__toggle { -webkit-tap-highlight-color: transparent; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* —— 带下拉的栏目 —— */
.nav__item { position: relative; }
.nav__link--parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav__link--parent .caret {
  width: 13px; height: 13px;
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}
@media (hover: hover) and (pointer: fine) {
  .nav__item:hover .caret { transform: rotate(180deg); }
}

/* 用不可见的桥接层填平「菜单项 → 面板」之间的空隙，
   否则鼠标下移过程中 hover 中断，面板会闪退 */
.nav__item::after {
  content: "";
  position: absolute;
  left: -10px; right: -10px;
  top: 100%;
  height: 14px;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 276px;
  padding: 8px;
  border: 1px solid var(--dropdown-border);
  border-radius: 16px;
  background: var(--dropdown-bg);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--dropdown-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 20;
}
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* 顶部小箭头 */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-left: 1px solid var(--dropdown-border);
  border-top: 1px solid var(--dropdown-border);
  background: var(--dropdown-bg);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.nav__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  transition: background 0.2s var(--ease);
}
.nav__sub + .nav__sub { margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .nav__sub:hover { background: var(--glass-2); }
}
.nav__sub.is-active { background: color-mix(in srgb, var(--duo-1) 10%, transparent); }

.nav__sub-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex: none;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.nav__sub-ico svg { width: 17px; height: 17px; color: var(--accent); }

.nav__sub-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.nav__sub-txt b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.nav__sub-txt i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }

.nav__sub--plain {
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-2);
}
@media (hover: hover) and (pointer: fine) {
  .nav__sub--plain:hover { color: var(--text); }
}

.nav__sep {
  height: 1px;
  margin: 6px 10px;
  border: 0;
  background: var(--line);
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* —— 深浅色切换按钮 —— */
.theme-toggle {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), color 0.2s var(--ease);
}
/* 只保留颜色类 hover；位移类 hover（translateY(-1px)）在触摸设备上会粘住不复位，
   看起来就是按钮/文字「跳走」，所以整组 hover 只给有指针悬停的设备 */
@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover {
    background: var(--glass-2);
    border-color: var(--line-strong);
    transform: translateY(-1px);
  }
  .theme-toggle:hover svg { color: var(--accent); }
}
/* :active 保留给触摸设备，点下去有明确反馈，松手必复位 */
.theme-toggle:active { transform: translateY(0) scale(0.96); }
.theme-toggle svg { width: 18px; height: 18px; color: var(--text-2); transition: color 0.2s var(--ease); }
/* 深色主题下显示「太阳」（点击切到浅色）；浅色下显示「月亮」 */
.theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--glass);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block; width: 18px; height: 1.6px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span + span { margin-top: 4px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--glow-op);
  pointer-events: none;
}
.glow--a { width: 620px; height: 620px; top: -180px; left: -120px; background: var(--glow-1); animation: drift 18s ease-in-out infinite; }
.glow--b { width: 540px; height: 540px; bottom: -200px; right: -100px; background: var(--glow-2); animation: drift 22s ease-in-out infinite reverse; }
.glow--c { width: 420px; height: 420px; top: 40%; left: 45%; background: var(--glow-3); animation: drift 26s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 13.5px;
  color: var(--text-2);
}
.hero__badge b {
  padding: 2px 8px; border-radius: 999px;
  background: var(--grad-brand);
  color: #fff; font-size: 12px; font-weight: 600;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title span { display: block; text-wrap: balance; }
.hero__title .line-2 {
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__lead {
  margin-top: 24px;
  max-width: 690px;
  font-size: 18px;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__domains {
  margin-top: 46px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.domain-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 14px;
  color: var(--text-2);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.domain-chip:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--glass-2); }
.domain-chip i { width: 7px; height: 7px; border-radius: 50%; }
.domain-chip b { color: var(--text); font-weight: 600; }

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 22px 20px;
  background: var(--panel-solid);
  backdrop-filter: blur(10px);
}
.stat__num {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-num);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__num sup { font-size: 15px; font-weight: 600; }
.stat__label { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ---------- 7. Brand cards ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.brand-card {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.brand-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.brand-card:hover::before { opacity: 1; }

.brand-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand-card__icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
}
.brand-card__icon svg { width: 26px; height: 26px; color: var(--accent); }
.brand-card__tag {
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 12.5px; font-weight: 600;
}
.brand-card__name { margin-top: 24px; font-size: 25px; font-weight: 700; }
.brand-card__domain { margin-top: 6px; font-size: 14px; color: var(--accent); font-weight: 500; }
.brand-card__desc { margin-top: 16px; color: var(--text-2); font-size: 15px; min-height: 78px; text-wrap: pretty; }

.brand-card__list { margin-top: 22px; display: grid; gap: 10px; }
.brand-card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.brand-card__list svg { width: 15px; height: 15px; margin-top: 4px; color: var(--accent); flex: none; }

.brand-card__foot {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}

/* ---------- 8. Product tabs ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
}
.tab {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-panel { display: none; }
.product-panel.is-active { display: grid; animation: fadeUp 0.45s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--glass-2); }
.product-card__hd { display: flex; align-items: center; gap: 12px; }
.product-card__hd i {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  flex: none;
}
.product-card__hd i svg { width: 18px; height: 18px; color: var(--accent); }
.product-card__hd h4 { font-size: 17px; }
.product-card p { margin-top: 14px; font-size: 14.5px; color: var(--muted); text-wrap: pretty; }
.product-card__meta {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 4px 10px; border-radius: 7px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-2);
}

/* ---------- 9. Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.adv-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.adv-card__num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent); opacity: 0.9;
}
.adv-card h4 { margin-top: 14px; font-size: 19px; }
.adv-card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.adv-card::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  filter: blur(40px);
}

/* ---------- 10. Scenarios ---------- */
.scen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scen-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.scen-card:hover { transform: translateY(-5px); background: var(--glass-2); }
.scen-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.scen-card__icon svg { width: 20px; height: 20px; color: var(--accent); }
.scen-card h4 { margin-top: 18px; font-size: 17px; }
.scen-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- 11. Nodes / regions ---------- */
.node-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.node-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.node-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.node-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.node-item span { color: var(--muted); font-size: 13px; }

.map-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  box-shadow: var(--shadow-soft);
  min-height: 320px;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, var(--glow-3), transparent 60%);
  pointer-events: none;
}
.map-card__dots { position: relative; height: 260px; }
.dot {
  position: absolute;
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-2);
  white-space: nowrap;
}
.dot i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  margin: 0 0 110px;
  padding: 58px 44px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--grad-surface);
  backdrop-filter: blur(14px);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px circle at 20% 0%, var(--glow-1), transparent 55%),
    radial-gradient(800px circle at 90% 100%, var(--glow-2), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h3 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin: 16px auto 0; max-width: 620px; color: var(--text-2); }
.cta-band .hero__actions { justify-content: center; }
.cta-band .btn--primary {
  background: var(--cta-btn-bg);
  color: var(--cta-btn-color);
  box-shadow: var(--cta-btn-shadow);
}
.cta-band .btn--primary:hover { box-shadow: var(--cta-btn-shadow-hover); }

/* ---------- 13. Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
}
.page-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px circle at 15% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(600px circle at 85% 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
.page-hero__inner { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 22px; }
.page-hero p { margin-top: 18px; max-width: 690px; font-size: 17.5px; color: var(--text-2); text-wrap: pretty; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* ---------- 14. Feature rows ---------- */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 46px 0;
}
.feat-row + .feat-row { border-top: 1px solid var(--line); }
.feat-row--rev .feat-row__visual { order: -1; }
.feat-row__text h3 { font-size: clamp(24px, 2.6vw, 32px); }
.feat-row__text p { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; font-size: 15px; color: var(--text-2); }
.check-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); flex: none; }

.visual {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.visual__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.visual__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot-idle); }
.visual__bar i:first-child { background: #ff5f57; }
.visual__bar i:nth-child(2) { background: #febc2e; }
.visual__bar i:nth-child(3) { background: #28c840; }
.visual__title { font-size: 13px; color: var(--muted); margin-left: 6px; }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass-3);
}
.metric b {
  display: block; font-size: 24px; font-weight: 800;
  background: linear-gradient(120deg, var(--text), color-mix(in srgb, var(--accent) 65%, var(--text)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { font-size: 12.5px; color: var(--muted); }

.log-line {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass-3);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.log-line b { color: var(--accent); font-weight: 600; }
.log-line .ok { color: var(--ok); }
.log-line .bad { color: var(--bad); }

/* ---------- 15. Spec table ---------- */
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 190px 1fr 230px;
  gap: 20px;
  padding: 18px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row:hover { background: var(--glass-2); }
.spec-row.head {
  background: var(--glass-2);
  font-size: 13px; color: var(--muted); letter-spacing: 0.06em;
}
.spec-row strong { font-size: 16px; }
.spec-row p { font-size: 14.5px; color: var(--muted); }
.spec-row .price {
  text-align: right;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.contact-card__icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}
.contact-card__icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-card h4 { margin-top: 18px; font-size: 17px; }
.contact-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
/* 内容统一顶对齐：同一行里若存在更高的卡（如带二维码的公众号卡），
   其余卡多出的空间留在底部 —— 比把「值」沉底更自然，
   沉底会在描述与值之间掏出一块空白，反而像漏了内容。 */
.contact-card b { display: block; margin-top: 14px; font-size: 20px; color: var(--text); letter-spacing: 0.02em; }
/* 公众号二维码卡：二维码必须保持「白底黑点」，反色或加滤镜会导致扫不出来，
   所以这里固定白底，不跟随深浅色主题变化。margin-top:auto 让它贴齐卡片底部，
   同行卡片被拉伸时不会浮在中间。 */
.contact-card { display: flex; flex-direction: column; }
.contact-card__qr {
  display: block;
  width: 116px; height: 116px;
  margin: 16px 0 2px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ---------- 17. Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  padding: 70px 0 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.footer__about p { margin-top: 18px; max-width: 340px; font-size: 14.5px; color: var(--muted); text-wrap: pretty; }
.footer h5 { font-size: 14px; letter-spacing: 0.08em; color: var(--text); margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 14.5px; color: var(--muted); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.8;
}
.footer__bottom a { color: var(--faint); transition: color 0.2s var(--ease); }
.footer__bottom a:hover { color: var(--accent); }
.footer__cert {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
/* 用竖向分隔线把「许可证 / 备案号 / 公安备案」拆开，避免连成长句难辨认 */
.footer__cert > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-right: 12px;
  vertical-align: -1px;
  background: var(--line-strong);
}

/* ---------- 18. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in-view {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  /* brand-grid 只有 3 张（对应三条品牌线），降到 2 列会剩 1 张落单 → 中屏保持 3 列等宽 */
  .adv-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scen-grid { grid-template-columns: repeat(2, 1fr); }
  .node-wrap { grid-template-columns: 1fr; }
  /* 页脚 5 栏在 3 列下会剩 2 栏落单 → 改 2 列，
     让品牌栏横跨整行、4 个链接栏刚好排成 2×2，末行不留空 */
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__about { grid-column: 1 / -1; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* 移动端：logo 靠左，主题按钮 + 汉堡按钮紧挨着靠右 */
  .nav__inner { justify-content: flex-start; gap: 10px; }
  .nav__actions { margin-left: auto; gap: 10px; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-solid-2);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-h) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s var(--ease);
  }
  .nav.is-open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 12px 14px; font-size: 15px; }
  .nav__link.is-active::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }
  .nav.is-open + .nav-spacer { display: block; }

  /* 抽屉菜单内：下拉改为缩进常显，不再浮层 */
  .nav__item { display: flex; flex-direction: column; align-items: stretch; }
  .nav__item::after { display: none; }
  .nav__item:hover .caret,
  .nav__item:focus-within .caret { transform: none; }
  .nav__link--parent { width: 100%; justify-content: space-between; padding-right: 18px; }
  /* ⚠️ 必须连 :hover / :focus-within 一起覆盖：
     桌面那条 `.nav__item:focus-within > .nav__dropdown` 特异性(0,3,0) 高于这里的 `.nav__dropdown`(0,1,0)，
     手指一点栏目标题 → button 拿到焦点 → 下拉瞬间跳回绝对定位，子项横向飞 161px。 */
  .nav__dropdown,
  .nav__item:hover > .nav__dropdown,
  .nav__item:focus-within > .nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin: 2px 0 8px 14px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__dropdown::before { display: none; }
  .nav__sub { padding: 10px 12px; }
  .nav__sub--plain { padding: 10px 14px; }

  /* 移动端：栏目标题降级为「分组标签」，不是可点按钮。
     下拉已经在下面常显，点它没有任何意义，却会让菜单整块位移 —— 直接让手指点上去完全无反应（零跳动）。
     箭头也一并隐藏：没有「展开」这个动作，就不该有展开箭头。 */
  .nav__link--parent {
    pointer-events: none;
    cursor: default;
    background: none;
    /* 降级为「分组标签」：顶格 + 小字弱色，和缩进的子项拉开层次，
       也让人一眼看出它不是可点项（对比「首页」那种真链接） */
    padding-left: 0;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.08em;
  }
  .nav__link--parent .caret { display: none; }
  /* 触摸反馈用 :active（松手必复位）；:hover 已隔离，不会粘住 */
  .nav__link:active,
  .nav__sub:active { background: var(--glass-2); }
}

@media (max-width: 720px) {
  .section { padding: 74px 0; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 50px); }
  /* 标题改用视口驱动的字号，保证「可靠、安全、可增长的」一行放得下，不出现孤字行 */
  .hero__title { font-size: clamp(26px, 8.2vw, 40px); letter-spacing: -0.03em; }
  .hero__lead { font-size: 16px; max-width: none; }
  .hero__actions { margin-top: 32px; gap: 12px; }
  .hero__actions .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .hero__domains { margin-top: 34px; }
  .hero__stats { margin-top: 44px; }
  .brand-grid, .adv-grid, .product-grid, .scen-grid,
  .contact-grid, .node-list, .metric-row { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; }
  .feat-row--rev .feat-row__visual { order: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .spec-row .price { text-align: left; }
  .spec-row.head { display: none; }
  .cta-band { padding: 40px 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .brand-card__desc { min-height: 0; }
  /* 页脚备案信息改为竖排，去掉分隔线 */
  .footer__cert { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__cert > * + *::before { display: none; }
  .footer__bottom { font-size: 12.5px; }
}

/* 超窄屏：收起 logo 副标题、压缩控件尺寸，避免导航栏拥挤错位 */
@media (max-width: 460px) {
  .logo { gap: 10px; }
  .logo__mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo__mark svg { width: 18px; height: 18px; }
  .logo__name { font-size: 15px; }
  .logo__sub { display: none; }
  .theme-toggle,
  .nav__toggle { width: 38px; height: 38px; }
  .theme-toggle svg { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
