/* dAutomata™ Institutional Design System & Theme Engine */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Surface Void & Canvas (Terminal Obsidian Dark) */
  --bg-canvas: #07090e;
  --bg-surface: #0d1117;
  --bg-surface-elevated: rgba(13, 17, 23, 0.85);
  --bg-surface-hover: #161b22;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 27, 34, 0.95);
  --bg-inset: #12161f;
  --bg-terminal: #090c10;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 240, 255, 0.35);
  --divider-color: #161b22;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #07090e;

  /* Brand Signature Accents */
  --brand-cyan: #00f0ff;
  --brand-cyan-dark: #00bac7;
  --brand-cyan-glow: rgba(0, 240, 255, 0.35);
  --brand-blue: #4facfe;

  /* Status & Semantic Tokens */
  --accent-emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --accent-rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.35);
  --accent-purple: #c084fc;
  --purple-glow: rgba(192, 132, 252, 0.35);

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 0 30px rgba(0, 240, 255, 0.2);
  --shadow-emerald: 0 0 30px rgba(16, 185, 129, 0.2);

  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transition Speed */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ==========================================================================
   ALTERNATING SECTION THEMES (EXPLICIT SECTION-DARK & SECTION-LIGHT)
   ========================================================================== */
.section-dark {
  --bg-canvas: #07090e;
  --bg-surface: #0d1117;
  --bg-surface-elevated: rgba(13, 17, 23, 0.85);
  --bg-surface-hover: #161b22;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 27, 34, 0.95);
  --bg-inset: #12161f;
  --bg-terminal: #090c10;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 240, 255, 0.35);
  --divider-color: #161b22;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #07090e;

  --brand-cyan: #00f0ff;
  --brand-cyan-dark: #00bac7;
  --brand-cyan-glow: rgba(0, 240, 255, 0.35);
  --brand-blue: #4facfe;

  --accent-emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --accent-rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.35);
  --accent-purple: #c084fc;
  --purple-glow: rgba(192, 132, 252, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 0 30px rgba(0, 240, 255, 0.2);
  --shadow-emerald: 0 0 30px rgba(16, 185, 129, 0.2);

  background-color: var(--bg-canvas);
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.section-light {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: rgba(255, 255, 255, 0.95);
  --bg-surface-hover: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-inset: #f1f5f9;
  --bg-terminal: #0f172a;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-glow: rgba(0, 150, 166, 0.35);
  --divider-color: #e2e8f0;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --brand-cyan: #0096a6;
  --brand-cyan-dark: #007785;
  --brand-cyan-glow: rgba(0, 150, 166, 0.2);
  --brand-blue: #0284c7;

  --accent-emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.2);
  --accent-amber: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.2);
  --accent-rose: #e11d48;
  --rose-glow: rgba(225, 29, 72, 0.2);
  --accent-purple: #9333ea;
  --purple-glow: rgba(147, 51, 234, 0.2);

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --shadow-cyan: 0 8px 24px rgba(0, 150, 166, 0.15);
  --shadow-emerald: 0 8px 24px rgba(5, 150, 105, 0.15);

  background-color: var(--bg-canvas) !important;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Light Section Header & Typography Overrides */
.section-light .section-header h2 {
  color: #0f172a;
}

.section-light .section-header p {
  color: #475569;
}

.section-light .section-tag {
  background: rgba(0, 150, 166, 0.08);
  color: var(--brand-cyan);
  border-color: rgba(0, 150, 166, 0.22);
}

.section-light .section-tag.purple {
  background: rgba(147, 51, 234, 0.08);
  color: var(--accent-purple);
  border-color: rgba(147, 51, 234, 0.22);
}

.section-light .section-tag.emerald {
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-emerald);
  border-color: rgba(5, 150, 105, 0.22);
}

.section-light .section-tag.amber {
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-amber);
  border-color: rgba(217, 119, 6, 0.22);
}

/* 3D Stage Readout Console Banner */
.stage-readout-banner {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 50%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-top: 1.5px solid #ffffff;
  border-bottom: 2px solid rgba(148, 163, 184, 0.55);
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.04),
    0 8px 20px -3px rgba(15, 23, 42, 0.06),
    inset 0 1.5px 0 #ffffff,
    inset 0 -1.5px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

.stage-readout-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e2e8f0;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-top: 1px solid #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.08),
    0 1px 0 #ffffff;
  flex-shrink: 0;
}

.stage-readout-badge .pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0096a6;
  box-shadow: 0 0 8px rgba(0, 150, 166, 0.8);
  display: inline-block;
  animation: stagePulse 2s infinite ease-in-out;
}

@keyframes stagePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(0, 150, 166, 0.7);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(0, 150, 166, 1);
  }
}

.stage-readout-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #334155;
  text-transform: uppercase;
}

.stage-readout-text {
  font-size: 0.88rem;
  color: #008290;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.25s ease;
}

@media (max-width: 768px) {
  .stage-readout-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
  }
}

