/* ============================================================
   WispIT Glass Design System
   Glassmorphic shell, neon-beam hero, pill buttons, reveal anim
   Palette: #0A0A0F base · #00F2FF neon cyan · #0D2020 teal deep
   ============================================================ */

/* ── Color overrides (extends design-tokens.css) ──────────────── */
:root {
  --bg-base:          #0A0A0F;
  --bg-surface:       #0D0D14;
  --bg-elevated:      #141420;
  --accent:           #00F2FF;
  --accent-dim:       #00C8D4;
  --accent-glow:      rgba(0, 242, 255, 0.18);
  --accent-glow-hot:  rgba(0, 242, 255, 0.50);
  --border-accent:    rgba(0, 242, 255, 0.22);
  --border-glass:     rgba(0, 242, 255, 0.10);
  --shadow-neon:      0 0 24px rgba(0, 242, 255, 0.40), 0 0 64px rgba(0, 242, 255, 0.15);
  --shadow-neon-hot:  0 0 40px rgba(0, 242, 255, 0.70), 0 0 100px rgba(0, 242, 255, 0.30);
  --beam-color:       #00F2FF;
}

/* ================================================================
   OLED SHARPENING SYSTEM
   True-black base · crisp text · GPU animations · tap polish
================================================================ */

/* ── True-black OLED roots ─────────────────────────────────────── */
:root {
  /* Deepen backgrounds so OLED pixels shut fully off */
  --bg-base:     #000000;   /* pure black — OLED pixels OFF       */
  --bg-surface:  #080808;   /* near-black for alternate sections  */
  --bg-elevated: #0F0F18;   /* elevated cards / dropdowns         */
}

/* ── HTML / body baseline ───────────────────────────────────────── */
html {
  /* Prevent flash of unstyled content on OLED */
  background: #000000;
  /* Crisp text rendering on all screens */
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;   /* prevent iOS font inflation  */
  text-size-adjust: 100%;
}

/* ── Body background ─────────────────────────────────────────── */
body {
  background-color: var(--bg-base);
  /* Subpixel font smoothing — crisp on OLED and Retina */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  /* Prevent layout shift from scrollbar width */
  scrollbar-gutter: stable;
}

/* ── Neon accent overrides ───────────────────────────────────── */
a { color: var(--accent); }
a:hover { color: var(--accent-dim); }

/* ================================================================
   HERO LIGHT BEAM SYSTEM
================================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
  /* Radial teal glow in center-right, matches Banter reference */
  background-image:
    radial-gradient(ellipse 70% 55% at 72% 40%, rgba(0, 110, 100, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 75%, rgba(0, 60, 80, 0.18) 0%, transparent 60%);
}

/* ── Beam container ─────────────────────────────────────────── */
.hero-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ── Individual beam ─────────────────────────────────────────── */
.beam {
  position: absolute;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 242, 255, 0.0) 5%,
    rgba(0, 242, 255, 0.7) 45%,
    rgba(0, 242, 255, 1.0) 50%,
    rgba(0, 242, 255, 0.7) 55%,
    rgba(0, 242, 255, 0.0) 95%,
    transparent 100%
  );
  filter: blur(0.4px);
  box-shadow:
    0 0 4px 1px rgba(0, 242, 255, 0.55),
    0 0 14px 3px rgba(0, 242, 255, 0.25),
    0 0 40px 8px rgba(0, 242, 255, 0.10);
  transform-origin: center center;
  will-change: transform, opacity;
}

/* ── Beam positions (mimic crossing lines from reference) ─────── */
/* Beam 1: top-right to bottom-left, steep */
.beam-1 {
  height: 130%;
  top: -20%;
  left: 62%;
  transform: rotate(35deg);
  opacity: 0.85;
}

/* Beam 2: top-left to bottom-right, shallow — forms the X */
.beam-2 {
  height: 130%;
  top: -20%;
  left: 26%;
  transform: rotate(-32deg);
  opacity: 0.75;
  width: 1px;
}

