/* ====================================================================
   LOCAL SOVEREIGN AIR-GAPPED TYPOGRAPHY ENGINE (ORBITRON & INTER)
   Zero external network calls • 100% On-Premise Font Rendering
   ==================================================================== */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('./assets/fonts/orbitron.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./assets/fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ==================================================================
     MONOLITH DESIGN SYSTEM: OBSIDIAN • GRAPHITE • TITANIUM • INDIGO • VIOLET
     Reference Palette:
     - Obsidian: #0B0D10 (Pitch Black Canvas)
     - Graphite: #1A1D21 (Cards & Surface Containers)
     - Titanium: #D1D5DB (Typography & Icons)
     - Indigo:   #6366F1 (Primary System Accent)
     - Violet:   #8B5CF6 (Secondary Luminous Accent)
     ================================================================== */

  /* Pure Obsidian & Graphite Surfaces (Zero Blue Slop) */
  --bg-primary: #0b0d10;          /* Obsidian #0B0D10 */
  --bg-secondary: #121519;        /* Deep Sub-Canvas Graphite */
  --bg-surface: #1a1d21;          /* Sleek Graphite Cards #1A1D21 */
  --bg-surface-elevated: #22262c; /* Elevated Graphite */
  --bg-glass: rgba(26, 29, 33, 0.82);
  --bg-glass-hover: rgba(34, 38, 44, 0.92);

  /* High-Contrast Titanium Typography */
  --text-primary: #f9fafb;        /* Crisp Pure White */
  --text-secondary: #d1d5db;      /* Titanium Silver #D1D5DB */
  --text-muted: #9ca3af;          /* Muted Titanium */
  --text-inverse: #0b0d10;        /* Obsidian Black */

  /* Monolith Sovereign Accents */
  --accent-primary: #6366f1;      /* Monolith Indigo #6366F1 */
  --accent-primary-light: #818cf8;
  --accent-primary-glow: rgba(99, 102, 241, 0.35);

  --accent-violet: #8b5cf6;       /* Monolith Violet #8B5CF6 */
  --accent-violet-light: #a78bfa;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);

  --accent-emerald: #10b981;      /* Air-Gap Security Green */
  --accent-emerald-light: #34d399;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);

  --accent-saffron: #f59e0b;      /* Sovereign Saffron */
  --accent-saffron-light: #fbbf24;
  --accent-saffron-glow: rgba(245, 158, 11, 0.35);

  --accent-cyan: #06b6d4;         /* Neural Telemetry */
  --accent-cyan-light: #38bdf8;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);

  --accent-rose: #f43f5e;         /* Kill Switch / Alert */
  --accent-rose-glow: rgba(244, 63, 94, 0.4);

  /* Borders & Dividers - Precision Graphite */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(99, 102, 241, 0.4);
  --border-violet: rgba(139, 92, 246, 0.4);

  /* Shadows & Ambient Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 35px var(--accent-primary-glow);
  --shadow-glow-violet: 0 0 35px var(--accent-violet-glow);
  --shadow-glow-emerald: 0 0 35px var(--accent-emerald-glow);

  /* Typography */
  --font-brand: 'Orbitron', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --container-max: 1320px;
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-hover: rgba(248, 250, 252, 0.95);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(99, 102, 241, 0.3);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark light;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.4) var(--bg-primary);
}

/* Custom Scrollbar Suite (Obsidian • Graphite • Titanium • Indigo) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

[data-theme="light"] {
  scrollbar-color: rgba(99, 102, 241, 0.45) #f1f5f9;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f1f5f9;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.45) 0%, rgba(139, 92, 246, 0.45) 100%);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Background Atmosphere & Grid Pattern */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-ambient-glow-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.bg-ambient-glow-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.bg-ambient-glow-3 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(90px);
  border-radius: 50%;
  animation: floatOrb 26s ease-in-out infinite alternate;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 75%);
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient,
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #d1d5db 35%, #8b5cf6 70%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient,
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 10%, #312e81 60%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-saffron {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* Header & Glassmorphic Sticky Nav */
.header-nav {
  position: sticky;
  top: 14px;
  z-index: 200;
  padding-inline: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  transition: all var(--transition-smooth);
  position: relative;
}

