/* ==========================================================================
   TIBERIUS RECON™ — 21ST.DEV ("G3") DARK GLASS, OKLCH & WEBGL DESIGN SYSTEM
   ==========================================================================
   Architecture & Visual System engineered from https://21st.dev/ (G3):
   - Surface Hierarchy:
     • Canvas / Body:       oklch(14.1% 0.004 285.824) (#09090B)
     • Deep Stage / Well:   oklch(12.5% 0.002 286)     (#060608)
     • Elevated Bento Card: oklch(16.2% 0.004 286)     (#0F0F12)
     • Inner Media Plate:   oklch(19.0% 0.004 286)     (#131317)
     • Hover Surface:       oklch(22.5% 0.005 286)     (#1A1A20)
   - Brand & Semantic Accents:
     • Electric Cobalt:     oklch(48.5% 0.291 264.121) (#0034FF) -> Hover #2A52FF
     • Cobalt Highlight:    #4F6FFF
     • Verified Emerald:    oklch(69.8% 0.134 165.463) (#10B981) -> CTA #059669
     • Permit Alert Amber:  oklch(76.9% 0.188 70.08)   (#F59E0B)
     • Trap / Danger Rose:  #F43F5E
   - Signature 21st.dev Effects:
     • 7-Layer Progressive Backdrop-Blur Header (.g3-glass-bar, .g3-pb-1..7)
     • WebGL1 'silk' Shader Canvas (.g3-hero-bg-canvas & .g5-seam-canvas)
     • 3D Scroll-Tilted Interactive Stage (.g3-tilt, .hero-video-frame)
     • Conic Rotating Ring Glow (@property --lp-angle, @keyframes lp-ring-spin)
     • Border-Dissolving FAQ Accordion (.g3-faq / .faq-accordion-item)
     • Tilted -8deg Drifting Telemetry Marquee (.g-closing-bg)
     • Canvas 2D Pixel-Grid Wordmark Footer (.g3-footer-pixel-canvas)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

@property --lp-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root,
.dark,
.g-root,
.g3-root {
  color-scheme: dark;

  /* 21st.dev G3 Core OKLCH & Hex Tokens */
  --background: oklch(14.1% 0.004 285.824);
  --foreground: oklch(96.8% 0.001 286.375);
  --card: oklch(16.2% 0.004 286);
  --card-foreground: oklch(96.8% 0.001 286.375);
  --popover: oklch(16.2% 0.004 286);
  --popover-foreground: oklch(96.8% 0.001 286.375);
  --primary: oklch(48.5% 0.291 264.121);
  --primary-hex: #0034FF;
  --primary-hover: #2A52FF;
  --primary-foreground: oklch(98.5% 0 0);
  --g3-light: #4F6FFF;
  --secondary: oklch(21% 0.006 285.883);
  --secondary-foreground: oklch(96.8% 0.001 286.375);
  --muted: oklch(19% 0.004 286);
  --muted-foreground: oklch(65.4% 0.014 286.01);
  --accent: oklch(22.5% 0.006 286);
  --accent-foreground: oklch(96.8% 0.001 286.375);

  /* Surface & Border Hierarchy (Ultra-Dark Matte Obsidian 21st.dev Bento Template) */
  --bg-white: #050507;
  --bg-offwhite-slate: #060608;
  --bg-offwhite-stone: #050507;
  --bg-card: #0B0B0E;
  --bg-card-subtle: #101014;

  --ink-primary: #F4F4F5;
  --ink-body: #D4D4D8;
  --ink-muted: #8E8E98;

  --accent-navy: #0034FF;
  --accent-blue: #4F6FFF;
  --accent-emerald: #10B981;
  --accent-emerald-hover: #059669;
  --accent-amber: #F59E0B;
  --accent-amber-bg: rgba(245, 158, 11, 0.1);

  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-input: rgba(255, 255, 255, 0.11);
  --g-r-card: 20px;
  --g-r-media: 14px;
  --g-r-btn: 10px;
  --g-lift: 0 1px 2px rgba(0, 0, 0, 0.75), 0 24px 60px -32px rgba(0, 0, 0, 0.95);
  --g-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 1px 2px rgba(0, 0, 0, 0.7), 0 24px 56px -32px rgba(0, 0, 0, 0.92);
  --shadow-card-hover: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 28px 68px -28px rgba(0, 0, 0, 0.96);
  --shadow-elevated: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 36px 90px -28px rgba(0, 0, 0, 0.96);

  /* Typography */
  --font-sans: 'General Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'General Sans', 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #050507;
  color: #D4D4D8;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

