/* ========================================
   Infinity of Ashe — Main Site Styles
   Premium STR Cleaning & Property Care
   
   🔒 STABLE FREEZE — February 5, 2026
   Single authority blocks: Base → Theme → Background System → Overrides
   
   CRITICAL RULES:
   1. No new :root blocks except inside the Graphite Theme section
   2. No global nukes of pseudo-elements (use scoped selectors only)
   3. Phase 6FINAL is authoritative for page-scoped backgrounds
   4. Do not remove body[data-bg]::before from CSS or apply transparent to it
   
   ======================================== */

:root {
  /* ========== GRAPHITE THEME SECTION ========== */
  
  /* Brand Colors */
  --primary: #1a5490;
  --primary-dark: #0d3d6b;
  --primary-light: #2866a8;
  --accent: #e67e22;
  --accent-hover: #d35400;
  
  /* Neutral Palette (Light — used for bases only) */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
  
  /* Spacing */
  --section-spacing: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --container-wide: 1400px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ========== HYBRID ACCENT COLORS ========== */
  --hybrid-green: #10b981;
  --hybrid-green-glow: rgba(16, 185, 129, 0.4);
  --hybrid-pink: #ec4899;
  --hybrid-pink-glow: rgba(236, 72, 153, 0.4);
  --hybrid-cyan: #06b6d4;
  --hybrid-cyan-glow: rgba(6, 182, 212, 0.3);
  
  /* ========== GLASS MORPHISM ========== */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* ========== ENHANCED SHADOWS WITH GLOW ========== */
  --glow-green: 0 0 20px var(--hybrid-green-glow);
  --glow-pink: 0 0 20px var(--hybrid-pink-glow);
  --glow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  
  /* ========== GRAPHITE DARK PALETTE (Computed Winners) ========== */
  --bg-primary: #0f1115;
  --bg-secondary: #111318;
  --bg-surface: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* ========== REMAPPED SLATE FOR DARK OUTPUT ========== */
  /* Final computed values from Phase 4 slate remaps (no logic change, just consolidation) */
  --slate-400-dark: rgba(229, 231, 235, 0.72);
  --slate-500-dark: rgba(229, 231, 235, 0.82);
  --slate-600-dark: rgba(243, 244, 246, 0.92);
  --slate-700-dark: rgba(243, 244, 246, 0.95);
  --slate-800-dark: rgba(249, 250, 251, 0.97);
  --slate-900-dark: rgba(255, 255, 255, 0.98);
}

/* ========================================
   Base & Reset
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(243, 244, 246, 0.88);
  background: var(--bg-primary);
}

/* ========================================
   HOMEPAGE ATMOSPHERE LAYER
   Visual-only enhancement
   Homepage scoped (data-page="home")
   No layout impact
   Safe under CSS Freeze
   ======================================== */

body[data-page="home"] {
  background:
    /* Cyan circle 1 - subtle */
    radial-gradient(
      circle 50px,
      rgba(0, 255, 255, 0.35),
      transparent 50px
    ) 85% 10% / 100px 100px no-repeat,
    /* Purple circle 2 - subtle */
    radial-gradient(
      circle 60px,
      rgba(138, 43, 226, 0.3),
      transparent 60px
    ) 10% 50% / 120px 120px no-repeat,
    /* Pink circle outline */
    radial-gradient(
      circle 45px,
      transparent 42px,
      rgba(255, 0, 127, 0.4) 42px,
      rgba(255, 0, 127, 0.4) 47px,
      transparent 47px
    ) 70% 75% / 90px 90px no-repeat,
    /* Green glow subtle */
    radial-gradient(
      circle 70px,
      rgba(0, 255, 150, 0.25),
      transparent 70px
    ) 50% 85% / 140px 140px no-repeat,
    /* Blue accent subtle */
    radial-gradient(
      circle 55px,
      rgba(0, 100, 255, 0.28),
      transparent 55px
    ) 30% 25% / 110px 110px no-repeat,
    /* Pure black background */
    #000000 !important;
  animation: subtleFloat 25s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% {
    background-position:
      85% 10%,
      10% 50%,
      70% 75%,
      50% 85%,
      30% 25%;
  }
  50% {
    background-position:
      83% 12%,
      12% 48%,
      72% 73%,
      48% 87%,
      32% 23%;
  }
}

body[data-page="home"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* Cyan circle 1 - subtle */
    radial-gradient(
      circle 50px,
      rgba(0, 255, 255, 0.35),
      transparent 50px
    ) 85% 10% / 100px 100px no-repeat,
    /* Purple circle 2 - subtle */
    radial-gradient(
      circle 60px,
      rgba(138, 43, 226, 0.3),
      transparent 60px
    ) 10% 50% / 120px 120px no-repeat,
    /* Pink circle outline */
    radial-gradient(
      circle 45px,
      transparent 42px,
      rgba(255, 0, 127, 0.4) 42px,
      rgba(255, 0, 127, 0.4) 47px,
      transparent 47px
    ) 70% 75% / 90px 90px no-repeat,
    /* Green glow subtle */
    radial-gradient(
      circle 70px,
      rgba(0, 255, 150, 0.25),
      transparent 70px
    ) 50% 85% / 140px 140px no-repeat,
    /* Blue accent subtle */
    radial-gradient(
      circle 55px,
      rgba(0, 100, 255, 0.28),
      transparent 55px
    ) 30% 25% / 110px 110px no-repeat,
    /* Pure black background */
    #000000;
  z-index: -1;
  pointer-events: none;
  animation: subtleFloat 25s ease-in-out infinite;
}