[data-theme="light"] .nav-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Nav Menu Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .nav-links {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-links a,
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-links a:hover,
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.nav-links a.active,
.nav-link.active {
  color: var(--accent-primary-light);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .nav-links a.active,
[data-theme="light"] .nav-link.active {
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Circular Icon Button (Theme Toggle & Mobile Menu) */
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  padding: 0;
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-primary-glow);
}

[data-theme="light"] .icon-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .icon-btn:hover {
  background: #f8fafc;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
}

/* Mobile Dropdown Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  flex-direction: column;
  gap: 0.5rem;
  z-index: 205;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.mobile-nav-drawer.open {
  display: flex;
  animation: slideDownMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownMobile {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-drawer a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

/* SVG Icons Base (Guarantees crisp line art & zero black fill defaults) */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke var(--transition-fast), transform var(--transition-fast);
}

/* Buttons System */
.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition: all var(--transition-smooth);
  position: relative;
  white-space: nowrap;
  line-height: 1.2;
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-danger:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--accent-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  box-shadow: 0 8px 25px var(--accent-primary-glow);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary-light);
  color: var(--accent-primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-primary-glow);
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.2);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--accent-primary);
  color: var(--accent-primary) !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e !important;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.btn-danger:hover {
  background: var(--accent-rose);
  color: #ffffff !important;
  border-color: var(--accent-rose);
  box-shadow: 0 6px 20px var(--accent-rose-glow);
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--accent-emerald-glow);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-emerald-glow);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.btn-lg,
.btn-large {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* Theme Toggle Button */
.icon-btn,
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.icon-btn:hover,
.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary-light);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

.theme-toggle-btn svg,
.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Chromatic Aberration WebGL Sine Wave Background */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
}

.hero-chromatic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.78;
  mix-blend-mode: screen;
  filter: contrast(1.15) brightness(1.1);
  transition: opacity 0.4s ease;
}

[data-theme="light"] .hero-chromatic-canvas {
  opacity: 0.5;
  mix-blend-mode: multiply;
  filter: invert(1) contrast(1.25);
}

/* Monumental WebGL Liquid Distortion Typography: MONOLITH */
.monolith-liquid-typo-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: clamp(80px, 15vw, 175px);
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  z-index: 3;
}

.monolith-liquid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.45)) drop-shadow(0 0 50px rgba(6, 182, 212, 0.3));
  transition: filter 0.35s ease;
}

.monolith-liquid-typo-wrap:hover .monolith-liquid-canvas {
  filter: drop-shadow(0 0 35px rgba(99, 102, 241, 0.75)) drop-shadow(0 0 75px rgba(6, 182, 212, 0.5));
}

[data-theme="light"] .monolith-liquid-canvas {
  filter: drop-shadow(0 4px 20px rgba(79, 70, 229, 0.3));
}

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

.monolith-badge-container,
.sih-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-primary-light);
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.18);
  backdrop-filter: blur(10px);
}

.monolith-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
  display: inline-block;
}

.tricolor-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald-glow);
  display: inline-block;
}

.hero-title {
  max-width: 1050px;
  margin: 0 auto 1.5rem auto;
}

.hero-subtitle {
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Metric Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 4rem auto;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent-primary)), transparent);
  opacity: 0.7;
}

/* Abstract Vector Artwork inside Stat Card Tiles */
.stat-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 95px;
  height: 95px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='sg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%236366f1' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='42' fill='none' stroke='url(%23sg)' stroke-width='1.2' stroke-dasharray='4,4'/%3E%3Cpolygon points='50,15 85,75 15,75' fill='none' stroke='url(%23sg)' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='8' fill='%236366f1' fill-opacity='0.25'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.stat-card:hover::after {
  transform: scale(1.2) rotate(15deg);
  opacity: 0.8;
}

.stat-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='sg2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2310b981' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%2306b6d4' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='20' y='20' width='60' height='60' rx='10' fill='none' stroke='url(%23sg2)' stroke-width='1.2' stroke-dasharray='5,3' transform='rotate(45 50 50)'/%3E%3Ccircle cx='50' cy='50' r='18' fill='none' stroke='url(%23sg2)' stroke-width='1'/%3E%3C/svg%3E");
}

