/* ==========================================================================
   DemoBits — Design System & Stylesheet
   ========================================================================== */

:root {
  /* Core Color Palette (Obsidian & Electric Tech) */
  --bg-dark: #07090E;
  --bg-primary: #0B0F19;
  --bg-surface: #111726;
  --bg-surface-elevated: #182238;
  --bg-surface-hover: #1F2C47;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(59, 130, 246, 0.5);
  
  /* Brand & Accents */
  --brand-blue: #3B82F6;
  --brand-blue-hover: #2563EB;
  --brand-cyan: #06B6D4;
  --brand-teal: #14B8A6;
  --brand-emerald: #10B981;
  --brand-amber: #F59E0B;
  --brand-rose: #F43F5E;
  --brand-purple: #8B5CF6;
  
  /* Dynamic Active Demo Brand Color */
  --demo-brand-color: #6366F1;
  
  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-subtle: #475569;
  
  /* Typography Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-showcase: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(59, 130, 246, 0.2);
  --glow-blue: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
  --glow-cyan: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.18) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);
}

.glow-middle {
  top: 1400px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

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

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  color: #93C5FD;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #60A5FA;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

.desktop-only {
  display: inline;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #60A5FA 0%, #3B82F6 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-purple-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 45%, #DB2777 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-purple-gradient:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 45%, #EC4899 100%);
  box-shadow: 0 6px 26px rgba(168, 85, 247, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-pure);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  color: var(--text-pure);
}

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

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 13px;
  padding: 8px 24px;
  text-align: center;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.announcement-tag {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.announcement-link {
  font-weight: 600;
  color: #93C5FD;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 90;
  transition: background var(--transition-normal);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-pure);
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-highlight {
  color: var(--brand-cyan);
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.main-nav .nav-links a:hover {
  color: var(--text-pure);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn .bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-medium);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 860px) {
  .main-nav, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

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

.hero-section {
  padding: 28px 0 50px;
  position: relative;
  z-index: 2;
}

.hero-header-block {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 44px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #3B82F6;
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.text-white-gradient {
  background: linear-gradient(180deg, #FFFFFF 30%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-purple-gradient {
  background: linear-gradient(135deg, #A78BFA 0%, #C084FC 50%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.hero-metrics-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.metric-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.metric-item strong {
  color: var(--text-pure);
  font-size: 14px;
  font-weight: 700;
}

.metric-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

@media (max-width: 640px) {
  .hero-metrics-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .metric-divider {
    display: none;
  }
}

/* ==========================================================================
   FRONT-AND-CENTER VIDEO/GIF SIMULATION SHOWCASE
   ========================================================================== */

.hero-section .container,
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}

/* 3-Column Grid Stage for Desktop & Laptop Screens */
.showcase-stage-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(620px, 1080px) minmax(180px, 240px);
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 24px);
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.video-showcase-wrapper {
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 5;
}

.video-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-showcase);
  position: relative;
  width: 100%;
}

/* Outer Callouts (Mock Demo Annotations) */
.demo-outer-callout {
  display: flex;
  flex-direction: column;
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 100%;
  max-width: 250px;
}

.demo-outer-callout.callout-left {
  align-items: flex-end;
  justify-self: end;
  text-align: left;
}

.demo-outer-callout.callout-right {
  align-items: flex-start;
  justify-self: start;
  text-align: left;
}

.demo-outer-callout.callout-left .callout-arrow-wrap {
  align-self: flex-end;
  margin-bottom: 2px;
}

.demo-outer-callout.callout-right .callout-arrow-wrap {
  align-self: flex-start;
  margin-bottom: 2px;
}

.demo-outer-callout .callout-text-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.callout-view-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FF2D92;
  text-transform: uppercase;
  font-family: var(--font-mono);
  background: rgba(255, 45, 146, 0.12);
  border: 1px solid rgba(255, 45, 146, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
}

.callout-view-tag .tag-icon {
  font-size: 11px;
}

.demo-outer-callout .callout-text {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.12vw, 17px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.34;
  color: #FF2D92;
  text-shadow: 0 0 16px rgba(255, 45, 146, 0.45);
  margin: 0;
  letter-spacing: -0.015em;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

.callout-arrow-wrap {
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 45, 146, 0.65));
}

