/* ==========================================================================
   QBONIC WEBSITE - MODERN VANILLA CSS DESIGN SYSTEM
   Theme: Slate & Dark Cyan/Indigo Glassmorphism (Mobile Optimized)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-dark: #080C14;
  --bg-surface: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-input: #1E293B;

  /* Brand Accents */
  --primary: #38BDF8;          /* Bright Cyan */
  --primary-hover: #0EA5E9;
  --primary-glow: rgba(56, 189, 248, 0.35);

  --accent-indigo: #6366F1;    /* Vibrant Indigo */
  --accent-purple: #8B5CF6;    /* Electric Purple */
  --accent-emerald: #10B981;   /* Emerald Green for Trust/Success */
  --accent-rose: #F43F5E;      /* Rose Red for Risk */

  /* Neutral Typography */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);

  --bg-header: rgba(8, 12, 20, 0.94);

  /* Typography Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Radii */
  --section-spacing-y: clamp(48px, 6vw, 80px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides (Day Mode) */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #F8FAFC;

  --bg-header: rgba(248, 250, 252, 0.96);

  --primary: #0284C7;          /* Ocean Blue */
  --primary-hover: #0369A1;
  --primary-glow: rgba(2, 132, 199, 0.25);

  --accent-indigo: #4F46E5;
  --accent-purple: #7C3AED;
  --accent-emerald: #059669;
  --accent-rose: #E11D48;

  --text-main: #0F172A;
  --text-muted: #334155;
  --text-subtle: #64748B;

  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(2, 132, 199, 0.35);
}

/* Light Theme Component Specific Overrides */
[data-theme="light"] .paid-beta-card,
[data-theme="light"] .signup-card-wrapper {
  background: #FFFFFF;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .perk-box {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .perk-box h4 {
  color: #0F172A;
}

[data-theme="light"] .perk-box p {
  color: #475569;
}

[data-theme="light"] .comparison-card.card-negative {
  background: #FEF2F2;
  border-color: rgba(239, 68, 68, 0.25);
}

[data-theme="light"] .comparison-card.card-positive {
  background: #F0FDF4;
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .feature-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .feature-icon-box {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .simulator-window {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sim-header {
  background: #F1F5F9;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .sim-controls {
  background: #F8FAFC;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .metric-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.2);
  color: #0F172A;
}

[data-theme="light"] .form-select option {
  background: #FFFFFF;
  color: #0F172A;
}

[data-theme="light"] .modal-content {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .pass-card {
  background: #FFFFFF;
}

[data-theme="light"] .ticket-box {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .drawer-content {
  background: #FFFFFF;
}

/* Light Mode Simulator & Chart Overrides */
[data-theme="light"] .sim-chart-container {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .chart-title {
  color: #0F172A;
}

[data-theme="light"] .chart-subtitle {
  color: #64748B;
}

[data-theme="light"] .chart-tooltip {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #0284C7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .sim-ai-bar {
  background: #EEF2FF;
  border-color: rgba(79, 70, 229, 0.25);
}

[data-theme="light"] .ai-bar-title {
  color: #4F46E5;
}

[data-theme="light"] .ai-chip-btn {
  background: #FFFFFF;
  border-color: rgba(79, 70, 229, 0.3);
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ai-chip-btn:hover {
  background: #4F46E5;
  color: #FFFFFF;
}

[data-theme="light"] .sim-title-badge {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
}

[data-theme="light"] .sim-privacy-indicator {
  color: #059669;
}

[data-theme="light"] .pill-btn,
[data-theme="light"] .gran-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.15);
  color: #334155;
}

[data-theme="light"] .pill-btn.active,
[data-theme="light"] .gran-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

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

.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Ambient Background Glow Blobs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
  top: 1200px;
  right: -150px;
}

.bg-glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 800px;
  left: -150px;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glow Border Component */
.glow-border {
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.08), inset 0 0 15px rgba(56, 189, 248, 0.05);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}


/* --------------------------------------------------------------------------
   3. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%);
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.btn-xs {
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

/* Visual Theme Toggle Switch Slider */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.theme-switch-icon {
  font-size: 0.95rem;
  user-select: none;
  opacity: 0.8;
  line-height: 1;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border-glow);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--primary);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.theme-switch input:checked + .slider {
  background-color: #E2E8F0;
  border-color: #0284C7;
}

.theme-switch input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #0284C7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

/* Bold Form Badge Highlight */
.badge-highlight {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1.5px;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-glow);
}

.glow-button {
  position: relative;
  overflow: hidden;
}

.glow-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.glow-button:hover::after {
  transform: rotate(30deg) translateY(100%);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge-glow {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}


/* --------------------------------------------------------------------------
   4. HEADER & MOBILE NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important;
  background: var(--bg-header) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 0.15rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: 100%;
  max-width: 100%;
  height: 44px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .header-inner {
    padding: 0 1.5rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #334155;
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.brand-tagline {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.625rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.9;
  margin-top: 1px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

/* Header Dropdown (Resources ▾) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--primary);
}

.nav-dropdown-arrow {
  font-size: 8px;
  opacity: 0.7;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.nav-dropdown.open .nav-dropdown-arrow,
.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px -6px var(--primary-glow);
  padding: 8px;
  z-index: 100000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
}

/* Invisible bridge to prevent mouse cursor gap loss during travel */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

[data-theme="light"] .nav-dropdown-menu,
body.light-theme .nav-dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-dropdown-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  padding: 6px 10px 4px;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: rgba(56, 189, 248, 0.1);
}

[data-theme="light"] .nav-dropdown-item:hover,
body.light-theme .nav-dropdown-item:hover {
  background: rgba(2, 132, 199, 0.08);
}

.nav-dropdown-item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--primary);
}