/* Mobile safeguard: reduce intensity on small screens */
@media (max-width: 768px) {
  body[data-page="home"]::before {
    opacity: 0.6;
  }
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: rgba(249, 250, 251, 0.98);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

strong {
  font-weight: 600;
  color: rgba(249, 250, 251, 0.98);
}

/* ========================================
   Layout
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--section-spacing) 0;
}

.section-alt {
  background: var(--slate-50);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.navbar-brand:hover {
  color: var(--primary);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.navbar-nav a {
  font-weight: 500;
  color: var(--slate-700);
  transition: color var(--transition-base);
}

.navbar-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background var(--transition-base);
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--slate-700);
  margin: 0.375rem 0;
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0e131a;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
  }
  
  .navbar-nav.active {
    display: flex;
  }
  
  .navbar-nav a {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--slate-100);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ========================================
   Cards & Grid
   ======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.card-badge.coming-soon {
  background: var(--accent);
  color: var(--white);
}

/* ========================================
   Features / Proof Points
   ======================================== */

.proof-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.proof-point {
  text-align: center;
  padding: 1.5rem;
}

.proof-point-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.proof-point-label {
  font-size: 0.9375rem;
  color: var(--slate-600);
  font-weight: 500;
}

/* ========================================
   Steps / Process
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step {
  position: relative;
  padding-left: 4rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--slate-600);
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: #111827;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-left: 4px solid var(--neon-cyan);
}

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--slate-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ========================================
   Forms
   ======================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--slate-300);
  border-radius: 0.5rem;
  transition: border-color var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Honeypot field - hidden from users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center { text-align: center; }
.text-muted { color: var(--slate-500); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .proof-points {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HYBRID EXPERIENCE LAYER
   Phase 2 Enhancements (Feb 2026)
   ======================================== */

/* Enhanced Color Variables for Hybrid Theme */
/* Layered Background Enhancement */
body {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

body:not([data-bg])::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body:not([data-bg])::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Ensure content stays above background layers */
.navbar,
.hero,
section,
footer,
.container {
  position: relative;
  z-index: 1;
}

/* Enhanced Glass Cards */
.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Enhanced Module-Style Buttons */
.btn {
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--hybrid-green), var(--hybrid-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(26, 84, 144, 0.3),
    0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover::after {
  opacity: 0.6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
  border-color: var(--hybrid-green);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 0 15px var(--hybrid-green-glow);
}

.btn-outline {
  border: 2px solid var(--slate-300);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hybrid-green), var(--hybrid-pink));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--hybrid-green);
  color: white;
  box-shadow: 0 0 20px var(--hybrid-green-glow);
}

.btn-outline:hover::after {
  opacity: 1;
}

/* Enhanced Navigation Bar */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 -1px 0 rgba(16, 185, 129, 0.1);
}

/* Enhanced Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--hybrid-green-glow) 0%, transparent 70%);
  opacity: 0.3;
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.02) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--hybrid-green) 30%, 
    var(--hybrid-pink) 70%, 
    transparent 100%);
  opacity: 0.3;
}

/* Form Enhancements */
.form-control {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--hybrid-green);
  box-shadow: 
    0 0 0 3px var(--hybrid-green-glow),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Section Reveal Animation */
.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Status Indicators with Cyan */
.status-active,
.badge-success {
  background: linear-gradient(135deg, var(--hybrid-green), var(--hybrid-cyan));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 15px var(--hybrid-cyan-glow);
}

/* Enhanced Proof Points */
.proof-point {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.proof-point:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Link Accent Enhancement */
a {
  position: relative;
  transition: color 0.3s ease;
}

a:not(.btn):not(.navbar-brand)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hybrid-green), var(--hybrid-pink));
  transition: width 0.3s ease;
}

a:not(.btn):not(.navbar-brand):hover::after {
  width: 100%;
}

