/* =================================================================
   销帮 GEO — AI Agent Suite
   Style: Futuristic Tech · Glassmorphism · Dark
   Fonts: Space Grotesk / DM Sans / Noto Sans SC / JetBrains Mono
================================================================= */

:root {
  /* palette */
  --bg-0: #05070d;
  --bg-1: #090d18;
  --bg-2: #0f1424;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.18);

  --text: #eef2fb;
  --text-dim: #9aa6bf;
  --text-mute: #64708b;

  --accent: #00d4ff; /* electric cyan */
  --accent-2: #7c3aed; /* violet */
  --accent-3: #22d3ee;
  --grad: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));

  /* typography */
  --font-display: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* spacing */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gutter: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(4rem, 9vw, 9rem);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur: 320ms;

  /* z */
  --z-bg: -1;
  --z-base: 1;
  --z-nav: 50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

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

.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;
}

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* =================================================================
   BACKGROUND FIELD
================================================================= */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 212, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 100%, rgba(124, 58, 237, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #070a14 40%, #05070d 100%);
}

.bg-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 85%);
  transform: perspective(900px) rotateX(55deg) translateY(10vh);
  transform-origin: center top;
  opacity: 0.7;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatGlow 20s var(--ease-out) infinite alternate;
}
.bg-glow--a { width: 520px; height: 520px; top: -200px; left: -120px; background: radial-gradient(circle, #00d4ff 0%, transparent 70%); }
.bg-glow--b { width: 620px; height: 620px; top: 40%; right: -220px; background: radial-gradient(circle, #7c3aed 0%, transparent 70%); animation-delay: -6s; }
.bg-glow--c { width: 480px; height: 480px; bottom: -180px; left: 30%; background: radial-gradient(circle, #22d3ee 0%, transparent 70%); animation-delay: -12s; }

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

#particles {
  display: none;
}

.bg-lasers,
.bg-scan {
  display: none;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- High-tech laser beams ------------------------------------------------ */
.bg-lasers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mix-blend-mode: screen;
}
.laser {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}
/* diagonal sweeping beams */
.laser--1, .laser--2, .laser--3 {
  top: -20%;
  height: 140%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.9), transparent);
  filter: blur(0.5px) drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
  transform: rotate(18deg);
  animation: laserSweep 11s var(--ease-out) infinite;
}
.laser--1 { left: 12%; animation-delay: 0s; }
.laser--2 { left: 46%; background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.9), transparent); filter: blur(0.5px) drop-shadow(0 0 8px rgba(124, 58, 237, 0.7)); animation-delay: -4s; animation-duration: 14s; }
.laser--3 { left: 78%; background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.85), transparent); animation-delay: -8s; animation-duration: 16s; }

@keyframes laserSweep {
  0%   { transform: translateX(-30vw) rotate(18deg); opacity: 0; }
  15%  { opacity: 0.6; }
  50%  { opacity: 0.5; }
  85%  { opacity: 0.5; }
  100% { transform: translateX(40vw) rotate(18deg); opacity: 0; }
}

/* horizontal scan beams */
.laser--v1, .laser--v2 {
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.7), rgba(124, 58, 237, 0.7), transparent);
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
  animation: laserScanV 18s linear infinite;
}
.laser--v1 { top: 28%; animation-delay: 0s; }
.laser--v2 { top: 66%; animation-delay: -9s; animation-duration: 22s; }

@keyframes laserScanV {
  0%   { transform: translateY(-30vh); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(60vh); opacity: 0; }
}

/* slow radar scan sweep over the whole field */
.bg-scan {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 212, 255, 0.06) 18deg, transparent 40deg);
  animation: radarSpin 24s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.7;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* HUD corner brackets */
.hud {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  opacity: 0.6;
}
.hud--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hud--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hud--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hud--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
@media (max-width: 640px) { .hud { width: 36px; height: 36px; } }

/* =================================================================
   TYPOGRAPHY HELPERS
================================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.eyebrow__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.eyebrow--line {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent);
  backdrop-filter: none;
}

/* =================================================================
   BUTTONS
================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.2em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn svg { width: 14px; height: 14px; }

.btn--lg { padding: 0.95em 1.6em; font-size: 15px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #001018;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(0, 212, 255, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:hover {
  box-shadow: 0 15px 35px -8px rgba(124, 58, 237, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  color: var(--accent);
}

/* =================================================================
   NAV
================================================================= */
.nav {
  position: fixed;
  top: clamp(0.5rem, 1.5vw, 1rem);
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  transition: top var(--dur) var(--ease-out);
}

