/* ==========================================================================
   重庆爱飞通用航空有限公司 · 官网视觉系统
   AIFEI GENERAL AVIATION — Design System v1.0
   ========================================================================== */

:root {
  --navy-950: #04080F;
  --navy-900: #060C18;
  --navy-800: #0A1526;
  --navy-700: #0F2036;
  --navy-600: #16304C;
  --ink: #0B1520;
  --ink-soft: #35485C;
  --muted: #6B7C90;
  --paper: #F6F8FB;
  --paper-2: #EEF2F7;
  --white: #FFFFFF;

  --vi-blue: #2A52BE; --vi-red: #FF2A00; --vi-yellow: #FEDC32;
  --cyan: #3B63D8;
  --cyan-bright: #8FA8FF;
  --cyan-deep: #23409F;
  --amber: #FF2A00;
  --amber-soft: #FEDC32;

  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(11, 21, 32, 0.10);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-1: 0 2px 8px rgba(9, 20, 35, 0.06);
  --shadow-2: 0 18px 48px -18px rgba(9, 20, 35, 0.28);
  --shadow-glow: 0 0 0 1px rgba(59, 99, 216, 0.25), 0 24px 60px -24px rgba(59, 99, 216, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1220px;
  --header-h: 76px;

  --font-sans: "Inter", "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--cyan); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--cyan), var(--amber-soft));
  box-shadow: 0 0 12px rgba(59, 99, 216, 0.8);
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.55), rgba(4, 8, 15, 0));
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}
.site-header.is-scrolled,
.site-header.solid {
  background: rgba(6, 12, 24, 0.86);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.site-header.is-scrolled::after,
.site-header.solid::after { opacity: 0; }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(59, 99, 216, 0.5));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand__en {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--white); }
.nav a.is-active::after { transform: scaleX(1); background: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, #FF3A14 0%, var(--vi-red) 55%, #D92200 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 30px -12px rgba(255, 42, 0, 0.65);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(255, 42, 0, 0.75);
}
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
  background: rgba(59, 99, 216, 0.08);
}
.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--outline-dark {
  border: 1px solid var(--line-light);
  color: var(--ink);
  background: var(--white);
}
.btn--outline-dark:hover { border-color: var(--cyan-deep); color: var(--cyan-deep); }
.btn--block { width: 100%; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 78% 8%, #142659 0%, #0A1230 42%, #05070F 100%);
  color: var(--white);
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(59, 99, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 99, 216, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(100% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(100% 70% at 50% 40%, #000 20%, transparent 78%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift {
  to { background-position: 68px 68px, 68px 68px; }
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.hero__glow--a {
  width: 52vw;
  height: 52vw;
  right: -14vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(59, 99, 216, 0.30), transparent 62%);
  animation: floatA 15s ease-in-out infinite;
}
.hero__glow--b {
  width: 40vw;
  height: 40vw;
  left: -16vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(255, 42, 0, 0.16), transparent 64%);
  animation: floatB 19s ease-in-out infinite;
}
@keyframes floatA {
  50% { transform: translate3d(-4vw, 3vw, 0) scale(1.08); }
}
@keyframes floatB {
  50% { transform: translate3d(4vw, -3vw, 0) scale(1.12); }
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.eyebrow--dark { color: var(--cyan-deep); }
.eyebrow--dark::before { background: linear-gradient(90deg, var(--cyan-deep), transparent); }

.hero h1 {
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.hero h1 .thin {
  display: block;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62em;
  letter-spacing: 0.02em;
  margin-top: 10px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan-bright), #C9D6FF 45%, var(--vi-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 31em;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.hero__meta-v { font-size: 14.5px; color: rgba(255, 255, 255, 0.9); font-weight: 500; }

/* Hero visual — radar + flight path */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.radar {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(59, 99, 216, 0.16);
}
.radar::before,
.radar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 99, 216, 0.12);
}
.radar::before { inset: 16%; }
.radar::after { inset: 33%; border-style: dashed; }
.radar__cross {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(59, 99, 216, 0.2) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(59, 99, 216, 0.2) 50%, transparent calc(50% + 0.5px));
}
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(59, 99, 216, 0.34), rgba(59, 99, 216, 0.05) 26%, transparent 40%);
  animation: sweep 6.5s linear infinite;
  mix-blend-mode: screen;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 0 rgba(143, 168, 255, 0.6);
  animation: blip 3.6s ease-out infinite;
}
@keyframes blip {
  0% { box-shadow: 0 0 0 0 rgba(143, 168, 255, 0.55); opacity: 0.4; }
  40% { opacity: 1; }
  100% { box-shadow: 0 0 0 22px rgba(143, 168, 255, 0); opacity: 0.35; }
}