.callout-arrow-svg {
  width: clamp(75px, 6vw, 105px);
  height: auto;
  display: block;
}

/* Fluid Scaled Laptop Resolution Handling (1100px - 1599px, e.g. 1512px MacBook Pro) */
@media (max-width: 1599px) {
  .showcase-stage-grid {
    grid-template-columns: minmax(165px, 215px) minmax(560px, 980px) minmax(165px, 215px);
    gap: 14px;
  }
}

@media (max-width: 1360px) {
  .showcase-stage-grid {
    grid-template-columns: minmax(150px, 195px) minmax(520px, 860px) minmax(150px, 195px);
    gap: 12px;
  }
}

/* Step-Specific Dynamic Vertical Alignments on Desktop */
@media (min-width: 1100px) {
  .demo-outer-callout {
    transition: opacity 0.3s ease, margin 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Step 0 (Intro): Left at Top-Mid, Right at Bottom */
  .showcase-stage-grid[data-active-step="0"] .demo-outer-callout.callout-left,
  .showcase-stage-grid:not([data-active-step]) .demo-outer-callout.callout-left {
    align-self: flex-start;
    margin-top: 100px;
    margin-bottom: 0;
  }

  .showcase-stage-grid[data-active-step="0"] .demo-outer-callout.callout-right,
  .showcase-stage-grid:not([data-active-step]) .demo-outer-callout.callout-right {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: 80px;
  }

  /* Step 1: Left at middle user flow, Right brought DOWN to bottom pointing at playback controls */
  .showcase-stage-grid[data-active-step="1"] .demo-outer-callout.callout-left {
    align-self: flex-start;
    margin-top: 80px;
    margin-bottom: 0;
  }

  .showcase-stage-grid[data-active-step="1"] .demo-outer-callout.callout-right {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: 24px;
  }

  /* Step 2: Left shifted to TOP of pane, Right shifted to BOTTOM */
  .showcase-stage-grid[data-active-step="2"] .demo-outer-callout.callout-left {
    align-self: flex-start;
    margin-top: 50px;
    margin-bottom: 0;
  }

  .showcase-stage-grid[data-active-step="2"] .demo-outer-callout.callout-right {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: 60px;
  }
}

/* Tablet & Mobile Screens (<= 1099px): Callouts Remain ALWAYS VISIBLE as Hero Annotation Deck */
@media (max-width: 1099px) {
  .showcase-stage-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
  }

  .demo-outer-callout {
    max-width: 100%;
    width: 100%;
  }

  .demo-outer-callout.callout-left {
    order: 1; /* Top Annotation Card */
    align-items: stretch;
    justify-self: stretch;
  }

  .video-showcase-wrapper {
    order: 2; /* Center Demo Showcase */
  }

  .demo-outer-callout.callout-right {
    order: 3; /* Bottom Annotation Card */
    align-items: stretch;
    justify-self: stretch;
  }

  .demo-outer-callout .callout-text-box {
    background: linear-gradient(135deg, rgba(255, 45, 146, 0.1) 0%, rgba(18, 24, 38, 0.95) 100%);
    border: 1px solid rgba(255, 45, 146, 0.35);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 4px 20px rgba(255, 45, 146, 0.12);
  }

  .demo-outer-callout .callout-arrow-wrap {
    display: none; /* In card deck mode on small screens */
  }

  .demo-outer-callout .callout-text {
    font-size: 14.5px;
    line-height: 1.4;
  }
}

/* Action Button below Mock Demo */
.mock-demo-bottom-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Hero GIF Showcase (Top Hero Section - Pure Dark Mode)
   ========================================================================== */
.hero-gif-showcase-container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hero-gif-frame {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: #05070D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 35px rgba(124, 58, 237, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-gif-screen {
  position: relative;
  width: 100%;
  background: #020306;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
}

.hero-gif-media,
.hero-gif-canvas {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Pure Night Mode Chrome Controls Bar */
.hero-gif-controls-bar {
  background: #06080F !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 6px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

.hero-gif-controls-left,
.hero-gif-controls-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Delicate, Non-Distracting Control Buttons */
.hero-gif-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.42) !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: color 0.18s ease, transform 0.18s ease, background 0.18s ease !important;
  box-shadow: none !important;
}