.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 10px 14px 10px 20px;
  background: rgba(10, 14, 26, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.5);
}

.nav[data-scrolled="true"] .nav__inner {
  background: rgba(8, 11, 22, 0.85);
  border-color: var(--border-hi);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.25), transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}
.brand__mark svg { width: 26px; height: 26px; animation: spinSlow 40s linear infinite; }
.brand__mark img { width: 26px; height: 26px; object-fit: contain; }

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
}

.nav__menu {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav__menu a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color var(--dur), background var(--dur);
}
.nav__menu a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav__cta {
  display: flex;
  gap: 8px;
}

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__cta .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--primary { display: none; }
}

/* =================================================================
   LAYOUT
================================================================= */
main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: 0;
  position: relative;
}

.section__head {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section__head--split {
  flex-direction: row;
  max-width: none;
  text-align: left;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section__head--split > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section__sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  max-width: 60ch;
}
.section__sub--right {
  text-align: right;
  max-width: 42ch;
}

/* =================================================================
   HERO
================================================================= */
.hero {
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  max-width: max-content;
  margin: 0 auto 2.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.chrome__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.chrome__dot--r { background: #ff5f56; }
.chrome__dot--y { background: #ffbd2e; }
.chrome__dot--g { background: #27c93f; }
.chrome__path { margin-left: 10px; color: var(--text-dim); }
.chrome__status {
  margin-left: 18px;
  color: var(--accent-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chrome__status em {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 6px var(--accent-3);
  animation: pulse 1.8s infinite;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 1.2rem 0 1.5rem;
}

.hero__sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2rem 0;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 3rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero__meta li {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.hero__meta li:last-child { border-right: 0; }

.hero__meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__meta span {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ---- Hero Visual: Orb ------------------------------------------------------ */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  container-type: inline-size;
}

.orb {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  /* orbit radius as a real length (not % of node box) */
  --orbit-r: clamp(130px, 40cqi, 240px);
}

.orb__core {
  position: absolute;
  inset: 31%;
  z-index: 3;
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 212, 255, 0.26), transparent 64%),
    rgba(5, 7, 13, 0.34);
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow:
    0 0 34px rgba(0, 212, 255, 0.32),
    0 0 80px rgba(124, 58, 237, 0.18),
    inset 0 0 24px rgba(0, 212, 255, 0.12);
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.45));
  animation: pulseCore 4s ease-in-out infinite;
}
.orb__core svg { width: 100%; height: 100%; }
.orb__core img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.52));
}

@keyframes pulseCore {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 35px rgba(124, 58, 237, 0.6)); }
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  pointer-events: none;
}
.orb__ring--1 { inset: 22%; border-color: rgba(0, 212, 255, 0.3); animation: ringSpin 40s linear infinite; }
.orb__ring--2 { inset: 10%; border-color: rgba(124, 58, 237, 0.22); animation: ringSpin 60s linear infinite reverse; }
.orb__ring--3 { inset: 0;   border-color: rgba(255, 255, 255, 0.08); animation: ringSpin 90s linear infinite; }

.orb__ring--1::before,
.orb__ring--2::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: translateX(-50%);
}
.orb__ring--2::before { background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orb__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: ringSpin 80s linear infinite;
}

/* Orbit wrapper: zero-size pivot at center.
   --a is the node's starting angle on the ring.
   Parent spins from --a to --a+360; child counter-rotates to keep text upright. */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a, 0deg));
  animation: orbitSpin 60s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(var(--a, 0deg)); }
  to   { transform: rotate(calc(var(--a, 0deg) + 360deg)); }
}

.orb__node {
  position: absolute;
  top: 0;
  left: 0;
  /* place along parent's rotated x-axis, then counter-rotate by -a so text is upright */
  transform: translate(-50%, -50%) translateX(var(--orbit-r)) rotate(calc(var(--a, 0deg) * -1));
  animation: orbitCounter 60s linear infinite;
  padding: 10px 16px;
  background: rgba(10, 14, 26, 0.82);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  will-change: transform;
}