/* Beam 3: far right vertical slight tilt */
.beam-3 {
  height: 110%;
  top: -10%;
  left: 80%;
  transform: rotate(12deg);
  opacity: 0.45;
  width: 1px;
  box-shadow:
    0 0 3px 1px rgba(0, 242, 255, 0.3),
    0 0 10px 2px rgba(0, 242, 255, 0.12);
}

/* Beam 4: bottom-left ambient */
.beam-4 {
  height: 90%;
  bottom: -10%;
  left: 8%;
  transform: rotate(28deg);
  opacity: 0.30;
  width: 1px;
  box-shadow:
    0 0 3px 1px rgba(0, 242, 255, 0.25),
    0 0 8px 2px rgba(0, 242, 255, 0.10);
}

/* ── Beam intersection glow spot ────────────────────────────── */
.beam-intersection {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.20) 0%, transparent 70%);
  top: 28%;
  left: 47%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

/* Keep hero content above beams */
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-grid, .hero-glow { z-index: 1; }

/* ================================================================
   GLASS CARD SYSTEM
================================================================ */

.glass-card {
  background: rgba(12, 12, 20, 0.60);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Inner top highlight stripe */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.35) 50%, transparent 100%);
  pointer-events: none;
}

/* Subtle inner gradient tint */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.025) 0%, transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover {
  border-color: rgba(0, 242, 255, 0.22);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 242, 255, 0.08);
}

/* Featured / highlighted glass card */
.glass-card-featured {
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.12), var(--shadow-neon);
}
.glass-card-featured::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.55) 50%, transparent 100%);
}

/* ── Apply glass to existing .card ────────────────────────────── */
.card {
  background: rgba(12, 12, 20, 0.60) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--border-glass) !important;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.30) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  border-color: rgba(0, 242, 255, 0.20) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 242, 255, 0.06) !important;
  transform: translateY(-2px);
}

/* ── Apply glass to why-card ──────────────────────────────────── */
.why-card {
  background: rgba(12, 12, 20, 0.55) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass) !important;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth);
}

.why-card:hover {
  border-color: rgba(0, 242, 255, 0.18) !important;
  transform: translateY(-2px);
}

/* ── Apply glass to price-card ───────────────────────────────── */
.price-card {
  background: rgba(12, 12, 20, 0.60) !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border-glass) !important;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.25) 50%, transparent 100%);
  pointer-events: none;
}

.price-card.featured {
  border-color: rgba(0, 242, 255, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.10), var(--shadow-neon) !important;
}

.price-card.featured::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.55) 50%, transparent 100%);
}

.price-card:hover {
  border-color: rgba(0, 242, 255, 0.22) !important;
  transform: translateY(-3px);
}

/* ── Total Systems Care card (featured bundle) ───────────────── */
.price-card-bundle {
  background: linear-gradient(135deg, rgba(0, 40, 50, 0.65) 0%, rgba(12, 12, 20, 0.65) 100%) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(0, 242, 255, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.10), var(--shadow-neon) !important;
  position: relative;
  overflow: hidden;
}

.price-card-bundle::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.65) 50%, transparent 100%);
  pointer-events: none;
}

/* ── Apply glass to details/FAQ ──────────────────────────────── */
details {
  background: rgba(12, 12, 20, 0.55) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass) !important;
  transition: border-color var(--transition-smooth);
}

details:hover, details[open] {
  border-color: rgba(0, 242, 255, 0.18) !important;
}

/* ── Apply glass to contact-box ──────────────────────────────── */
.contact-box {
  background: rgba(12, 12, 20, 0.65) !important;
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  border: 1px solid var(--border-glass) !important;
}

/* ================================================================
   NEON BUTTON SYSTEM
================================================================ */

/* Override primary button — white pill (Option D) */
.btn-primary {
  background: #FFFFFF !important;
  color: #050B14 !important;
  border: none !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 18px rgba(255, 255, 255, 0.14), 0 0 36px rgba(255, 255, 255, 0.05) !important;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth) !important;
}

.btn-primary:hover {
  background: #E6FFFE !important;
  color: #050B14 !important;
  box-shadow: 0 4px 28px rgba(255, 255, 255, 0.20), 0 0 50px rgba(0, 196, 212, 0.10) !important;
  transform: translateY(-1px) scale(1.01) !important;
}