/* Light Section 3D Stage Cards (Tactile Slabs) */
.section-light .stage-card {
  background: linear-gradient(168deg, #ffffff 0%, #fdfdfe 40%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-top: 1.5px solid #ffffff;
  border-bottom: 3px solid rgba(148, 163, 184, 0.6);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow:
    0 3px 6px -1px rgba(15, 23, 42, 0.05),
    0 10px 22px -3px rgba(15, 23, 42, 0.08),
    0 22px 34px -6px rgba(15, 23, 42, 0.06),
    inset 0 1.5px 0 #ffffff,
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 6px rgba(226, 232, 240, 0.6);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease;
}

/* Stage Per-Card 3D Signatures */
.section-light .stage-card[data-stage="1"] {
  --stage-theme: #e11d48;
  --stage-glow: rgba(225, 29, 72, 0.28);
  --stage-light-glow: rgba(225, 29, 72, 0.09);
}
.section-light .stage-card[data-stage="2"] {
  --stage-theme: #9333ea;
  --stage-glow: rgba(147, 51, 234, 0.28);
  --stage-light-glow: rgba(147, 51, 234, 0.09);
}
.section-light .stage-card[data-stage="3"] {
  --stage-theme: #0096a6;
  --stage-glow: rgba(0, 150, 166, 0.28);
  --stage-light-glow: rgba(0, 150, 166, 0.09);
}
.section-light .stage-card[data-stage="4"] {
  --stage-theme: #d97706;
  --stage-glow: rgba(217, 119, 6, 0.28);
  --stage-light-glow: rgba(217, 119, 6, 0.09);
}
.section-light .stage-card[data-stage="5"] {
  --stage-theme: #059669;
  --stage-glow: rgba(5, 150, 105, 0.28);
  --stage-light-glow: rgba(5, 150, 105, 0.09);
}

/* 3D Top Beveled Ridge */
.section-light .stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--stage-theme);
  border-radius: 3px;
  opacity: 0.3;
  transition: opacity 0.25s ease, height 0.25s ease, box-shadow 0.25s ease, left 0.25s ease, right 0.25s ease;
}

/* Hover State: Elevated 3D Slab */
.section-light .stage-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(148, 163, 184, 0.9);
  border-top-color: #ffffff;
  border-bottom: 3.5px solid rgba(148, 163, 184, 0.8);
  box-shadow:
    0 6px 12px -2px rgba(15, 23, 42, 0.08),
    0 18px 34px -4px rgba(15, 23, 42, 0.13),
    0 32px 50px -8px rgba(15, 23, 42, 0.1),
    inset 0 1.5px 0 #ffffff,
    0 0 24px var(--stage-light-glow);
}

.section-light .stage-card:hover::before {
  opacity: 0.75;
}

/* Active State: Full 3D Heroic Standout */
.section-light .stage-card.active {
  transform: translateY(-9px) scale(1.03);
  background: linear-gradient(168deg, #ffffff 0%, #fbfcfd 50%, #edf2f7 100%);
  border-color: var(--stage-theme);
  border-top: 1.5px solid #ffffff;
  border-bottom: 4px solid var(--stage-theme);
  box-shadow:
    0 8px 16px -2px rgba(15, 23, 42, 0.08),
    0 22px 42px -4px rgba(15, 23, 42, 0.15),
    0 36px 65px -8px var(--stage-glow),
    inset 0 2px 0 #ffffff,
    inset 0 0 16px rgba(255, 255, 255, 0.8);
}

.section-light .stage-card.active::before {
  opacity: 1;
  height: 4px;
  left: -1px;
  right: -1px;
  top: -1px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 2px 10px var(--stage-glow);
}

/* Card Internal Typography & Badges */
.section-light .stage-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 0 #ffffff;
  margin-bottom: 6px;
}

.section-light .stage-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 6px 0 8px 0;
  letter-spacing: -0.015em;
}

.section-light .stage-desc {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.55;
}

.section-light .stage-meta {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 0 #ffffff;
  width: fit-content;
  transition: all 0.25s ease;
}

.section-light .stage-card.active .stage-meta {
  background: #ffffff;
  border-color: var(--stage-theme);
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}

.section-light .eav-architecture-wrapper {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
}

/* Light Mode 3D Physical Slabs: Dual-Plane Architecture with Floating 3D Vibe */
@keyframes floatPlaneSaaS {
  0%, 100% {
    transform: perspective(1000px) translateY(0px) rotateX(0.5deg) rotateY(-0.8deg) translateZ(0px);
    box-shadow:
      0 6px 14px -2px rgba(15, 23, 42, 0.06),
      0 14px 28px -4px rgba(15, 23, 42, 0.08),
      0 26px 46px -8px rgba(15, 23, 42, 0.07),
      0 0 20px rgba(0, 150, 166, 0.06),
      inset 0 2px 0 #ffffff,
      inset 0 0 0 1px rgba(255, 255, 255, 0.9),
      inset 0 -3px 6px rgba(226, 232, 240, 0.6);
  }
  50% {
    transform: perspective(1000px) translateY(-14px) rotateX(2.4deg) rotateY(-1.8deg) translateZ(12px);
    box-shadow:
      0 12px 24px -2px rgba(15, 23, 42, 0.08),
      0 26px 52px -4px rgba(15, 23, 42, 0.12),
      0 42px 76px -8px rgba(0, 150, 166, 0.22),
      0 0 35px rgba(0, 150, 166, 0.12),
      inset 0 2px 0 #ffffff,
      inset 0 0 0 1px rgba(255, 255, 255, 0.95),
      inset 0 -3px 6px rgba(226, 232, 240, 0.4);
  }
}