@keyframes orbitCounter {
  from { transform: translate(-50%, -50%) translateX(var(--orbit-r)) rotate(calc(var(--a, 0deg) * -1)); }
  to   { transform: translate(-50%, -50%) translateX(var(--orbit-r)) rotate(calc((var(--a, 0deg) + 360deg) * -1)); }
}

.orb__node::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: var(--grad);
  opacity: 0.4;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.orb__node span::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}

@media (max-width: 960px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; order: -1; margin-bottom: 1.5rem; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__meta li { border-bottom: 1px solid var(--border); }
  .hero__meta li:nth-child(2) { border-right: 0; }
}

/* ---- Ribbon --------------------------------------------------------------- */
.ribbon {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.ribbon__label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border);
}
.ribbon__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ribbon__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ribbon__row span {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-dim);
  white-space: nowrap;
}
.ribbon__row i {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================================================================
   BENTO — AGENTS
================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.agent {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
  isolation: isolate;
}

.agent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.agent:hover {
  border-color: var(--border-hi);
  background: var(--surface-hi);
  transform: translateY(-2px);
}
.agent:hover::before { opacity: 1; }

.agent--lg { grid-column: span 3; }
.agent--accent {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), rgba(0, 212, 255, 0.06));
  border-color: rgba(124, 58, 237, 0.3);
}
.agent--accent::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%);
  opacity: 1;
}

.agent__index {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

.agent__glyph {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 22px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(124, 58, 237, 0.1));
  border: 1px solid var(--border);
}
.agent__glyph svg { width: 30px; height: 30px; }
.agent--accent .agent__glyph { color: var(--accent-2); }

.agent__name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.agent__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 18px;
}

.agent__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent__features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.agent__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

.agent__actions {
  margin-top: 18px;
}

/* Chat preview in AI 客服 card */
.agent__preview {
  margin-top: 22px;
  padding: 14px;
  background: rgba(5, 7, 13, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat__bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  max-width: 88%;
  line-height: 1.5;
}
.chat__bubble--in {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text-dim);
}
.chat__bubble--out {
  background: var(--grad);
  color: #001018;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.chat__avatar {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 16, 24, 0.25);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  flex-shrink: 0;
}
.chat__typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat__typing em {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: typing 1.4s infinite;
}
.chat__typing em:nth-child(2) { animation-delay: 0.2s; }
.chat__typing em:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Article preview for AI 记者 */
.agent__preview--article {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.05));
}
.article__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.article h4 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 10px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.article__meta i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-mute);
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .agent, .agent--lg { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}

/* =================================================================
   CHANNELS
================================================================= */
.channels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 1rem;
}

.channels__hub {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
}
.channels__core {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px 22px;
  background: rgba(10, 14, 26, 0.9);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  box-shadow: 0 16px 40px -12px rgba(0, 212, 255, 0.3);
}
.channels__core svg { width: 40px; height: 40px; }

.channel {
  position: relative;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: all var(--dur) var(--ease-out);
  z-index: 1;
}
.channel:hover {
  border-color: var(--border-hi);
  background: var(--surface-hi);
  transform: translateY(-2px);
}

.channel__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.channel__icon svg { width: 20px; height: 20px; }

.channel h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.channel p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0;
}

.channel--wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
}
.channel--wide h4 { margin: 0 0 2px; }
.channel--wide p { margin: 0; }

.code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-3);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
  white-space: pre;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .channels { grid-template-columns: repeat(2, 1fr); }
  .channel--wide { grid-column: span 2; grid-template-columns: auto 1fr; }
  .channel--wide .code { grid-column: 1 / -1; }
  .channels__hub { display: none; }
}

/* =================================================================
   TIERS (4-level Permissions)
================================================================= */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tier {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
}

.tier::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.5;
  transition: opacity var(--dur);
}
.tier:hover::after { opacity: 1; }

.tier > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tier__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
  border-radius: 999px;
}
.tier__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.tier h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.tier p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0 0 16px;
  min-height: 3em;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
}

.tier--01 { border-color: rgba(0, 212, 255, 0.25); }
.tier--02 { border-color: rgba(124, 58, 237, 0.22); }
.tier--03 { border-color: rgba(34, 211, 238, 0.2); }
.tier--04 { border-color: rgba(255, 255, 255, 0.1); }

@media (max-width: 960px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .tiers { grid-template-columns: 1fr; }
  .tier p { min-height: 0; }
}