/* Mobile Optimizations - No animations on small screens */
@media (max-width: 768px) {
  /* Disable background effects on mobile for performance */
  body:not([data-bg])::before,
  body:not([data-bg])::after {
    display: none;
  }
  
  .hero::before {
    animation: none;
    opacity: 0.1;
  }
  
  /* Reduce blur effects on mobile */
  .card,
  .navbar,
  .form-control {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .card {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .navbar {
    background: rgba(255, 255, 255, 0.98);
  }
  
  /* Simplify button effects on mobile */
  .btn:hover {
    transform: none;
  }
  
  .btn::before {
    display: none;
  }
}

/* Print styles - remove all decorative effects */
@media print {
  body:not([data-bg])::before,
  body:not([data-bg])::after,
  .hero::before,
  .footer::before {
    display: none;
  }
  
  .card,
  .btn,
  .navbar {
    background: var(--bg-primary) !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
  }
}

/* ========================================
   QUOTE FORM ENHANCEMENTS
   Phase 3B (Feb 2026)
   ======================================== */

/* Improved form spacing for mobile tap targets */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1.75rem;
  }
  
  .form-control {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.875rem;
    min-height: 48px; /* Accessibility tap target */
  }
  
  select.form-control {
    min-height: 48px;
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  /* Grid fields on mobile stack properly */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* File input styling */
input[type="file"].form-control {
  border: 2px dashed var(--slate-300);
  background: var(--slate-50);
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"].form-control:hover {
  border-color: var(--hybrid-green);
  background: rgba(16, 185, 129, 0.05);
}

/* Helper text consistency */
.form-group small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* Number input controls */
input[type="number"].form-control {
  -moz-appearance: textfield;
}

input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* =========================================
   Phase 3 — Dark Graphite Background (Option A)
   Add-only. Does not replace Phase 2 styles.
   ========================================= */

/* Global background */
body {
  background-color: var(--bg-primary);
  color: #e5e7eb; /* Soft light text */
}

/* Section backgrounds */
section,
.section {
  background-color: transparent;
}

.section--alt,
.section.alt,
.bg-secondary {
  background-color: var(--bg-secondary);
}

/* Glass cards / panels */
.card,
.glass,
.navbar,
.form-control,
.surface {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

/* Links (keep authority, not neon overload) */
a {
  color: #e5e7eb;
}

a:hover {
  color: var(--hybrid-green);
}

/* =========================================
   Phase 3 — Dark Graphite Override Patch
   Specificity + coverage fix (add-only)
   ========================================= */

/* Force base surfaces */
html, body {
  background-color: var(--bg-primary) !important;
  color: #e5e7eb;
}

/* Common wrappers (many templates use these) */
main, .main, .page, .page-wrap, .wrapper, .container-wrap, .content, .content-wrap {
  background-color: transparent !important;
}

/* Sections that might have hardcoded light backgrounds */
section, .section, .section-wrap, .block, .content-section {
  background-color: transparent !important;
}

/* Alternate sections (if used) */
.section--alt, .section.alt, .bg-secondary, .bg-dark {
  background-color: var(--bg-secondary) !important;
}

/* Navbar often has explicit bg classes */
.navbar, .navbar.bg-white, .navbar.bg-light, .navbar-light, .navbar-expand-lg {
  background-color: rgba(15, 17, 21, 0.72) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

/* Cards/panels frequently use white backgrounds */
.card, .panel, .pane, .box, .tile, .feature, .service-card, .pricing-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
}

/* Forms often force white */
input, select, textarea, .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #e5e7eb !important;
  border: 1px solid var(--border-subtle) !important;
}

input::placeholder, textarea::placeholder {
  color: rgba(229, 231, 235, 0.6) !important;
}

/* Footer overrides */
footer, .footer {
  background-color: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

/* =========================================
   Phase 3 — Graphite Fix Pack
   (1) Dark-theme slate variable overrides
   (2) Correct section-alt coverage
   Add-only, safe, reversible
   ========================================= */

/* 1) Re-map slate variables for dark background
   This fixes all inline styles like:
   color: var(--slate-600)
*/
/* 2) Ensure "alt" sections actually use the secondary graphite */
.section-alt{
  background-color: var(--bg-secondary) !important;
}

/* 3) Hero section background should be dark (if hero has light bg earlier) */
.hero{
  background-color: transparent !important;
}

/* 4) Proof points should behave like cards on dark theme */
.proof-point{
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
}

/* =========================================
   Phase 3 — Hero Background Override
   Fixes legacy blue gradient
   Add-only, authoritative
   ========================================= */

/* Kill legacy hero gradient */
.hero {
  background: none !important;
  background-color: var(--bg-primary) !important;
}

/* Preserve Phase 2 glow layers if present */
.hero::before,
.hero::after {
  background: none !important;
}

/* Ensure hero text contrast on graphite */
.hero h1,
.hero .hero-lead {
  color: #f9fafb;
}

/* =========================================
   Phase 3 — Dark Graphite Atmosphere (Premium)
   Adds subtle glow + grid + vignette on dark
   Add-only, mobile-safe
   ========================================= */

/* Global atmospheric layers */
body:not([data-bg])::before,
body:not([data-bg])::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Soft neon haze (very subtle) */
body:not([data-bg])::before {
  background:
    radial-gradient(900px 600px at 18% 18%, rgba(16,185,129,0.12), transparent 60%),
    radial-gradient(900px 600px at 82% 22%, rgba(236,72,153,0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 85%, rgba(6,182,212,0.10), transparent 60%);
  opacity: 0.9;
}

/* Faint grid overlay */
body:not([data-bg])::after {
  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: 56px 56px;
  opacity: 0.35;
}

/* Make sure content stays above atmosphere */
body > * {
  position: relative;
  z-index: 1;
}

/* Hero / header vignette (homepage + other pages) */
.hero,
.page-hero,
.page-header,
.header,
.banner,
.hero-sm,
.hero-inner {
  background-color: transparent !important;
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before,
.page-header::before,
.header::before,
.banner::before,
.hero-sm::before,
.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(255,255,255,0.06), transparent 70%),
    radial-gradient(1200px 700px at 50% 120%, rgba(0,0,0,0.65), transparent 55%);
  opacity: 1;
}

/* Ensure hero text contrast */
.hero h1,
.page-hero h1,
.page-header h1,
.header h1,
.banner h1,
.hero-sm h1,
.hero-inner h1 {
  color: #f9fafb !important;
}

.hero p,
.hero .hero-lead,
.page-hero p,
.page-header p,
.header p,
.banner p,
.hero-sm p,
.hero-inner p {
  color: rgba(229,231,235,.82) !important;
}

/* Cards slightly more separation on dark */
.card,
.proof-point,
.panel,
.box,
.tile,
.feature,
.service-card,
.pricing-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
}

/* Mobile: kill grid + reduce haze for performance */
@media (max-width: 768px) {
  body:not([data-bg])::after { opacity: 0 !important; }
  body:not([data-bg])::before { opacity: 0.45 !important; }
}

/* =========================================
   Phase 3E — Premium Polish Pack (Add-only)
   ========================================= */

/* Typography contrast */
h1, h2, h3, h4 {
  color: #f9fafb;
  letter-spacing: -0.02em;
}

p, li {
  color: rgba(229,231,235,.82);
}

/* Keep long text readable */
.container {
  text-rendering: optimizeLegibility;
}

/* Section spacing polish */
.section {
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

/* Heading accent line */
.section h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, rgba(16,185,129,.9), rgba(236,72,153,.85));
  border-radius: 999px;
  opacity: 0.75;
}

/* Card hover: subtle lift + edge glow */
.card, .proof-point, .panel, .tile, .feature {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover, .proof-point:hover, .panel:hover, .tile:hover, .feature:hover {
  transform: translateY(-3px);
  border-color: rgba(16,185,129,.25) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.45) !important;
}

/* Buttons: slightly more "module" feel on dark */
.btn {
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.btn:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
}

/* Optional: slow atmospheric drift (very subtle) */
@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: graphiteDrift 55s ease-in-out infinite alternate;
  }

  @keyframes graphiteDrift {
    0% { transform: translate3d(0,0,0) scale(1); }
    100% { transform: translate3d(0,-14px,0) scale(1.03); }
  }
}

/* Mobile: no hover lift */
@media (max-width: 768px) {
  .card:hover, .proof-point:hover, .panel:hover, .tile:hover, .feature:hover {
    transform: none;
  }
  .section h2::after {
    width: 72px;
  }
}

/* =========================================
   Phase 3E — A4 graphiteDrift Tuning
   Slower, subtler atmospheric motion
   Add-only override
   ========================================= */

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: graphiteDrift 85s ease-in-out infinite alternate !important;
  }

  @keyframes graphiteDrift {
    0% {
      transform: translate3d(0,0,0) scale(1);
    }
    100% {
      transform: translate3d(0,-8px,0) scale(1.015);
    }
  }
}

/* =========================================
   Phase 3F — Hero Contrast Restore
   Fix atmospheric washout
   Add-only, authoritative
   ========================================= */

