/* ============================================================
   张家港群华通讯设备有限公司 · 企业官网
   设计系统 / 全局样式  —  极光玻璃风（Aurora Glass · Luminous Tech）
   更通透的底色 + 玻璃拟态卡片 + 跟随光晕 + 磁吸 / 倾斜交互
   ============================================================ */

:root {
  color-scheme: dark; /* aurora 默认深色：原生 select 弹层随主题画布（见 portal.css 同名注释） */
  /* —— 通透深空底（提亮，去掉近黑压迫感）—— */
  --bg: #0a0f2b;
  --bg-2: #0c1336;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --surface-3: rgba(255, 255, 255, .13);
  --border: rgba(150, 180, 255, .16);
  --border-strong: rgba(0, 229, 255, .55);

  /* 文字四层：正文 / 次要 / 弱化 / 强调 —— 对比度均达 WCAG AA 及以上
     注：正文由 #f2f5ff 微调至 #e9eefb（17.3:1 → 16.2:1），
     仍属 AAA，但可减轻深色底长时间阅读的眩光与光晕疲劳。 */
  --text: #e9eefb;
  --text-soft: #c5cfed;
  --text-mute: #a2adcf;
  --text-strong: #ffffff;   /* 强调标题、图片/渐变上的文字；深色主题下与原有硬编码 #fff 完全一致 */
  --on-accent: #061226;     /* 压在主色渐变上的文字（浅色主题会被覆盖为白字） */

  /* 语义色：固定色相，不随主题漂移
     —— 修复「薄荷主题错误提示呈绿色、落日主题成功提示呈黄色」的问题 */
  --success: #45e0a0;   /* 深色底 11.1:1 */
  --warning: #ffc857;   /* 深色底 12.2:1 */
  --error: #ff6b5a;     /* 深色底 6.7:1；色盲模拟下与成功色距离 124，可区分 */
  --info: #7ab8ff;      /* 深色底 9.1:1 */
  --disabled: #717ca0;  /* 深色底 4.5:1；最不透明玻璃层 surface-3 上 3.2:1（原 #6b7699 仅 2.96 不达标） */

  /* —— 基础品牌令牌（三色制：主色 / 辅助色 / 强调色）——
     原 5 个强调色存在近似冗余：cyan(#2af0ff) ≈ mint(#38ffd0)、
     purple(#b06bff) ≈ magenta(#ff5ad8)，故收敛为 3 个基础令牌，
     全部渐变 / 辉光 / 光球统一由这 3 个令牌派生。 */
  --brand: #2af0ff;    /* 主色 · 亮青 */
  --brand-2: #4f86ff;  /* 辅助色 · 宝蓝 */
  --accent: #b06bff;   /* 强调色 · 紫罗兰 */

  /* 兼容别名 —— 变量名必须保留！全站 CSS 与 JS 大量引用，删除会破坏样式。
     近似色合并后指向同一基础令牌：cyan/mint → 主色，purple → 强调色。
     注：--magenta 是例外，见下方说明。 */
  --cyan: var(--brand);
  --blue: var(--brand-2);
  --purple: var(--accent);
  --mint: var(--brand);
  /* --magenta 全站共 8 处消费者，全部是「错误 / 删除 / 离线」告警语义，无一作装饰色用，
     且不参与任何渐变（各主题的 --pop-grad / --accent-grad 均为硬编码）：
       CSS  · portal.css  .sync-status.offline（离线徽标）
       HTML · index.html  #bmErr、#delBm「删除」
             · center.html #schErr、#delSchedule「删除」、#alErr、#delAlarm「删除」
             · login.html  #authErr
     故 --magenta 指向 --error，而不是 --accent（否则深色主题下错误提示会变粉紫、
     mint 主题下变浅绿并与「已同步」的薄荷绿撞色系，色盲模拟无法区分）。
     各主题块一律不得再覆盖 --magenta，必须统一继承此处的 var(--error)。 */
  --magenta: var(--error);

  /* 由基础令牌派生的渐变（切换 --brand/--brand-2/--accent 即整体换肤）*/
  --accent-grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 48%, var(--accent) 100%);
  --accent-grad-soft: linear-gradient(120deg,
      color-mix(in srgb, var(--brand) 20%, transparent),
      color-mix(in srgb, var(--accent) 20%, transparent));
  --pop-grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 50%, var(--accent) 100%);

  /* 辉光（克制，服务内容而非抢戏）—— 同样由基础令牌派生 */
  --neon: 0 0 14px color-mix(in srgb, var(--brand) 30%, transparent),
          0 0 32px color-mix(in srgb, var(--brand-2) 14%, transparent);
  --neon-strong: 0 0 22px color-mix(in srgb, var(--brand) 48%, transparent),
                 0 0 48px color-mix(in srgb, var(--accent) 28%, transparent);

  /* 排版 */
  --font-display: "Orbitron", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 16px;

  /* 间距与圆角 */
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* —— 背景：柔和极光底色（清爽简洁，突出内容）——
   视觉收敛：光球透明度约减半、动画幅度减半；透视网格已移除 */