@keyframes floatPlaneEnterprise {
  0%, 100% {
    transform: perspective(1000px) translateY(-14px) rotateX(2deg) rotateY(1.8deg) translateZ(12px);
    box-shadow:
      0 12px 24px -2px rgba(15, 23, 42, 0.08),
      0 26px 52px -4px rgba(15, 23, 42, 0.12),
      0 42px 76px -8px rgba(5, 150, 105, 0.22),
      0 0 35px rgba(5, 150, 105, 0.12),
      inset 0 2px 0 #ffffff,
      inset 0 0 0 1px rgba(255, 255, 255, 0.95),
      inset 0 -3px 6px rgba(226, 232, 240, 0.4);
  }
  50% {
    transform: perspective(1000px) translateY(0px) rotateX(0.5deg) rotateY(0.8deg) translateZ(0px);
    box-shadow:
      0 6px 14px -2px rgba(15, 23, 42, 0.06),
      0 14px 28px -4px rgba(15, 23, 42, 0.08),
      0 26px 46px -8px rgba(15, 23, 42, 0.07),
      0 0 20px rgba(5, 150, 105, 0.06),
      inset 0 2px 0 #ffffff,
      inset 0 0 0 1px rgba(255, 255, 255, 0.9),
      inset 0 -3px 6px rgba(226, 232, 240, 0.6);
  }
}

.section-light .plane-card {
  background: linear-gradient(168deg, #ffffff 0%, #fdfdfe 40%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-top: 4px solid var(--plane-theme) !important;
  border-bottom: 4px solid var(--plane-theme) !important;
  border-radius: 0 !important;
  padding: 2.25rem 2rem 1.75rem;
  box-shadow:
    0 4px 8px -2px rgba(15, 23, 42, 0.05),
    0 12px 28px -4px rgba(15, 23, 42, 0.08),
    0 26px 46px -8px rgba(15, 23, 42, 0.07),
    inset 0 2px 0 #ffffff,
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(226, 232, 240, 0.6);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease;
  position: relative;
  --plane-theme: #0096a6;
  --plane-glow: rgba(0, 150, 166, 0.25);
  --plane-light-glow: rgba(0, 150, 166, 0.08);
  /* Continuous floating 3D vibe levitation */
  animation: floatPlaneSaaS 6.8s ease-in-out infinite;
}

.section-light .plane-card.enterprise {
  --plane-theme: #059669;
  --plane-glow: rgba(5, 150, 105, 0.25);
  --plane-light-glow: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.4);
  border-top: 4px solid #059669 !important;
  border-bottom: 4px solid #059669 !important;
  border-radius: 0 !important;
  /* Counter-rhythmic floating 3D vibe */
  animation: floatPlaneEnterprise 7.4s ease-in-out infinite;
}

/* Remove separate rounded top cap, using native 4px top border for 100% rectangular shape */
.section-light .plane-card::before {
  display: none;
}

/* Hover State: Elevated 3D Slab with paused float */
.section-light .plane-card:hover {
  animation-play-state: paused;
  transform: perspective(1000px) translateY(-18px) scale(1.025) translateZ(22px) !important;
  border-top: 4px solid var(--plane-theme) !important;
  border-bottom: 4px solid var(--plane-theme) !important;
  border-left-color: var(--plane-theme);
  border-right-color: var(--plane-theme);
  box-shadow:
    0 16px 32px -2px rgba(15, 23, 42, 0.1),
    0 30px 60px -4px rgba(15, 23, 42, 0.15),
    0 50px 88px -10px var(--plane-glow),
    inset 0 2px 0 #ffffff,
    inset 0 0 18px rgba(255, 255, 255, 0.85),
    0 0 32px var(--plane-light-glow) !important;
}

.section-light .plane-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.section-light .plane-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  font-style: italic;
  color: var(--plane-theme) !important;
  margin-top: 0;
  line-height: 1.4;
}

.section-light .arch-visual-showcase {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
}

.section-light .cinema-wrapper {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
}