/* =================================================================
   FLOW
================================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  counter-reset: step;
}

.flow__step {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform var(--dur), border-color var(--dur);
}
.flow__step:hover {
  transform: translateY(-2px);
  border-color: var(--border-hi);
}

.flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -9px;
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  z-index: 2;
}

.flow__idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  margin-bottom: 14px;
}
.flow__step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.flow__step p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:not(:last-child)::after { display: none; }
}
@media (max-width: 500px) {
  .flow { grid-template-columns: 1fr; }
}

/* =================================================================
   PLANS
================================================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform var(--dur), border-color var(--dur), background var(--dur);
}
.plan:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
}

.plan > header {
  margin-bottom: 18px;
}
.plan h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.plan > header p {
  color: var(--text-mute);
  font-size: 0.88rem;
  margin: 0;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 1rem 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--border);
}
.plan__curr { color: var(--text-dim); font-family: var(--font-display); font-size: 1.1rem; }
.plan__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__unit {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-left: 4px;
}
.plan__price--text span {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
  transform-origin: left center;
}

.plan--featured {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(0, 212, 255, 0.08));
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-8px);
}
.plan--featured:hover {
  transform: translateY(-11px);
}
.plan--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad);
  opacity: 0.4;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.plan__ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: var(--grad);
  color: #001018;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 4px 14px -3px rgba(0, 212, 255, 0.4);
}

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-3px); }
}

/* =================================================================
   CTA
================================================================= */
.cta { padding-bottom: var(--section-y); }

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(160deg, rgba(10, 14, 26, 0.8), rgba(15, 20, 36, 0.8));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cta__panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--grad);
  opacity: 0.45;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.cta__halo {
  position: absolute;
  top: -40%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.cta__body { position: relative; z-index: 1; }

.cta__body h2 {
  font-size: 4rem;
  line-height: 1.02;
  margin: 1rem 0;
  letter-spacing: -0.03em;
}

.cta__body p {
  color: var(--text-dim);
  max-width: 42ch;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
}

.cta__form { position: relative; z-index: 1; }

.cta__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta__fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta__fields label > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.cta__fields input,
.cta__fields select {
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--dur), background var(--dur);
}
.cta__fields input:focus,
.cta__fields select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.06);
}

.cta__fields input::placeholder { color: var(--text-mute); }

.cta__fields select option {
  color: #0b1020;
  background: #f6f9fc;
}

.cta__fields select option:checked {
  color: #fff;
  background: #2f3b52;
}

.cta__fields .btn { grid-column: span 2; margin-top: 6px; }

.cta__note {
  grid-column: span 2;
  font-size: 11px;
  color: var(--text-mute);
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.cta__done {
  text-align: center;
  padding: 2rem 1rem;
}
.cta__check {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #001018;
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.4);
}
.cta__check svg { width: 30px; height: 30px; }
.cta__done h3 { font-size: 1.4rem; margin-bottom: 6px; }
.cta__done p { color: var(--text-dim); margin: 0; }

@media (max-width: 860px) {
  .cta__panel { grid-template-columns: 1fr; }
  .cta__body h2 { font-size: 3rem; }
  .cta__fields { grid-template-columns: 1fr; }
  .cta__fields .btn,
  .cta__note { grid-column: span 1; }
}

@media (max-width: 520px) {
  .cta__body h2 { font-size: 2.45rem; }
  .cta__body p { font-size: 0.88rem; }
}

/* =================================================================
   RAG ASSISTANT
================================================================= */
.rag-assistant {
  position: fixed;
  right: max(28px, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.rag-assistant__launcher,
.rag-assistant__panel {
  pointer-events: auto;
}

.rag-assistant__launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 226px;
  height: 262px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  isolation: isolate;
}

.rag-assistant__launcher:hover {
  background: transparent;
}

.rag-assistant__launcher::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 3px;
  width: 142px;
  height: 29px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.36), rgba(124, 58, 237, 0.12) 48%, transparent 72%);
  filter: blur(5px);
  transform: translateX(-50%);
  animation: robotShadow 2.8s ease-in-out infinite;
}