/* Push global atmosphere fully behind content */
body:not([data-bg])::before,
body:not([data-bg])::after {
  z-index: -1 !important;
}

/* Ensure site content stays above atmosphere */
body > * {
  position: relative;
  z-index: 1;
}

/* Hero-specific contrast scrim */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,17,21,0.85),
    rgba(15,17,21,0.75)
  );
  z-index: 0;
  pointer-events: none;
}

/* Lift hero content above scrim */
.hero > .container {
  position: relative;
  z-index: 2;
}

/* Force hero text clarity */
.hero h1 {
  color: #ffffff !important;
}

.hero .hero-lead {
  color: rgba(243,244,246,0.9) !important;
}

/* ======================================================
   Phase 4G — Dark Scene Unification (Experience Lock)
   Purpose: Eliminate all light-mode residue and unify
   site into a single immersive graphite environment.
   Add-only. EOF placement. No regressions.
   ====================================================== */

/* 1. Kill all light section backgrounds */
.section-alt {
  background: linear-gradient(
    180deg,
    rgba(17,19,24,0.96),
    rgba(15,17,21,0.98)
  ) !important;
}

/* 2. Force universal dark-glass surfaces */
.card,
.proof-point,
.panel,
.feature,
.box,
.footer,
.navbar {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* 3. Override legacy light text (inline slate variables) */
body {
  color: rgba(229,231,235,0.82);
}

.section p,
.section li,
.section-alt p,
.section-alt li,
.footer p,
.footer li {
  color: rgba(229,231,235,0.82) !important;
}

/* 4. Maintain crisp hierarchy */
h1, h2, h3, h4 {
  color: #f9fafb;
}

/* 5. Continuous atmospheric field across all sections */
.section,
.section-alt {
  position: relative;
  z-index: 1;
}

.section::before,
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(16,185,129,0.035),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* 6. Ensure content always floats above atmosphere */
.section > *,
.section-alt > * {
  position: relative;
  z-index: 1;
}

/* 7. Mobile safety — keep performance clean */
@media (max-width: 768px) {
  .section::before,
  .section-alt::before {
    opacity: 0.5;
  }
}

/* ======================================================
   Phase 4H — Graphite Foundation Lock
   Purpose: Eliminate white root canvas permanently.
   Establish dark substrate for entire experience.
   ====================================================== */

html,
body {
  background-color: #0f1115;
  min-height: 100%;
}

/* Prevent browser default white bleed */
body {
  position: relative;
  overflow-x: hidden;
}

/* Ensure atmosphere sits ON the dark canvas */
body:not([data-bg])::before,
body:not([data-bg])::after {
  background-blend-mode: normal;
}

/* Kill any accidental light page wrappers */
main,
#app,
.page,
.site,
.wrapper {
  background: transparent !important;
}

/* ======================================================
   Phase 4I — Experience Polish
   Subtle depth, controlled arrival, operational feel.
   Additive only. Preserves all prior phase work.
   ====================================================== */

/* ─────────────────────────────────────────────────────
   TASK A — Section Depth (Kill Flat Sections)
   Subtle panel separation without color changes.
   ───────────────────────────────────────────────────── */

/* Subtle inset shadow on alternate sections */
.section-alt {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Create vertical overlap between adjacent sections */
.section + .section,
.section + .section-alt,
.section-alt + .section,
.section-alt + .section-alt {
  margin-top: -12px;
  position: relative;
}

/* Ensure proper stacking */
.section,
.section-alt {
  position: relative;
}

/* ─────────────────────────────────────────────────────
   TASK B — Hero Arrival Sequence (First Load Only)
   Controlled entrance. Respects prefers-reduced-motion.
   JavaScript handles sessionStorage flag.
   ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  /* Initial state - hidden and slightly below */
  .hero-arrival .hero h1 {
    opacity: 0;
    transform: translateY(8px);
  }

  .hero-arrival .hero .hero-lead,
  .hero-arrival .hero p {
    opacity: 0;
    transform: translateY(8px);
  }

  .hero-arrival .hero-cta {
    opacity: 0;
    transform: translateY(8px);
  }

  /* Animate in */
  .hero-arrival.arrived .hero h1 {
    animation: heroArrive 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-arrival.arrived .hero .hero-lead,
  .hero-arrival.arrived .hero p {
    animation: heroArrive 400ms cubic-bezier(0.16, 1, 0.3, 1) 80ms forwards;
  }

  .hero-arrival.arrived .hero-cta {
    animation: heroArrive 400ms cubic-bezier(0.16, 1, 0.3, 1) 160ms forwards;
  }

  @keyframes heroArrive {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Reduced motion: show immediately */
@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero .hero-lead,
  .hero p,
  .hero-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─────────────────────────────────────────────────────
   TASK C — Navigation → Control Bar
   System header energy. Darker, with subtle blur.
   ───────────────────────────────────────────────────── */

.navbar {
  background: rgba(11, 13, 17, 0.88) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Ensure nav stays above sections but below modals */
.navbar {
  z-index: 900;
}

/* ─────────────────────────────────────────────────────
   TASK D — CTA Operational Feel
   Functional, not promotional. Subtle elevation.
   ───────────────────────────────────────────────────── */

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .nav-cta:hover,
  .hero-cta .btn:hover {
    transform: translateY(-1px);
    box-shadow: 
      0 0 16px rgba(16, 185, 129, 0.25),
      0 14px 36px rgba(0, 0, 0, 0.5);
  }

  .btn,
  .nav-cta,
  .hero-cta .btn {
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* No hover effects on touch devices */
@media (hover: none) {
  .btn:hover,
  .nav-cta:hover,
  .hero-cta .btn:hover {
    transform: none;
  }
}

/* ─────────────────────────────────────────────────────
   TASK E — Noise Elimination Sweep
   Reduce non-functional decoration. Preserve atmosphere.
   ───────────────────────────────────────────────────── */

/* Reduce heading accent line intensity (if too prominent) */
.section h2::after {
  opacity: 0.5;
  width: 72px;
}

/* Ensure glass effects remain functional (not decorative) */
.card,
.proof-point,
.panel,
.tile,
.feature {
  /* Preserve existing glass/atmospheric treatment */
  /* No changes needed - already functional */
}

/* Fine-tune card hover to be more subtle */
@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .proof-point:hover,
  .panel:hover,
  .tile:hover,
  .feature:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.18) !important;
  }
}

/* ======================================================
   Phase 4J — Hero Graphite Hard Override
   Surgical fix: neutralize light hero backgrounds.
   ====================================================== */

/* Force hero to inherit graphite foundation */
.hero,
.page-hero,
.hero-inner,
.hero-content {
  background: transparent;
  background-color: transparent;
}

/* Kill any hero gradients or light overlays */
.hero::before,
.hero::after {
  background: none;
}

/* Ensure hero sits ON graphite, not above it */
.hero {
  background-blend-mode: normal !important;
}

/* Hero text clarity lock */
.hero h1 {
  color: #ffffff;
}

.hero .hero-lead,
.hero p {
  color: rgba(243,244,246,0.92);
}

/* CTA panel contrast fix */
.hero-cta {
  background: transparent;
}

.hero-cta .btn-secondary {
  background-color: rgba(255,255,255,0.08);
  color: #f9fafb;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ======================================================
   AUTHORITATIVE FIX — Hero Background Washout Elimination
   Root Cause: Line 1351-1353 white radial gradient
   Solution: Override all hero pseudo-element backgrounds
   ====================================================== */

/* Kill the white radial gradient from Phase 3 (line 1351-1353) */
.hero::before,
.page-hero::before,
.page-header::before,
.header::before,
.banner::before,
.hero-sm::before,
.hero-inner::before {
  background: none;
  background-color: transparent;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

/* Keep dark scrim for text readability (from Phase 3F line 1515) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,17,21,0.72),
    rgba(15,17,21,0.82)
  );
  z-index: 0;
  pointer-events: none;
}

/* Ensure hero content stays above scrim */
.hero > .container,
.page-hero > .container,
.hero-content {
  position: relative;
  z-index: 2;
}

/* Force hero backgrounds to inherit graphite */
.hero,
.page-hero,
.page-header,
.hero-inner {
  background: transparent;
  background-color: transparent;
  background-image: none;
}

/* ======================================================
   Phase 4K — Experience Unification
   Final hero typography system. No inline styles.
   Unified treatment across all pages.
   ====================================================== */

/* Hero container (replaces inline max-width + centering) */
.hero .container,
.hero .hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero lead paragraph (replaces inline font/color/spacing) */
.hero-lead {
  font-size: 1.25rem;
  color: rgba(243,244,246,0.92) !important;
  margin: 2rem auto;
  max-width: 700px;
}

/* Hero CTA container (replaces inline margin-top) */
.hero-cta {
  margin-top: 2.5rem;
}

/* Hero CTA buttons (replaces inline padding/font-size) */
.hero-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.hero-cta .btn-secondary {
  margin-left: 1rem;
}

/* Hero location text (replaces inline styling) */
.hero-location {
  font-size: 0.9rem;
  color: rgba(229,231,235,0.72) !important;
  margin-top: 1rem;
}

/* Hero anchor links (replaces inline styling) */
.hero-anchor {
  display: inline-block;
  margin-left: 1.5rem;
  color: var(--hybrid-green) !important;
  font-weight: 600;
}

/* Service page hero (smaller padding than homepage) */
.hero.hero-sm,
section.hero[class*="service"] {
  padding: 4rem 0;
}

/* Section-alt graphite enforcement (no light backgrounds ever) */
.section-alt,
.section.alt,
.bg-secondary {
  background-color: var(--bg-secondary) !important;
  background-image: none !important;
}

/* Kill any light backgrounds on alternate sections */
.section-alt,
.bg-light,
.bg-gray,
[class*="bg-slate-"] {
  background-color: var(--bg-secondary) !important;
}

/* Content max-width utilities (replaces inline max-width) */
.content-narrow {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-medium {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.content-wide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Unified section intro text (replaces inline font-size/line-height) */
.section-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(243,244,246,0.92);
  margin-top: 2rem;
}

/* List styling unification (replaces inline list styles) */
.feature-list {
  line-height: 1.8;
  color: rgba(243,244,246,0.82);
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
}

/* Card grid spacing (replaces inline margin-top) */
.card-grid {
  margin-top: 2rem;
}

.card-grid.card-grid-lg {
  margin-top: 3rem;
}

/* ======================================================
   Phase 4L — System Shell + Experience Rhythm
   Add-only. Completes the system environment aesthetic.
   No copy changes. No layout rework.
   ====================================================== */

/* ──────────────────────────────────────────────────────
   1. SYSTEM SHELL FRAME
   Subtle environmental cues that make the site feel
   like a controlled interface, not a webpage.
   ────────────────────────────────────────────────────── */

/* Navbar bottom accent line (command header energy) */
.navbar {
  position: relative;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 185, 129, 0.3) 20%,
    rgba(16, 185, 129, 0.5) 50%,
    rgba(16, 185, 129, 0.3) 80%,
    transparent
  );
  opacity: 0.6;
  pointer-events: none;
}

/* Viewport vignette (very subtle edge darkening) */
body:not([data-bg])::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
  z-index: -1; /* FIXED: was 9999 — now behind content, won't block clicks or overlay navbar */
  opacity: 0.4;
}

/* Ensure vignette doesn't block interactions */
body > * {
  position: relative;
}

/* Container halo for sections (subtle depth) */
.section,
section {
  position: relative;
}

.section::after,
section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(16, 185, 129, 0.02),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0.5;
}

/* Card grid regions get subtle glow */
.card-grid {
  position: relative;
}

.card-grid::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.03),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.6;
  border-radius: 16px;
}