.flightpath { position: relative; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.flightpath .track {
  fill: none;
  stroke: rgba(59, 99, 216, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
}
.flightpath .trace {
  fill: none;
  stroke: url(#fpGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: traceIn 5.5s var(--ease-out) 0.4s forwards;
}
@keyframes traceIn { to { stroke-dashoffset: 0; } }

.hero__hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.34);
  text-transform: uppercase;
}
.hero__hud--tl { top: 14px; left: 0; }
.hero__hud--br { bottom: 14px; right: 0; text-align: right; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.34);
  text-transform: uppercase;
}
.hero__scroll span {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.35); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 84px;
  background: radial-gradient(110% 130% at 12% 0%, #13314B 0%, #081426 48%, #050B14 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}
.page-hero p {
  max-width: 40em;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}
.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--cyan); }
.crumb span { color: var(--cyan); margin: 0 8px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 78px 0; }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--dark {
  background: linear-gradient(180deg, #050B14 0%, #081426 55%, #050B14 100%);
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.section-head p { font-size: 15.5px; color: var(--muted); }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.55); }
.section--dark .section-head h2 { color: var(--white); }

.section-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-idx::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--line-light);
}

/* ---------- Cards: business ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.biz-card {
  position: relative;
  padding: 34px 28px 32px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  isolation: isolate;
}
.biz-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 99, 216, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.biz-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(59, 99, 216, 0.35);
}
.biz-card:hover::before { opacity: 1; }
.biz-card:hover::after { transform: scaleX(1); }

.biz-card__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.biz-card__icon {
  width: 46px;
  height: 46px;
  color: var(--cyan-deep);
  margin-bottom: 22px;
  transition: color 0.4s, transform 0.5s var(--ease);
}
.biz-card:hover .biz-card__icon { color: var(--cyan); transform: translateY(-2px) scale(1.05); }
.biz-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.biz-card p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.biz-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.biz-card__tags span {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 26px 0;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}
.marquee__item::after {
  content: "◆";
  font-size: 8px;
  color: var(--cyan);
  opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature rows ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-list { display: grid; gap: 10px; }
.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 22px;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, transform 0.45s var(--ease);
}
.feature-item:hover {
  background: var(--white);
  border-color: var(--line-light);
  transform: translateX(6px);
}
.feature-item__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-deep);
  padding-top: 4px;
  letter-spacing: 0.1em;
}
.feature-item h4 { font-size: 16.5px; margin-bottom: 6px; font-weight: 700; }
.feature-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }

.visual-panel {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-l);
  background: radial-gradient(120% 120% at 20% 10%, #12314C, #07111F 60%);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  isolation: isolate;
}
.visual-panel__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 99, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 99, 216, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(90% 90% at 40% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 90% at 40% 30%, #000, transparent 80%);
}
.visual-panel__stat {
  position: absolute;
  left: 28px;
  bottom: 26px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--white);
}
.visual-panel__stat strong {
  font-size: 34px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.visual-panel__stat small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(59, 99, 216, 0.4) 0 6px, transparent 6px 12px);
}
.process__step { position: relative; padding-right: 24px; }
.process__dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  border: 1px solid rgba(59, 99, 216, 0.4);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  transition: background 0.4s, transform 0.5s var(--ease), box-shadow 0.4s;
}
.process__step:hover .process__dot {
  background: var(--cyan);
  color: var(--navy-950);
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(59, 99, 216, 0.1);
}
.process__step h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--white); }
.process__step p { font-size: 13.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.8; }

/* ---------- Stats / capability band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.stat-band__cell {
  padding: 34px 24px;
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-band__cell:last-child { border-right: 0; }
.stat-band__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-band__v { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.section--dark .stat-band { border-color: var(--line-dark); }
.section--dark .stat-band__cell { border-color: var(--line-dark); }
.section--dark .stat-band__v { color: var(--white); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #0A1030 0%, #101B4D 48%, #1A2C7A 100%);
  color: var(--white);
  padding: 86px 0;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 99, 216, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 99, 216, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 120% at 80% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 120% at 80% 50%, #000, transparent 75%);
}
.cta .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, 0.6); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.55);
  padding: 70px 0 26px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; max-width: 26em; color: rgba(255, 255, 255, 0.42); }
.footer-col h5 {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.5); transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col address { font-style: normal; font-size: 13.5px; line-height: 2; color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.34);
}
.footer-bottom a:hover { color: var(--cyan); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 8, 15, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner { display: grid; gap: 6px; width: 100%; max-width: 340px; padding: 0 28px; }
.mobile-menu__inner a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s, color 0.3s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.mobile-menu.is-open .mobile-menu__inner a { transform: none; opacity: 1; }
.mobile-menu__inner a:hover { color: var(--cyan); }
.mobile-menu__inner .m-cta {
  margin-top: 22px;
  border: 0;
  color: var(--cyan);
  font-size: 16px;
}
body.menu-open { overflow: hidden; }

/* ---------- Reveal animations ---------- */
/* 初始隐藏由 JS 在运行时写入内联样式实现：JS 不可用时内容始终可见 */
[data-reveal] {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1 !important; transform: none !important; }