body::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -2;
  /* 光球颜色全部由基础令牌派生，保持「清爽简洁」的低强度氛围 */
  background:
    radial-gradient(40% 40% at 12% 16%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
    radial-gradient(46% 46% at 88% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(54% 54% at 78% 90%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 62%),
    radial-gradient(44% 44% at 24% 92%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%),
    radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--bg-2) 40%, transparent), transparent 70%);
  filter: blur(14px) saturate(120%);
  animation: aurora 24s ease-in-out infinite alternate;
}
body::after { content: none; }
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(1.5%, -1%, 0) scale(1.03); }
  100% { transform: translate3d(-1.5%, 1%, 0) scale(1.02); }
}

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

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

/* 未来感标题文字（渐变 + 微动） */
.kicker,
.brand small,
.stat-band .num,
.hero-stats .num,
.footer-bottom {
  font-family: var(--font-display);
  letter-spacing: 2px;
}

/* ---------------- 顶部滚动进度条 ---------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--pop-grad);
  box-shadow: 0 0 12px rgba(42, 240, 255, .8);
  z-index: 200;
  transition: width .08s linear;
}

/* ---------------- 光标聚光晕（桌面，弱化版）---------------- */
.spotlight {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(42, 240, 255, .07), rgba(176, 107, 255, .035) 38%, transparent 66%);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  white-space: nowrap;
  position: relative;
  will-change: transform;
}
.btn-primary {
  background: var(--accent-grad);
  color: var(--on-accent);
  box-shadow: var(--neon);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--neon-strong); filter: brightness(1.08); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: inset 0 0 16px rgba(42, 240, 255, .10);
  backdrop-filter: blur(6px);
}
/* hover 底色由基础令牌派生：浅色主题下主色变深，底色随之呈现可辨识的暖/冷调 */
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); border-color: var(--cyan); box-shadow: var(--neon); color: var(--text-strong); }
.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: color-mix(in srgb, var(--brand-2) 18%, transparent); border-color: var(--border-strong); color: var(--text-strong); box-shadow: var(--neon); }

/* ---------------- 禁用态（统一走 --disabled）----------------
   必须明显弱于可用态：去辉光、去抬升、文字降为 --disabled。 */
.btn:disabled,
.btn[disabled],
.btn.is-disabled {
  background: var(--surface);
  color: var(--disabled);
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .9;
}
.btn:disabled:hover,
.btn[disabled]:hover,
.btn.is-disabled:hover {
  transform: none;
  filter: none;
  background: var(--surface);
  color: var(--disabled);
  border-color: var(--border);
  box-shadow: none;
}
.btn-primary:disabled,
.btn-primary[disabled] { background: var(--surface-2); }
/* 上面的 .btn:disabled:hover 同为 0-3-0 且在其之前，会把禁用主按钮 hover 时的底色
   打回 --surface；这里用同权重 + 更靠后的顺序抢回，保持禁用态底色稳定。 */
.btn-primary:disabled:hover,
.btn-primary[disabled]:hover { background: var(--surface-2); }

/* 表单控件禁用态 */
.field input:disabled, .field select:disabled, .field textarea:disabled,
.ps-input:disabled, .ps-engine:disabled {
  color: var(--disabled);
  border-color: var(--border);
  background: var(--surface);
  cursor: not-allowed;
  box-shadow: none;
}