/* ──────────────────────────────────────────────────────
   2. TIGHTENED REVEAL RHYTHM
   Preserves Phase 2 reveals but normalizes timing
   and reduces excessive translate distance.
   ────────────────────────────────────────────────────── */

/* Reduce translate distance (30px → 16px) */
.reveal-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Heading reveal (subtle stagger) */
.reveal-section h2,
.reveal-section h3 {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.reveal-section.revealed h2,
.reveal-section.revealed h3 {
  opacity: 1;
  transform: translateY(0);
}

/* Body text reveal (staggered after heading) */
.reveal-section p,
.reveal-section ul,
.reveal-section .card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.reveal-section.revealed p,
.reveal-section.revealed ul,
.reveal-section.revealed .card {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-section h2,
  .reveal-section h3,
  .reveal-section p,
  .reveal-section ul,
  .reveal-section .card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ──────────────────────────────────────────────────────
   3. FORMS + CONTROLS DARK PASS
   All inputs, selects, textareas become dark/glass.
   Chrome autofill handled. Accessibility maintained.
   ────────────────────────────────────────────────────── */

/* Base form control styling (dark glass) */
input,
textarea,
select,
.form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(243, 244, 246, 0.95) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Placeholder text */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: rgba(229, 231, 235, 0.5) !important;
  opacity: 1;
}

/* Focus states (accent glow) */
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 
    0 0 0 3px rgba(16, 185, 129, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.3) !important;
  outline: none;
}