.nav-dropdown-item-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
  line-height: 1.3;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 102;
}

.burger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-link:hover {
  color: var(--primary);
}


/* --------------------------------------------------------------------------
   5. HERO SECTION & TRUST STATS
   -------------------------------------------------------------------------- */
.hero-section {
  padding: var(--section-spacing-y) 0 calc(var(--section-spacing-y) * 0.8);
  text-align: center;
  position: relative;
}

.hero-badge-wrapper {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-main);
}

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

/* ==========================================================================
   HERO INTERACTIVE DEMO PREVIEW CARD (Above the Fold)
   ========================================================================== */
.hero-preview-wrapper {
  max-width: 980px;
  margin: 2.5rem auto 3rem;
  text-align: left;
}

.hero-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px -10px var(--primary-glow);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .hero-preview-card,
body.light-theme .hero-preview-card {
  background: #FFFFFF;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.1), 0 0 30px -5px rgba(2, 132, 199, 0.15);
}

.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
}

[data-theme="light"] .hero-preview-header,
body.light-theme .hero-preview-header {
  background: #F1F5F9;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.hero-preview-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-preview-titlebar {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-preview-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Top KPI Tiles */
.hero-preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .hero-preview-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: all 0.25s ease;
}

[data-theme="light"] .hero-kpi-card,
body.light-theme .hero-kpi-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-kpi-card.highlight {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.06);
}

.hero-kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hero-kpi-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-kpi-card.highlight .hero-kpi-value {
  color: var(--primary);
}

.hero-kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Interactive Slicer & Trend Layout Grid */
.hero-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 16px;
}

@media (max-width: 820px) {
  .hero-preview-grid {
    grid-template-columns: 1fr;
  }
}

.hero-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .hero-mini-card,
body.light-theme .hero-mini-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

.hero-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-mini-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-mini-hint {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Category Slicer Interactive Rows */
.hero-slicer-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-slicer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slicer-row:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateX(2px);
}

.hero-slicer-row.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .hero-slicer-row.active {
  background: rgba(2, 132, 199, 0.12);
  border-color: var(--primary);
}

.hero-slicer-bar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(56, 189, 248, 0.08);
  pointer-events: none;
  transition: width 0.3s ease;
}

.hero-slicer-row.active .hero-slicer-bar {
  background: rgba(56, 189, 248, 0.2);
}

.hero-slicer-left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-rank-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-slicer-row.active .hero-rank-badge {
  background: var(--primary);
  color: #080C14;
  border-color: var(--primary);
}

.hero-slicer-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-slicer-row.active .hero-slicer-name {
  color: var(--primary);
}

.hero-slicer-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: monospace;
}

.hero-slicer-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-slicer-row.active .hero-slicer-val {
  color: var(--primary);
}