.rag-assistant__launcher-bubble {
  position: absolute;
  z-index: 2;
  right: 170px;
  top: 30px;
  display: grid;
  gap: 3px;
  width: max-content;
  min-width: 136px;
  padding: 12px 15px;
  border: 1px solid rgba(0, 212, 255, 0.38);
  border-radius: 16px 16px 3px 16px;
  color: rgba(233, 249, 255, 0.94);
  background: linear-gradient(135deg, rgba(7, 18, 34, 0.96), rgba(14, 12, 38, 0.94));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32), 0 0 24px rgba(0, 212, 255, 0.12);
  backdrop-filter: blur(14px);
  font-family: var(--font-display);
  text-align: left;
  animation: robotBubble 2.8s ease-in-out infinite;
  pointer-events: none;
}

.rag-assistant__launcher-bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 8px;
  width: 15px;
  height: 15px;
  border-right: 1px solid rgba(0, 212, 255, 0.38);
  border-bottom: 1px solid rgba(0, 212, 255, 0.38);
  background: rgba(10, 15, 35, 0.96);
  transform: rotate(-45deg);
}

.rag-assistant__launcher-bubble strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

.rag-assistant__launcher-bubble small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(199, 230, 239, 0.82);
  font-size: 12px;
  white-space: nowrap;
}

.rag-assistant__launcher-bubble i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #36f59a;
  box-shadow: 0 0 10px rgba(54, 245, 154, 0.9);
}

.rag-assistant__launcher-icon {
  position: relative;
  display: block;
  width: 216px;
  height: 250px;
  transform-origin: 50% 82%;
  filter: drop-shadow(0 16px 26px rgba(0, 212, 255, 0.42))
          drop-shadow(0 0 18px rgba(124, 58, 237, 0.2));
  animation: robotIdle 2.8s ease-in-out infinite;
  will-change: transform;
}

.rag-assistant__launcher-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rag-assistant__launcher:hover .rag-assistant__launcher-icon {
  animation: robotHello 780ms ease-in-out infinite alternate;
}

@keyframes robotIdle {
  0%, 100% { transform: translateY(3px) rotate(-1.2deg) scale(0.985); }
  48% { transform: translateY(-8px) rotate(1.2deg) scale(1.015); }
  72% { transform: translateY(-5px) rotate(0deg) scale(1.005); }
}

@keyframes robotHello {
  0% { transform: translateY(-6px) rotate(-2deg) scale(1.02); }
  100% { transform: translateY(-10px) rotate(2.5deg) scale(1.055); }
}

@keyframes robotShadow {
  0%, 100% { opacity: 0.56; transform: translateX(-50%) scaleX(0.9); }
  50% { opacity: 0.3; transform: translateX(-50%) scaleX(0.72); }
}

@keyframes robotBubble {
  0%, 100% { transform: translateY(1px); }
  50% { transform: translateY(-4px); }
}

.rag-assistant__panel {
  position: absolute;
  right: 0;
  top: 50%;
  bottom: auto;
  display: grid;
  grid-template-rows: 1fr;
  width: min(420px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 118px));
  overflow: hidden;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(9, 13, 24, 0.98), rgba(5, 7, 13, 0.98));
  box-shadow: 0 28px 80px -34px rgba(0, 212, 255, 0.75),
              0 18px 60px -30px rgba(124, 58, 237, 0.8);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(calc(-50% + 14px)) scale(0.98);
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility var(--dur) var(--ease-out);
}

.rag-assistant[data-open="true"] .rag-assistant__panel {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  visibility: visible;
}

.rag-assistant[data-open="true"] .rag-assistant__launcher {
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
}

.rag-assistant__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
}

.rag-assistant__head h2 {
  margin-top: 4px;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.rag-assistant__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.rag-assistant__status em {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.12);
}

.rag-assistant__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
}

.rag-assistant__close:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--surface-hi);
}

.rag-assistant__close svg {
  width: 18px;
  height: 18px;
}

.rag-assistant__messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.35) transparent;
}

.rag-msg {
  display: flex;
  gap: 9px;
  max-width: 92%;
  align-items: flex-start;
}

.rag-msg--user {
  align-self: flex-end;
  justify-content: flex-end;
}

.rag-msg__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  color: #001018;
  background: var(--grad);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.rag-msg--user .rag-msg__avatar {
  order: 2;
  color: var(--text);
  background: var(--surface-hi);
  border: 1px solid var(--border);
}

.rag-msg p {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  line-height: 1.58;
  white-space: pre-wrap;
}