/* ---------------- 顶部导航 ----------------
   默认隐藏：改 fixed 脱离文档流（不占首屏高度）+ translateY(-100%) 滑出视口，
   鼠标移到视口顶部约 60px、或点右上角 .nav-fab 唤出，5 秒无操作自动收起。
   显隐逻辑见 assets/js/main.js「顶部导航显隐」段。
   ⚠ 这里只动结构 / 位移 / 显隐，**不碰 background**：8 套主题在 portal.css 里
   对 .site-header 的背景覆盖（light/ink/fresh = 白 60%，其余沿用下面这条）必须照旧生效。 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 19, 54, .55);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  visibility: hidden;          /* 收起时不可 Tab 到里面的链接（无障碍） */
  pointer-events: none;        /* 收起时避免误触 */
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .3s;
}
/* 唤出态：贴顶、可点；visibility 延迟归 0，保证出现瞬间就可见 */
.site-header.nav-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 0s;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ---------------- 顶部导航常驻唤出按钮 ----------------
   导航栏收起后仍常驻右上角，点一下唤出完整顶部栏（同样 5 秒自动收起）。
   颜色一律走现成 CSS 变量，随 8 套主题走。 */
.nav-fab {
  position: fixed;
  top: 14px; right: 16px;
  z-index: 110;                /* 高于 header(100)，任何时候都点得到 */
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-strong);
  cursor: pointer;
  box-shadow: var(--neon);
  backdrop-filter: blur(10px);
  /* 注意：这里刻意不改 .nav 的内边距去「让位」——小屏 header 行本来就紧，
     再挤 40~70px 会把汉堡按钮压窄（实测 22px）。改成「导航栏唤出时按钮下移」。 */
  transition: top .3s cubic-bezier(.22, .61, .36, 1), opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-fab svg { width: 22px; height: 22px; }
.nav-fab:hover { transform: scale(1.06); box-shadow: var(--neon-strong); }
.nav-fab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* center.html / login.html 不加载 main.js（也就没有唤出逻辑与悬浮按钮），
   这两页保持改前的 sticky 常显，避免「导航栏藏起来了却没人能叫出来」。
   将来若给它们接上 main.js，删掉下面这段即可。 */
body[data-page="center"] .site-header,
body[data-page="auth"] .site-header {
  position: sticky;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}
/* 导航栏滑出后，按钮让到 header 行（72px）下方，绝不压住 主题 / 设置 / 汉堡 */
.site-header.nav-visible + .nav-fab { top: 86px; }
/* 移动端下拉菜单展开时不拦菜单链接（仍可见，只是不吃点击） */
body.nav-menu-open .nav-fab { pointer-events: none; opacity: .3; }
@media (max-width: 720px) {
  .nav-fab { top: 12px; right: 12px; width: 40px; height: 40px; }
  .nav-fab svg { width: 20px; height: 20px; }
  .site-header.nav-visible + .nav-fab { top: 80px; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-strong);
}
.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  color: var(--on-accent);
  font-weight: 900;
  font-size: 20px;
  box-shadow: var(--neon);
}
.brand small { display: block; font-size: 10px; font-weight: 600; color: var(--text-mute); letter-spacing: 1.5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: background .2s, color .2s, box-shadow .2s;
}
/* hover：底色 + 内发光均由主色派生，浅色主题下仍有可辨识底色变化 */
.nav-links a:hover { color: var(--text-strong); background: color-mix(in srgb, var(--brand) 16%, transparent); box-shadow: inset 0 0 12px color-mix(in srgb, var(--brand) 18%, transparent); }
/* active（选中）：底色 + 加粗 + 强调色内发光，三重区分 */
.nav-links a.active {
  color: var(--text-strong);
  background: var(--accent-grad-soft);
  font-weight: 700;
  box-shadow: inset 0 0 14px color-mix(in srgb, var(--brand) 26%, transparent);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-radius: 11px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(42, 240, 255, .8);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(10,15,43,.86) 28%, rgba(10,15,43,.52) 66%, rgba(10,15,43,.30) 100%),
    url('../img/scenes/hero-neon.jpg') center/cover no-repeat,
    radial-gradient(1000px 520px at 82% -8%, rgba(42, 240, 255, .26), transparent 60%),
    radial-gradient(900px 480px at 8% 110%, rgba(176, 107, 255, .24), transparent 60%),
    linear-gradient(160deg, #0a0f2b 0%, #0c1336 55%, #0e1740 100%);
  color: var(--text-strong);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 240, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 240, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(720px 400px at 70% 28%, #000, transparent 75%);
          mask-image: radial-gradient(720px 400px at 70% 28%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 100px 0 108px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 240, 255, .10);
  border: 1px solid var(--border-strong);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 22px;
  color: #d6f7ff;
  box-shadow: inset 0 0 16px rgba(42, 240, 255, .14);
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, #2af0ff, #7ab0ff 45%, #d79bff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(42, 240, 255, .4);
  animation: text-flow 6s linear infinite;
}
@keyframes text-flow { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-strong);
  text-shadow: 0 0 18px rgba(42, 240, 255, .45);
}
.hero-stats .num span { font-size: 18px; color: var(--cyan); }
.hero-stats .lbl { font-size: 13px; color: var(--text-mute); letter-spacing: .5px; }