::selection {
  background: rgba(0, 52, 255, 0.45);
  color: #FFFFFF;
}

/* Typography Utilities */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.038em;
}

.font-mono-telemetry {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   SECTION BACKGROUNDS (ULTRA-DARK MATTE OBSIDIAN 21ST.DEV TEMPLATE)
   ========================================================================== */
.section-bg-white {
  background-color: #050507;
  position: relative;
}

.section-bg-stone {
  background-color: #050507;
  position: relative;
}

.section-bg-alabaster {
  background-color: #060608;
  position: relative;
}

/* Matte Obsidian Surface for Back-Office Portals */
.bg-subtle-grid {
  background-color: #050507;
}

/* ==========================================================================
   21ST.DEV 7-LAYER PROGRESSIVE BACKDROP-BLUR NAVBAR (.enterprise-navbar)
   ========================================================================== */
.enterprise-navbar {
  position: relative;
  z-index: 100;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  transition: background-color 0.24s var(--g-ease), box-shadow 0.24s var(--g-ease), border-color 0.24s var(--g-ease);
}

@media (min-width: 768px) {
  .enterprise-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
  }
}

.enterprise-navbar.is-scrolled {
  background: rgba(5, 5, 7, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.9);
}

/* 7-Layer Progressive Blur Stack (Exact 21st.dev G3 implementation) */
.g3-glass-bar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.g3-glass-bar .g3-pb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.g3-glass-bar .g3-pb-1 {
  z-index: 1;
  -webkit-backdrop-filter: blur(0.5px);
  backdrop-filter: blur(0.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}
.g3-glass-bar .g3-pb-2 {
  z-index: 2;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 92%);
}
.g3-glass-bar .g3-pb-3 {
  z-index: 3;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 56%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 56%, transparent 84%);
}
.g3-glass-bar .g3-pb-4 {
  z-index: 4;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 74%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 74%);
}
.g3-glass-bar .g3-pb-5 {
  z-index: 5;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 32%, transparent 62%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 32%, transparent 62%);
}
.g3-glass-bar .g3-pb-6 {
  z-index: 6;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 20%, transparent 50%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 20%, transparent 50%);
}
.g3-glass-bar .g3-pb-7 {
  z-index: 7;
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 38%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 38%);
}
.g3-glass-bar .g3-dim {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: linear-gradient(
    to bottom,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(9, 9, 11, 0.55) 60%,
    rgba(9, 9, 11, 0.14) 100%
  );
}

.enterprise-navbar > *:not(.g3-glass-bar) {
  position: relative;
  z-index: 10;
}

.brand-logo,
.enterprise-navbar .brand-logo,
#command-navbar .brand-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  width: 100% !important;
  max-width: 100% !important;
}

/* Pure White Logo Treatment (logo4.png — 100% Crisp White with "THE BAD BOYS OF AI." under it)
   Mobile (<768px): 85% width (15% reduced from 100% full-bleed) centered across the mobile header */
.brand-logo-img,
.enterprise-navbar .brand-logo-img,
#command-navbar .brand-logo-img {
  width: 85% !important;
  max-width: 85% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

@media (min-width: 768px) {
  .brand-logo,
  .enterprise-navbar .brand-logo,
  #command-navbar .brand-logo {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-img,
  .enterprise-navbar .brand-logo-img,
  #command-navbar .brand-logo-img {
    height: 73px !important;
    max-height: 73px !important;
    width: auto !important;
    max-width: 306px !important;
    margin: 0 !important;
  }
}

