/* ==========================================================================
   宁恒科技 GXNH · Design System
   零依赖 · 系统字体（不加载远程字体，国内首屏更快）
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand-50:  #eef5ff;
  --brand-100: #d9e8ff;
  --brand-200: #b6d3ff;
  --brand-300: #85b6ff;
  --brand-400: #4d90f5;
  --brand-500: #1f6fe0;
  --brand-600: #0f57c2;
  --brand-700: #0d4699;
  --brand-800: #103a7a;
  --brand-900: #12305f;

  /* Ink / neutral */
  --ink-900: #0a1020;
  --ink-800: #131c30;
  --ink-700: #1f2a44;
  --ink-600: #3a4762;
  --ink-500: #5b6880;
  --ink-400: #7d8a9f;
  --ink-300: #a8b3c4;
  --ink-200: #cfd7e3;
  --ink-100: #e7ecf3;
  --ink-50:  #f4f7fb;

  --white: #ffffff;
  --paper: #fbfcfe;

  /* Accent */
  --cyan: #17b3c9;
  --teal: #0ea5a4;
  --amber: #f0a020;
  --green: #12a150;

  /* Semantic */
  --text: var(--ink-800);
  --text-muted: var(--ink-500);
  --text-soft: var(--ink-400);
  --bg: var(--white);
  --bg-soft: var(--ink-50);
  --line: var(--ink-100);
  --line-strong: var(--ink-200);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(16, 26, 46, .05);
  --shadow-sm: 0 2px 8px rgba(16, 26, 46, .06);
  --shadow-md: 0 8px 24px -6px rgba(16, 26, 46, .12);
  --shadow-lg: 0 24px 60px -18px rgba(16, 26, 46, .22);
  --shadow-brand: 0 14px 34px -14px rgba(31, 111, 224, .55);

  /* Geometry */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --maxw: 1200px;
  --gutter: 24px;
  --section-y: clamp(56px, 7vw, 104px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--ink-900);
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

/* 内联图标默认跟随字号；各组件可单独覆盖 */
.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -0.125em;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-200); color: var(--ink-900); }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1360px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink-900); color: var(--ink-200); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }

.stack > * + * { margin-top: var(--stack, 16px); }

.grid { display: grid; gap: 20px; }
.grid > *, .split > *, .split__media, .split__media > *, .container > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan));
}
.section--ink .eyebrow { color: var(--brand-300); }

.display {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -.03em;
  font-weight: 800;
}
.h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 800;
}
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.8;
  color: var(--text-muted);
}
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.nowrap { white-space: nowrap; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

.head-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px);
}
.head-split .section-head { margin-bottom: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); background: var(--brand-500); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink-800); --btn-bd: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--white); border-color: var(--ink-300);
  box-shadow: var(--shadow-sm); color: var(--ink-900);
}

.btn--dark { --btn-bg: var(--ink-900); }
.btn--dark:hover { background: var(--ink-700); box-shadow: var(--shadow-md); }

.btn--light {
  --btn-bg: #fff; --btn-fg: var(--ink-900);
}
.btn--light:hover { background: #fff; box-shadow: 0 14px 34px -14px rgba(0,0,0,.4); }

.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.34);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); box-shadow: none;
}

.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--brand-600);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: 11px; color: var(--brand-500); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16,26,46,.4);
  background: rgba(255,255,255,.94);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 17px; font-weight: 800; letter-spacing: .02em; color: var(--ink-900); }