.stat-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='sg3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2306b6d4' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='50,8 92,32 92,68 50,92 8,68 8,32' fill='none' stroke='url(%23sg3)' stroke-width='1.2' stroke-dasharray='4,4'/%3E%3Ccircle cx='50' cy='50' r='16' fill='none' stroke='url(%23sg3)' stroke-width='1'/%3E%3C/svg%3E");
}

.stat-card:nth-child(4)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='sg4' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f59e0b' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%23ef4444' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 50 Q 50 10 90 50 Q 50 90 10 50 Z' fill='none' stroke='url(%23sg4)' stroke-width='1.2'/%3E%3Ccircle cx='50' cy='50' r='14' fill='none' stroke='url(%23sg4)' stroke-width='1' stroke-dasharray='3,3'/%3E%3C/svg%3E");
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero Live Mockup Frame */
.mockup-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  padding: 10px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.18);
  border: 1px solid var(--border-medium);
  position: relative;
}

.mockup-header {
  background: var(--bg-surface-elevated);
  border-radius: 14px 14px 0 0;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-address-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.3rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.mockup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.mockup-img-container {
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  position: relative;
}

.mockup-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-floating-tag {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
  animation: floatTag 6s ease-in-out infinite alternate;
}

.tag-1 { top: 12%; left: 4%; }
.tag-2 { bottom: 15%; right: 4%; animation-delay: -3s; }

@keyframes floatTag {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ====================================================================
   UNIFIED SECTION HEADERS & BRAND TYPOGRAPHY (ORBITRON & INTER)
   ==================================================================== */
.sim-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  position: relative;
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-header,
.section-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
  position: relative;
  z-index: 2;
}

.section-tag,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.pulse-dot-violet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px #8b5cf6, 0 0 16px #8b5cf6;
  animation: pulseViolet 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseViolet {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

[data-theme="light"] .section-tag,
[data-theme="light"] .section-badge {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4f46e5;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.section-title {
  font-family: 'Orbitron', var(--font-brand), sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 1.15rem auto 0 auto;
  line-height: 1.68;
  font-weight: 400;
  text-wrap: pretty;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.comp-card {
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.comp-card-pain {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-card-sovereign {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.comp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.badge-pain {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.badge-sovereign {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald-light);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.comp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-pain {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.icon-sovereign {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

/* ====================================================================
   INTERACTIVE SIMULATOR STUDIO
   ==================================================================== */
.terminal-container,
.simulator-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1140px;
  margin: 0 auto;
}

.sim-tab-bar,
.simulator-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.4) var(--bg-secondary);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.sim-tab-bar::-webkit-scrollbar,
.simulator-tabs::-webkit-scrollbar {
  height: 4px;
}

.sim-tab-bar::-webkit-scrollbar-track,
.simulator-tabs::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.sim-tab-bar::-webkit-scrollbar-thumb,
.simulator-tabs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
  border-radius: 9999px;
}

[data-theme="light"] .sim-tab-bar::-webkit-scrollbar-track,
[data-theme="light"] .simulator-tabs::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.sim-tab-btn {
  flex: 0 0 auto;
  min-width: max-content;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  scroll-snap-align: start;
}

.sim-tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}

.sim-tab-btn.active {
  color: var(--accent-primary-light);
  background: var(--bg-surface);
  border-bottom-color: var(--accent-primary);
  box-shadow: inset 0 -2px 0 var(--accent-primary);
}

[data-theme="light"] .sim-tab-btn.active {
  color: var(--accent-primary);
  background: #ffffff;
  border-bottom-color: var(--accent-primary);
}


.sim-tab-content {
  display: none;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.sim-tab-content.active {
  display: block;
}

/* Interactive Simulator: Airgap Kill Switch */
.airgap-sim-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.airgap-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-surface-elevated);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  justify-content: space-between;
}

.toggle-control-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-medium);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.switch-toggle input:checked + .slider {
  background-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--accent-primary-glow);
}

.switch-toggle input:not(:checked) + .slider {
  background-color: var(--accent-emerald);
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(26px);
}

.status-indicator-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.emergency-kill-btn {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  border: 2px solid #fda4af;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px var(--accent-rose-glow);
  transition: all var(--transition-fast);
}

.emergency-kill-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 26px var(--accent-rose-glow);
}

.telemetry-panel {
  background: #0b0d10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .telemetry-panel {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.telemetry-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.telemetry-label {
  color: #94a3b8;
  font-size: 0.85rem;
  flex: 1 1 180px;
}

.telemetry-val {
  font-weight: 600;
  text-align: right;
  flex: 1 1 160px;
  word-break: break-word;
}

/* Interactive Simulator: Cryptographic Merkle Ledger */
.ledger-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ledger-btns-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ledger-btns-group .btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

#tamperLedgerBtn {
  color: var(--accent-rose) !important;
}

.ledger-chain-grid,
.ledger-chain-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.ledger-block {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  font-size: 0.82rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Abstract Vector Artwork inside Ledger Block Tiles */
.ledger-block::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 130px;
  height: 130px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%236366f1' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='50,5 95,28 95,72 50,95 5,72 5,28' fill='none' stroke='url(%23g)' stroke-width='1.5' stroke-dasharray='4,3'/%3E%3Ccircle cx='50' cy='50' r='24' fill='none' stroke='url(%23g)' stroke-width='1'/%3E%3Cpath d='M25 50 L75 50 M50 25 L50 75' stroke='url(%23g)' stroke-width='0.75' stroke-opacity='0.3'/%3E%3Ccircle cx='50' cy='18' r='3' fill='%23818cf8' fill-opacity='0.6'/%3E%3Ccircle cx='78' cy='66' r='2.5' fill='%2334d399' fill-opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.ledger-block:hover::before {
  transform: scale(1.18) rotate(15deg);
  opacity: 0.9;
}

.ledger-block:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%238b5cf6' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%23ec4899' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='42' fill='none' stroke='url(%23g2)' stroke-width='1.2' stroke-dasharray='6,4'/%3E%3Crect x='28' y='28' width='44' height='44' rx='8' fill='none' stroke='url(%23g2)' stroke-width='1' transform='rotate(45 50 50)'/%3E%3Ccircle cx='50' cy='50' r='12' fill='none' stroke='url(%23g2)' stroke-width='1'/%3E%3C/svg%3E");
}