/* ---------- Page transition veil ---------- */
#veil {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy-950);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field .req { color: #D64545; margin-left: 3px; }
.input,
.textarea,
.select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(11, 21, 32, 0.14);
  background: var(--white);
  font-size: 14.5px;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(59, 99, 216, 0.16);
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.field-error { font-size: 12.5px; color: #D64545; margin-top: 6px; display: none; }
.field.has-error .input,
.field.has-error .textarea { border-color: #D64545; }
.field.has-error .field-error { display: block; }

.form-note {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-left: 2px solid var(--cyan);
}
.form-message {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  font-size: 13.5px;
  margin-bottom: 18px;
  line-height: 1.7;
}
.form-message.is-ok { display: block; background: #E8F7F1; color: #106B4B; border-left: 2px solid #1E9E6A; }
.form-message.is-err { display: block; background: #FDEDED; color: #A32B2B; border-left: 2px solid #D64545; }
.form-message.is-info { display: block; background: #EAF6FA; color: #0C5C72; border-left: 2px solid var(--cyan-deep); }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-1);
}
.contact-list { display: grid; gap: 2px; }
.contact-list__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-light);
}
.contact-list__item:last-child { border-bottom: 0; }
.contact-list__ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--cyan-deep);
}
.contact-list__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-list__v { font-size: 15px; font-weight: 600; word-break: break-all; }
.contact-list__v small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Misc ---------- */
.lead-block p + p { margin-top: 16px; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; }
.prose h3 { font-size: 19px; margin: 34px 0 12px; }
.prose ul { margin: 0 0 20px; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding: 70px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: center;
}
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .service-detail__visual { order: 2; }
.service-detail__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan-deep);
  margin-bottom: 14px;
}
.service-detail h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 16px; line-height: 1.3; }
.service-detail p { color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.spec-list { margin-top: 26px; display: grid; gap: 12px; }
.spec-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.spec-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

/* ---------- Auth page ---------- */
.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}
.auth-visual {
  position: relative;
  background: radial-gradient(120% 120% at 20% 10%, #12314C, #060C18 65%);
  color: var(--white);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.auth-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 99, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 99, 216, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 80% at 30% 40%, #000, transparent 82%);
  -webkit-mask-image: radial-gradient(80% 80% at 30% 40%, #000, transparent 82%);
  z-index: -1;
}
.auth-visual h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 18px;
}
.auth-visual p { color: rgba(255, 255, 255, 0.55); font-size: 14.5px; max-width: 32em; line-height: 1.9; }
.auth-visual__points { display: grid; gap: 14px; margin-top: 30px; }
.auth-visual__points li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  align-items: flex-start;
}
.auth-visual__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  overflow-y: auto;
}
.auth-card { width: 100%; max-width: 424px; }
.auth-card__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 34px;
}
.auth-card__back:hover { color: var(--cyan-deep); }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; letter-spacing: -0.01em; }
.auth-card__sub { font-size: 14px; color: var(--muted); margin-bottom: 30px; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 999px;
  margin-bottom: 28px;
}
.tabs button {
  flex: 1;
  height: 38px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.tabs button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.45s var(--ease-out); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.otp-row { display: flex; gap: 10px; }
.otp-row .input { flex: 1; }
.otp-row .btn { flex-shrink: 0; height: 48px; }

.auth-alt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-alt a { color: var(--cyan-deep); }
.auth-alt a:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-light);
}
.pw-strength {
  height: 3px;
  border-radius: 2px;
  background: var(--paper-2);
  margin-top: 8px;
  overflow: hidden;
}
.pw-strength span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 0.3s, background 0.3s;
}