.brand__sub {
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--ink-400); text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 9px 15px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; color: var(--ink-600);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--ink-900); background: var(--ink-50); }
.nav__link.is-active { color: var(--brand-600); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan));
}
.header-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--ink-800);
  font-variant-numeric: tabular-nums;
}
.header-tel svg { width: 16px; height: 16px; color: var(--brand-600); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: #fff;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink-800);
  border-radius: 2px; position: relative; transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink-800); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 12px; font-size: 16.5px; border-radius: var(--r-sm); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-50); }
  .nav-toggle { display: inline-flex; }
  .header-tel { display: none; }
  .header-cta .btn { display: none; }
  .brand__sub { display: none; }
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 78% 0%, #14356b 0%, #0b1c38 46%, #060d1b 100%);
  color: #dbe5f5;
  padding-block: clamp(64px, 9vw, 116px) clamp(72px, 10vw, 128px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(120,170,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -220px; top: -300px;
  background: radial-gradient(circle, rgba(31,111,224,.55) 0%, rgba(23,179,201,.18) 42%, transparent 68%);
  filter: blur(20px);
  animation: auroraFloat 18s ease-in-out infinite alternate;
}
@keyframes auroraFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-40px, 50px, 0) scale(1.08); }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; color: #c8d8f2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__badge i {
  width: 7px; height: 7px; border-radius: 50%; background: #38d39f;
  box-shadow: 0 0 0 4px rgba(56,211,159,.18);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56,211,159,.18); }
  50% { box-shadow: 0 0 0 8px rgba(56,211,159,.05); }
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  line-height: 1.16; letter-spacing: -.035em; font-weight: 800;
  color: #fff;
  word-break: normal;
  overflow-wrap: normal;
}
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, #7cb6ff 0%, #4dd6e8 55%, #7cb6ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead {
  margin-top: 22px; max-width: 560px;
  font-size: clamp(1rem, 1.3vw, 1.13rem); line-height: 1.85;
  color: #a9bcd8;
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__micro {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 13.5px; color: #8fa4c4;
}
.hero__micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro svg { width: 15px; height: 15px; color: #38d39f; flex: 0 0 auto; }

/* Hero right: floating product panel */
.hero__panel { position: relative; }
.glass-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  padding: 22px;
  animation: floatCard 7s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
.glass-card__bar {
  display: flex; align-items: center; gap: 8px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px;
}
.glass-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.glass-card__bar i:nth-child(1) { background: #ff6b6b; }
.glass-card__bar i:nth-child(2) { background: #ffd166; }
.glass-card__bar i:nth-child(3) { background: #38d39f; }
.glass-card__bar span { margin-left: auto; font-size: 11.5px; color: rgba(255,255,255,.45); font-family: var(--font-mono); }
.glass-card__title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.metric {
  padding: 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.metric b { display: block; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.metric b small { font-size: 13px; font-weight: 600; color: #7cb6ff; margin-left: 2px; }
.metric span { font-size: 12px; color: rgba(255,255,255,.5); }
.spark { margin-top: 16px; height: 64px; width: 100%; overflow: visible; }
/* 静态显示：不依赖动画才能可见（截图/禁用动画的环境同样能正常显示） */
.spark path.line {
  fill: none; stroke: #4dd6e8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.spark path.area { fill: url(#sparkGrad); }

.hero__float-tag {
  position: absolute; right: -14px; bottom: -22px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-md);
  background: #fff; color: var(--ink-800);
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.6);
  font-size: 13px; font-weight: 600;
  animation: floatCard 6s ease-in-out .8s infinite alternate-reverse;
}
.hero__float-tag i {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--green); color: #fff; flex: 0 0 auto;
}
.hero__float-tag i svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
}

/* ---------- 8. Logo / trust strip ---------- */
.trust-strip { padding-block: 34px; border-bottom: 1px solid var(--line); }
.trust-strip__inner {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; justify-content: center;
}
.trust-strip__label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--ink-400);
  text-transform: uppercase; white-space: nowrap;
}
.trust-logos { display: flex; flex-wrap: wrap; gap: clamp(18px, 3.4vw, 46px); align-items: center; justify-content: center; }
.trust-logo {
  font-size: 15px; font-weight: 700; color: var(--ink-400);
  letter-spacing: .02em; transition: color .25s var(--ease); white-space: nowrap;
}
.trust-logo:hover { color: var(--ink-700); }

/* ---------- 9. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: #fff; padding: 28px 24px; }
.stat__num {
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--ink-900); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: .5em; color: var(--brand-500); font-weight: 700; margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--brand-50), #e8f3ff);
  color: var(--brand-600); border: 1px solid var(--brand-100);
}
.card__icon svg { width: 23px; height: 23px; }
.card__title { font-size: 1.12rem; font-weight: 700; color: var(--ink-900); }
.card__desc { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--text-muted); }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li {
  position: relative; padding-left: 20px;
  font-size: 13.5px; color: var(--ink-600); line-height: 1.65;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--brand-300); background: #fff;
}
.card__foot { margin-top: auto; padding-top: 20px; }

/* Service card with number */
.svc-card { overflow: hidden; }
.svc-card::before {
  content: attr(data-n);
  position: absolute; right: 18px; top: 6px;
  font-size: 74px; font-weight: 800; line-height: 1;
  color: var(--ink-50); letter-spacing: -.05em;
  pointer-events: none; user-select: none;
  transition: color .3s var(--ease);
}
.svc-card:hover::before { color: var(--brand-50); }
.svc-card > * { position: relative; }

/* ---------- 11. Solution tiles ---------- */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; padding: 26px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-900); color: #fff;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--tile-bg, linear-gradient(150deg, #17325e, #0a1526));
  transition: transform .6s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,13,27,0) 30%, rgba(6,13,27,.86) 100%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover::before { transform: scale(1.06); }