.section-light .cinema-controls-bar {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.section-light .cinema-select {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.section-light .chapter-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #475569;
}

.section-light .chapter-btn:hover,
.section-light .chapter-btn.active {
  background: rgba(0, 150, 166, 0.1);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

.section-light .sla-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
}

.section-light .sla-num {
  color: #0f172a;
}

.section-light .sla-label {
  color: #475569;
}

.section-light .trust-badge-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.section-light .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.section-light .btn-secondary:hover {
  background: #f1f5f9;
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

/* Light Mode Overrides for Pricing & ROI Calculator (#pricing) */
.section-light .pricing-card {
  background: linear-gradient(168deg, #ffffff 0%, #fdfdfe 40%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-top: 2px solid #ffffff;
  border-bottom: 3.5px solid rgba(148, 163, 184, 0.6);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.05),
    0 14px 30px -4px rgba(15, 23, 42, 0.08),
    inset 0 2px 0 #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-light .pricing-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 18px -2px rgba(15, 23, 42, 0.08),
    0 24px 50px -4px rgba(15, 23, 42, 0.12),
    inset 0 2px 0 #ffffff;
}

.section-light .pricing-card.featured {
  border-color: rgba(0, 150, 166, 0.45);
  border-top: 2px solid #ffffff;
  border-bottom: 4px solid #0096a6;
  box-shadow:
    0 8px 20px -2px rgba(15, 23, 42, 0.08),
    0 24px 50px -4px rgba(15, 23, 42, 0.12),
    0 0 35px rgba(0, 150, 166, 0.18),
    inset 0 2px 0 #ffffff;
}

.section-light .pricing-card.featured:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 26px -2px rgba(15, 23, 42, 0.1),
    0 32px 64px -4px rgba(15, 23, 42, 0.16),
    0 0 45px rgba(0, 150, 166, 0.25),
    inset 0 2px 0 #ffffff;
}

.section-light .pricing-badge {
  background: #0096a6;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 150, 166, 0.35);
}

.section-light .pricing-tier-name {
  color: #0f172a;
  font-weight: 800;
}

.section-light .pricing-amount {
  color: #0f172a;
}

.section-light .pricing-card.featured .pricing-amount {
  color: #008290;
}

.section-light .pricing-period {
  color: #64748b;
}

.section-light .pricing-features {
  color: #334155;
}

.section-light .pricing-features li svg {
  color: #059669;
}

/* Light Mode ROI Calculator */
.section-light .roi-calculator-box {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-top: 2px solid #ffffff;
  border-bottom: 3.5px solid rgba(148, 163, 184, 0.6);
  border-radius: var(--radius-xl);
  box-shadow:
    0 10px 30px -4px rgba(15, 23, 42, 0.08),
    0 24px 50px -8px rgba(15, 23, 42, 0.06),
    inset 0 2px 0 #ffffff;
}

.section-light .roi-calculator-box h3 {
  color: #0f172a;
  font-weight: 800;
}

.section-light .roi-calculator-box p {
  color: #475569;
}

.section-light .slider-label-row {
  color: #334155;
  font-weight: 600;
}

.section-light .slider-val {
  color: #0096a6;
  font-weight: 800;
}

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

.section-light input[type="range"]::-webkit-slider-thumb {
  background: #0096a6;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 150, 166, 0.45);
}

.section-light input[type="range"]::-moz-range-thumb {
  background: #0096a6;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 150, 166, 0.45);
}

.section-light .roi-result-readout {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-top: 1.5px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid #ffffff;
  box-shadow:
    inset 0 2px 4px rgba(15, 23, 42, 0.05),
    0 1px 0 #ffffff;
}

.section-light .roi-metric-item small {
  color: #64748b;
  font-weight: 700;
}

.section-light #hoursSavedDisplay {
  color: #059669 !important;
  text-shadow: none;
}

.section-light #costSavedDisplay {
  color: #008290 !important;
  text-shadow: none;
}

.section-light .conversion-banner {
  background: 
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(224, 242, 254, 0.85) 0%, rgba(240, 253, 250, 0.5) 50%, rgba(255, 255, 255, 0.95) 100%),
    linear-gradient(168deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-top: 2px solid #ffffff;
  border-bottom: 3.5px solid rgba(148, 163, 184, 0.55);
  box-shadow: 
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 16px 36px -4px rgba(15, 23, 42, 0.08),
    0 32px 64px -12px rgba(15, 23, 42, 0.12),
    0 0 40px rgba(0, 150, 166, 0.08),
    inset 0 1.5px 0 #ffffff;
  color: #0f172a;
}

.section-light .conversion-banner .section-tag {
  background: #e0f2fe;
  color: #008290;
  border: 1px solid #bae6fd;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.section-light .conversion-banner h2 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: none;
}

.section-light .conversion-banner p {
  color: #334155;
  font-size: 1.12rem;
  line-height: 1.65;
}

.section-light .conversion-banner .btn-primary {
  background: linear-gradient(135deg, #0096a6 0%, #007d8a 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 150, 166, 0.3);
  box-shadow: 0 4px 14px rgba(0, 150, 166, 0.35);
}

.section-light .conversion-banner .btn-primary:hover {
  background: linear-gradient(135deg, #00a8ba 0%, #008f9e 100%);
  box-shadow: 0 6px 20px rgba(0, 150, 166, 0.45);
  transform: translateY(-2px);
}

.section-light .conversion-banner .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-top: 1.5px solid #ffffff;
  border-bottom: 2px solid #94a3b8;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.section-light .conversion-banner .btn-secondary:hover {
  background: #f8fafc;
  border-color: #0096a6;
  color: #008290;
  box-shadow: 0 4px 14px rgba(0, 150, 166, 0.18);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background-color: var(--brand-cyan);
  color: #07090e;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-cyan);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.gradient-text-cyan,
html.light .gradient-text-cyan {
  color: #00f0ff !important;
  -webkit-text-fill-color: #00f0ff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.75), 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 20px rgba(0, 0, 0, 0.9) !important;
  filter: none !important;
  display: inline;
}

.gradient-text-light {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Headings */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
  margin-bottom: 12px;
}

.section-tag.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.section-tag.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

.section-tag.purple {
  background: rgba(192, 132, 252, 0.1);
  color: var(--accent-purple);
  border-color: rgba(192, 132, 252, 0.25);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

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

html.light .ambient-glow {
  opacity: 0.25;
}

.glow-cyan-top {
  top: 5%;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--brand-cyan) 0%, transparent 70%);
}

.glow-purple-mid {
  top: 30%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-emerald-bot {
  bottom: 10%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (LIGHT MODE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.site-header .container {
  max-width: 1600px;
  padding: 0 2rem;
}

.nav-inner,
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.25rem;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2.25rem;
}

.brand-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2s infinite;
  position: relative;
  top: 3px;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
    box-shadow: 0 0 4px var(--accent-emerald);
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px var(--accent-emerald);
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
    box-shadow: 0 0 4px var(--accent-emerald);
  }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  flex-shrink: 1;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  transition: all var(--transition-fast);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.nav-links a:hover {
  color: #007785;
  background: rgba(0, 150, 166, 0.08);
}

/* Header Telemetry & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-header .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.site-header .btn-secondary:hover {
  background: #f1f5f9;
  border-color: #008b99;
  color: #008b99;
}

.site-header .btn-primary {
  background: linear-gradient(135deg, #00c4d4 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 150, 166, 0.25);
}

.site-header .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 150, 166, 0.38);
  transform: translateY(-1px);
}

.site-header .mobile-menu-toggle {
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
}


.header-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .telemetry-detail {
    display: none;
  }
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan-glow);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 1160px) {

  .nav-links,
  .telemetry-pill {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: flex;
}

/* Strict Desktop Guard: When window is bigger (>1160px), mobile menu drawer & toggle button are ALWAYS hidden */
@media (min-width: 1161px) {

  .mobile-nav-drawer,
  .mobile-nav-drawer.open,
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-nav-drawer a {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.mobile-nav-drawer a:hover {
  color: #008b99;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
  color: #07090e;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-inset);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  box-shadow: 0 0 15px var(--brand-cyan-glow);
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #07090e;
  box-shadow: 0 0 20px var(--emerald-glow);
}

.btn-emerald:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 30px var(--emerald-glow);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 60px;
  text-align: center;
  background: transparent !important;
}

/* Hero Ambient Background Video */
.hero-video-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video,
html.light .hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  filter: brightness(0.85) contrast(1.05);
  transition: opacity var(--transition-normal);
}

/* Transparent Overlay with subtle bottom edge fade into canvas */
.hero-video-overlay,
html.light .hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 65%, rgba(7, 9, 14, 0.6) 85%, var(--bg-canvas) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  background: transparent;
}

.hero-container::before,
html.light .hero-container::before {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 960px;
  height: 480px;
  max-width: 95vw;
  background: radial-gradient(ellipse at center, rgba(7, 9, 14, 0.88) 0%, rgba(7, 9, 14, 0.55) 60%, transparent 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(12px);
}

.hero-eyebrow,
html.light .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-title,
html.light .hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 1080px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.95);
}