.hero-gif-btn:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  transform: scale(1.08);
}

.hero-gif-btn:active {
  transform: scale(0.96);
}

.hero-gif-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  user-select: none;
}

/* Ultra-Slender Delicate Scrubber */
.hero-gif-scrubber-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.15s ease;
}

.hero-gif-scrubber-track:hover {
  height: 5px;
}

.hero-gif-scrubber-fill {
  height: 100%;
  width: 100%;
  background: #94A3B8;
  border-radius: 999px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left center;
  animation: hero-gif-progress-loop 24.67s linear infinite;
  box-shadow: none;
}

@keyframes hero-gif-progress-loop {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Titlebar (Dark Browser Chrome) */
.video-titlebar {
  background: #0D1322;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.window-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.window-buttons .dot.red { background: #FF5F56; }
.window-buttons .dot.yellow { background: #FFBD2E; }
.window-buttons .dot.green { background: #27C93F; }

.video-browser-url {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  max-width: 480px;
  width: 100%;
}

.video-browser-url .url-text {
  color: #93C5FD;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-url-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
  margin-left: auto;
  transition: color var(--transition-fast);
}

.copy-url-btn:hover {
  color: var(--text-pure);
}

.video-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

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

.resolution-badge {
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 3px 6px;
  border-radius: 4px;
}

/* Customer Presets Bar (Dark Browser Chrome) */
.video-presets-bar {
  background: #0E1422;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presets-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
}

.preset-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
}

.brand-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bolmart-swatch { background: #0071DC; }
.hoorizon-swatch { background: #EE0000; }
.megabank-swatch { background: #8B5CF6; }
.bbb-swatch { background: #10B981; }

/* Main Video Screen Container */
.video-screen {
  position: relative;
  background: #dce3ed;
  overflow: hidden;
}

.mock-workspace-app {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #edf2f7;
}

/* Mock Top Navigation Sub-Bar */
.mock-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #edf2f7;
  border-bottom: 1px solid #cbd5e1;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.mock-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0071DC;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 113, 220, 0.35);
  transition: all 0.3s ease;
}

.mock-star {
  font-size: 10px;
  color: #FFC220;
}

.mock-powered-text {
  color: #64748b;
  font-size: 11px;
}

.mock-powered-text strong {
  color: #0f172a;
}

.mock-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-control-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mock-control-btn:hover {
  background: #e2e8f0;
  color: #0071dc;
}

.mock-control-btn.replay-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 45%, #DB2777 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.35);
}

.mock-control-btn.replay-btn:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 45%, #EC4899 100%);
}

.mock-step-bubbles {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-num-bubble {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.step-num-bubble:hover {
  border-color: #0071dc;
  color: #0071dc;
}

.step-num-bubble.active {
  background: #0071DC;
  border-color: #0071DC;
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(0, 113, 220, 0.4);
}

.mock-speed-tag {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Two-Way Split Grid */
.mock-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  min-height: 500px;
  background: #3d4b60;
  width: 100%;
}

/* ==========================================================================
   MOCK DEMO INTRO SPLIT SCREEN OVERLAY (Full-Bleed Matching Split Grid)
   ========================================================================== */

.mock-intro-split-overlay {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dce3ed;
  z-index: 20;
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mock-intro-split-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.intro-full-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.intro-pane-full {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.left-intro-pane {
  background: #c2cddb;
  border-right: 2px solid #a8b8cc;
}

.right-intro-pane {
  background: #3d4b60;
}

.intro-pane-desc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.left-intro-desc-bar {
  background: #d8e1ec;
  border-bottom: 1px solid #b2c1d3;
}

.right-intro-desc-bar {
  background: #334155;
  border-bottom: 1px solid #4f5f78;
}

.front-badge {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-family: var(--font-mono);
  font-size: 10px;
}

.back-badge {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #475569;
  font-family: var(--font-mono);
  font-size: 10px;
}

.left-intro-pane .desc-sublabel {
  font-size: 10px;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.right-intro-pane .desc-sublabel {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.intro-pane-content {
  padding: 20px 24px 70px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.intro-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.left-icon-badge {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.right-icon-badge {
  background: #1e293b;
  border: 1px solid #475569;
  color: #38bdf8;
}

.left-intro-pane .intro-side-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.left-intro-pane .intro-side-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.right-intro-pane .intro-side-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.right-intro-pane .intro-side-desc {
  font-size: 12px;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0;
}

/* Wireframe Previews inside the Intro Panes */
.intro-preview-wireframe {
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
}

.left-wireframe {
  background: #ffffff;
  border: 1px dashed #94a3b8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.right-wireframe {
  background: #1e293b;
  border: 1px dashed #4f5f78;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.wireframe-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-wireframe .wireframe-avatar {
  width: 22px;
  height: 22px;
  background: #0071dc;
  color: #ffffff;
  border: 1px solid #0071dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.right-wireframe .wireframe-avatar {
  width: 22px;
  height: 22px;
  background: #334155;
  color: #ffffff;
  border: 1px solid #4f5f78;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.wireframe-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.left-wireframe .wf-title-text {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.left-wireframe .wf-sub-text {
  font-size: 9.5px;
  color: #64748b;
}

.right-wireframe .wf-title-text {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.right-wireframe .wf-sub-text {
  font-size: 9.5px;
  color: #cbd5e1;
}

.wireframe-bubble {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 10px;
  max-width: 90%;
  line-height: 1.35;
}

.left-wireframe .wireframe-bubble.user-bubble {
  align-self: flex-end;
  background: #0071dc;
  color: #ffffff;
  border: none;
  border-bottom-right-radius: 2px;
}

.left-wireframe .wireframe-bubble.bot-bubble {
  align-self: flex-start;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-bottom-left-radius: 2px;
}

.wireframe-card-row {
  display: flex;
  gap: 8px;
}

.left-wireframe .mini-wf-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  color: #334155;
}

.left-wireframe .mini-wf-card strong {
  color: #0f172a;
}

.right-wireframe .wireframe-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #cbd5e1;
  border-bottom: 1px solid #334155;
  padding-bottom: 4px;
}

.term-dots-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.term-dot.green { background: #10b981; }

.right-wireframe .term-title {
  font-weight: 600;
  color: #ffffff;
}

.right-wireframe .term-badge {
  background: #334155;
  color: #f1f5f9;
  border: 1px solid #4f5f78;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
}

.right-wireframe .wireframe-log-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #f8fafc;
}

.wf-log-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-tag {
  font-weight: 700;
  font-size: 8.5px;
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wf-tag.cyan { color: #38bdf8; }
.wf-tag.yellow { color: #fbbf24; }
.wf-tag.red { color: #ef4444; }

.right-wireframe .wireframe-code-bar {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #cbd5e1;
}

/* Floating Bottom Action Bar on Intro Overlay */
.intro-floating-bottom-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  background: #edf2f7;
  border: 1px solid #cbd5e1;
  padding: 6px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
}

.intro-start-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 45%, #DB2777 100%) !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.intro-start-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.intro-timer-note {
  font-size: 11px;
  color: #475569;
}

.intro-timer-note strong {
  color: #2563eb;
}

@media (max-width: 768px) {
  .intro-full-split-grid {
    grid-template-columns: 1fr;
  }
  .left-intro-pane {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Split Pane Description Banners */
.mock-pane-desc-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11px;
}

.left-pane-desc {
  background: #d8e1ec;
  border-bottom: 1px solid #b2c1d3;
  border-right: 2px solid #a8b8cc;
}

.right-pane-desc {
  background: #334155;
  border-bottom: 1px solid #4f5f78;
}

.desc-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
}

.left-pane-desc .desc-badge {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.right-pane-desc .desc-badge {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #475569;
}

.left-pane-desc .desc-title {
  color: #0f172a;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.right-pane-desc .desc-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.01em;
}

/* LEFT PANE: User-Facing Behavior */
.mock-left-pane {
  background: #c2cddb;
  border-right: 2px solid #a8b8cc;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mock-chat-header {
  padding: 8px 14px;
  background: #d8e1ec;
  border-bottom: 1px solid #b2c1d3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-assistant-avatar {
  width: 28px;
  height: 28px;
  background: #0071DC;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.chat-assistant-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-assistant-title-line strong {
  font-size: 12px;
  color: #0f172a;
}

.chat-brand-tag {
  background: #FFC220;
  color: #000000;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.chat-assistant-subtitle {
  font-size: 10px;
  color: #475569;
  margin-top: 1px;
}

.chat-customer-pill {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.mock-chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #c2cddb;
}

.chat-msg {
  display: flex;
  max-width: 96%;
}

.user-msg {
  align-self: flex-end;
  background: #0071DC;
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 14px 14px 2px 14px;
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.bot-msg {
  align-self: flex-start;
  display: flex;
  gap: 8px;
  width: 100%;
}

.bot-avatar-circle {
  width: 22px;
  height: 22px;
  background: #0071DC;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bot-content-col {
  flex: 1;
  background: #ffffff;
  border: 1px solid #b2c1d3;
  border-radius: 2px 12px 12px 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: #1e293b;
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mock-product-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mock-product-card {
  background: #ffffff;
  border: 1px solid #b2c1d3;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mock-product-card.single-card {
  max-width: 280px;
  margin-top: 8px;
}

.product-icon-wrap {
  font-size: 20px;
  text-align: center;
  background: #d4dfec;
  border-radius: 4px;
  padding: 4px 0;
}

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

.product-price {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.product-stock-badge {
  font-size: 9px;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}

.product-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.product-specs {
  font-size: 9.5px;
  color: #475569;
}

.mock-add-btn {
  background: #FFC220;
  color: #000000;
  font-weight: 700;
  font-size: 10.5px;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 4px;
  transition: filter 0.15s ease;
}

.mock-add-btn:hover {
  filter: brightness(1.1);
}

.mock-receipt-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 8px;
}

.receipt-header {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 4px;
}

.receipt-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 10.5px;
  color: #1e293b;
  line-height: 1.4;
}

.receipt-promo-line {
  color: #b91c1c;
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #86efac;
}

.mock-chat-input-row {
  padding: 6px 10px;
  background: #d8e1ec;
  border-top: 1px solid #b2c1d3;
  display: flex;
  gap: 6px;
}

.mock-chat-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #b2c1d3;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 10px;
  color: #1e293b;
  outline: none;
}

.mock-chat-send-btn {
  background: #0071DC;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}

/* RIGHT PANE: Console & Code/Metrics */
.mock-right-pane {
  background: #3d4b60;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mock-pipeline-banner {
  padding: 8px 12px;
  background: #334155;
  border-bottom: 1px solid #4f5f78;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pipeline-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.red-star {
  color: #ff7a59;
  font-size: 11px;
}

.pipeline-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.stage-tag-badge {
  background: #1e293b;
  color: #38BDF8;
  border: 1px solid #475569;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
}

.mock-console-card {
  flex: 1;
  min-height: 250px;
  max-height: 280px;
  padding: 8px 12px;
  background: #1e293b;
  border-bottom: 1px solid #4f5f78;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.console-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.console-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.console-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.console-title-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.events-badge {
  background: #334155;
  color: #f1f5f9;
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 3px;
}

.clear-badge {
  font-size: 9.5px;
  color: #cbd5e1;
  cursor: pointer;
}

.console-body-stream {
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.console-stage-item {
  border: 1px solid #4f5f78;
  border-radius: 5px;
  background: #1e293b;
  overflow: hidden;
}

.stage-item-header {
  padding: 5px 8px;
  background: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 10px;
  color: #ffffff;
}

.exec-badge {
  margin-left: auto;
  font-size: 9px;
  color: #cbd5e1;
}

.stage-item-logs {
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9.5px;
  line-height: 1.35;
  background: #1e293b;
}

.console-stage-item.collapsed .stage-item-logs {
  display: none;
}

.console-stage-item.active-stage {
  border-color: #ef4444;
}

.console-stage-item.active-stage .stage-item-header {
  background: rgba(239, 68, 68, 0.25);
  color: #fee2e2;
}

.tag-query { color: #38BDF8; font-weight: 600; }
.tag-loader { color: #818CF8; font-weight: 600; }
.tag-search { color: #34D399; font-weight: 600; }
.tag-commit { color: #A78BFA; font-weight: 600; }
.tag-expect { color: #FBBF24; font-weight: 600; }
.tag-promo { color: #F472B6; font-weight: 600; }
.tag-job { color: #38BDF8; font-weight: 600; }
.tag-dispatch { color: #34D399; font-weight: 600; }
.tag-err { color: #EF4444; font-weight: 700; }
.tag-alert { color: #F59E0B; font-weight: 600; }
.tag-fallback { color: #60A5FA; font-weight: 600; }
.tag-success { color: #10B981; font-weight: 600; }

.log-error-row {
  background: rgba(239, 68, 68, 0.25);
  color: #fee2e2;
  padding: 2px 4px;
  border-radius: 3px;
}

.log-warn-row { color: #FCD34D; }
.log-success-row { color: #86EFAC; }
.err-cross { color: #EF4444; font-weight: 700; }
.check-mark { color: #10B981; font-weight: 700; }

/* Bottom Right Grid */
.mock-bottom-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 12px;
  background: #3d4b60;
  height: 190px;
}

.mock-code-box, .mock-table-box {
  background: #1e293b;
  border: 1px solid #4f5f78;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.code-box-header, .table-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #ffffff;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #4f5f78;
  background: #334155;
  padding: 4px 6px;
  border-radius: 4px 4px 0 0;
}

.code-filepath {
  color: #38bdf8;
  font-family: var(--font-mono);
}

.code-pipeline-tag {
  color: #ff7a59;
  font-weight: 700;
}

.table-gov-badge {
  color: #cbd5e1;
  font-size: 8.5px;
}

.mock-code-pre {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.35;
  color: #f1f5f9;
  margin: 0;
  overflow-x: auto;
  flex: 1;
}

.code-decorator { color: #C084FC; font-weight: 600; }
.code-kw { color: #F472B6; font-weight: 600; }
.code-str { color: #FCD34D; }
.code-comment { color: #94a3b8; font-style: italic; }
.code-fn { color: #60A5FA; }

.table-scroll-wrap {
  overflow: auto;
  flex: 1;
}

.mock-delta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px;
}

.mock-delta-table th {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3px 5px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #334155;
}

.mock-delta-table td {
  padding: 3px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.badge-dq-reason {
  background: rgba(239, 68, 68, 0.25);
  color: #fee2e2;
  padding: 1px 4px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.badge-dq-action {
  background: #EF4444;
  color: #FFFFFF;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 8.5px;
}

@media (max-width: 900px) {
  .mock-split-grid {
    grid-template-columns: 1fr;
  }
  .mock-bottom-right-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Video Controls Bar */
.video-controls-bar {
  background: #edf2f7;
  border-top: 1px solid #cbd5e1;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.player-btn:hover {
  background: #e2e8f0;
  color: #0071dc;
}

.player-btn.pill-btn {
  width: auto;
  padding: 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.dot-green {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
}

.time-readout {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #475569;
  min-width: 75px;
}

.player-scrubber-track {
  flex: 1;
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.scrubber-fill {
  height: 100%;
  background: #0071dc;
  border-radius: 3px;
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .rendered-demo-app {
    grid-template-columns: 1fr;
  }
  .demo-app-sidebar {
    display: none;
  }
  .demo-kpi-grid {
    grid-template-columns: 1fr;
  }
  .chart-visual-bars {
    gap: 6px;
  }
}

/* ==========================================================================
   Hero Social Proof Logos
   ========================================================================== */

.hero-social-proof {
  margin-top: 48px;
  text-align: center;
}

.social-proof-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.logo-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Shared Section Typography & Badges
   ========================================================================== */

.section-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--brand-cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
}



.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.label-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-with-icon input {
  width: 100%;
  background: #090D18;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 42px;
  color: var(--text-pure);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}





.status-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #34D399;
  font-weight: 600;
}



/* ==========================================================================
   Core Features Section
   ========================================================================== */

.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-card.coming-soon {
  opacity: 0.6;
  background: rgba(17, 23, 38, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  filter: grayscale(0.25);
}

.feature-card.coming-soon:hover {
  opacity: 0.8;
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.28);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-top-row .feature-icon-box {
  margin-bottom: 0;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coming-soon-badge-sm {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-pure);
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.feature-bullets li.coming-soon-item {
  color: var(--text-muted);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works-section {
  padding: 90px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.how-it-works-section .container {
  max-width: 1720px;
  padding: 0 clamp(16px, 2.5vw, 36px);
}

.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  margin-bottom: 18px;
}

.step-snippet {
  margin-top: auto;
  background: #090D18;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.step-connector {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .steps-container {
    flex-direction: column;
  }
  .step-connector {
    justify-content: center;
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

.comparison-section {
  padding: 90px 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-surface);
}

.comparison-table th, .comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.comparison-table thead th {
  background: #0E1422;
  font-family: var(--font-heading);
}

.th-brand {
  font-size: 18px;
  color: var(--brand-cyan);
  font-weight: 800;
}

.th-alt {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.th-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.highlight-col {
  background: rgba(59, 130, 246, 0.05);
  border-left: 1px solid rgba(59, 130, 246, 0.2);
  border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-success {
  color: #34D399;
  font-weight: 600;
}

.text-danger {
  color: #F87171;
}

.text-warning {
  color: #FBBF24;
}

/* ==========================================================================
   Stats & Testimonials Section
   ========================================================================== */

.stats-testimonials-section {
  padding: 90px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;
  color: var(--brand-cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-pure);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: #141B2D;
  border: 2px solid var(--brand-blue);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}

.plan-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-name {
  font-size: 22px;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 600;
}

.price-val {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-pure);
  font-family: var(--font-heading);
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-primary);
}

.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 90px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta-section {
  padding: 90px 0;
}

.cta-card {
  background: radial-gradient(ellipse at center, #172445 0%, #0D1322 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  text-align: center;
  box-shadow: var(--shadow-showcase);
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-footnote {
  font-size: 13px;
  color: var(--text-muted);
}

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

.site-footer {
  background: #07090F;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--text-pure);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--text-muted);
}

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

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

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

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

/* ==========================================================================
   Toasts & Modal
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-slide-in 0.3s ease-out;
}

@keyframes toast-slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-showcase);
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-pure);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-footer-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* ==========================================================================
   Interstitial Modal ("See How It Works")
   ========================================================================== */

.interstitial-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 6, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.interstitial-backdrop.open {
  display: flex;
  opacity: 1;
}

.interstitial-window {
  width: 96vw;
  max-width: 1320px;
  height: 90vh;
  max-height: 880px;
  background: #0B0E17;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(59, 130, 246, 0.25);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.interstitial-backdrop.open .interstitial-window {
  transform: scale(1);
}

.interstitial-titlebar {
  background: #0D1322;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.dot-btn {
  cursor: pointer;
  border: none;
}

.dot-btn:hover {
  filter: brightness(1.2);
}

.interstitial-url-badge {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  max-width: 600px;
  overflow: hidden;
}

.interstitial-url-text {
  color: #93C5FD;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.interstitial-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.interstitial-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.interstitial-external-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.interstitial-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color var(--transition-fast);
}

.interstitial-close-btn:hover {
  color: var(--text-pure);
}

.interstitial-body {
  flex: 1;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.interstitial-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  background: #080C16;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.interstitial-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spin-icon {
  animation: spin-kf 1s linear infinite;
}

@keyframes spin-kf {
  100% { transform: rotate(360deg); }
}

.interstitial-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .interstitial-window {
    width: 98vw;
    height: 94vh;
  }
  .interstitial-url-badge {
    display: none;
  }
}

/* ==========================================================================
   Contact Us Interstitial Modal
   ========================================================================== */

.contact-modal-window {
  background: #0B0E17;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.95), 0 0 60px rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  width: 90%;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.interstitial-backdrop.open .contact-modal-window {
  transform: scale(1);
}

.contact-modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.contact-email-link {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #C084FC;
  text-decoration: none;
  background: linear-gradient(135deg, #A78BFA 0%, #C084FC 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
  letter-spacing: -0.01em;
}

.contact-email-link:hover {
  opacity: 0.85;
  transform: scale(1.03);
}