/* Hero 右侧卡片（玻璃数据面板 + 扫光） */
.hero-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 22px 60px rgba(8, 12, 40, .4), inset 0 0 30px rgba(42, 240, 255, .08);
  overflow: hidden;
  transform-style: preserve-3d;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(42, 240, 255, .14) 50%, transparent 60%);
  background-size: 240% 240%;
  animation: sheen 6s linear infinite;
  pointer-events: none;
}
@keyframes sheen { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.hero-card h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: var(--text-strong); }
.hero-card .row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(150, 180, 255, .16);
  font-size: 14px;
  color: var(--text-soft);
}
.hero-card .row:first-of-type { border-top: none; }
.hero-card .ic {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(42, 240, 255, .26), rgba(79, 134, 255, .26));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-size: 16px;
  flex-shrink: 0;
  box-shadow: inset 0 0 12px rgba(42, 240, 255, .2);
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 86px 0; position: relative; }
.section.soft { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block;
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 22px rgba(42, 240, 255, .3);
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--text-strong);
  margin: 6px 0 14px;
  font-weight: 800;
  letter-spacing: .5px;
}
.section-head p { color: var(--text-soft); font-size: 16px; }

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

/* 玻璃卡片（通透、轻量） */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(14px) saturate(140%);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 46px rgba(8, 12, 40, .35), var(--neon);
}
.card:hover::after { opacity: 1; }
.card .ic-box {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 16px rgba(42, 240, 255, .16);
}
.card h3 { color: var(--text-strong); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 14.5px; }

/* 业务亮点列表 */
.feature-list { margin-top: 14px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-soft);
  padding: 6px 0;
}
.feature-list li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 800;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(42, 240, 255, .7);
}