/* Secondary button: outlined neon pill */
.btn-secondary {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1.5px solid rgba(0, 242, 255, 0.45) !important;
  border-radius: 9999px !important;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth) !important;
}

.btn-secondary:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 16px rgba(0, 242, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* WhatsApp button stays green but gets pill shape */
.btn-whatsapp {
  border-radius: 9999px !important;
}

/* Nav CTA */
.nav-cta {
  background: #FFFFFF !important;
  color: #050B14 !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.12) !important;
}

/* ================================================================
   SECTION BACKGROUNDS
================================================================ */

/* Alternate sections get a very subtle teal tint */
section[style*="background: var(--bg-surface)"],
.section[style*="background: var(--bg-surface)"] {
  background: rgba(13, 13, 20, 0.95) !important;
}

/* Section ambient glow for hero-adjacent sections */
.section::before {
  display: none; /* reset — we handle per-section */
}

/* ── Glow divider upgrade ─────────────────────────────────────── */
.glow-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 255, 0.25) 50%, transparent 100%) !important;
  height: 1px !important;
}

/* ================================================================
   SCROLL REVEAL CLASSES (driven by motion.js)
================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ================================================================
   ACCENT COLOR OVERRIDES (token cascade)
================================================================ */

/* Accent-colored text, borders, and decorations already use
   var(--accent) which we've updated above. Some inline styles
   use the old #06B6D4 value — override them here. */

.logo-mark {
  background: linear-gradient(135deg, #0A1220, #050B14) !important;
  border: 1px solid rgba(0, 242, 255, 0.28) !important;
  box-shadow: 0 0 22px rgba(0, 242, 255, 0.32), inset 0 0 12px rgba(0, 242, 255, 0.08) !important;
}
.logo-mark svg { width: 22px !important; height: 22px !important; }

.hero-badge {
  border-color: rgba(0, 242, 255, 0.22) !important;
  background: rgba(0, 242, 255, 0.06) !important;
}

.hero-badge-dot {
  background: #00F2FF !important;
  box-shadow: 0 0 6px #00F2FF !important;
}

.price-amount {
  color: var(--accent) !important;
}

.section-tag {
  color: var(--accent) !important;
  border-color: rgba(0, 242, 255, 0.20) !important;
  background: rgba(0, 242, 255, 0.06) !important;
}

.step-num {
  color: rgba(0, 242, 255, 0.18) !important;
}

/* Nav border */
.nav {
  border-bottom-color: rgba(0, 242, 255, 0.08) !important;
}

/* Input focus ring */
.input:focus {
  border-color: rgba(0, 242, 255, 0.50) !important;
  box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.12) !important;
}

/* Contact box glow */
.contact-glow {
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 242, 255, 0.12) 0%, transparent 70%) !important;
}

/* ================================================================
   TIER BADGE OVERRIDES
================================================================ */

.tier-badge-1 {
  background: rgba(0, 242, 255, 0.10);
  color: var(--accent);
  border: 1px solid rgba(0, 242, 255, 0.22);
  font-size: 0.6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-2);
}

.tier-badge-2 {
  background: rgba(251, 191, 36, 0.10);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.22);
  font-size: 0.6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-2);
}

.tier-badge-3 {
  background: rgba(139, 92, 246, 0.12);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 0.6rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-2);
}

/* ================================================================
   REDUCED MOTION
================================================================ */