.ledger-block:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2310b981' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%2306b6d4' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 50 Q 50 10 90 50 Q 50 90 10 50 Z' fill='none' stroke='url(%23g3)' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='18' fill='none' stroke='url(%23g3)' stroke-width='1.2' stroke-dasharray='3,3'/%3E%3Ccircle cx='50' cy='50' r='5' fill='%2310b981' fill-opacity='0.5'/%3E%3C/svg%3E");
}

.ledger-block:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='g4' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f59e0b' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%236366f1' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='50,12 88,80 12,80' fill='none' stroke='url(%23g4)' stroke-width='1.5' stroke-dasharray='5,3'/%3E%3Ccircle cx='50' cy='52' r='20' fill='none' stroke='url(%23g4)' stroke-width='1'/%3E%3Ccircle cx='50' cy='32' r='3.5' fill='%23f59e0b' fill-opacity='0.6'/%3E%3C/svg%3E");
}

/* Ensure inner content stays crisp above abstract vector */
.ledger-block > * {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .ledger-block {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .ledger-block::before {
  opacity: 0.35;
}

.ledger-block .block-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary-light);
  letter-spacing: 0.06em;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .ledger-block .block-id {
  color: var(--accent-primary);
}

.ledger-block .block-field {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.ledger-block .block-field span {
  color: var(--text-muted);
  font-weight: 600;
}

.ledger-block .block-action {
  color: var(--text-primary);
  font-size: 0.82rem;
  line-height: 1.45;
  background: var(--bg-primary);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin: 0.25rem 0;
}

[data-theme="light"] .ledger-block .block-action {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.ledger-block .hash-field {
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
}

.ledger-block .curr-hash {
  color: var(--text-primary);
  font-weight: 600;
}

.ledger-block.verified {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.ledger-block.verified .block-id {
  color: var(--accent-emerald-light);
}

[data-theme="light"] .ledger-block.verified .block-id {
  color: #059669;
}

.ledger-block.tampered {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
  animation: shakeBlock 0.4s ease-in-out;
}

.ledger-block.tampered .block-id {
  color: #f87171;
}

@keyframes shakeBlock {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Interactive Simulator: Multi-Agent SDLC */
.sdlc-sim-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  min-width: 0;
}

.sdlc-sim-grid > * {
  min-width: 0;
}

.sample-sdlc-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

[data-theme="light"] .sample-sdlc-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.sample-sdlc-btn strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.sample-sdlc-btn span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sample-sdlc-btn:hover {
  border-color: var(--accent-primary-light);
  transform: translateX(3px);
}

.sample-sdlc-btn.active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .sample-sdlc-btn.active {
  background: rgba(99, 102, 241, 0.08);
}

.sdlc-output-pane {
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-height: 280px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

[data-theme="light"] .sdlc-output-pane {
  background: #ffffff;
  border-color: #e2e8f0;
}

.tag-monolith {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald-light);
}

[data-theme="light"] .tag-monolith {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.35);
}

.data-table,
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 0.75rem;
}

.data-table th,
.data-table td,
.matrix-table th,
.matrix-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table th,
.matrix-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .data-table th,
[data-theme="light"] .matrix-table th {
  background: #f1f5f9;
  color: #64748b;
}

.data-table tr:hover,
.matrix-table tr:hover {
  background: var(--bg-surface-elevated);
}

[data-theme="light"] .data-table tr:hover,
[data-theme="light"] .matrix-table tr:hover {
  background: #f8fafc;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #6366f1 var(--bg-surface-elevated);
  margin-top: 0.75rem;
  padding-bottom: 8px;
  display: block;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.table-responsive::-webkit-scrollbar-track {
  background: var(--bg-surface-elevated);
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}

[data-theme="light"] .table-responsive {
  scrollbar-color: #6366f1 #e2e8f0;
}

[data-theme="light"] .table-responsive::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.08);
}

.table-responsive .data-table {
  min-width: 580px;
  margin-top: 0;
}

/* Bento Grid Architecture Section */
.bento-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-item,
.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Abstract Vector Graphics on Bento Tiles */
.bento-item::before,
.bento-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 170px;
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%236366f1' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='url(%23bg)' stroke-width='1' stroke-dasharray='5,5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='url(%23bg)' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='14' fill='none' stroke='url(%23bg)' stroke-width='1' stroke-dasharray='2,3'/%3E%3Cpath d='M10 50 L90 50 M50 10 L50 90' stroke='url(%23bg)' stroke-width='0.75' stroke-opacity='0.25'/%3E%3Ccircle cx='72' cy='28' r='3' fill='%23818cf8' fill-opacity='0.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.bento-item:hover::before,
.bento-card:hover::before {
  transform: scale(1.2) rotate(20deg);
  opacity: 0.85;
}

.bento-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2310b981' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%2306b6d4' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='50,8 90,82 10,82' fill='none' stroke='url(%23bg2)' stroke-width='1.5' stroke-dasharray='6,3'/%3E%3Ccircle cx='50' cy='54' r='22' fill='none' stroke='url(%23bg2)' stroke-width='1'/%3E%3Ccircle cx='50' cy='32' r='4' fill='%2310b981' fill-opacity='0.55'/%3E%3C/svg%3E");
}