.rag-msg--user p {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 5px;
  color: #001018;
  background: var(--grad);
  border-color: transparent;
  font-weight: 600;
}

.rag-msg--loading p {
  min-width: 74px;
}

.rag-assistant__suggestions {
  display: flex;
  gap: 8px;
  padding: 0 18px 14px;
  overflow-x: auto;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
.rag-assistant__suggestions::-webkit-scrollbar {
  display: none;                  /* Chrome / Safari */
}

.rag-assistant__suggestions button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  background: var(--surface);
  font-size: 12px;
  transition: color var(--dur), border-color var(--dur), background var(--dur);
}

.rag-assistant__suggestions button:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--surface-hi);
}

.rag-assistant__form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.82);
}

.rag-assistant__form textarea {
  width: 100%;
  max-height: 120px;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}

.rag-assistant__form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.06);
}

.rag-assistant__form textarea::placeholder {
  color: var(--text-mute);
}

.rag-assistant__form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #001018;
  background: var(--grad);
  box-shadow: 0 10px 26px -13px rgba(0, 212, 255, 0.8);
}

.rag-assistant__form button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.rag-assistant__form button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 560px) {
  .rag-assistant {
    right: 12px;
    bottom: 12px;
    top: auto;
    left: 12px;
    transform: none;
  }

  .rag-assistant__launcher {
    justify-self: end;
    width: 144px;
    height: 168px;
  }

  .rag-assistant__launcher-icon {
    width: 138px;
    height: 160px;
  }

  .rag-assistant__launcher-bubble {
    right: 108px;
    top: 10px;
    min-width: 104px;
    padding: 8px 10px;
  }

  .rag-assistant__launcher-bubble strong {
    font-size: 14px;
  }

  .rag-assistant__launcher-bubble small {
    font-size: 10px;
  }

  .rag-assistant__panel {
    top: auto;
    right: 0;
    left: 0;
    width: 100%;
    height: min(620px, calc(100vh - 92px));
    bottom: 64px;
    transform: translateY(14px) scale(0.98);
  }

  .rag-assistant[data-open="true"] .rag-assistant__panel {
    transform: translateY(0) scale(1);
  }

  .rag-assistant__suggestions {
    padding-bottom: 12px;
  }
}

/* =================================================================
   RAG ASSISTANT — KB Picker
================================================================= */
.rag-assistant__picker,
.rag-assistant__chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.rag-assistant__picker[hidden],
.rag-assistant__chat[hidden] {
  display: none;
}

/* Chat messages — let them fill remaining space */
.rag-assistant__chat .rag-assistant__messages {
  flex: 1;
  min-height: 0;
}

/* KB list container */
.rag-assistant__kb-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  overflow-y: auto;
}

/* KB card */
.rag-kb-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.rag-kb-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hi);
  background: var(--surface-hi);
  box-shadow: 0 12px 32px -14px rgba(0, 212, 255, 0.25);
}

.rag-kb-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.rag-kb-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(124, 58, 237, 0.1));
  border: 1px solid var(--border);
}

.rag-kb-card__icon svg {
  width: 26px;
  height: 26px;
}

.rag-kb-card:nth-child(2) .rag-kb-card__icon {
  color: var(--accent-3);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(0, 212, 255, 0.08));
}

.rag-kb-card:nth-child(3) .rag-kb-card__icon {
  color: var(--accent-2);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(0, 212, 255, 0.1));
}

.rag-kb-card__body {
  flex: 1;
  min-width: 0;
}

.rag-kb-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.rag-kb-card__body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.rag-kb-card__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-mute);
  transition: transform var(--dur) var(--ease-out), color var(--dur);
}

.rag-kb-card:hover .rag-kb-card__arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* Back / switch KB button */
.rag-assistant__back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
  flex-shrink: 0;
}

.rag-assistant__back:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--surface-hi);
}

.rag-assistant__back svg {
  width: 16px;
  height: 16px;
}

/* =================================================================
   FOOTER
================================================================= */
.footer {
  margin-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.5));
}

.footer__top {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.footer__brand p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 29ch;
}

.footer__phone {
  display: inline-flex;
  width: max-content;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
}

.footer__phone:hover {
  color: var(--accent);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--dur);
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__sysinfo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 6px var(--accent-3);
  animation: pulse 2s infinite;
}

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__phone { font-size: 1.5rem; }
}