.tile__tag {
  position: absolute; top: 22px; left: 22px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tile__title { font-size: 1.2rem; font-weight: 700; color: #fff; }
.tile__desc { margin-top: 8px; font-size: 13.8px; line-height: 1.65; color: rgba(255,255,255,.72); }
.tile__more { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 6px; opacity: .85; transition: gap .25s var(--ease), opacity .25s; }
.tile:hover .tile__more { gap: 11px; opacity: 1; }

/* ---------- 12. Case cards ---------- */
.case-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.case-card__cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--cover, linear-gradient(150deg, #17325e, #0a1526));
  display: grid; place-items: center;
}
.case-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%);
}
.case-card__cover-text {
  position: relative; z-index: 1; text-align: center; padding: 20px;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.02em;
  color: #fff; line-height: 1.3; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.case-card__cover-text small {
  display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.case-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.chip--gray { background: var(--ink-50); color: var(--ink-600); border-color: var(--line); }
.chip--green { background: #e9f8f0; color: #0b7a3d; border-color: #c8ecd9; }
.case-card__title { font-size: 1.08rem; font-weight: 700; color: var(--ink-900); line-height: 1.45; }
.case-card__desc { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.case-card__result {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong);
  display: flex; gap: 20px; flex-wrap: wrap;
}
.result-item b { display: block; font-size: 1.28rem; font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; line-height: 1.2; }
.result-item span { font-size: 12px; color: var(--text-soft); }

/* ---------- 13. Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process__step {
  position: relative; padding: 0 20px 0 0;
}
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--brand-200);
  color: var(--brand-600); font-size: 14px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.process__step:hover::before { background: var(--brand-600); color: #fff; border-color: var(--brand-600); transform: scale(1.06); }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 46px; right: 4px; height: 1.5px;
  background: linear-gradient(90deg, var(--brand-200), var(--line));
  z-index: 0;
}
.process__title { margin-top: 18px; font-size: 1rem; font-weight: 700; color: var(--ink-900); }
.process__text { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }

/* ---------- 14. Feature list / split ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split > * { min-width: 0; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }

.feature-list { display: grid; gap: 22px; margin-top: 28px; }
.feature {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
}
.feature__icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.feature__icon svg { width: 19px; height: 19px; }
.feature__title { font-size: 15.5px; font-weight: 700; color: var(--ink-900); }
.feature__text { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

/* Code / terminal panel */
.terminal {
  border-radius: var(--r-lg); overflow: hidden;
  background: #0b1220; border: 1px solid #1d2b45;
  box-shadow: var(--shadow-lg);
}
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; background: #111c30; border-bottom: 1px solid #1d2b45;
}
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; }
.terminal__bar i:nth-child(1) { background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: 8px; font-size: 12px; color: #64748b; font-family: var(--font-mono); }
.terminal__body { padding: 20px; font-family: var(--font-mono); font-size: 12.6px; line-height: 2; overflow-x: auto; color: #b6c4d8; }
.terminal__body > div { white-space: nowrap; }
.terminal__body .c-key { color: #6ea8ff; font-weight: 700; }
.terminal__body .c-fn  { color: #57d7e6; }
.terminal__body .c-arg { color: #8fa3bd; }
.terminal__body .c-com { color: #5b6b85; }
.terminal__body .c-num { color: #f0b429; }
.terminal__body .c-ok  { color: #3ddc97; }
.terminal__body .c-dim { color: #55647d; }
.terminal__body .c-out { color: #93a4bb; padding-left: 1.1em; }
.terminal__body .c-caret {
  display: inline-block; width: 7px; height: 13px; vertical-align: -2px;
  background: #4dd6e8; animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ---------- 15. Testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.quote-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.quote-card__mark { font-size: 44px; line-height: 1; color: var(--brand-200); font-weight: 800; font-family: Georgia, serif; }
.quote-card__text { margin-top: 10px; font-size: 15px; line-height: 1.85; color: var(--ink-700); flex: 1; }
.quote-card__person { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
}
.quote-card__name { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.quote-card__role { font-size: 12.5px; color: var(--text-soft); }

/* ---------- 16. FAQ (details) ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px; position: relative;
  font-size: 15.5px; font-weight: 600; color: var(--ink-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__answer { padding: 0 22px 22px; font-size: 14.5px; line-height: 1.85; color: var(--text-muted); }
.faq__answer p + p { margin-top: 10px; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #0f2a55 0%, #123a76 48%, #0b1c38 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(120,170,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 72%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; left: 50%; bottom: -420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77,214,232,.4), transparent 66%);
  filter: blur(16px);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.15rem); letter-spacing: -.025em; }
.cta-band p { margin-top: 14px; color: #a9bcd8; font-size: clamp(.98rem, 1.3vw, 1.08rem); max-width: 620px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }
.cta-band__hint { margin-top: 18px; font-size: 13px; color: #7f95b8; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: #070d18; color: #8a9ab5;
  padding-block: 64px 0;
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #56657f; }
.footer-desc { margin-top: 18px; font-size: 13.8px; line-height: 1.8; color: #6d7d99; max-width: 320px; }
.footer-contact { margin-top: 22px; display: grid; gap: 10px; font-size: 13.8px; }
.footer-contact a { color: #b8c6dc; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact span { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact span > em { font-style: normal; line-height: 1.65; word-break: normal; overflow-wrap: anywhere; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 4px; color: #3f6ea8; }

.footer-col h3 {
  font-size: 13px; font-weight: 700; color: #d5e0f0;
  letter-spacing: .06em; margin-bottom: 18px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 13.8px; color: #8294b0; transition: color .2s var(--ease), transform .2s var(--ease); display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }

.footer-qr {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md); padding: 16px;
}
.footer-qr__img {
  width: 108px; height: 108px; border-radius: 8px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.footer-qr__img img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr__cap { margin-top: 10px; font-size: 12px; color: #6d7d99; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.8px; color: #5d6d88;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 19. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 130% at 82% 0%, #14356b 0%, #0b1c38 52%, #070f1e 100%);
  color: #b6c6de;
  padding-block: clamp(52px, 7vw, 84px) clamp(52px, 7vw, 84px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(120,170,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(110% 100% at 60% 0%, #000 20%, transparent 76%);
  mask-image: radial-gradient(110% 100% at 60% 0%, #000 20%, transparent 76%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -160px; top: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(31,111,224,.42) 0%, transparent 66%);
  filter: blur(12px);
}
.page-hero .eyebrow { color: #7cb6ff; }
.page-hero .eyebrow::before { background: linear-gradient(90deg, #4d90f5, #17b3c9); }
.page-hero h1 {
  margin-top: 18px; color: #fff;
  font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1.2; font-weight: 800;
}
.page-hero p { margin-top: 18px; max-width: 660px; font-size: clamp(.98rem, 1.3vw, 1.1rem); line-height: 1.85; color: #9fb3d0; }
.page-hero .btn-row { margin-top: 30px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #7c90ae; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: .5; }
.breadcrumb span { color: #a8bdd8; }

/* ---------- 20. Content prose ---------- */
.prose { font-size: 16px; line-height: 1.95; color: var(--ink-700); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.2em; padding-top: .2em;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem); letter-spacing: -.02em;
  scroll-margin-top: 96px;
}
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; scroll-margin-top: 96px; }
.prose p { color: var(--ink-600); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 24px; color: var(--ink-600); }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .78em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-400);
}
.prose ol { counter-reset: ol; }
.prose ol li { position: relative; padding-left: 30px; counter-increment: ol; color: var(--ink-600); }
.prose ol li::before {
  content: counter(ol); position: absolute; left: 0; top: .2em;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose a { color: var(--brand-600); border-bottom: 1px solid var(--brand-200); transition: border-color .2s; }
.prose a:hover { border-bottom-color: var(--brand-500); }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding: 20px 24px;
  border-left: 3px solid var(--brand-400); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--brand-50); color: var(--ink-700); font-size: 15px;
}
.prose blockquote p { color: var(--ink-700); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ink-50); font-weight: 700; color: var(--ink-900); }
.prose code {
  font-family: var(--font-mono); font-size: .88em; padding: 2px 6px;
  background: var(--ink-50); border: 1px solid var(--line); border-radius: 5px; color: var(--brand-700);
}
.prose pre {
  background: #0b1220; color: #cbd5e1; padding: 20px; border-radius: var(--r-md);
  overflow-x: auto; font-size: 13px; line-height: 1.8;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 20px; font-size: 13.5px; color: #8fa4c4;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 14px; height: 14px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ---------- 21. Lists / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-600);
  transition: all .22s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter-btn.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

/* ---------- 22. Contact form ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.field label .req { color: #e5484d; margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 14.5px; color: var(--ink-800);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-300); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(31,111,224,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12.5px; color: var(--text-soft); }
.form-note {
  font-size: 12.5px; color: var(--text-soft); line-height: 1.7;
  padding: 12px 16px; background: var(--ink-50); border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-card__icon {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card__label { font-size: 12.5px; color: var(--text-soft); }
.contact-card__value { font-size: 15.5px; font-weight: 700; color: var(--ink-900); margin-top: 2px; word-break: break-all; }
.contact-card__value a:hover { color: var(--brand-600); }

/* ---------- 23. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.timeline { position: relative; display: grid; gap: 34px; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--brand-300), var(--line));
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--brand-500);
  box-shadow: 0 0 0 4px #fff;
}
.timeline__year { font-size: 13px; font-weight: 800; color: var(--brand-600); letter-spacing: .04em; }
.timeline__title { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.timeline__text { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--text-muted); }

.value-card {
  padding: 26px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card__num { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--brand-400); }

.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: 28px 32px;
  background: linear-gradient(120deg, var(--brand-50), #f0f8ff);
  border: 1px solid var(--brand-100); border-radius: var(--r-lg);
}
.cta-inline h3 { font-size: 1.1rem; }
.cta-inline p { margin-top: 6px; font-size: 14px; color: var(--text-muted); }

/* Table of contents */
.toc {
  position: sticky; top: 96px;
  border-left: 2px solid var(--line); padding-left: 18px;
}
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-400); text-transform: uppercase; margin-bottom: 12px; }
.toc a { display: block; font-size: 13.5px; color: var(--ink-500); padding: 5px 0; line-height: 1.55; transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--brand-600); font-weight: 600; }

/* ---------- 24. Reveal animation ----------
   只有 <html class="js"> 时才隐藏内容：JS 不可用/被拦截时页面完整可见。 */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .07s; }
[data-reveal-delay="2"] { transition-delay: .14s; }
[data-reveal-delay="3"] { transition-delay: .21s; }
[data-reveal-delay="4"] { transition-delay: .28s; }
[data-reveal-delay="5"] { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .process__step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .head-split { align-items: flex-start; }
  .section-head--center { text-align: left; }
  .section-head--center .eyebrow { justify-content: flex-start; }
  .cta-band { border-radius: var(--r-lg); }
  .contact-card { padding: 18px; }
}

/* ---------- 26. Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero__panel, .filter-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: #fff; color: #000; padding-block: 20px; }
  .page-hero h1 { color: #000; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   27. 隐私同意（PIPL 合规）
   ========================================================================== */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px -16px rgba(16,26,46,.28);
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
  padding: 18px var(--gutter);
}
.consent-banner.is-visible { transform: none; }
.consent-banner__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.consent-banner__text { flex: 1 1 420px; min-width: 0; }
.consent-banner__text strong { font-size: 14.5px; color: var(--ink-900); }
.consent-banner__text p {
  margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--text-muted);
}
.consent-banner__text a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.consent-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }

.privacy-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 110;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ink-500);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  transition: color .2s, transform .2s, box-shadow .2s;
}
.privacy-fab:hover { color: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.privacy-fab svg { width: 19px; height: 19px; }

.privacy-panel {
  position: fixed; right: 18px; bottom: 72px; z-index: 111;
  width: min(340px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 20px;
}
.privacy-panel h3 { font-size: 15px; }
.privacy-panel p { margin-top: 8px; line-height: 1.7; }
.privacy-panel .btn-row { gap: 8px; }

@media (max-width: 640px) {
  .consent-banner__actions { width: 100%; }
  .consent-banner__actions .btn { flex: 1; }
  .privacy-fab { right: 14px; bottom: 14px; width: 38px; height: 38px; }
}

/* ==========================================================================
   28. 模态框（工单弹窗）
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__mask { position: absolute; inset: 0; background: rgba(10,16,32,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; z-index: 1;
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow-lg);
}
.page-portal .page-hero { padding-block: clamp(36px,5vw,60px); }
.page-portal .page-hero h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }

/* ==========================================================================
   29. 邮件订阅
   ========================================================================== */
.subscribe-box {
  padding: clamp(24px, 3.5vw, 36px);
  background: linear-gradient(135deg, var(--brand-50), #f0f8ff);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
}
.subscribe-box__text h2 { font-size: 1.15rem; }
.subscribe-form {
  display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1 1 240px; min-width: 0;
  padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.subscribe-form input:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(31,111,224,.12);
}
.subscribe-form .btn { flex: 0 0 auto; padding-inline: 28px; }
#subStatus.is-ok { color: var(--green); }
#subStatus.is-err { color: #c0392b; }

/* ==========================================================================
   30. 文件上传
   ========================================================================== */
.upload-zone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fafcff;
}
.upload-zone:hover, .upload-zone.is-drag {
  border-color: var(--brand-400);
  background: var(--brand-50);
}
.upload-zone__hint { color: var(--ink-500); font-size: 13.5px; }
.upload-list { margin-top: 12px; display: grid; gap: 8px; text-align: left; }
.upload-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; font-size: 13px;
}
.upload-item__icon {
  width: 30px; height: 30px; border-radius: 7px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.upload-item__name {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upload-item__size { color: var(--ink-400); font-size: 12px; flex: 0 0 auto; }
.upload-item__remove {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--ink-400);
  transition: background .15s, color .15s;
}
.upload-item__remove:hover { background: #fff0f0; color: #c0392b; }
.upload-item.is-error { border-color: #ffd4d4; background: #fff5f5; }
.upload-item__error { color: #c0392b; font-size: 12px; }

/* 附件列表（工单详情） */
.attach-list { display: grid; gap: 8px; margin-top: 10px; }
.attach-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13px; text-decoration: none; color: inherit;
  transition: border-color .2s, background .2s;
}
.attach-item:hover { border-color: var(--brand-300); background: var(--brand-50); }
.attach-thumb {
  width: 40px; height: 40px; border-radius: 7px; object-fit: cover;
  flex: 0 0 auto; background: var(--ink-50);
}

/* ==========================================================================
   31. 选项卡 / 验证码输入
   ========================================================================== */
.tabs {
  display: flex; gap: 4px; padding: 4px;
  background: var(--ink-50); border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.tabs__btn {
  flex: 1; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-500);
  transition: background .2s, color .2s, box-shadow .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.tabs__btn:hover { color: var(--ink-800); }
.tabs__btn.is-active {
  background: #fff; color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}
.tabs__badge {
  font-size: 10px; font-weight: 700; padding: 1px 6px;
  border-radius: 99px; background: var(--green); color: #fff;
  letter-spacing: .02em;
}

.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-btn {
  flex: 0 0 auto; white-space: nowrap;
  min-width: 116px; font-size: 13.5px;
}
.code-btn:disabled {
  opacity: .6; cursor: not-allowed; background: var(--ink-50);
}
@media (max-width: 480px) {
  .code-row { flex-direction: column; }
  .code-btn { width: 100%; }
}

/* ==========================================================================
   32. 公安备案徽章
   ========================================================================== */
.beian-police {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.beian-police img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
}
.beian-police:hover span { color: #fff; }

/* 页脚底部链接在窄屏时换行更整齐 */
@media (max-width: 640px) {
  .footer-bottom__links { gap: 10px 16px; }
  .beian-police img { width: 18px; height: 18px; }
}

/* ==========================================================================
   33. 技术热线（并列展示）
   ========================================================================== */
.hotline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 6px;
}
.hotline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.hotline:hover { color: var(--brand-600); }
.hotline svg {
  width: 15px;
  height: 15px;
  color: var(--brand-500);
  flex: 0 0 auto;
}
@media (max-width: 420px) {
  .hotline-list { gap: 8px; }
  .hotline { font-size: .96rem; }
}

/* 页脚技术热线 */
.footer-contact .footer-tel {
  color: #b8c6dc;
  font-variant-numeric: tabular-nums;
  transition: color .2s;
}
.footer-contact .footer-tel:hover { color: #fff; }

/* ==========================================================================
   34. 技术联络（电话+微信成对展示）
   ========================================================================== */
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "who  tel"
    "wx   wx";
  gap: 6px 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.contact-row__who  { grid-area: who; }
.contact-row__tel  { grid-area: tel; justify-self: end; }
.contact-row__wx   { grid-area: wx; }

/* 称呼列：技术部 / 梁工 */
.contact-row__who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.contact-row__dept {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
  padding: 1px 8px;
}
.contact-row__person {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.contact-row__tel,
.contact-row__wx {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  white-space: nowrap;
  min-width: 0;
}
.contact-row__tel {
  color: var(--ink-900);
  transition: color .2s var(--ease);
}
.contact-row__tel:hover { color: var(--brand-600); }
.contact-row__wx { color: var(--ink-600); font-weight: 600; }
.contact-row__wx {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.contact-row__wx > span:nth-of-type(1) {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0 7px;
  line-height: 1.7;
}
.contact-row__wxnum {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: .01em;
}
.contact-row__tel svg,
.contact-row__wx svg { width: 15px; height: 15px; flex: 0 0 auto; }
.contact-row__tel svg { color: var(--brand-500); }
.contact-row__wx svg { color: var(--green); }

@media (max-width: 420px) {
  .contact-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "who"
      "tel"
      "wx";
    gap: 6px;
  }
  .contact-row__tel { justify-self: start; }
}

/* ==========================================================================
   35. 联系页两栏布局（内联样式会让媒体查询失效，必须用 class）
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-layout > * { min-width: 0; }

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* 页脚热线称谓 */
.footer-contact .footer-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-right: 14px;
}
.footer-tel__who {
  font-size: 11.5px;
  color: #7d8ea8;
  font-weight: 600;
}
.footer-contact .footer-tel:hover .footer-tel__who { color: #b8c6dc; }
.footer-tel__note {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #7d8ea8;
}

/* ==========================================================================
   36. 移动端可读性与触摸目标优化
   - 11.5px 的辅助文字在手机上偏小，统一提到 12px
   - 文字链接（电话/邮箱等）增加垂直内边距，让拇指更容易点中
   ========================================================================== */

/* 辅助小字：不低于 12px */
@media (max-width: 768px) {
  .eyebrow,
  .tag,
  .chip,
  .badge,
  .case-card__en,
  .insight-card__meta,
  .post-card__kicker,
  .footer-col h4,
  .footer-bottom,
  .footer-bottom__links,
  .stat__label,
  .service-card__tag,
  .footer-tel__who,
  .footer-tel__note,
  small,
  .tiny {
    font-size: 12px !important;
    line-height: 1.6;
  }
  .tabs__badge {
    font-size: 11px !important;
    padding: 2px 7px;
  }

  /* 页脚链接热区：从 15px 提高到 ≥40px */
  .footer-contact a,
  .footer-bottom__links a,
  .footer-contact .footer-tel {
    display: inline-flex !important;
    align-items: center;
    min-height: 40px;
    padding-block: 4px;
  }

  /* 正文中的内联链接（电话、邮箱）热区 */
  .contact-card__value a,
  .contact-row__tel,
  .contact-row__wx,
  .hotline,
  .link-arrow {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* 面包屑与"返回"类小链接 */
  .breadcrumb a,
  .back-link,
  .tabs__btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* 页脚密集导航：用负外边距抵消内边距，热区变大但不撑开排版 */
  .footer-col a {
    display: block;
    padding-block: 8px;
    margin-block: -4px;
    min-height: 40px;
    line-height: 24px;
  }

  /* 页脚底部链接行：行内元素 min-height 无效，必须 inline-flex */
  .footer-bottom__links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-inline: 2px;
  }

  /* 品牌链接（页头/页脚 logo）热区 */
  .brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* 主按钮补足到 44px（触摸标准） */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .btn--sm { min-height: 40px; }
}

/* ==========================================================================
   37. 正文内联链接的可点区域（不改视觉，只扩热区）
   - 正文里的电话/邮箱嵌在句子中，撑高会破坏排版
   - 用透明伪元素向外扩展点击区域，并保证相邻链接不重叠
   ========================================================================== */
@media (max-width: 768px) {
  .prose a,
  .footer-contact a[href^="mailto:"],
  .contact-card p a,
  .portal-note a,
  .form-note a {
    position: relative;
  }
  .prose a::after,
  .footer-contact a[href^="mailto:"]::after,
  .contact-card p a::after,
  .portal-note a::after,
  .form-note a::after {
    content: "";
    position: absolute;
    inset: -11px -4px;
    /* 不拦截视觉，只提供更大的命中区 */
  }
}

/* ==========================================================================
   38. 直接联系方式卡片（表单停用时的替代方案）
   ========================================================================== */
.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.direct-contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.direct-contact__item:hover {
  border-color: var(--brand-300);
  background: #fff;
  transform: translateY(-1px);
}
.direct-contact__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-600);
}
.direct-contact__icon svg { width: 19px; height: 19px; }
.direct-contact__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.direct-contact__label {
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 600;
}
.direct-contact__value {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.direct-contact__sub {
  font-size: 12px;
  color: var(--ink-400);
}
.direct-contact__note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--brand-50);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-600);
}
.direct-contact__note strong { color: var(--ink-800); }

@media (max-width: 480px) {
  .direct-contact__item { padding: 14px; gap: 12px; }
  .direct-contact__icon { width: 38px; height: 38px; }
  .direct-contact__value { font-size: 15.5px; }
}

/* ==========================================================================
   39. HTML 网站地图
   ========================================================================== */
.sitemap-group {
  margin-bottom: clamp(32px, 5vw, 48px);
}
.sitemap-group__head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sitemap-group__head h2 {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-900);
}
.sitemap-group__head p {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--ink-500);
}

.sitemap-list {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: background .18s var(--ease);
}
.sitemap-list li:hover {
  background: var(--ink-50);
}
.sitemap-list a {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-900);
  transition: color .18s var(--ease);
}
.sitemap-list a:hover { color: var(--brand-600); }
.sitemap-list__desc {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}

.sitemap-note {
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--brand-50);
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-600);
}
.sitemap-note a {
  color: var(--brand-600);
  font-weight: 600;
}
.sitemap-note a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .sitemap-list li { padding: 9px 10px; }
  .sitemap-list a { font-size: 14.5px; }
  .sitemap-list__desc { font-size: 12.5px; }
}