.bento-card:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f59e0b' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%23ec4899' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='15' y='15' width='70' height='70' rx='12' fill='none' stroke='url(%23bg3)' stroke-width='1.2' stroke-dasharray='4,4' transform='rotate(15 50 50)'/%3E%3Ccircle cx='50' cy='50' r='18' fill='none' stroke='url(%23bg3)' stroke-width='1.5'/%3E%3C/svg%3E");
}

.bento-card:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg4' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%238b5cf6' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%236366f1' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='50,5 95,28 95,72 50,95 5,72 5,28' fill='none' stroke='url(%23bg4)' stroke-width='1.2'/%3E%3Cpolygon points='50,20 80,35 80,65 50,80 20,65 20,35' fill='none' stroke='url(%23bg4)' stroke-width='1' stroke-dasharray='3,3'/%3E%3C/svg%3E");
}

.bento-card:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg5' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2306b6d4' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%233b82f6' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M15 50 Q 50 15 85 50 Q 50 85 15 50 Z' fill='none' stroke='url(%23bg5)' stroke-width='1.5' stroke-dasharray='4,3'/%3E%3Ccircle cx='50' cy='50' r='14' fill='none' stroke='url(%23bg5)' stroke-width='1'/%3E%3C/svg%3E");
}

.bento-card:nth-child(6)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='bg6' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2310b981' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='url(%23bg6)' stroke-width='1' stroke-dasharray='4,4'/%3E%3Crect x='30' y='30' width='40' height='40' rx='6' fill='none' stroke='url(%23bg6)' stroke-width='1.2' transform='rotate(30 50 50)'/%3E%3C/svg%3E");
}