/* =================================================================
   SCROLL-REVEAL
================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =================================================================
   ABOUT · STATS
================================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 1rem;
}
.stat {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.5;
  transition: opacity var(--dur);
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.stat:hover::after { opacity: 1; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  display: block;
  margin: 6px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.stat p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

.about__mission {
  max-width: 76ch;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.8;
  color: var(--text-dim);
}
.about__mission strong { color: var(--text); font-weight: 600; }

@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* =================================================================
   CAPABILITY STACK
================================================================= */
.stack {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  margin-top: 1rem;
}
.stack__layer {
  position: relative;
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur);
  isolation: isolate;
}
.stack__layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur);
  z-index: -1;
}
.stack__layer:hover { transform: translateY(-3px); border-color: var(--border-hi); background: var(--surface-hi); }
.stack__layer:hover::before { opacity: 1; }
.stack__layer--accent {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(0, 212, 255, 0.07));
  border-color: rgba(0, 212, 255, 0.32);
}
.stack__layer--accent::before { opacity: 1; }
.stack__idx {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
.stack__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(124, 58, 237, 0.1));
  border: 1px solid var(--border);
}
.stack__icon svg { width: 28px; height: 28px; }
.stack__layer--accent .stack__icon { color: var(--accent-2); }
.stack__layer h3 { font-size: 1.18rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.stack__layer p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.65; }
.stack__arrow {
  align-self: center;
  width: 26px;
  height: 12px;
  background: var(--accent);
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h18M14 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h18M14 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 1024px) {
  .stack { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stack__arrow { display: none; }
}
@media (max-width: 540px) { .stack { grid-template-columns: 1fr; } }

/* =================================================================
   LADDER (To C growth path)
================================================================= */
.ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
}
.ladder__step {
  position: relative;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform var(--dur), border-color var(--dur);
}
.ladder__step:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.ladder__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -9px;
  width: 18px; height: 1px;
  background: var(--accent);
  opacity: 0.4;
  z-index: 2;
}
.ladder__step--accent {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(0, 212, 255, 0.07));
  border-color: rgba(0, 212, 255, 0.32);
}
.ladder__idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  margin-bottom: 14px;
}
.ladder__step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.ladder__step p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; margin: 0; }

@media (max-width: 960px) {
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .ladder__step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) { .ladder { grid-template-columns: 1fr; } }

/* loop banner */
.loop-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.loop-banner__chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: rgba(0, 212, 255, 0.06);
  color: var(--text);
}
.loop-banner__chip--accent {
  background: var(--grad);
  color: #001018;
  border-color: transparent;
  box-shadow: 0 6px 18px -6px rgba(0, 212, 255, 0.5);
}
.loop-banner__arrow { width: 22px; height: 11px; color: var(--accent); opacity: 0.7; }
.loop-banner__label {
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--text-dim);
}
@media (max-width: 560px) { .loop-banner__label { margin-left: 0; width: 100%; } }

/* =================================================================
   ABOUT PAGE
================================================================= */
.about-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: var(--section-y);
}

.about-page .section__head {
  margin-bottom: 0;
}

/* =================================================================
   NAV DRAWER (mobile)
================================================================= */
.nav__drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  max-width: 1320px;
  margin: 10px auto 0;
  padding: 16px;
  background: rgba(8, 11, 22, 0.95);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
}
.nav__drawer[data-open="true"] { display: flex; }
.nav__drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-dim);
  font-size: 15px;
}
.nav__drawer-action {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-dim);
  background: transparent;
  text-align: left;
  font-size: 15px;
}
.nav__drawer a:hover { background: var(--surface); color: var(--text); }
.nav__drawer-action:hover { background: var(--surface); color: var(--text); }
.nav__drawer .btn { margin-top: 6px; }

/* =================================================================
   REDUCED MOTION
================================================================= */
@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;
  }
  .bg-grid, .bg-glow, #particles, .bg-lasers, .bg-scan { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =================================================================
   ABOUT PAGE — extended sections
================================================================= */

/* ① hero (first section sits under fixed nav) */
.about-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
}
.about-hero .section__title { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.about-hero .section__sub { font-size: clamp(0.82rem, 0.95vw, 0.92rem); }
.about-hero__meta { margin-top: clamp(2rem, 4vw, 3rem); }
.about-hero__meta li { align-items: center; text-align: center; }

/* tiers: 3-column variant */
.tiers--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .tiers--3 { grid-template-columns: 1fr; } }