/* Chrome autofill fix (dark background + readable text) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(15, 17, 21, 0.9) inset !important;
  -webkit-text-fill-color: rgba(243, 244, 246, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Select dropdown arrow (dark theme) */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* File input (dark treatment) */
input[type="file"] {
  padding: 0.75rem;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(243, 244, 246, 0.92);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 1rem;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Checkbox and radio (dark theme) */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

input[type="checkbox"] {
  border-radius: 4px;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--hybrid-green);
  border-color: var(--hybrid-green);
}

input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
}

/* Disabled states */
input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ──────────────────────────────────────────────────────
   4. GLOBAL SLATE VARIABLE REMAPPING
   Ensure all slate variables are dark-friendly.
   Stop using light theme values on dark background.
   ────────────────────────────────────────────────────── */

/* Remap any remaining slate variables for dark theme */
/* Force body text to use dark-friendly colors */
p,
li,
span,
div {
  color: rgba(243, 244, 246, 0.88);
}

/* Ensure headings stay high contrast */
h1, h2, h3, h4, h5, h6 {
  color: rgba(249, 250, 251, 0.98) !important;
}

/* Link colors (dark-friendly) */
a:not(.btn) {
  color: rgba(243, 244, 246, 0.92);
}

a:not(.btn):hover {
  color: var(--hybrid-green);
}

/* Muted text should still be readable */
.text-muted,
small {
  color: rgba(229, 231, 235, 0.68) !important;
}

/* ──────────────────────────────────────────────────────
   5. ACCESSIBILITY CONTRAST ASSURANCE
   Ensure all interactive elements meet WCAG AA.
   ────────────────────────────────────────────────────── */

/* Button contrast */
.btn {
  color: #ffffff;
  font-weight: 600;
}

.btn-primary {
  background: var(--hybrid-green);
  border-color: var(--hybrid-green);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(243, 244, 246, 0.95);
}

.btn-outline {
  border: 2px solid rgba(16, 185, 129, 0.6);
  color: rgba(243, 244, 246, 0.95);
}

/* Focus indicators (keyboard navigation) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--hybrid-green);
  outline-offset: 2px;
}

/* Card text contrast */
.card {
  color: rgba(243, 244, 246, 0.92);
}

.card h3,
.card h4 {
  color: rgba(249, 250, 251, 0.98);
}

/* ======================================================
   Phase 4M1 — Services Washout Kill Switch
   Root cause: Line 138 (.section-alt using var(--slate-50) = #f8fafc)
   Solution: Absolute EOF override forcing all surfaces to dark glass
   ====================================================== */

/* 1) Absolute dark substrate everywhere */
html, body {
  background: #0f1115 !important;
  background-color: #0f1115 !important;
}

/* 2) Prevent any page section from reverting to light backgrounds */
.section,
.section-alt,
.page,
.wrapper,
main,
#app,
.site,
.container {
  background: transparent !important;
}

/* 3) Force "alternate sections" to be graphite (no light panels) */
.section-alt {
  background-color: rgba(17, 19, 24, 0.92) !important;
}