/* ---------------- 案例 ---------------- */
.case-card {
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(8, 12, 40, .3);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px) saturate(140%);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  transform-style: preserve-3d;
}
.case-card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: 0 24px 56px rgba(8,12,40,.4), var(--neon); }
.case-banner {
  height: 152px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--text-strong);
  font-size: 44px;
  overflow: hidden;
}
.case-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .5;
}
.case-banner .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(8, 12, 40, .5);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.case-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; transform: translateZ(28px); }
.case-body h3 { color: var(--text-strong); font-size: 19px; margin-bottom: 8px; }
.case-body .desc { color: var(--text-soft); font-size: 14px; flex: 1; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-meta span {
  font-size: 12px;
  background: rgba(42, 240, 255, .12);
  color: #cdefff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.case-link {
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  text-shadow: 0 0 12px rgba(42, 240, 255, .5);
}
.case-link::after { content: "→"; transition: transform .2s; }
.case-card:hover .case-link::after { transform: translateX(5px); }

/* 案例渐变配色（更鲜亮） */
.g1 { background: linear-gradient(135deg, #0a4f73, #2af0ff); }
.g2 { background: linear-gradient(135deg, #0a5e44, #38ffd0); }
.g3 { background: linear-gradient(135deg, #4a1f8f, #b06bff); }
.g4 { background: linear-gradient(135deg, #0a3f7a, #4f86ff); }
.g5 { background: linear-gradient(135deg, #0a5e63, #2af0ff); }
.g6 { background: linear-gradient(135deg, #1a3a8f, #6aa8ff); }

/* ---------------- 数据条 ---------------- */
.stat-band {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  border-radius: var(--radius);
  padding: 46px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 54px rgba(8, 12, 40, .35), inset 0 0 36px rgba(42, 240, 255, .08);
  overflow: hidden;
}
.stat-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(42, 240, 255, .12) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: sheen 8s linear infinite;
  pointer-events: none;
}
.stat-band .num {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(120deg, #2af0ff, #b06bff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(42, 240, 255, .35);
}
.stat-band .lbl { font-size: 14px; color: var(--text-soft); margin-top: 6px; letter-spacing: 1px; }

/* ---------------- 关于页时间线 ---------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  box-shadow: 0 0 10px rgba(42, 240, 255, .5);
}
.timeline .item { position: relative; padding: 0 0 30px 14px; }
.timeline .item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan); border: 3px solid #0a0f2b;
  box-shadow: 0 0 12px rgba(42, 240, 255, .8);
}
.timeline .year { font-weight: 800; color: var(--text-strong); }
.timeline .item p { color: var(--text-soft); font-size: 15px; }

/* 双栏图文 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split .visual {
  position: relative;
  background: linear-gradient(135deg, #0a3f7a, #4f86ff 60%, #b06bff);
  border-radius: 20px;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--text-strong);
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 54px rgba(8, 12, 40, .4), var(--neon);
  overflow: hidden;
}
.split .visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .5;
}
.split h2 { color: var(--text-strong); font-size: 28px; margin-bottom: 16px; }
.split p { color: var(--text-soft); margin-bottom: 14px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: linear-gradient(180deg, rgba(10,15,43,.6), rgba(8,12,34,.85));
  color: var(--text-soft);
  padding: 60px 0 28px;
  border-top: 1px solid var(--border);
  position: relative;
  backdrop-filter: blur(10px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-grid h4 { color: var(--text-strong); font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-grid a, .footer-grid li { color: var(--text-soft); font-size: 14px; padding: 4px 0; display: block; transition: color .2s; }
.footer-grid a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(42, 240, 255, .5); }
.footer-brand .logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-grad);
  display: grid; place-items: center; color: var(--on-accent); font-weight: 900; font-size: 20px; margin-bottom: 14px;
  box-shadow: var(--neon);
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; color: var(--text-soft); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 1.5px;
}

/* ---------------- ICP 备案号（法定公示，全站页脚可见）----------------
   口径：备案号必须在站点页面底部可见并可点击跳转工信部备案系统。
   首页为常驻视口底部横幅（.home-foot），故单独加一条分隔线并收紧内边距，
   避免横幅变高挤压中列；子页/工作台/登录页用 .beian-standalone 补一行。 */
.beian-line {
  text-align: center;
  font-size: 12px; line-height: 1.8;
  color: var(--text-mute);
  letter-spacing: 0.5px;
}
.beian-line a {
  color: inherit; text-decoration: none;
  border-bottom: 1px dashed var(--border);
  white-space: nowrap;
}
.beian-line a:hover { color: var(--accent); border-bottom-color: currentColor; }
/* 首页页脚常驻视口底部：备案行与横幅同一行（不额外占高），否则会挤压中列可视高度。
   横幅 .about-banner 是 flex + flex-wrap，宽屏同行、窄屏自动换行独占一行。 */
.home-foot .beian-line {
  padding: 0 0 0 4px;
  font-size: 11.5px; line-height: 1.35;
}
.beian-standalone { padding: 16px 24px 22px; }
@media (max-width: 980px) {
  .beian-line { font-size: 11.5px; white-space: normal; }
  /* 窄屏：横幅内换行，备案号独占一行居中（页脚此时非常驻，占高无副作用） */
  .home-foot .beian-line { flex: 1 0 100%; text-align: center; padding: 4px 0 0; }
  .beian-standalone { padding: 12px 14px 18px; }
}

/* ---------------- 图标（统一 SVG 精灵） ---------------- */
.case-ico { width: 54px; height: 54px; color: var(--text-strong); filter: drop-shadow(0 0 10px rgba(255,255,255,.45)); }
.biz-ico { width: 26px; height: 26px; color: var(--cyan); }
.case-logo {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4), 0 0 16px rgba(42, 240, 255, .5);
  z-index: 2;
}
.case-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--neon);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
  will-change: transform;
}
.case-visit:hover { transform: translateY(-2px); box-shadow: var(--neon-strong); filter: brightness(1.08); }
.case-note { margin-top: 16px; font-size: 13.5px; color: var(--text-mute); }

/* ---------------- 合作客户 ---------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.client-card {
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(12px) saturate(140%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--neon); }
.client-card .mono {
  width: 46px; height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: inset 0 0 14px rgba(42, 240, 255, .16);
}
.client-card .name { font-weight: 600; color: var(--text-strong); font-size: 15px; line-height: 1.4; }
.client-card .sub { font-size: 12.5px; color: var(--text-mute); }

/* ---------------- 品牌 LOGO 图 / 联系二维码 ---------------- */
.brand .logo-img,
.footer-brand .logo-img {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
  box-shadow: var(--neon);
  flex-shrink: 0;
}
.footer-brand .logo-img { margin-bottom: 14px; }

.contact-panel { position: relative; z-index: 1; }
.contact-panel h3 { color: var(--text-strong); font-size: 22px; margin-bottom: 10px; }
.contact-line { color: var(--text-strong); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.contact-line .tel {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(42, 240, 255, .55);
  letter-spacing: .5px;
}
.contact-line .tel:hover { filter: brightness(1.15); }
/* 原硬编码 rgba(255,255,255,.8) 在浅色主题（light/ink/fresh）下几乎不可见，改用语义文字色 */
.contact-sub { color: var(--text-soft); font-size: 13px; margin-top: 14px; letter-spacing: .5px; }
.qr-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.qr-row figure { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.qr-row img {
  width: 132px; height: 132px;
  border-radius: 12px;
  background: #fff; padding: 6px;
  object-fit: contain;
  box-shadow: 0 10px 26px rgba(8, 12, 40, .4), 0 0 18px rgba(42, 240, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.qr-row img:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8,12,40,.45), 0 0 24px rgba(42, 240, 255, .55); }
.qr-row figcaption { font-size: 12.5px; color: var(--text-soft); letter-spacing: 1.5px; }

.footer-qr { display: flex; gap: 16px; margin-top: 16px; }
.footer-qr figure { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.footer-qr img {
  width: 84px; height: 84px;
  border-radius: 9px;
  background: #fff; padding: 4px;
  object-fit: contain;
  box-shadow: 0 6px 16px rgba(8, 12, 40, .4), 0 0 12px rgba(42, 240, 255, .3);
}
.footer-qr figcaption { font-size: 11.5px; color: var(--text-mute); letter-spacing: 1px; }

/* footer 联系区地址高亮 */
.footer-contact li.addr { color: var(--text-strong); font-weight: 600; }

@media (max-width: 420px) {
  .qr-row img { width: 110px; height: 110px; }
  .footer-qr img { width: 72px; height: 72px; }
}

/* ---------------- 真实场景图集 ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  margin: 0;
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 240, 255, .20);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 34px rgba(8, 12, 40, .35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 240, 255, .55);
  box-shadow: 0 20px 50px rgba(42, 240, 255, .18);
}
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  background: linear-gradient(180deg, transparent, rgba(8, 12, 34, .92));
}
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { min-height: 200px; }
}

/* ---------------- 内页头 ---------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(42, 240, 255, .24), transparent 60%),
    radial-gradient(700px 380px at 12% 120%, rgba(176, 107, 255, .20), transparent 60%),
    linear-gradient(135deg, #0a0f2b, #0e1740);
  color: var(--text-strong);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42, 240, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 240, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(600px 320px at 75% 25%, #000, transparent 75%);
          mask-image: radial-gradient(600px 320px at 75% 25%, #000, transparent 75%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 10px; position: relative; }
.page-hero p { color: var(--text-soft); max-width: 640px; position: relative; }
.crumb { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; position: relative; }
.crumb a:hover { color: var(--cyan); }

/* ---------------- 回到顶部 ---------------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--on-accent);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: var(--neon);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 90;
}
.to-top.show { opacity: 1; transform: translateY(0); }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 84px; }
  .hero-card { max-width: 480px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(12, 19, 54, .96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(8, 12, 40, .5);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; border-radius: 10px; color: var(--text-strong); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-stats { gap: 18px; }
  .hero-stats .num { font-size: 24px; }
}

/* —— 无障碍：尊重减少动态偏好 —— */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .spotlight { display: none; }
  html { scroll-behavior: auto; }
}