.hero-slicer-pct {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Reactive Sparkline Container */
.hero-sparkline-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-sparkline-svg {
  width: 100%;
  height: 85px;
  overflow: visible;
}

.hero-sparkline-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.hero-sparkline-area {
  fill: url(#hero_sparkline_grad);
  opacity: 0.35;
  transition: d 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-sparkline-dot {
  fill: var(--primary);
  stroke: #080C14;
  stroke-width: 2;
  transition: cx 0.35s cubic-bezier(0.16, 1, 0.3, 1), cy 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-sparkline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Bottom Launch Action Bar */
.hero-preview-footer {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

[data-theme="light"] .hero-preview-footer,
body.light-theme .hero-preview-footer {
  background: #F1F5F9;
}

.hero-preview-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-preview-launch-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #080C14;
  background: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.hero-preview-launch-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
  color: #080C14;
}

/* Hero Trust Stats Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 35px;
  background-color: var(--border-subtle);
}


/* --------------------------------------------------------------------------
   6. SECTIONS COMMON LAYOUT (Standardized Spacing Cadence)
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-spacing-y) 0;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}


/* --------------------------------------------------------------------------
   7. COMPARISON GRID (PROBLEM VS SOLUTION)
   -------------------------------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.comparison-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.badge-danger {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.comparison-list li strong {
  color: var(--text-main);
  display: block;
}

.icon-cross {
  color: var(--accent-rose);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.icon-check {
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}


/* --------------------------------------------------------------------------
   8. INTERACTIVE DEMO SIMULATOR WIDGET
   -------------------------------------------------------------------------- */
.simulator-window {
  background: #0B1120;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
  overflow: hidden;
}

.sim-header {
  background: #0F172A;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.sim-title-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  background: rgba(30, 41, 59, 0.6);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
}

.sim-privacy-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseGlow 1.8s infinite;
}

/* Simulator App Toolbar */
.sim-app-toolbar {
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.row-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.save-config-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.filter-chip {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-select {
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.font-emerald {
  color: #10B981 !important;
}

/* Summary Metrics Strip (8 Cards Horizontal Grid) */
.sim-metrics-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.4rem;
  padding: 0.75rem 1.25rem 0.25rem;
  overflow-x: auto;
}

@media (max-width: 1200px) {
  .sim-metrics-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .sim-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-tile {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  transition: var(--transition-fast);
}

.metric-tile.active {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.metric-tile.derived {
  border-color: rgba(124, 58, 237, 0.3);
}

.tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.tile-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-tag {
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.05rem 0.25rem;
  border-radius: 3px;
}

.tag-sum {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.tag-derived {
  background: rgba(6, 182, 212, 0.2);
  color: #06B6D4;
}

.tile-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

/* 3-Column Executive Dashboard Body Grid */
.dash-3col-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 1.25rem;
}

@media (max-width: 992px) {
  .dash-3col-grid {
    grid-template-columns: 1fr;
  }
}

.dash-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Ranked Entity Table Card */
.dash-table-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.table-card-header.green-header,
.table-card-header.brand-header {
  background: rgba(56, 189, 248, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-head-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.table-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.table-count-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.25);
  color: #E0F2FE;
  padding: 0.05rem 0.35rem;
  border-radius: 10px;
}

.table-sort-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
}

.table-card-body {
  padding: 0.3rem 0;
}

.table-row {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  gap: 0.4rem;
  transition: background 0.15s ease;
  cursor: pointer;
}

.table-row:hover {
  background: rgba(56, 189, 248, 0.08);
}

.rank-badge {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(51, 65, 85, 0.6);
  color: var(--text-subtle);
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-badge.gold { background: #F59E0B; color: #0F172A; }
.rank-badge.silver { background: #94A3B8; color: #0F172A; }
.rank-badge.bronze { background: #D97706; color: #FFFFFF; }

.row-name {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.row-code {
  font-size: 0.65rem;
  color: var(--text-subtle);
  white-space: nowrap;
}

.row-val {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.table-footer-link {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.25rem 0 0.15rem;
  cursor: pointer;
}

/* Synchronized Sparkline Trend Card (Column 3) */
.graphs-col {
  position: relative;
}

.sparkline-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  position: relative;
  cursor: crosshair;
}

.sparkline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.spark-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.spark-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.spark-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.4px;
}

.spark-tag {
  font-size: 0.55rem;
  font-weight: 800;
  background: rgba(51, 65, 85, 0.6);
  color: var(--text-subtle);
  padding: 0.05rem 0.25rem;
  border-radius: 3px;
}

.active-table-tag {
  background: rgba(56, 189, 248, 0.2);
  color: var(--primary);
}

.spark-val {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.spark-svg-container {
  width: 100%;
  height: 36px;
}

.spark-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Floating Unified Synchronized Tooltip Popup Overlay */
.sync-tooltip-popup {
  position: absolute;
  top: 15px;
  left: 35%;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 10;
  backdrop-filter: blur(8px);
  width: 210px;
}

.sync-tt-head {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.25rem;
  margin-bottom: 0.35rem;
}

.sync-tt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.tt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
}

/* Light Theme Executive Dashboard Overrides */
[data-theme="light"] .sim-app-toolbar {
  background: #F1F5F9;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .filter-chip {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

[data-theme="light"] .chip-select {
  background: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] .metric-tile {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .tile-val {
  color: #0F172A;
}

[data-theme="light"] .dash-table-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .table-card-header.green-header,
[data-theme="light"] .table-card-header.brand-header {
  background: #E0F2FE;
  border-bottom-color: #BAE6FD;
}

[data-theme="light"] .table-title {
  color: #0369A1;
}

[data-theme="light"] .table-count-badge {
  background: #BAE6FD;
  color: #0369A1;
}

[data-theme="light"] .row-name {
  color: #0F172A;
}

[data-theme="light"] .row-val {
  color: #0284C7;
}

[data-theme="light"] .table-footer-link {
  color: #0284C7;
}

[data-theme="light"] .sparkline-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .spark-title {
  color: #0F172A;
}

[data-theme="light"] .spark-val {
  color: #047857;
}

[data-theme="light"] .sync-tooltip-popup {
  background: #FFFFFF;
  border-color: #0284C7;
  color: #0F172A;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .sync-tt-head,
[data-theme="light"] .sync-tt-row {
  color: #0F172A;
}

/* Hidden Panel Helper & Smooth Auto-Rotation Transition */
.sim-config-panel.hidden,
.dash-3col-grid.hidden,
.sim-metrics-strip.hidden {
  display: none !important;
}

.sim-config-panel,
.dash-3col-grid,
.sim-metrics-strip {
  animation: fadeInSim 0.4s ease-in-out;
}

@keyframes fadeInSim {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Simulator Bottom Screen Pagination Dots */
.sim-screen-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 0 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid var(--border-subtle);
}

.sim-dots-top {
  padding: 0.85rem 0 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-subtle);
  border-top: none;
  margin: 0;
}

.sim-dot-nav {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-dot-nav:hover {
  background: rgba(56, 189, 248, 0.6);
  transform: scale(1.2);
}

.sim-dot-nav.active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Light Mode Overrides for Pagination Dots */
[data-theme="light"] .sim-screen-dots {
  background: #F8FAFC;
  border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .sim-dot-nav {
  background: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .sim-dot-nav.active {
  background: #0284C7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

/* Configuration View Panel */
.sim-config-panel {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.4);
}

.config-settings-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.config-row-top {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex-2 { flex: 2; min-width: 260px; }
.flex-1 { flex: 1; min-width: 180px; }

.config-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cfg-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.cfg-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  width: 100%;
}

.url-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.url-field {
  flex: 1;
}

.detect-btn {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10B981;
  color: #10B981;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.cfg-hint {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.curr-pill-group {
  display: flex;
  gap: 0.35rem;
}

.curr-pill {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.curr-pill.active {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border-color: #10B981;
}

/* AI Categorization Bar */
.ai-categorization-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ai-cat-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-cat-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.ai-cat-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.reclassify-btn {
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #C084FC;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.ai-cat-desc {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: -0.5rem;
}

/* 4-Column Categorization Grid */
.config-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .config-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .config-4col-grid {
    grid-template-columns: 1fr;
  }
}

.cat-col {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cat-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-col-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-main);
}

.cat-col-count {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
}

.green-count { background: rgba(16, 185, 129, 0.25); color: #A7F3D0; }
.orange-count { background: rgba(245, 158, 11, 0.25); color: #FDE68A; }
.purple-count { background: rgba(192, 132, 252, 0.25); color: #E9D5FF; }
.grey-count { background: rgba(148, 163, 184, 0.25); color: #CBD5E1; }

.cat-col-desc {
  font-size: 0.68rem;
  color: var(--text-subtle);
  line-height: 1.3;
}

.cat-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cat-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.cat-card-format {
  font-size: 0.65rem;
  color: #10B981;
}

.cat-card-pair {
  font-size: 0.65rem;
  color: #F59E0B;
}

.cat-card-hint {
  font-size: 0.65rem;
  color: var(--text-subtle);
  font-style: italic;
}

.cat-card-badge-min {
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  width: fit-content;
}

.cat-card-agg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
}

.agg-tag { color: #C084FC; }
.curr-tag { font-weight: 800; color: #10B981; }

.unassigned-pill {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Light Mode Configuration Panel Overrides */
[data-theme="light"] .sim-view-tabs {
  background: #E2E8F0;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .view-tab-btn {
  color: #334155;
}

[data-theme="light"] .view-tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
}

[data-theme="light"] .sim-config-panel {
  background: #F8FAFC;
}

[data-theme="light"] .config-settings-card,
[data-theme="light"] .cat-col,
[data-theme="light"] .cat-card,
[data-theme="light"] .unassigned-pill {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
}

[data-theme="light"] .cfg-label,
[data-theme="light"] .ai-cat-title,
[data-theme="light"] .cat-col-title,
[data-theme="light"] .cat-card-title {
  color: #0F172A;
}

[data-theme="light"] .curr-pill {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.18);
  color: #1E293B;
  font-weight: 700;
}

[data-theme="light"] .curr-pill.active {
  background: #DCFCE7;
  color: #047857;
  border-color: #10B981;
}

[data-theme="light"] .detect-btn {
  background: #DCFCE7;
  border-color: #10B981;
  color: #047857;
}

[data-theme="light"] .reclassify-btn {
  background: #F3E8FF;
  border-color: #C084FC;
  color: #6B21A8;
}

[data-theme="light"] .cfg-hint,
[data-theme="light"] .ai-cat-desc,
[data-theme="light"] .cat-col-desc {
  color: #64748B;
}

[data-theme="light"] .ai-cat-sub {
  color: #047857;
}

[data-theme="light"] .cfg-input {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0F172A;
}

/* Light Mode Button Visibility & Contrast Fixes */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #4F46E5 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
  color: #FFFFFF !important;
}

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

[data-theme="light"] .btn-secondary:hover {
  background: #CBD5E1;
  color: #0F172A !important;
  border-color: #94A3B8;
}

[data-theme="light"] .btn-outline {
  background: transparent;
  color: #0284C7 !important;
  border-color: #0284C7;
}

[data-theme="light"] .btn-outline:hover {
  background: #E0F2FE;
  color: #0369A1 !important;
}

[data-theme="light"] .save-config-btn {
  background: #FFFFFF;
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .save-config-btn:hover {
  background: #F1F5F9;
}

/* Form Privacy Note & Links */
.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.5;
  margin-top: 1.5rem;
}

.privacy-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.privacy-modal-content {
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  text-align: left;
}

.privacy-body {
  padding: 1rem 0.5rem 0.5rem;
}

.privacy-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.privacy-update-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.privacy-subhead {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.privacy-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

[data-theme="light"] .privacy-modal-content {
  background: #FFFFFF;
  color: #0F172A;
}

[data-theme="light"] .privacy-modal-title {
  color: #0F172A;
}

[data-theme="light"] .privacy-subhead {
  color: #0284C7;
}

[data-theme="light"] .privacy-body p {
  color: #334155;
}

/* Contact Us Info Card */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-icon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  font-weight: 600;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.contact-value:hover {
  color: var(--primary);
}

[data-theme="light"] .contact-info-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .contact-value {
  color: #0F172A;
}

[data-theme="light"] .contact-icon {
  background: #E0F2FE;
}

/* ==========================================================================
   ABOUT US SECTION (FOUNDER SPOTLIGHT) STYLES
   ========================================================================== */
.about-founder-spotlight {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spotlight-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.quote-mark-watermark {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 10rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(56, 189, 248, 0.05);
  pointer-events: none;
  user-select: none;
}

.founder-quote-text {
  font-size: 1.25rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--text-main);
  max-width: 720px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.founder-signature-block {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.founder-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.founder-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%);
  color: #0F172A;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.founder-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.founder-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.linkedin-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.12);
  border: 1px solid rgba(10, 102, 194, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.linkedin-badge-link:hover {
  background: rgba(10, 102, 194, 0.25);
  transform: translateY(-1px);
}

.founder-author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.founder-author-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.1rem;
}

.founder-author-company {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* Light Mode Overrides for Founder Spotlight */
[data-theme="light"] .about-founder-spotlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: #CBD5E1;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .quote-mark-watermark {
  color: rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .founder-quote-text,
[data-theme="light"] .founder-author-name {
  color: #0F172A;
}

[data-theme="light"] .founder-author-company {
  color: #475569;
}

[data-theme="light"] .founder-author-role {
  color: #0284C7;
}

[data-theme="light"] .spotlight-header-badge {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0284C7;
}

/* ==========================================================================
   CONTACT US SECTION STYLES (Approach A: Balanced 3-Column Suite)
   ========================================================================== */
.contact-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-suite-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-suite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -10px rgba(56, 189, 248, 0.18);
}

.contact-featured-card {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, var(--bg-card) 100%);
  border-color: rgba(56, 189, 248, 0.3);
}

.suite-card-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.suite-icon-box {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.primary-icon-box {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
}

.contact-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.suite-badge-neutral {
  display: inline-flex;
  align-items: center;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.suite-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.35rem;
}

.suite-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}

.suite-email-highlight {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 0.5rem;
  word-break: break-all;
}

.suite-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.suite-card-bottom {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.suite-btn-full {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.suite-copy-btn {
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suite-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10B981 !important;
  border-color: #10B981 !important;
}

.suite-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.suite-arrow {
  transition: transform 0.2s ease;
}

.suite-action-link:hover .suite-arrow {
  transform: translateX(4px);
}

/* Light Theme Overrides */
[data-theme="light"] .about-founder-card,
[data-theme="light"] .pillar-card,
[data-theme="light"] .contact-suite-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .contact-featured-card {
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.04) 0%, #FFFFFF 100%);
  border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .contact-suite-card:hover {
  border-color: #0284C7;
  box-shadow: 0 16px 36px -10px rgba(2, 132, 199, 0.16);
}

[data-theme="light"] .suite-icon-box,
[data-theme="light"] .pillar-icon {
  background: #F0F9FF;
  border-color: #BAE6FD;
}

[data-theme="light"] .suite-category {
  color: #0369A1;
}

[data-theme="light"] .founder-quote,
[data-theme="light"] .founder-name,
[data-theme="light"] .pillar-title,
[data-theme="light"] .suite-title {
  color: #0F172A;
}

[data-theme="light"] .suite-email-highlight {
  color: #0284C7;
}

[data-theme="light"] .pillar-desc,
[data-theme="light"] .founder-company,
[data-theme="light"] .suite-desc {
  color: #475569;
}

[data-theme="light"] .suite-badge-neutral {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .suite-card-bottom {
  border-top-color: #F1F5F9;
}

@media (max-width: 992px) {
  .contact-trio-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chart-title {
  font-size: 1.05rem;
  color: var(--text-main);
}

.chart-subtitle {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.primary { background-color: var(--primary); }
.legend-dot.secondary { background-color: var(--accent-indigo); }

.chart-svg-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
}

.sim-svg-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-tooltip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 12, 20, 0.95);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 10;
}

/* AI Command Bar */
.sim-ai-bar {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ai-bar-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-indigo);
  white-space: nowrap;
}

.ai-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ai-chip-btn {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--text-main);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ai-chip-btn:hover {
  background: var(--accent-indigo);
  color: #FFF;
  transform: scale(1.02);
}

.sim-footer-note {
  background: #0F172A;
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}


/* --------------------------------------------------------------------------
   9. FEATURES GRID
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* Subtle Paid Beta Card */
.paid-beta-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.beta-card-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.beta-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.beta-card-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 2rem;
  line-height: 1.6;
}

.beta-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.perk-box {
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
}

.perk-box:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.perk-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.perk-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.perk-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.card-popular {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
  background: rgba(15, 23, 42, 0.9);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%);
  color: #0F172A;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 1rem;
}

.currency { font-size: 1.8rem; vertical-align: top; }
.price-period { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }

.price-subnote {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  display: block;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features li.muted {
  color: var(--text-subtle);
  opacity: 0.6;
}


/* --------------------------------------------------------------------------
   11. BETA SIGN-UP FORM
   -------------------------------------------------------------------------- */
.signup-card-wrapper {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.signup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.signup-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.signup-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.req { color: var(--accent-rose); }

.form-input, .form-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.form-select option {
  background: #0F172A;
  color: var(--text-main);
}

.form-error {
  font-size: 0.78rem;
  color: var(--accent-rose);
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select {
  border-color: var(--accent-rose);
}

.form-group.has-error .form-error {
  display: block;
}

/* Custom Checkbox */
.checkbox-group {
  margin-top: 0.5rem;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
  margin: 3px 0 0 6px;
  width: 5px;
  height: 9px;
  border: solid #0F172A;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-top-color: #0F172A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* --------------------------------------------------------------------------
   12. FAQ ACCORDION — UNIFIED DESIGN SYSTEM
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: var(--bg-surface);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 6px 24px -6px rgba(56, 189, 248, 0.2);
  background: var(--bg-card);
}

[data-theme="light"] .faq-item,
body.light-theme .faq-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-item:hover,
body.light-theme .faq-item:hover {
  background: #f8fafc;
  border-color: rgba(14, 165, 233, 0.45);
}

[data-theme="light"] .faq-item.active,
body.light-theme .faq-item.active {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.18);
}

/* Trigger Layout */
.faq-trigger {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.faq-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.faq-item-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.icon-box-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.icon-box-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.icon-box-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.icon-box-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.faq-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.faq-q-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

/* Reassurance Micro-Pill */
.reassurance-pill {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.pill-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.pill-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.pill-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.pill-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Light Theme High-Contrast Pills */
body.light-theme .pill-emerald,
[data-theme="light"] .pill-emerald {
  background: #dcfce7;
  color: #15803d;
}

body.light-theme .pill-blue,
[data-theme="light"] .pill-blue {
  background: #e0f2fe;
  color: #0369a1;
}

body.light-theme .pill-purple,
[data-theme="light"] .pill-purple {
  background: #f3e8ff;
  color: #7e22ce;
}

body.light-theme .pill-amber,
[data-theme="light"] .pill-amber {
  background: #fef3c7;
  color: #b45309;
}

/* Trigger Right Actions (Chevron) */
.faq-trigger-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.faq-chevron-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.faq-chevron-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron-circle {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

body:not(.light-theme) .faq-item.active .faq-chevron-circle,
[data-theme="dark"] .faq-item.active .faq-chevron-circle {
  color: #080C14;
}

[data-theme="light"] .faq-chevron-circle,
body.light-theme .faq-chevron-circle {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #64748b;
}

[data-theme="light"] .faq-item.active .faq-chevron-circle,
body.light-theme .faq-item.active .faq-chevron-circle {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.faq-item.active .faq-chevron-icon {
  transform: rotate(180deg);
}

/* Fallback for generic .faq-icon if used */
.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* FAQ Content Body */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 18px;
}

.faq-item.active .faq-content {
  max-height: 1200px;
  padding: 4px 18px 18px 62px;
}

@media (max-width: 600px) {
  .faq-item.active .faq-content {
    padding: 4px 16px 16px 16px;
  }
  .faq-trigger {
    padding: 12px 14px;
    gap: 10px;
  }
  .faq-q-text {
    font-size: 0.9rem;
  }
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.faq-content code {
  background: rgba(30, 41, 59, 0.8);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.85em;
}

[data-theme="light"] .faq-content code,
body.light-theme .faq-content code {
  background: #f1f5f9;
  color: #0284c7;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Detailed FAQs / Whitepaper Callout Card */
.faq-whitepaper-card {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.faq-whitepaper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #6366f1 100%);
}

.faq-whitepaper-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.12);
}

[data-theme="light"] .faq-whitepaper-card,
body.light-theme .faq-whitepaper-card {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 16px rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .faq-whitepaper-card:hover,
body.light-theme .faq-whitepaper-card:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12), 0 0 20px rgba(14, 165, 233, 0.15);
}

.whitepaper-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  flex-shrink: 0;
}

[data-theme="light"] .whitepaper-icon-box,
body.light-theme .whitepaper-icon-box {
  background: #e0f2fe;
  color: #0369a1;
}


/* --------------------------------------------------------------------------
   13. MODAL DIALOG (BETA TICKET PASS)
   -------------------------------------------------------------------------- */
.modal-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 520px;
  width: 90%;
  margin: auto;
  outline: none;
}

.modal-dialog::backdrop {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
}

.modal-content {
  background: #0F172A;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  color: var(--text-main);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.pass-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.pass-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: 1px;
}

.pass-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pass-msg {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.ticket-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ticket-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.ticket-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.ticket-code-row code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
}

.ticket-sub {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.pass-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Price Disruption Callout Box */
.price-disruption-box {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 820px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.disruption-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.disruption-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disruption-text strong {
  color: var(--text-main);
}

.mt-2 { margin-top: 0.5rem; }


/* --------------------------------------------------------------------------
   14. FOOTER (Matching console.qbonic.com exact look, feel, typography & colors)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0 1.25rem;
  background: var(--bg-dark);
  transition: var(--transition-smooth);
  width: 100%;
}

[data-theme="light"] .site-footer {
  background: #F8FAFC;
  border-top-color: rgba(15, 23, 42, 0.08);
}

.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.footer-brand .brand-dot {
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-weight: 500;
}

.footer-links a {
  font-size: 0.75rem !important;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  gap: 1rem;
  user-select: none;
}

.copyright-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  opacity: 0.8;
  text-align: left;
  white-space: nowrap;
}

.company-attribution {
  font-size: 0.75rem;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}

.company-attribution strong {
  color: var(--text-main);
  font-weight: 700;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  font-size: 0.75rem;
  white-space: nowrap;
  justify-self: end;
}

.footer-legal-links a {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.footer-legal-dot {
  opacity: 0.3;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0 0.15rem;
}

@media (max-width: 992px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.65rem;
  }
  .copyright-text {
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
  }
}


/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (MOBILE OPTIMIZATION)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-trust-bar {
    gap: 1.2rem;
  }
  .trust-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-demo-btn {
    display: none !important;
  }
  .header-actions {
    gap: 0.6rem;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .trust-divider {
    display: none;
  }
  .section {
    padding: 3.5rem 0;
  }
  .signup-card-wrapper {
    padding: 2rem 1.25rem;
  }
  .sim-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .sim-ai-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .copyright-text {
    text-align: center;
  }
  .company-attribution {
    white-space: normal;
  }
  .back-to-top {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }
  .hero-tour-sublink-wrapper {
    margin-top: 0;
    margin-bottom: 2.2rem;
  }
  .hero-tour-sublink {
    width: 100%;
    justify-content: center;
  }
  .faq-whitepaper-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.2rem;
  }
  .faq-whitepaper-card > div {
    flex-direction: column;
    text-align: center;
  }
  .faq-whitepaper-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   14. VIDEO DEMO LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #0B1120;
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.video-modal.active .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.85);
  color: #F8FAFC;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.video-modal-close:hover {
  background: rgba(56, 189, 248, 0.35);
  border-color: #38BDF8;
  transform: scale(1.1);
  color: #38BDF8;
}

.video-modal-content {
  width: 100%;
  background: #000;
}

.video-responsive-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Light mode adjustment */
[data-theme="light"] .video-modal-backdrop {
  background: rgba(15, 23, 42, 0.85);
}

/* Light mode adjustment */
[data-theme="light"] .video-modal-dialog {
  background: #FFFFFF;
  border-color: rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   4-CARD TRUST ANCHOR GRID (Reused across homepage & detailed FAQs)
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 32px 0 36px;
}
@media (max-width: 992px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.trust-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .trust-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .trust-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 24px -6px rgba(14, 165, 233, 0.15);
}
.trust-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.trust-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.trust-icon-blue { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.trust-icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.trust-icon-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

.trust-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.trust-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   SIMULATOR MICRO-INTERACTION STYLES
   ========================================================================== */
.sim-metrics-strip .metric-tile {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.sim-metrics-strip .metric-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}
.sim-metrics-strip .metric-tile.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  box-shadow: 0 0 0 1px var(--primary), 0 4px 16px rgba(56, 189, 248, 0.2);
}
[data-theme="light"] .sim-metrics-strip .metric-tile.active {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.15) 0%, #FFFFFF 100%);
}

.duration-toggle-chip {
  transition: all 0.2s ease;
  user-select: none;
}
.duration-toggle-chip:hover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
}
.duration-toggle-chip:active {
  transform: scale(0.97);
}

.sparkline-card.highlighted-sparkline {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px var(--primary), 0 6px 20px rgba(56, 189, 248, 0.25) !important;
}

/* Founding Cohort Card & Perks */
.founding-perks-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 24px;
}
@media (max-width: 650px) {
  .founding-perks-strip { grid-template-columns: 1fr; }
}
.founding-perk-card {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}
[data-theme="light"] .founding-perk-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}
.founding-perk-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.founding-perk-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   INLINE VIDEO SHOWCASE (Linear/Apple Desktop Window Style)
   ========================================================================== */
.video-showcase-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
  max-width: 960px;
  margin: 0 auto;
}
.video-showcase-window:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 24px 60px -15px rgba(56, 189, 248, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.25);
}
[data-theme="light"] .video-showcase-window {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

.video-window-titlebar {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
[data-theme="light"] .video-window-titlebar {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.1);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.w-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.w-red { background: #FF5F56; }
.w-yellow { background: #FFBD2E; }
.w-green { background: #27C93F; }

.window-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
[data-theme="light"] .window-title {
  color: #475569;
}

.window-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.video-showcase-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000000;
}
.video-showcase-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-showcase-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
[data-theme="light"] .video-showcase-footer {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.1);
}

.v-feature {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.v-feature strong {
  color: var(--text-main);
}

.footer-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-stat strong {
  color: var(--text-main);
}
.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.stat-dot.green { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.stat-dot.blue { background: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }
.stat-dot.purple { background: #a855f7; box-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

@media (max-width: 640px) {
  .video-window-titlebar {
    padding: 10px 14px;
  }
  .window-title {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .video-showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 10px;
  }
  .footer-stat, .v-feature {
    width: 100%;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .window-badge {
    display: none;
  }
  .window-title {
    max-width: 180px;
  }
}

/* Form Focus Pulse on Anchor Navigation */
@keyframes pulseCard {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.signup-card-wrapper.highlight-pulse {
  animation: pulseCard 1.6s cubic-bezier(0.4, 0, 0.6, 1) 2;
}

/* ==========================================================================
   LIVE DEMO & PLG CONVERSION ENHANCEMENTS
   ========================================================================== */

/* Nav Demo Button */
.nav-demo-btn {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary) !important;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-demo-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .nav-demo-btn {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7 !important;
  border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .nav-demo-btn:hover {
  background: rgba(2, 132, 199, 0.18);
  border-color: #0284C7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

/* Hero Live Demo Button & Badge */
.hero-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.demo-cta-pill {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

[data-theme="light"] .demo-cta-pill {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Hero 40-Sec Video Tour Sublink */
.hero-tour-sublink-wrapper {
  margin-top: 0;
  margin-bottom: 3.5rem;
  text-align: center;
}

.hero-tour-sublink {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.hero-tour-sublink:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

/* Live Demo Interactive Sandbox Callout Card (#demo) */
.demo-interactive-card {
  margin-top: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

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

.demo-interactive-info {
  flex: 1;
  min-width: 0;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.demo-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.demo-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.demo-perks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.demo-perk-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.demo-interactive-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.demo-cta-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 900px) {
  .demo-interactive-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.8rem 1.5rem;
    gap: 1.8rem;
  }
  .demo-interactive-cta {
    align-items: stretch;
  }
  .demo-interactive-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Bottom Final CTA Section Trust Tags */
.cta-trust-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.cta-trust-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   LEGAL SUITE & REFINED PRICING STYLES (Consumer-Grade B2C)
   ========================================================================== */

/* Pricing Trust Strip */
.pricing-trust-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding: 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-strip-icon {
  font-size: 0.95rem;
}

.trust-strip-divider {
  color: var(--text-muted);
  opacity: 0.4;
}

/* Legal Hub Navigation Tabs */
.legal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-tab-btn:hover {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.08);
}

.legal-tab-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

/* TL;DR Executive Summary Cards */
.legal-tldr-card {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.legal-tldr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.legal-tldr-card.privacy-tldr {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.28);
}
.legal-tldr-card.privacy-tldr::before {
  background: #10b981;
}

.legal-tldr-card.refund-tldr {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.28);
}
.legal-tldr-card.refund-tldr::before {
  background: #f59e0b;
}

.legal-tldr-card.terms-tldr {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.28);
}
.legal-tldr-card.terms-tldr::before {
  background: #6366f1;
}

.tldr-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tldr-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.privacy-tldr .tldr-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.refund-tldr .tldr-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.terms-tldr .tldr-badge {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.25);
}

.tldr-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.tldr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.tldr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tldr-item strong {
  color: var(--text-main);
}

.tldr-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Light Theme Overrides for Legal & Pricing */
[data-theme="light"] .legal-nav-tabs {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .legal-tab-btn:hover {
  background: #f0f9ff;
  color: #0284c7;
}

[data-theme="light"] .pricing-trust-strip {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .legal-tldr-card.privacy-tldr {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

[data-theme="light"] .legal-tldr-card.refund-tldr {
  background: #fffbeb;
  border-color: #fde68a;
}

[data-theme="light"] .legal-tldr-card.terms-tldr {
  background: #eef2ff;
  border-color: #c7d2fe;
}

@media (max-width: 768px) {
  .tldr-grid {
    grid-template-columns: 1fr;
  }
  .legal-nav-tabs {
    width: 100%;
    flex-direction: column;
  }
  .legal-tab-btn {
    width: 100%;
    justify-content: center;
  }
}