.bento-item > *,
.bento-card > * {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .bento-item,
[data-theme="light"] .bento-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .bento-item::before,
[data-theme="light"] .bento-card::before {
  opacity: 0.28;
}

.bento-item:hover,
.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .bento-item:hover,
[data-theme="light"] .bento-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
}

.bento-item.span-2,
.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.bento-icon svg {
  width: 26px;
  height: 26px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.bento-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bento-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

[data-theme="light"] .bento-tag {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

/* ====================================================================
   DEVELOPER VELOCITY & ROI CALCULATOR (ENTERPRISE SOVEREIGN EDITION)
   ==================================================================== */
.roi-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  position: relative;
}

.roi-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-emerald-light);
  margin-bottom: 1.25rem;
}

.roi-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* Preset Persona Selector Bar */
.roi-presets-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.roi-presets-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.roi-presets-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.roi-preset-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.roi-preset-btn small {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.roi-preset-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary-light);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.roi-preset-btn.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: var(--accent-primary);
  color: var(--accent-primary-light);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.roi-preset-btn.active small {
  color: #c7d2fe;
}

[data-theme="light"] .roi-preset-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .roi-preset-btn.active {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4f46e5;
}

/* Calculator 2-Column Responsive Layout */
.roi-calculator-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.roi-inputs-panel,
.roi-results-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

[data-theme="light"] .roi-inputs-panel,
[data-theme="light"] .roi-results-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

/* Panel Header & Currency Selector */
.roi-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.panel-title-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.currency-selector {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

[data-theme="light"] .currency-selector {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.curr-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.curr-btn:hover {
  color: var(--text-primary);
}

.curr-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* Sliders System */
.slider-group {
  margin-bottom: 2rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.slider-label-main label {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.slider-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.slider-val-badge {
  font-family: var(--font-mono);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--accent-primary-light);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.2s ease;
}

[data-theme="light"] .slider-val-badge {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4f46e5;
}

.range-wrap {
  position: relative;
  width: 100%;
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 20%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.1s linear;
}

[data-theme="light"] input[type=range] {
  background: #e2e8f0;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-primary-glow), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow: 0 0 20px var(--accent-primary);
}

input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-primary-glow);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Cloud AI Comparison Box */
.cloud-ai-comparison-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1rem;
}

[data-theme="light"] .cloud-ai-comparison-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.comp-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cloud-provider-tags {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-saffron);
}

.comp-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.comp-radio-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.comp-radio-label:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.comp-radio-label.active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary-light);
}

[data-theme="light"] .comp-radio-label {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .comp-radio-label.active {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4f46e5;
}

/* Right Panel: Hero Highlight Card */
.roi-hero-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%), var(--bg-primary);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .roi-hero-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #eef2ff 100%);
  border-color: #a7f3d0;
}

.roi-hero-sub {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.roi-hero-number {
  font-family: 'Orbitron', var(--font-sans);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #34d399 0%, #10b981 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.3));
}

[data-theme="light"] .roi-hero-number {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.roi-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.roi-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}

.roi-pill.emerald {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald-light);
}

.roi-pill.saffron {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-saffron-light);
}

[data-theme="light"] .roi-pill.emerald {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #047857;
}

[data-theme="light"] .roi-pill.saffron {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}

/* 4-Metric Grid */
.roi-metrics-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.metric-quad-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-quad-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

[data-theme="light"] .metric-quad-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.metric-quad-icon {
  margin-bottom: 0.35rem;
}

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

.metric-quad-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.3;
}

.metric-quad-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* SDLC Phase Acceleration Breakdown */
.sdlc-breakdown-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.65rem;
  margin-bottom: 1.75rem;
}

[data-theme="light"] .sdlc-breakdown-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.sdlc-breakdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sdlc-breakdown-header h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--text-primary);
}

.sdlc-time-ratio {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-emerald-light);
  font-weight: 700;
}

[data-theme="light"] .sdlc-time-ratio {
  color: #059669;
}