footer .brand-logo {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 238px;
  object-fit: contain;
  display: block;
  filter: none;
}

/* ==========================================================================
   WEBGL1 'SILK' HERO STAGE & G5 SEAM LIGHTS
   ========================================================================== */
.g3-hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.g3-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 48% at 50% 16%, rgba(0, 52, 255, 0.22) 0%, rgba(0, 16, 63, 0.1) 46%, transparent 74%),
    #050507;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}

.g3-hero-bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.48;
}

.g3-hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 84% 66% at 50% 35%, transparent 30%, #050507 92%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.35) 0%, transparent 25%, transparent 70%, #050507 100%);
}

.g3-hero-stage > *:not(.g3-hero-bg) {
  position: relative;
  z-index: 2;
}

/* G5 Section Seam Lights (Subtle dark horizon seam) */
.g5-lights {
  position: relative;
  height: 90px;
  margin-top: -45px;
  margin-bottom: -45px;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 46% 36% at 50% 50%, #000 8%, transparent 68%);
  mask-image: radial-gradient(ellipse 46% 36% at 50% 50%, #000 8%, transparent 68%);
}

.g5-seam {
  position: absolute;
  left: 0;
  right: 0;
  height: 55%;
  opacity: 0.35;
  filter: blur(14px);
}

.g5-seam-top {
  top: 0;
  transform: scaleY(-1);
}

.g5-seam-bottom {
  bottom: 0;
}

.g5-seam-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.g5-lights-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 48% 38% at 50% 50%,
    rgba(0, 52, 255, 0.16) 0%,
    rgba(79, 111, 255, 0.06) 42%,
    transparent 72%
  );
}

/* ==========================================================================
   21ST.DEV ULTRA-DARK MATTE BENTO CARD SURFACES (.enterprise-card, .g-cell)
   ========================================================================== */
.enterprise-card,
.g-cell {
  background: #0B0B0E;
  border: 1px solid rgba(255, 255, 255, 0.072);
  border-radius: var(--g-r-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s var(--g-ease), box-shadow 0.24s var(--g-ease), border-color 0.24s var(--g-ease);
}

.enterprise-card:hover,
.enterprise-card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 255, 255, 0.13);
}

.enterprise-subtle-card {
  background-color: #101014;
  border: 1px solid rgba(250, 250, 252, 0.08);
  box-shadow: var(--shadow-card);
}

/* Conic Rotating Cobalt Border Glow on Featured Pricing Card */
@keyframes lp-ring-spin {
  to {
    --lp-angle: 360deg;
  }
}

.g3-conic-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 52, 255, 0.24) 0%, rgba(14, 14, 19, 0.97) 62%),
    #0E0E13 !important;
  border: 1px solid rgba(79, 111, 255, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 70px -20px rgba(0, 52, 255, 0.4),
    0 12px 32px -10px rgba(0, 0, 0, 0.9) !important;
}

/* Verified Emerald Primary CTA Button */
.btn-trust-emerald {
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 10px 28px -10px rgba(16, 185, 129, 0.65);
  transition: background 0.18s var(--g-ease), transform 0.18s var(--g-ease), box-shadow 0.18s var(--g-ease);
}