.hero-subheadline,
html.light .hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

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

/* Hero Key Metric Rail - Converted to 4 Individual 3D Floating Slabs matching SLA cards */
.metric-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto 1.5rem auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

html.light .metric-rail {
  background: transparent;
  border: none;
  backdrop-filter: none;
}

.metric-item {
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(219, 234, 254, 0.32) 0%, rgba(96, 165, 250, 0.12) 50%, transparent 80%),
    linear-gradient(168deg, #364d70 0%, #263852 50%, #1c2b3f 100%);
  border: 1px solid rgba(186, 215, 248, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-left: 1.2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2.5px solid rgba(12, 18, 28, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 14px 28px -4px rgba(0, 0, 0, 0.5),
    0 26px 52px -8px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(147, 197, 253, 0.16),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  cursor: default;
}

.metric-item:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(0, 240, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(0, 240, 255, 0.5);
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(224, 242, 254, 0.42) 0%, rgba(0, 240, 255, 0.18) 50%, transparent 80%),
    linear-gradient(168deg, #415d86 0%, #2e4464 50%, #21324a 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 20px 42px -4px rgba(0, 0, 0, 0.6),
    0 36px 72px -10px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 240, 255, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 0 22px rgba(0, 240, 255, 0.15);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.55rem;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .metric-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .metric-rail {
    grid-template-columns: 1fr;
  }
}

/* Interactive Split-Screen Hero Widget */
.hero-split-widget {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

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

/* Terminal Console - 3D Slab Elevation */
.terminal-window {
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(219, 234, 254, 0.16) 0%, rgba(96, 165, 250, 0.05) 50%, transparent 80%),
    linear-gradient(168deg, #1e293b 0%, #111827 60%, #0b0f17 100%);
  border: 1px solid rgba(186, 215, 248, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.65);
  border-left: 1.2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2.5px solid rgba(12, 18, 28, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 16px 32px -4px rgba(0, 0, 0, 0.6),
    0 32px 64px -8px rgba(0, 0, 0, 0.8),
    0 0 32px rgba(147, 197, 253, 0.12),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-window:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.3),
    0 24px 48px -4px rgba(0, 0, 0, 0.65),
    0 42px 80px -10px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(0, 240, 255, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(186, 215, 248, 0.2);
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pip-red {
  background: var(--accent-rose);
}

.pip-amber {
  background: var(--accent-amber);
}

.pip-green {
  background: var(--accent-emerald);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.terminal-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
}

.terminal-body p {
  margin-bottom: 6px;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--brand-cyan);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Slack Interactive Block Card - 3D Slab Elevation */
.slack-card {
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(219, 234, 254, 0.16) 0%, rgba(96, 165, 250, 0.05) 50%, transparent 80%),
    linear-gradient(168deg, #1e293b 0%, #111827 60%, #0b0f17 100%);
  border: 1px solid rgba(186, 215, 248, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.65);
  border-left: 1.2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2.5px solid rgba(12, 18, 28, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 16px 32px -4px rgba(0, 0, 0, 0.6),
    0 32px 64px -8px rgba(0, 0, 0, 0.8),
    0 0 32px rgba(147, 197, 253, 0.12),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slack-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.3),
    0 24px 48px -4px rgba(0, 0, 0, 0.65),
    0 42px 80px -10px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(0, 240, 255, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6);
}

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

.slack-channel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.slack-app-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(186, 215, 248, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.slack-details-box {
  background: rgba(11, 15, 23, 0.75);
  border: 1px solid rgba(186, 215, 248, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.slack-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   ECOSYSTEM & INGESTION RIBBON
   ========================================================================== */
.ecosystem-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.ecosystem-header {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ecosystem-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.eco-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(168deg, #2a3e5c 0%, #1c2b3e 100%);
  border: 1px solid rgba(186, 215, 248, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-chip:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(0, 240, 255, 0.6);
  color: #ffffff;
  background: linear-gradient(168deg, #364f74 0%, #23354e 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 240, 255, 0.25);
}

/* ==========================================================================
   THE CORE MOAT: EAV-GRAPH COGNITIVE BRAIN SECTION
   ========================================================================== */
.eav-architecture-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 1.25rem;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.12);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.eav-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.eav-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.eav-image-container:hover img {
  transform: scale(1.015);
}

.image-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-cyan);
}

/* 5-Stage Stepper Grid */
.stepper-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}

@media (max-width: 1024px) {
  .stepper-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.stage-card:hover,
.stage-card.active {
  border-color: var(--brand-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 0 24px var(--brand-cyan-glow);
  transform: translateY(-3px);
}

.stage-card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-cyan);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stage-title {
  font-size: 1.1rem;
  margin: 6px 0 8px 0;
}

.stage-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stage-meta {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   THE 8 OPERATIONAL PLAYBOOKS (BENTO GRID)
   ========================================================================== */
.playbooks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}

@media (max-width: 1200px) {
  .playbooks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.playbook-card {
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(219, 234, 254, 0.32) 0%, rgba(96, 165, 250, 0.12) 50%, transparent 80%),
    linear-gradient(168deg, #364d70 0%, #263852 50%, #1c2b3f 100%);
  border: 1px solid rgba(186, 215, 248, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-left: 1.2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(12, 18, 28, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  /* Multi-layered 3D shadow system with light ambient rim and specular top */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 14px 28px -4px rgba(0, 0, 0, 0.5),
    0 26px 52px -8px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(147, 197, 253, 0.16),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.playbook-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 240, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(0, 240, 255, 0.5);
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(224, 242, 254, 0.42) 0%, rgba(0, 240, 255, 0.18) 50%, transparent 80%),
    linear-gradient(168deg, #415d86 0%, #2e4464 50%, #21324a 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 20px 42px -4px rgba(0, 0, 0, 0.6),
    0 36px 72px -10px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 240, 255, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 0 22px rgba(0, 240, 255, 0.15);
}

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

.playbook-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.playbook-latency {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.playbook-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.playbook-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.playbook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  background: rgba(16, 25, 40, 0.9);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a8b8cc;
  margin-top: 1rem;
}

.playbook-inspect-btn {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 4px;
  padding: 3px 9px;
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.playbook-inspect-btn:hover {
  background: rgba(0, 240, 255, 0.22);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ==========================================================================
   DUAL-PLANE ARCHITECTURE & VPC ISOLATION
   ========================================================================== */
.dual-plane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
  perspective: 1200px;
}

@media (max-width: 840px) {
  .dual-plane-grid {
    grid-template-columns: 1fr;
  }
}

.plane-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 2.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}

.plane-card.enterprise {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.12);
}

.plane-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.plane-icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-top: 1.5px solid #ffffff;
  border-bottom: 2px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow:
    0 3px 6px -1px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 #ffffff;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plane-icon-chip.enterprise {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow:
    0 3px 6px -1px rgba(5, 150, 105, 0.12),
    inset 0 1px 0 #ffffff;
}

.plane-card:hover .plane-icon-chip {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 12px -2px rgba(15, 23, 42, 0.12);
}

.plane-title {
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.plane-subtitle {
  font-size: 0.88rem;
  font-style: italic;
}

.plane-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 1.75rem 0;
}

.plane-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.plane-pip {
  width: 10px;
  height: 10px;
  border-radius: 0;
  margin-top: 5px;
  flex-shrink: 0;
  background: var(--brand-cyan);
  box-shadow:
    0 0 8px rgba(0, 240, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.plane-pip.enterprise {
  background: var(--accent-emerald);
  box-shadow:
    0 0 8px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section-light .plane-pip {
  background: #0096a6;
  border-radius: 0;
  box-shadow:
    0 0 6px rgba(0, 150, 166, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-light .plane-pip.enterprise {
  background: #059669;
  border-radius: 0;
  box-shadow:
    0 0 6px rgba(5, 150, 105, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.plane-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-top: 1.5px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid #ffffff;
  border-radius: 0;
  box-shadow:
    inset 0 2px 4px rgba(15, 23, 42, 0.07),
    0 1px 0 #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
}

.plane-status-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 0;
  background: #ffffff;
  color: #008290;
  border: 1px solid rgba(0, 150, 166, 0.35);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.plane-status-pill.enterprise {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.4);
  border-radius: 0;
}

/* Architecture Slide 9 Visual Showcase */
.arch-visual-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.arch-visual-showcase img {
  border-radius: var(--radius-lg);
  width: 100%;
}

/* Floating 3D Grid Panel Levitation */
@keyframes floatGridPanel {
  0%, 100% {
    transform: perspective(1400px) translateY(0px) rotateX(0.4deg) translateZ(0px);
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.4),
      0 22px 50px -6px rgba(0, 0, 0, 0.75),
      0 45px 95px -12px rgba(0, 0, 0, 0.88),
      0 0 50px rgba(0, 240, 255, 0.12),
      0 0 90px rgba(30, 58, 138, 0.22),
      inset 0 1.5px 0 rgba(255, 255, 255, 0.4),
      inset 0 -2px 6px rgba(0, 0, 0, 0.55);
  }
  50% {
    transform: perspective(1400px) translateY(-14px) rotateX(1.6deg) translateZ(16px);
    box-shadow:
      0 14px 26px rgba(0, 0, 0, 0.35),
      0 36px 72px -6px rgba(0, 0, 0, 0.8),
      0 65px 125px -12px rgba(0, 0, 0, 0.95),
      0 0 70px rgba(0, 240, 255, 0.22),
      0 0 120px rgba(30, 58, 138, 0.35),
      inset 0 2px 0 rgba(255, 255, 255, 0.6),
      inset 0 -2px 6px rgba(0, 0, 0, 0.45);
  }
}

#comparison .container {
  perspective: 1400px;
}

.table-responsive-wrapper {
  background: 
    radial-gradient(ellipse 130% 60% at 50% -10%, rgba(148, 163, 184, 0.15) 0%, rgba(56, 189, 248, 0.06) 50%, transparent 80%),
    linear-gradient(168deg, #182438 0%, #111a28 50%, #0c121e 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.42);
  border-top: 2px solid rgba(255, 255, 255, 0.65);
  border-left: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 3.5px solid rgba(6, 10, 16, 0.95);
  border-radius: 16px;
  overflow-x: auto;
  padding: 0.75rem;
  margin: 2.5rem auto 3rem;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  animation: floatGridPanel 7.5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.table-responsive-wrapper:hover {
  animation-play-state: paused;
  transform: perspective(1400px) translateY(-18px) rotateX(1.8deg) translateZ(20px);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.35),
    0 42px 82px -6px rgba(0, 0, 0, 0.85),
    0 75px 135px -12px rgba(0, 0, 0, 0.98),
    0 0 80px rgba(0, 240, 255, 0.28),
    0 0 130px rgba(30, 58, 138, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.75);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.32);
  border-bottom: 1.5px solid rgba(148, 163, 184, 0.38);
  border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  border-left: 1px solid rgba(148, 163, 184, 0.35);
}

.comparison-table th {
  background: #1c283a;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  border-bottom: 2.5px solid rgba(148, 163, 184, 0.65);
}

.comparison-table th.col-highlight {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.14);
  border-top: 2.5px solid #00f0ff;
  border-bottom: 2.5px solid #00f0ff;
  border-left: 1.5px solid rgba(0, 240, 255, 0.5);
  border-right: 1.5px solid rgba(0, 240, 255, 0.5);
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.6);
}

/* 3D Animated Rows */
.comparison-table tbody tr {
  background: #141e2e;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease;
  position: relative;
  cursor: default;
}

.comparison-table tbody td {
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.55;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.comparison-table .col-feature {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.94rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.comparison-table td.col-highlight {
  background: rgba(0, 240, 255, 0.06);
  border-left: 1.5px solid rgba(0, 240, 255, 0.4);
  border-right: 1.5px solid rgba(0, 240, 255, 0.4);
  font-weight: 750;
}

.comparison-table td.col-highlight.highlight-emerald {
  color: #34d399 !important;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.45);
}

.comparison-table td.col-highlight.highlight-cyan {
  color: #38bdf8 !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

/* 3D Lift & Illumination on Hover */
.comparison-table tbody tr:hover {
  transform: perspective(1000px) translateY(-5px) scale(1.008) translateZ(14px);
  z-index: 10;
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 240, 255, 0.18);
}

.comparison-table tbody tr:hover td {
  background: #243650;
  border-top-color: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(148, 163, 184, 0.65);
  border-right-color: rgba(148, 163, 184, 0.5);
  color: #ffffff !important;
}

.comparison-table tbody tr:hover td:first-child {
  border-left-color: rgba(255, 255, 255, 0.5);
}

.comparison-table tbody tr:hover td.col-highlight {
  background: rgba(0, 240, 255, 0.16) !important;
  border-left-color: #00f0ff;
  border-right-color: #00f0ff;
}

.comparison-table tbody tr:hover td.col-highlight.highlight-emerald {
  color: #6ee7b7 !important;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.8);
}

.comparison-table tbody tr:hover td.col-highlight.highlight-cyan {
  color: #67e8f9 !important;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.8);
}

/* ==========================================================================
   CINEMA VIDEO PLAYER SHOWCASE
   ========================================================================== */
.cinema-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.cinema-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cinema-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-play-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--brand-cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--brand-cyan);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  z-index: 10;
}

.cinema-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px var(--brand-cyan);
}

.cinema-play-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 4px;
}

.cinema-subtitles-bar {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.cinema-controls-bar {
  padding: 1rem 1.5rem;
  background: var(--bg-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
}

.cinema-playback-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cinema-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.voice-select-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-select-box label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cinema-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  outline: none;
}

.cinema-chapters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.chapter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
}

.chapter-btn.active,
.chapter-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

/* ==========================================================================
   PRICING & INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto 3rem auto;
}

@media (max-width: 800px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 35px var(--brand-cyan-glow);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: var(--brand-cyan);
  color: #07090e;
}

.pricing-tier-name {
  font-size: 1.4rem;
  margin-top: 6px;
}

.pricing-price-wrap {
  margin: 1.25rem 0 1.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ROI Calculator Box */
.roi-calculator-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.roi-sliders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .roi-sliders-grid {
    grid-template-columns: 1fr;
  }
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.slider-val {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-cyan);
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-inset);
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-cyan);
  border: 2px solid var(--bg-canvas);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand-cyan);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-cyan);
  border: 2px solid var(--bg-canvas);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand-cyan);
}

.roi-result-readout {
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .roi-result-readout {
    flex-direction: column;
  }
}

.roi-metric-item small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roi-metric-item .big-metric {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================================
   CISO TRUST CENTER & SLA METRICS
   ========================================================================== */
.sla-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .sla-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .sla-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sla-card {
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(219, 234, 254, 0.32) 0%, rgba(96, 165, 250, 0.12) 50%, transparent 80%),
    linear-gradient(168deg, #364d70 0%, #263852 50%, #1c2b3f 100%);
  border: 1px solid rgba(186, 215, 248, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  border-left: 1.2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2.5px solid rgba(12, 18, 28, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 14px 28px -4px rgba(0, 0, 0, 0.5),
    0 26px 52px -8px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(147, 197, 253, 0.16),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.sla-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(0, 240, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(0, 240, 255, 0.5);
  background: 
    radial-gradient(ellipse 130% 75% at 50% -10%, rgba(224, 242, 254, 0.42) 0%, rgba(0, 240, 255, 0.18) 50%, transparent 80%),
    linear-gradient(168deg, #415d86 0%, #2e4464 50%, #21324a 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 20px 42px -4px rgba(0, 0, 0, 0.6),
    0 36px 72px -10px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 240, 255, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 0 22px rgba(0, 240, 255, 0.15);
}

.sla-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.65rem;
}

.sla-label {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 6px;
  line-height: 1.45;
}

.trust-badges-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(168deg, #2a3e5c 0%, #1c2b3e 100%);
  border: 1px solid rgba(186, 215, 248, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-badge-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(0, 240, 255, 0.6);
  color: #ffffff;
  background: linear-gradient(168deg, #364f74 0%, #23354e 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 240, 255, 0.25);
}

#trust .btn-secondary {
  background: linear-gradient(168deg, #2a3e5c 0%, #1c2b3e 100%);
  border: 1px solid rgba(186, 215, 248, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

#trust .btn-secondary:hover {
  background: linear-gradient(168deg, #364f74 0%, #23354e 100%);
  border-color: rgba(0, 240, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   HIGH-IMPACT CONVERSION BANNER
   ========================================================================== */
.conversion-banner {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.15);
}

.conversion-banner h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  max-width: 820px;
  margin: 0.75rem auto 1rem auto;
}

.conversion-banner p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4.5rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--brand-cyan);
}

/* Evenly Distributed 4-Column Playbooks Grid */
.footer-col ul.playbooks-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.1rem 2.5rem !important;
  width: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1280px) {
  .footer-col ul.playbooks-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem 2rem !important;
  }
}

@media (max-width: 640px) {
  .footer-col ul.playbooks-list {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ==========================================================================
   MODALS & LIGHTBOXES (LIGHT MODE DESIGN SYSTEM)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-top: 1.5px solid #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  box-shadow: 
    0 25px 60px -12px rgba(15, 23, 42, 0.25),
    0 10px 24px -4px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: scale(1.06);
}

/* Modal Internal Typography */
.modal-content h3 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-content p {
  color: #334155;
  line-height: 1.6;
}

/* Playbook Modal Light Mode Styling */
.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.modal-badge-row .playbook-badge {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.modal-latency-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #059669;
  font-weight: 700;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}

.modal-section-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.modal-stack-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #008290;
  font-weight: 700;
  padding: 6px 14px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Light Editor Theme for CEL Policy Code */
.modal-code-pre {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #0096a6;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #0f172a;
  overflow-x: auto;
  line-height: 1.6;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
}

.modal-code-pre code {
  color: #059669;
  font-weight: 600;
}

/* Light Terminal Theme for Execution Trace & Audit Log */
.modal-trace-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #334155;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #64748b;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
  line-height: 1.5;
}

.modal-trace-list li {
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.modal-trace-list li:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Social Follow Buttons (Build Phase Modal) */
.social-follow-btn {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.social-follow-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.social-follow-btn:active {
  transform: translateY(0);
}

/* Slide Deck & Image Lightbox (Cinematic Dark Mode) */
.lightbox-modal {
  background: rgba(4, 6, 10, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-modal .modal-content {
  max-width: 1100px;
  padding: 1.5rem 1.75rem 1.5rem;
  background: linear-gradient(170deg, #0f141f 0%, #090c13 100%) !important;
  border: 1px solid rgba(0, 240, 255, 0.25) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 240, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.lightbox-modal #lightboxTitle {
  color: #00f0ff !important;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.lightbox-modal .modal-close-btn {
  background: rgba(18, 24, 38, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.lightbox-modal .modal-close-btn:hover {
  background: rgba(0, 240, 255, 0.15) !important;
  border-color: #00f0ff !important;
  color: #00f0ff !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5) !important;
  transform: scale(1.06);
}

.lightbox-modal .lightbox-image-wrap {
  background: #05070c !important;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.lightbox-modal .lightbox-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.lightbox-modal .lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.lightbox-modal .lightbox-controls .btn-secondary {
  background: rgba(22, 27, 34, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.lightbox-modal .lightbox-controls .btn-secondary:hover {
  border-color: #00f0ff !important;
  color: #00f0ff !important;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3) !important;
}

.lightbox-modal .lightbox-controls span {
  color: #64748b !important;
}

/* Form Styles (Light Mode in Modals) */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0096a6;
  box-shadow: 0 0 0 3px rgba(0, 150, 166, 0.15);
}