/* 4) Force all card-like surfaces to dark-glass */
.card,
.service-card,
.proof-point,
.panel,
.feature,
.feature-card,
[class*="card"],
[class*="panel"],
[class*="tile"] {
  background: rgba(15, 17, 21, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: rgba(243, 244, 246, 0.90) !important;
}

/* 5) Headings/text inside those surfaces (avoid "light theme" overrides) */
.card h1, .card h2, .card h3, .card h4,
.service-card h1, .service-card h2, .service-card h3, .service-card h4,
.proof-point h1, .proof-point h2, .proof-point h3, .proof-point h4 {
  color: rgba(249, 250, 251, 0.98);
}

.card p, .service-card p, .proof-point p,
.card li, .service-card li, .proof-point li {
  color: rgba(243, 244, 246, 0.86) !important;
}

/* 6) Kill any hero/page-hero light wash layers (common culprit) */
.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after,
.page-header::before,
.page-header::after {
  background-image: none !important;
}

/* 7) If a light wash is coming from a stray overlay element */
.overlay,
.hero-overlay,
.bg-overlay,
[class*="overlay"] {
  background: transparent !important;
}

/* 8) Buttons remain "system-like" on dark surfaces */
.btn,
button,
input[type="submit"] {
  color: rgba(249, 250, 251, 0.96) !important;
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* ======================================================
   Phase 4M3 — Hard Dark Surface Enforcement (EOF)
   Target: section-alt cascade conflict & light bg classes
   Method: Single unified declaration per selector
   ====================================================== */
.section-alt,
.bg-light,
.bg-gray,
[class*="bg-slate-"],
[class*="bg-gray-"],
[class*="bg-light"] {
  background: rgba(17, 19, 24, 0.92) !important;
  background-color: rgba(17, 19, 24, 0.92) !important;
}

.card,
.proof-point,
.panel,
.feature,
.service-card,
[class*="card"],
[class*="panel"],
[class*="surface"] {
  background: rgba(15,17,21,0.72) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: rgba(243,244,246,0.90) !important;
}

/* ======================================================
   Phase 4M4 — Slate Token Remap (EOF)
   Target: Root CSS variables causing light backgrounds
   Method: Redefine slate-50/100/200 to dark values
   ====================================================== */
/* ======================================================
   Phase 5 — Homepage Router Lock + Background Life
   Purpose: Make homepage feel like an interface router.
   Add-only. EOF. Single authority block.
   ====================================================== */

/* Router grid in hero */
.router-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.router-card{
  background: rgba(15,17,21,0.72) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px);
}

.router-subtext{
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: rgba(229,231,235,0.72) !important;
}

/* Mirror CTA spacing */
.hero-cta-mirror{
  justify-content: center;
  margin-top: 1.75rem;
}

/* Final CTA contact line */
.cta-contact{
  font-size: 0.95rem;
  margin-top: 1.5rem;
  color: rgba(229,231,235,0.78) !important;
}

/* Bring the site "to life" — controlled interface backdrop
   Note: your file currently nukes pseudo-element backgrounds.
   This uses a dedicated element-free overlay via background on html/body.
*/
html{
  background:
    radial-gradient(900px 600px at 18% 18%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(900px 600px at 82% 22%, rgba(236,72,153,0.09), transparent 60%),
    radial-gradient(900px 600px at 50% 85%, rgba(6,182,212,0.08), transparent 60%),
    linear-gradient(180deg, #0f1115, #0f1115) !important;
}

/* Add subtle grid without pseudo-elements (avoids your global pseudo nukes) */
body{
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
}

/* Keep grid subtle on mobile */
@media (max-width: 768px){
  body{
    background-image: none;
  }
}

/* Tighten steps in the How It Works section */
.steps-tight{
  margin-top: 2rem;
  gap: 1.25rem;
}

/* Ensure section-alt never goes light from earlier declarations */
.section-alt{
  background-color: rgba(17, 19, 24, 0.92) !important;
}

/* ======================================================
   Phase 6FINAL — Page-Scoped Background Atmosphere (VISIBLE)
   AUTHORITATIVE: This block must not be overridden
   Protection: body[data-bg]::before cannot be transparent/none/hidden
   ======================================================= */

body[data-bg] { position: relative; }

body[data-bg]::before{
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none;
  z-index: 0 !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.18; /* was 0.12 — make it actually visible */
  filter: blur(1.5px) saturate(0.92) contrast(1.12);
  transform: scale(1.03); /* prevents edge blur seams */
  display: block !important; /* GUARD: prevent display:none from hiding background */
}

/* lift all page content above background */
body[data-bg] > *{
  position: relative;
  z-index: 1;
}

/* keep navbar above everything */
body[data-bg] .navbar{
  position: sticky;
  z-index: 1000;
}

/* SERVICES — more image, less blackout */
body[data-bg="services"]::before{
  background-image:
    linear-gradient(rgba(15,17,21,0.52), rgba(15,17,21,0.52)),
    url("/assets/img/bg-services.jpg") !important;
  opacity: 0.22 !important;
  filter: blur(1.25px) saturate(0.95) contrast(1.15) !important;
}

/* SYSTEMS — slightly darker image file, keep it readable */
body[data-bg="systems"]::before{
  background-image:
    linear-gradient(rgba(15,17,21,0.58), rgba(15,17,21,0.58)),
    url("/assets/img/bg-systems.jpg") !important;
  opacity: 0.20 !important;
  filter: blur(1.75px) saturate(0.90) contrast(1.18) !important;
}

/* mobile safety */
@media (max-width: 768px){
  body[data-bg]::before{ opacity: 0.14 !important; }
}

/* FINAL GUARDRAILS: Prevent accidental wipes of Phase 6FINAL images */
body[data-bg]::before {
  background-attachment: fixed !important;
  background-clip: padding-box !important;
}

/* Make cards a bit more translucent so the image shows */
body[data-bg] .card{
  background: rgba(15, 17, 21, 0.62) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}




/* ======================================================
   PHASE 6HOME — HOMEPAGE ABSTRACT LAYER
   
   Purpose:
   - Add subtle, modern abstract background to homepage only
   - Create premium/"system-y" visual treatment
   - Page-scoped to body[data-page="home"] (no effect on other pages)
   - Uses ::after pseudo-element (does not interfere with body[data-bg]::before)
   
   Constraints observed:
   - No new :root blocks
   - No Phase 6FINAL changes
   - No global pseudo-element nukes
   - WCAG-safe: text contrast preserved via low opacity
   - pointer-events: none (not blocking interactions)
  - z-index: 0 (background layer, content raised above)
   ======================================================= */

body[data-page="home"]::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* Subtle radial glow 1 (top-left, soft indigo) */
    radial-gradient(
      circle 200px,
      rgba(99, 102, 241, 0.08),
      transparent 200px
    ) 10% 15% / 400px 400px no-repeat,
    /* Subtle radial glow 2 (bottom-right, soft magenta) */
    radial-gradient(
      circle 180px,
      rgba(236, 72, 153, 0.06),
      transparent 180px
    ) 85% 80% / 360px 360px no-repeat,
    /* Very faint noise texture */
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 2px
    );
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

body[data-page="home"] .navbar,
body[data-page="home"] main,
body[data-page="home"] section,
body[data-page="home"] footer {
  position: relative;
  z-index: 1;
}

/* Mobile adjustment: reduce abstract intensity on small screens */
@media (max-width: 768px) {
  body[data-page="home"]::after {
    opacity: 0.7;
  }
}
/* ========================================
   HOMEPAGE SIGNATURE PASS - NEW COMPONENTS
   System Console, Department Router, Proof Strip,
   System Dividers, Armed Buttons, Workflow Flow
   ======================================== */

/* ========== SYSTEM CONSOLE PANEL (Hero) ========== */

.hero-console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .hero-console-grid {
    grid-template-columns: 1fr 400px;
    gap: 3rem;
  }
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--slate-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.system-console-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 0 30px rgba(0, 240, 255, 0.1),
    inset 0 0 40px rgba(0, 240, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.system-console-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 240, 255, 0.5),
    transparent
  );
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(2px); }
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 240, 255, 0.8);
  text-transform: uppercase;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

.console-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
}

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

.console-key {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.console-value {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-align: right;
}

.status-online {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 2s ease-in-out infinite;
}

.console-routing {
  font-size: 0.7rem;
  opacity: 0.7;
}

.console-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}