.btn-trust-emerald:hover {
  background: linear-gradient(180deg, #34D399 0%, #059669 100%);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 6px 18px -2px rgba(16, 185, 129, 0.8);
}

.btn-trust-emerald:active {
  transform: translateY(0);
}

/* 21st.dev Electric Cobalt Button (.btn-executive-navy) */
.btn-executive-navy {
  background: linear-gradient(180deg, #1E4BFF 0%, #0034FF 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 10px 28px -10px rgba(0, 52, 255, 0.85);
  transition: background 0.18s var(--g-ease), transform 0.18s var(--g-ease), box-shadow 0.18s var(--g-ease);
}

.btn-executive-navy:hover {
  background: linear-gradient(180deg, #3B66FF 0%, #1442FF 100%);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 24px -4px rgba(0, 52, 255, 0.95);
}

/* Dark Glass Secondary Button (.btn-outline-slate) */
.btn-outline-slate {
  background: rgba(255, 255, 255, 0.05);
  color: #F4F4F5 !important;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background-color 0.18s var(--g-ease), border-color 0.18s var(--g-ease), transform 0.18s var(--g-ease);
}

.btn-outline-slate:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(79, 111, 255, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   CHAPTER 1: 16:9 EXECUTIVE VIDEO OVERVIEW CARD (.hero-video-frame & 3D Tilt)
   ========================================================================== */
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(95% 85% at 50% 0%, rgba(0, 52, 255, 0.25) 0%, rgba(12, 12, 17, 0.98) 70%),
    #0B0B10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  cursor: pointer;
  transform-origin: center top;
  transform: perspective(1200px)
    rotateX(calc((1 - var(--tilt-progress, 0.55)) * 7deg))
    scale(calc(0.975 + var(--tilt-progress, 0.55) * 0.025));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-video-frame:hover {
  transform: perspective(1200px) rotateX(0deg) scale(1.005);
  border-color: rgba(79, 111, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 32px 80px -16px rgba(0, 52, 255, 0.42),
    0 12px 32px rgba(0, 0, 0, 0.85);
}

.hero-video-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(79, 111, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 111, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.video-play-overlay-btn {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #1E4BFF 0%, #0034FF 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 8px rgba(0, 52, 255, 0.25),
    0 14px 34px -4px rgba(0, 0, 0, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--g-ease), background 0.2s var(--g-ease), box-shadow 0.2s var(--g-ease);
}

.hero-video-frame:hover .video-play-overlay-btn {
  transform: scale(1.08);
  background: linear-gradient(180deg, #3B66FF 0%, #1442FF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 10px rgba(0, 52, 255, 0.35),
    0 18px 40px -4px rgba(0, 52, 255, 0.65);
}

@media (max-width: 480px) {
  .video-play-overlay-btn {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   CHAPTER 3: 7:00 AM "SILVER PLATTER" DEAL CARDS & LOCKED VAULT
   ========================================================================== */
.outreach-draft-box {
  background-color: #09090D;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid #0034FF;
  border-radius: 0.75rem;
  color: #E4E4E7;
  font-size: 0.875rem;
  line-height: 1.58;
  padding: 0.875rem 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.redacted-preview-text {
  filter: blur(3.5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.72;
}

.locked-vault-panel {
  background: linear-gradient(135deg, #162038 0%, #11182B 100%) !important;
  border: 1px solid rgba(99, 130, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 44px -18px rgba(0, 0, 0, 0.75);
}

.locked-vault-pill {
  background-color: rgba(30, 41, 66, 0.92) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   CHAPTER 4: PRICING OFFENSE + DEFENSE TOGGLE & RENT-TO-OWN BAR
   ========================================================================== */
.pricing-toggle-shell {
  background-color: #0E0E13;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.pricing-mode-btn {
  transition: all 0.2s var(--g-ease);
  cursor: pointer;
  color: #A1A1AA;
}

.pricing-mode-btn.is-active {
  background: linear-gradient(180deg, #1E4BFF 0%, #0034FF 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 24px -6px rgba(0, 52, 255, 0.7);
}

.pricing-mode-btn.is-active-bundle {
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 24px -6px rgba(16, 185, 129, 0.65);
}

.equity-bar-fill {
  background: linear-gradient(90deg, #0034FF 0%, #4F6FFF 50%, #10B981 100%);
  transition: width 0.4s ease;
}

/* ==========================================================================
   CHAPTER 5: 21ST.DEV BORDER-DISSOLVING FAQ ACCORDION (.faq-accordion-item)
   ========================================================================== */
.faq-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 14px;
  transition: background-color 0.22s var(--g-ease), box-shadow 0.22s var(--g-ease), border-color 0.22s var(--g-ease);
}

.faq-accordion-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-accordion-item.is-open {
  background-color: #121217;
  border-bottom-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(79, 111, 255, 0.32),
    0 18px 40px -22px rgba(0, 0, 0, 0.8);
  margin-top: 6px;
  margin-bottom: 6px;
}

.faq-accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: #F4F4F5;
  transition: color 0.18s ease;
}

.faq-accordion-trigger:hover {
  color: #6E8BFF;
}

.faq-chevron {
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.faq-accordion-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background-color: rgba(0, 52, 255, 0.25) !important;
  color: #6E8BFF !important;
}

.faq-accordion-content {
  display: none;
  padding-bottom: 1.35rem;
  color: #D4D4D8;
  line-height: 1.65;
}

.faq-accordion-item.is-open .faq-accordion-content {
  display: block;
}

/* ==========================================================================
   CHAPTER 6: TERRITORY ACTIVATION VAULT INPUTS & -8DEG DRIFTING MARQUEE
   ========================================================================== */
.enterprise-input,
.enterprise-select {
  width: 100%;
  background-color: #0B0B0F !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 0.75rem;
  color: #F4F4F5 !important;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.enterprise-input::placeholder {
  color: #71717A !important;
}

.enterprise-input:focus,
.enterprise-select:focus {
  outline: none;
  background-color: #111118 !important;
  border-color: #4F6FFF !important;
  box-shadow:
    0 0 0 3px rgba(0, 52, 255, 0.28),
    inset 0 1px 2px rgba(0, 0, 0, 0.55);
}

.enterprise-select option {
  background-color: #111116;
  color: #F4F4F5;
}

.vault-choice-pill {
  background-color: #131318;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D4D4D8;
  transition: all 0.15s ease;
  cursor: pointer;
}

.vault-choice-pill:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  background-color: #1B1B22;
}

.vault-choice-pill.is-selected {
  background-color: rgba(0, 52, 255, 0.2);
  border-color: #4F6FFF;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 0 1px #4F6FFF;
}

/* 21st.dev -8deg Tilted Drifting Marquee Backdrop (.g-closing-stage) */
@keyframes g-closing-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.g-closing-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.g-closing-bg {
  position: absolute;
  inset: -120px -20%;
  z-index: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  transform: rotate(-8deg);
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 68% 62% at 50% 50%, #000 10%, transparent 78%);
}

.g-closing-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: g-closing-drift 52s linear infinite;
}

.g-closing-row-reverse {
  animation-direction: reverse;
  animation-duration: 60s;
}

.g-closing-tile {
  width: 290px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #A1A1AA;
  flex-shrink: 0;
}

.g-closing-stage > *:not(.g-closing-bg) {
  position: relative;
  z-index: 2;
}

/* 21st.dev Canvas 2D Pixel-Grid Wordmark Footer */
.g3-footer-pixel-wrap {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 100px;
  margin: 28px auto 0;
  overflow: hidden;
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(to bottom, #000 20%, rgba(0, 0, 0, 0.15) 100%);
}

.g3-footer-pixel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   G3 DARK-MODE HARMONIZATION FOR TAILWIND UTILITY CLASSES
   Transforms legacy light-mode utility classes across index.html, login.html,
   briefing.html, and command.html into cohesive 21st.dev dark glass surfaces.
   ========================================================================== */
.g-root .bg-white,
.g-root .bg-\[\#F8FAFC\],
.g-root .bg-\[\#F4F4F0\] {
  background-color: #0B0B0E !important;
}

.g-root .bg-slate-50,
.g-root .bg-slate-50\/70,
.g-root .bg-slate-50\/80 {
  background-color: #101014 !important;
}

.g-root .bg-slate-100,
.g-root .bg-slate-200 {
  background-color: #16161C !important;
}

.g-root .hover\:bg-slate-50:hover,
.g-root .hover\:bg-slate-100:hover,
.g-root .hover\:bg-slate-200:hover {
  background-color: #1C1C24 !important;
}

.g-root .text-\[\#0F172A\],
.g-root .text-slate-900,
.g-root .text-slate-800 {
  color: #F4F4F5 !important;
}

.g-root .text-\[\#334155\],
.g-root .text-slate-700 {
  color: #D4D4D8 !important;
}

.g-root .text-\[\#64748B\],
.g-root .text-slate-600,
.g-root .text-slate-500,
.g-root .text-slate-400 {
  color: #90909A !important;
}

/* Cobalt / Navy Accents */
.g-root .text-\[\#1E3A8A\],
.g-root .text-\[\#1E40AF\],
.g-root .text-blue-950,
.g-root .text-blue-900,
.g-root .text-blue-800,
.g-root .text-blue-700 {
  color: #7C96FF !important;
}

.g-root .hover\:text-blue-700:hover,
.g-root .hover\:text-blue-900:hover {
  color: #A3B6FF !important;
}

.g-root .bg-blue-50,
.g-root .bg-blue-50\/90,
.g-root .bg-blue-50\/80,
.g-root .bg-blue-50\/70,
.g-root .bg-blue-50\/60,
.g-root .bg-blue-50\/50,
.g-root .bg-blue-50\/40,
.g-root .bg-blue-50\/30 {
  background-color: rgba(0, 52, 255, 0.14) !important;
}

.g-root .border-blue-100,
.g-root .border-blue-200,
.g-root .border-blue-300 {
  border-color: rgba(79, 111, 255, 0.35) !important;
}

/* Emerald Accents */
.g-root .bg-emerald-50,
.g-root .bg-emerald-50\/50,
.g-root .bg-emerald-50\/60,
.g-root .bg-emerald-50\/70,
.g-root .bg-emerald-50\/80,
.g-root .bg-emerald-50\/90 {
  background-color: rgba(16, 185, 129, 0.12) !important;
}

.g-root .text-emerald-950,
.g-root .text-emerald-900,
.g-root .text-emerald-800,
.g-root .text-emerald-700 {
  color: #34D399 !important;
}

.g-root .border-emerald-200,
.g-root .border-emerald-200\/70,
.g-root .border-emerald-300 {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

/* Amber Accents */
.g-root .bg-\[\#FEF3C7\],
.g-root .bg-amber-50,
.g-root .bg-amber-50\/70,
.g-root .bg-amber-50\/80 {
  background-color: rgba(245, 158, 11, 0.13) !important;
}

.g-root .text-\[\#D97706\],
.g-root .text-amber-950,
.g-root .text-amber-900,
.g-root .text-amber-800,
.g-root .text-amber-700 {
  color: #FBBF24 !important;
}

.g-root .border-amber-200,
.g-root .border-amber-300 {
  border-color: rgba(245, 158, 11, 0.32) !important;
}

/* Rose / Trap Accents */
.g-root .bg-\[\#FEE2E2\],
.g-root .bg-rose-50,
.g-root .bg-rose-50\/60,
.g-root .bg-rose-50\/80,
.g-root .bg-rose-100 {
  background-color: rgba(244, 63, 94, 0.13) !important;
}

.g-root .text-rose-900,
.g-root .text-rose-800,
.g-root .text-rose-700,
.g-root .text-rose-600 {
  color: #FB7185 !important;
}

.g-root .border-rose-200,
.g-root .border-rose-300 {
  border-color: rgba(244, 63, 94, 0.32) !important;
}

/* Structural Hairline Borders */
.g-root .border-slate-100,
.g-root .border-slate-200,
.g-root .border-slate-200\/80,
.g-root .border-slate-300,
.g-root .border-\[\#E2E8F0\],
.g-root .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
.g-root .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(255, 255, 255, 0.085) !important;
}

/* Reduced Motion Guardrail */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video-frame {
    transform: none !important;
  }
}