.sdlc-bars-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sdlc-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sdlc-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.phase-name {
  color: var(--text-secondary);
  font-weight: 600;
}

.phase-speedup {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.phase-speedup strong {
  color: var(--text-primary);
}

.sdlc-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

[data-theme="light"] .sdlc-progress-track {
  background: #e2e8f0;
}

.sdlc-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Action Controls Bar */
.roi-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .roi-calculator-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .roi-metrics-quad {
    grid-template-columns: 1fr;
  }
  .roi-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .roi-actions-bar .btn {
    width: 100%;
  }
}

/* Quickstart Terminal Section */
.terminal-card {
  background: #0b0d10;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

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

.terminal-tabs {
  display: flex;
  gap: 0.5rem;
}

.terminal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.terminal-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.7;
  position: relative;
}

.terminal-copy-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.terminal-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* FAQ Section & Accordion */
.faq-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.faq-section .section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.faq-accordion,
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.faq-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

[data-theme="light"] .faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.65rem;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.open .faq-icon,
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-primary-light);
}

.faq-answer {
  display: none;
  padding: 0 1.65rem 1.65rem 1.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  display: block;
}

/* CTA Banner */
.cta-banner-section {
  padding-block: 5rem 3rem;
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.09) 0%, rgba(16, 185, 129, 0.06) 100%), var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.08);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding-block: 4.5rem 2.5rem;
  margin-top: 4rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.3fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary-light);
  transform: translateX(3px);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 1.25rem;
}

.footer-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}



.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-version-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.back-to-top-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item.span-2,
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .airgap-sim-box {
    grid-template-columns: 1fr;
  }
  .roi-calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .header-nav {
    top: 10px;
    padding-inline: 0.75rem;
  }
  .nav-inner {
    padding: 0.6rem 0.95rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: grid !important;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .sdlc-sim-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .sim-tab-btn {
    min-width: 160px;
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }
  section[id] {
    scroll-margin-top: 80px;
  }
  .header-nav {
    top: 6px;
    padding-inline: 0.5rem;
    margin-bottom: 1rem;
  }
  .brand-sub {
    display: none;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .brand-icon svg {
    width: 24px;
    height: 24px;
  }
  .nav-actions .btn-primary span {
    display: none;
  }
  .nav-actions .btn-primary {
    padding: 0.5rem;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
  }
  .nav-actions .btn-primary svg {
    margin: 0;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .monolith-liquid-typo-wrap {
    height: clamp(65px, 14vw, 110px);
    margin-bottom: 0.75rem;
  }

  .hero-section {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
  .stat-card {
    padding: 1rem 0.75rem;
  }
  .stat-card .stat-num {
    font-size: 1.5rem;
  }
  .stat-card .stat-label {
    font-size: 0.75rem;
  }

  .terminal-container {
    border-radius: var(--radius-md);
  }
  .sim-tab-content {
    padding: 1.25rem 0.95rem;
  }
  .sim-tab-bar,
  .simulator-tabs {
    -webkit-overflow-scrolling: touch;
    padding-inline: 4px;
  }
  .sim-tab-btn {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0.75rem 0.95rem;
    font-size: 0.8rem;
    gap: 0.45rem;
  }
  .sim-tab-btn svg {
    width: 15px;
    height: 15px;
  }

  .airgap-sim-box {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .airgap-controls {
    padding: 1.25rem 1rem;
  }
  .telemetry-panel {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }
  .telemetry-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-bottom: 0.6rem;
  }
  .telemetry-label {
    font-size: 0.78rem;
    flex: none;
  }
  .telemetry-val {
    text-align: left;
    font-size: 0.84rem;
    flex: none;
    width: 100%;
  }

  .ledger-controls-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .ledger-btns-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .ledger-btns-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }
  .ledger-chain-grid {
    grid-template-columns: 1fr;
  }

  .sdlc-output-pane {
    padding: 1rem 0.85rem;
  }
  .data-table th,
  .data-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
  }

  .roi-inputs-panel,
  .roi-results-panel {
    padding: 1.25rem 1rem;
  }
  .roi-presets-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .roi-presets-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .roi-preset-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }
  .roi-metrics-quad {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .roi-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .roi-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner-card {
    padding: 2.5rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-bottom-meta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .roi-presets-group {
    grid-template-columns: 1fr;
  }
}