/* hero inline doc link */
.hero__doclink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: center;
  font-size: 0.92rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease, ease);
}
.hero__doclink svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease, ease); }
.hero__doclink:hover { color: var(--text); }
.hero__doclink:hover svg { transform: translateX(3px); }

/* back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}
.back-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.back-link:hover { color: var(--text); }
.back-link:hover svg { transform: translateX(-3px); }

/* company-profile prose */
.profile-hero .section__head {
  max-width: 76ch;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  align-items: flex-start;
  margin-bottom: 0;
}
.profile-hero .section__sub { max-width: none; }
.profile { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.prose {
  max-width: 76ch;
  margin: 0 auto;
  color: var(--text-dim);
}
.prose p {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.95;
  margin: 0 0 1.1rem;
}
.prose strong { color: var(--text); }
.prose__h {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--text);
  margin: 2.6rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.prose__h:first-child { margin-top: 0; }
.prose__h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  margin: 1.8rem 0 0.7rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prose__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.prose__list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.85;
}
.prose__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ④ timeline */
.timeline {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0 0 0 8px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
  opacity: 0.5;
}
.timeline__item {
  position: relative;
  padding: 0 0 clamp(1.6rem, 3vw, 2.4rem) clamp(2rem, 4vw, 2.8rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -1px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}
.timeline__item--next .timeline__dot {
  border-color: var(--text-mute);
  box-shadow: none;
}
.timeline__date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent-3);
  margin-bottom: 6px;
}
.timeline__item--next .timeline__date { color: var(--text-mute); }
.timeline__body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text);
}
.timeline__body p { margin: 0; color: var(--text-dim); max-width: 64ch; line-height: 1.7; }
.timeline__item--next .timeline__body h3,
.timeline__item--next .timeline__body p { color: var(--text-mute); }

/* ⑥ leadership grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2rem) 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.team-card__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
}
.team-card__name { margin: 0 0 4px; font-family: var(--font-display); color: var(--text); font-size: 1.1rem; }
.team-card__role { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ⑦ gallery — 瀑布流 masonry（保留每张照片原始比例，不裁切）*/
.gallery {
  columns: 4 220px;
  column-gap: clamp(8px, 1.4vw, 14px);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 1100px) { .gallery { columns: 3 200px; } }
@media (max-width: 720px) { .gallery { columns: 2 150px; } }
.gallery__item {
  position: relative;
  margin: 0 0 clamp(8px, 1.4vw, 14px);
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: block;
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur) var(--ease-out);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 5, 10, 0.45));
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--empty {
  display: grid;
  place-items: center;
  cursor: default;
  border-style: dashed;
  border-color: var(--border-hi);
}
.gallery__item--empty span { color: var(--text-mute); font-size: 13px; font-family: var(--font-mono); }
.gallery__item--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.65), 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* lightbox overlay (used once real photos are added) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 4vmin;
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  position: absolute;
  top: 4vmin;
  right: 4vmin;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: var(--surface-hi);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ⑧ video grid — 竖屏 9:16 手机视频，居中三联 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 880px;
  margin-inline: auto;
}
@media (max-width: 720px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 460px) { .video-grid { grid-template-columns: 1fr; max-width: 320px; } }
.video-card {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.video-card--empty { border-style: dashed; border-color: var(--border-hi); }
.video-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
  color: var(--text);
}
.video-card__play svg { width: 24px; height: 24px; margin-left: 2px; }
.video-card figcaption {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
  font-family: var(--font-mono);
}

/* placeholder note */
.placeholder-note {
  margin: 1.2rem 0 0;
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ⑩ locations */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) { .locations { grid-template-columns: 1fr; } }
.location {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.location__city {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 10px;
}
.location__addr { margin: 0; color: var(--text-dim); line-height: 1.7; }
.location--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--grad-soft);
  border-color: var(--border-hi);
  text-decoration: none;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
.location--cta:hover { transform: translateY(-3px); border-color: var(--accent); }
.location__phone {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent-3);
}
.location__hint { color: var(--text-dim); font-size: 13px; }

/* about CTA strip */
.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 4vw, 2.8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.about-cta p { margin: 0; color: var(--text); font-size: clamp(1rem, 2vw, 1.2rem); }