/* ---------- Portal ---------- */
.portal-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100svh;
  background: var(--paper-2);
}
.portal-aside {
  background: var(--navy-900);
  color: var(--white);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100svh;
}
.portal-aside .brand { margin-bottom: 34px; padding: 0 8px; }
.portal-nav { display: grid; gap: 2px; }
.portal-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
  text-align: left;
  transition: background 0.25s, color 0.25s;
  width: 100%;
}
.portal-nav button svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.7; }
.portal-nav button:hover { background: rgba(255, 255, 255, 0.05); color: var(--white); }
.portal-nav button.is-active {
  background: rgba(59, 99, 216, 0.12);
  color: var(--cyan-bright);
}
.portal-nav button.is-active svg { opacity: 1; }
.portal-nav__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  padding: 18px 14px 8px;
}
.portal-user {
  margin-top: auto;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 11px;
}
.portal-user__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cyan), var(--cyan-deep));
  color: var(--navy-950);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.portal-user__meta { min-width: 0; }
.portal-user__name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-user__role { font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.portal-main { padding: 30px 34px 60px; min-width: 0; }
.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.portal-topbar h1 { font-size: 23px; letter-spacing: -0.01em; }
.portal-topbar p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.portal-view { display: none; }
.portal-view.is-active { display: block; animation: fadeUp 0.4s var(--ease-out); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
  padding: 20px 22px;
}
.kpi__k {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.kpi__v { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-family: var(--font-mono); }
.kpi__v small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.kpi__d { font-size: 12px; color: var(--muted); margin-top: 8px; }
.kpi--accent { background: linear-gradient(140deg, #0E2438, #123A52); border-color: transparent; }
.kpi--accent .kpi__k { color: rgba(255, 255, 255, 0.5); }
.kpi--accent .kpi__v { color: var(--white); }
.kpi--accent .kpi__d { color: rgba(255, 255, 255, 0.5); }

.panel {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
  margin-bottom: 20px;
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.panel__head h3 { font-size: 15.5px; font-weight: 700; }
.panel__head .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.panel__body { padding: 22px; }
.panel__body--flush { padding: 0; }
.panel__tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
  white-space: nowrap;
}
table.data td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11, 21, 32, 0.06);
  vertical-align: middle;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #FAFCFE; }
table.data .t-strong { font-weight: 600; }
table.data .t-muted { color: var(--muted); font-size: 12.5px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--new { background: #EAF6FA; color: #0C6C86; }
.pill--open { background: #FFF4E3; color: #A05F0A; }
.pill--doing { background: #EAF2FF; color: #1B58B8; }
.pill--done { background: #E8F7F1; color: #106B4B; }
.pill--hold { background: #F1F1F4; color: #5A6373; }

.empty {
  padding: 54px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
.empty svg { width: 40px; height: 40px; margin: 0 auto 14px; opacity: 0.3; }

.portal-gate {
  max-width: 520px;
  margin: 8vh auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-l);
  padding: 48px 40px;
  box-shadow: var(--shadow-2);
}
.portal-gate__ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--cyan-deep);
}
.portal-gate h2 { font-size: 21px; margin-bottom: 10px; }
.portal-gate p { font-size: 14px; color: var(--muted); margin-bottom: 26px; line-height: 1.8; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 15, 0.6);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__box {
  background: var(--white);
  border-radius: var(--radius-l);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px -30px rgba(4, 8, 15, 0.6);
  animation: fadeUp 0.35s var(--ease-out);
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-light);
}
.modal__head h3 { font-size: 17px; }
.modal__close { color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.modal__close:hover { background: var(--paper-2); color: var(--ink); }
.modal__body { padding: 24px 26px; }
.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--line-light);
  background: var(--paper);
}

.file-drop {
  border: 1.5px dashed rgba(11, 21, 32, 0.18);
  border-radius: var(--radius-m);
  padding: 30px 20px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.file-drop:hover,
.file-drop.is-drag { border-color: var(--cyan-deep); background: #F4FCFE; }
.file-drop svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--cyan-deep); opacity: 0.7; }
.file-drop p { font-size: 13.5px; color: var(--ink-soft); }
.file-drop small { font-size: 11.5px; color: var(--muted); display: block; margin-top: 6px; }
.file-list { display: grid; gap: 8px; margin-top: 16px; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.doc-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
  padding: 18px;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(59, 99, 216, 0.4); }
.doc-card__ico {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan-deep);
  text-transform: uppercase;
}
.doc-card__name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.doc-card__meta { font-size: 11.5px; color: var(--muted); margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.link-btn { font-size: 12.5px; color: var(--cyan-deep); font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #C0392B; }

.announce-list { display: grid; gap: 2px; }
.announce {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(11, 21, 32, 0.06);
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 16px;
}
.announce:last-child { border-bottom: 0; }
.announce__bar { background: var(--cyan); border-radius: 2px; }
.announce--warn .announce__bar { background: var(--amber); }
.announce h4 { font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.announce p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.announce time { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); display: block; margin-top: 8px; }

.toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  display: grid;
  gap: 10px;
  max-width: 360px;
}
.toast {
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  box-shadow: var(--shadow-2);
  animation: toastIn 0.35s var(--ease-out);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.toast--ok { background: #0E3A2C; }
.toast--err { background: #4A1A1A; }
.toast__x { color: rgba(255, 255, 255, 0.5); margin-left: auto; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.skeleton {
  background: linear-gradient(90deg, #EEF2F7 25%, #F7FAFC 50%, #EEF2F7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; }
  .wrap.hero__inner { grid-template-columns: 1fr; gap: 20px; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .hero__visual { max-width: 460px; margin: 0 auto; order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .feature-split { gap: 40px; }
  .portal-shell { grid-template-columns: 76px 1fr; }
  .portal-aside { padding: 20px 10px; }
  .portal-aside .brand__text,
  .portal-nav button span,
  .portal-nav__label,
  .portal-user__meta { display: none; }
  .portal-nav button { justify-content: center; padding: 12px; }
  .portal-user { justify-content: center; padding: 10px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--ghost { display: none; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .two-col,
  .contact-grid,
  .feature-split,
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail { padding: 46px 0; }
  .service-detail:nth-child(even) .service-detail__visual { order: 0; }
  .process { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process::before { display: none; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band__cell { border-bottom: 1px solid var(--line-light); }
  .stat-band__cell:nth-child(2n) { border-right: 0; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-aside {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    overflow-x: auto;
  }
  .portal-aside .brand { margin-bottom: 0; }
  .portal-nav { display: flex; gap: 2px; }
  .portal-user { margin-top: 0; margin-left: auto; }
  .portal-main { padding: 20px 16px 50px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero__meta { gap: 22px; }
}

@media (max-width: 860px) {
  .portal-cols { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- VI 品牌资产：正式 LOGO（原图嵌入，白色底板保证不受背景干扰） ---------- */
.brand__logo {
  height: 48px;
  width: auto;
  background: var(--white);
  border-radius: 9px;
  padding: 4px 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.footer-brand .brand__logo { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }

/* VI 三色条（天青蓝 / 朱砂红 / 五星黄），呼应标志的斜切造型 */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--vi-blue) 0 46%,
    var(--vi-red) 46% 74%,
    var(--vi-yellow) 74% 100%);
}
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--vi-blue) 0 46%,
    var(--vi-red) 46% 74%,
    var(--vi-yellow) 74% 100%);
}

@media (max-width: 640px) {
  .site-header .brand__text { display: none; }
}

@media (max-width: 480px) {
  .brand__logo { height: 40px; padding: 3px 8px; }
  .brand__cn { font-size: 14px; }
}