@media (prefers-reduced-motion: reduce) {
  .beam { display: none !important; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ================================================================
   GPU LAYER PROMOTION
   Forces beams, cards, and buttons onto compositor thread so
   OLED repaints never hit the CPU — battery + smoothness.
================================================================ */

.beam {
  /* Promote each beam to its own GPU layer */
  will-change: opacity;
  transform: var(--beam-transform, rotate(0deg)) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.beam-1 { --beam-transform: rotate(35deg); }
.beam-2 { --beam-transform: rotate(-32deg); }
.beam-3 { --beam-transform: rotate(12deg); }
.beam-4 { --beam-transform: rotate(28deg); }

/* Cards — promote on hover-ready state to avoid layer promotion jank */
.card,
.why-card,
.price-card,
.price-card-bundle,
.glass-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Buttons — compositor-only transforms */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Prevent 300ms tap delay on mobile */
  touch-action: manipulation;
  /* Remove tap highlight flash on iOS/Android */
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Nav — stable compositor layer */
.nav {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ================================================================
   MOBILE TAP POLISH
   Removes all default browser tap artifacts on OLED touch screens.
================================================================ */

a,
button,
[role="button"],
summary,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Buttons: no outline flash, explicit focus ring instead */
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(0, 242, 255, 0.60);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Inputs: crisp on mobile keyboards */
input, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ================================================================
   CRISP SVG + ICON RENDERING
   Ensures icons are pixel-sharp at every DPR (1x, 2x, 3x OLED).
================================================================ */

svg {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  /* Force crisp scaling */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Logo mark — always sharp */
.logo-mark svg,
.icon-box svg {
  shape-rendering: crispEdges;
}

/* ================================================================
   TYPOGRAPHY SHARPNESS
   Subpixel-aware settings for OLED + high-DPR mobile screens.
================================================================ */

h1, h2, h3, h4, h5, h6 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Tight optical kern on headings */
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

p, li, a, span, label, td, th {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mono text — always crisp for pricing / badges */
.price-amount,
[style*="font-mono"],
[style*="JetBrains"] {
  -webkit-font-smoothing: subpixel-antialiased;
  font-feature-settings: "tnum" 1, "kern" 1;  /* tabular nums for prices */
}

/* ================================================================
   HDR / P3 DISPLAY UPGRADE
   On wide-gamut OLED (iPhone 15 Pro, Galaxy S series, modern Mac)
   the neon cyan jumps to full P3 brightness — noticeably more
   vivid than sRGB clipped cyan.
================================================================ */

@media (color-gamut: p3) {
  :root {
    --accent:          color(display-p3 0.00 0.95 1.00);   /* P3 neon cyan   */
    --accent-dim:      color(display-p3 0.00 0.78 0.83);
    --accent-glow:     color(display-p3 0.00 0.95 1.00 / 0.18);
    --accent-glow-hot: color(display-p3 0.00 0.95 1.00 / 0.50);
  }

  .btn-primary {
    background: color(display-p3 0.00 0.95 1.00) !important;
    box-shadow:
      0 0 20px color(display-p3 0.00 0.95 1.00 / 0.55),
      0 0 50px color(display-p3 0.00 0.95 1.00 / 0.22) !important;
  }

  .hero-badge-dot {
    background: color(display-p3 0.00 0.95 1.00) !important;
    box-shadow: 0 0 8px color(display-p3 0.00 0.95 1.00) !important;
  }

  .beam {
    box-shadow:
      0 0 4px 1px color(display-p3 0.00 0.95 1.00 / 0.65),
      0 0 14px 3px color(display-p3 0.00 0.95 1.00 / 0.30),
      0 0 40px 8px color(display-p3 0.00 0.95 1.00 / 0.12);
  }
}

/* ================================================================
   TRUE-BLACK SECTION OVERRIDES
   Sections that use --bg-surface need to hit near-true-black so
   OLED pixels go dark between content islands.
================================================================ */

section[style*="background: var(--bg-surface)"],
.section[style*="background: var(--bg-surface)"] {
  background: #080808 !important;
}

.footer {
  background: #000000 !important;
}

/* ================================================================
   SCROLL PERFORMANCE
   Hint the browser that these containers scroll so it pre-rasters
   on a separate layer — reduces OLED jank on fling-scroll.
================================================================ */

html {
  scroll-behavior: smooth;
}

/* ================================================================
   PREMIUM POLISH UPGRADE
   Volumetric bloom · section-divider pills · trust badges ·
   hero visual card · deep navy atmosphere
================================================================ */

/* ── Deep navy atmosphere (still OLED-dark, has depth) ───────── */
:root {
  --bg-base:     #050B14;
  --bg-surface:  #080F1A;
  --bg-elevated: #0D1526;
}

html { background: #050B14; }
body { background-color: var(--bg-base); }

/* ── Volumetric hero bloom ───────────────────────────────────── */
.hero-bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Primary cone: upper-left sweep */
    radial-gradient(ellipse 85% 65% at 12% -15%,
      rgba(120, 180, 255, 0.20) 0%,
      rgba(60,  120, 220, 0.10) 38%,
      transparent 65%),
    /* Secondary: right-side teal haze */
    radial-gradient(ellipse 50% 45% at 88% 22%,
      rgba(0, 200, 240, 0.12) 0%,
      transparent 58%),
    /* Floor: deep cyan glow rising from bottom */
    radial-gradient(ellipse 70% 35% at 50% 115%,
      rgba(0, 100, 130, 0.08) 0%,
      transparent 60%);
}

/* ── Section divider: ——— • Label • ——— ──────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-6);
  width: 100%;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
}

.section-divider::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 100%);
}

.section-divider::after {
  background: linear-gradient(270deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 100%);
}

.section-divider > span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Accent variant for highlighted sections */
.section-divider.sd-accent > span {
  color: var(--accent);
  background: rgba(0, 242, 255, 0.06);
  border-color: rgba(0, 242, 255, 0.16);
}

.section-divider.sd-accent::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 242, 255, 0.12) 100%);
}

.section-divider.sd-accent::after {
  background: linear-gradient(270deg,
    transparent 0%,
    rgba(0, 242, 255, 0.12) 100%);
}

/* Center variant (contact, CTA sections) */
.section-divider.sd-center {
  justify-content: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Trust badge row ─────────────────────────────────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-row-label {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-3);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: default;
}

.trust-badge:hover {
  border-color: rgba(0, 242, 255, 0.20);
  background: rgba(0, 242, 255, 0.04);
  color: var(--text-primary);
}

.trust-badge svg {
  flex-shrink: 0;
  opacity: 0.55;
}

/* ── Hero 2-column layout ────────────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .hero-visual-wrap {
    display: none;
  }
}

.hero-left {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-left .hero-sub {
  margin-left: 0;
  margin-right: 0;
}

.hero-left .hero-actions {
  justify-content: flex-start;
}

/* ── Floating system health card ─────────────────────────────── */
.hero-visual-wrap {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.hero-visual-card {
  background: rgba(8, 14, 28, 0.82);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
  will-change: transform;
}

.hero-visual-card:hover {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.70),
    0 0 0 1px rgba(0, 242, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 242, 255, 0.45),
    transparent);
  border-radius: 18px 18px 0 0;
}

.hvc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hvc-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.hvc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #22c55e;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.hvc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: hvc-pulse 2.2s ease-in-out infinite;
}

@keyframes hvc-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
  50%       { opacity: 0.45; box-shadow: 0 0 2px #22c55e; }
}

.hvc-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hvc-metric:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.hvc-metric-lbl {
  font-size: 0.73rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hvc-metric-val {
  font-size: 0.80rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.hvc-metric-val.v-green { color: #22c55e; }
.hvc-metric-val.v-cyan  { color: var(--accent); }
.hvc-metric-val.v-dim   { color: var(--text-secondary); }

.hvc-bar-wrap {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 5px;
  overflow: hidden;
}

.hvc-bar {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), #0097a8);
  width: 97.3%;
  position: relative;
}

.hvc-bar-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.60rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Ambient float animation on the card */
.hero-visual-wrap {
  animation: hvc-float 6s ease-in-out infinite;
}

@keyframes hvc-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── Section tag upgrade: keep compatibility ─────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--accent) !important;
  background: rgba(0, 242, 255, 0.06) !important;
  border: 1px solid rgba(0, 242, 255, 0.16) !important;
  padding: 5px 16px !important;
  border-radius: 9999px !important;
  margin-bottom: var(--space-4) !important;
}

/* ── True-black section overrides (updated for navy) ─────────── */
section[style*="background: var(--bg-surface)"],
.section[style*="background: var(--bg-surface)"] {
  background: #080F1A !important;
}

.footer {
  background: #050B14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

@supports (overflow: overlay) {
  body { overflow-y: overlay; }
}

/* ================================================================
   REDUCED MOTION (already declared above — keep in sync)
================================================================ */