.console-timestamp {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ========== SYSTEM DIVIDERS ========== */

.system-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 240, 255, 0.3) 20%,
    rgba(0, 240, 255, 0.5) 50%,
    rgba(0, 240, 255, 0.3) 80%,
    transparent
  );
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.system-divider::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(0, 240, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ========== MODULE LABELS ========== */

.module-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(0, 240, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.05);
}

/* ========== DEPARTMENT ROUTER ========== */

.department-router {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .department-router {
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
  }
}

.router-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
}

.router-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.router-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.router-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.router-item.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 240, 255, 0.05));
  border-color: rgba(0, 240, 255, 0.5);
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.router-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.router-label {
  flex: 1;
}

.router-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.router-badge.recommended {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.router-panel {
  position: relative;
  min-height: 400px;
}

.router-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
}

.router-content.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.router-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.router-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.router-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
}

.router-best-for {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(0, 240, 255, 0.5);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== PROOF STRIP ========== */

.proof-section {
  background: rgba(255, 255, 255, 0.01);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.proof-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
  transform: translateY(-4px);
}

.proof-header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 240, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-metric {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.metric-value.before {
  color: rgba(255, 255, 255, 0.4);
}

.metric-value .after {
  color: #10b981;
}

.artifact-preview {
  margin-bottom: 1.5rem;
}

.artifact-mockup {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 1rem;
}

.mockup-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-row {
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
}

.mockup-row.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 4px;
}

.credibility-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.cred-icon {
  font-size: 1.5rem;
}

.cred-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.proof-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin: 0;
}

/* ========== WORKFLOW FLOW ========== */

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .workflow-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
}

.workflow-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.workflow-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  transform: scale(1.02);
}

.workflow-card:hover .step-details {
  max-height: 200px;
  opacity: 1;
}

/* Step header layout - grid to prevent overlap */
.workflow-card > .step-number,
.workflow-card > h3 {
  margin: 0;
}

.workflow-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 1rem;
  align-items: start;
}

.step-number {
  grid-column: 1;
  grid-row: 1;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 240, 255, 0.5);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  line-height: 1;
  align-self: start;
  margin-top: 0.125rem;
}

.workflow-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
}

.step-details {
  grid-column: 1 / -1;
  grid-row: 2;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.step-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-bullets li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.step-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(0, 240, 255, 0.6);
}

.flow-connector {
  display: none;
}

@media (min-width: 992px) {
  .flow-connector {
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
      rgba(0, 240, 255, 0.3),
      rgba(0, 240, 255, 0.6),
      rgba(0, 240, 255, 0.3)
    );
    position: relative;
  }

  .flow-connector::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(0, 240, 255, 0.6);
    border-bottom: 2px solid rgba(0, 240, 255, 0.6);
    transform: rotate(-45deg);
  }
}

/* ========== ARMED BUTTONS ========== */

.btn-armed {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark)),
                    linear-gradient(135deg, #06b6d4, #0891b2, #0e7490);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: border-glow 3s linear infinite;
}

@keyframes border-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.btn-armed::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-armed:hover::before {
  width: 300px;
  height: 300px;
}

.btn-armed:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 30px rgba(0, 182, 212, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-armed::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-armed:hover::after {
  opacity: 1;
  animation: pulse-indicator 1s ease-in-out infinite;
}

@keyframes pulse-indicator {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ========== DEMO SECTION ========== */

.section-demo {
  background: rgba(255, 255, 255, 0.01);
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .demo-card {
    grid-template-columns: 1.2fr 1fr;
  }
}

.demo-mockup {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.mockup-browser {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.browser-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-url {
  font-size: 0.8rem;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  flex: 1;
}

.browser-content {
  padding: 1.5rem;
  min-height: 350px;
}

.dashboard-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.preview-nav {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #10b981;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.preview-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  height: 80px;
}

.demo-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.demo-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
  font-size: 1.25rem;
}

.demo-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(0, 240, 255, 0.5);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.btn-demo {
  text-align: center;
}

.demo-tech-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.demo-tech-note strong {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

/* ========== MOBILE RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 991px) {
  .system-console-panel {
    order: -1;
  }

  .hero-console-grid {
    gap: 2rem;
  }

  .router-panel {
    min-height: auto;
  }

  .workflow-card {
    padding: 1.5rem;
    grid-template-columns: 2.75rem 1fr;
    gap: 0 0.75rem;
  }

  .workflow-card.expanded .step-details {
    max-height: 200px;
    opacity: 1;
  }

  .step-number {
    font-size: 2rem;
  }

  .system-console-panel {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }

  .router-content {
    padding: 1.5rem;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Infinity OS Sub-Navigation
   ======================================== */

.subnav {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0;
  position: sticky;
  top: 60px;
  z-index: 900;
}

.breadcrumb {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb a:hover {
  color: var(--hybrid-cyan) !important;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
}

.subnav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.subnav-link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.05);
}

.subnav-link.active {
  color: var(--hybrid-cyan);
  border-bottom-color: var(--hybrid-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.subnav-cta {
  margin-left: auto;
  color: var(--hybrid-cyan);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: all var(--transition-base);
}

.subnav-cta:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--hybrid-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* ========================================
   Pricing Components
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  border-color: var(--hybrid-cyan);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
}

.pricing-card-featured {
  border-color: var(--hybrid-cyan);
  background: rgba(6, 182, 212, 0.05);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--hybrid-cyan), var(--hybrid-green));
  color: #000;
  padding: 0.35rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--hybrid-cyan);
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.price-period {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-body {
  margin-bottom: 2rem;
}

.pricing-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  text-align: center;
}

.pricing-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.comparison-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table table {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.comparison-table th {
  font-weight: 600;
  color: var(--hybrid-cyan);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ========================================
   FAQ Components
   ======================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.faq-item h3 {
  color: var(--hybrid-cyan);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Reassurance Copy
   ======================================== */

.cta-reassurance {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
}

/* ========================================
   Mobile Responsive for New Components
   ======================================== */

@media (max-width: 768px) {
  .subnav-links {
    gap: 0;
    justify-content: flex-start;
  }

  .subnav-link {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .subnav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem !important;
  }
}
