/* ============================================
   MACHINES & CLOUD - Premium Design System
   High-Converting Enterprise AI Website
   ============================================ */

/* CSS Custom Properties - Design Tokens */
:root {
  /* Primary Colors - Based on Logo Blue Gradient */
  --color-primary-900: #0A1628;
  --color-primary-800: #0F2447;
  --color-primary-700: #1E3A5F;
  --color-primary-600: #1E40AF;
  --color-primary-500: #2563EB;
  --color-primary-400: #3B82F6;
  --color-primary-300: #60A5FA;
  --color-primary-200: #93C5FD;
  --color-primary-100: #DBEAFE;

  /* Neutral Colors */
  --color-neutral-950: #030712;
  --color-neutral-900: #0C1222;
  --color-neutral-800: #1A202C;
  --color-neutral-700: #2D3748;
  --color-neutral-600: #4A5568;
  --color-neutral-500: #718096;
  --color-neutral-400: #A0AEC0;
  --color-neutral-300: #CBD5E0;
  --color-neutral-200: #E2E8F0;
  --color-neutral-100: #F7FAFC;
  --color-neutral-50: #FFFFFF;

  /* Accent Colors */
  --color-accent-cyan: #06B6D4;
  --color-accent-emerald: #10B981;
  --color-accent-amber: #F59E0B;
  --color-accent-rose: #F43F5E;
  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #60A5FA 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(59, 130, 246, 0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
                   radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.15) 0px, transparent 50%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
  --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.15) 50%, rgba(6, 182, 212, 0.1) 100%);
  --gradient-text: linear-gradient(135deg, #60A5FA 0%, #3B82F6 40%, #06B6D4 100%);
  --gradient-cta: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 64, 175, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

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

  /* Font Sizes - More Dramatic Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 5.5rem;
  --text-8xl: 7rem;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.4);
  --shadow-glow-lg: 0 0 80px rgba(59, 130, 246, 0.5);
  --shadow-glow-cyan: 0 0 60px rgba(6, 182, 212, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-max: 9999;

  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-neutral-200);
  background-color: var(--color-neutral-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body.nav-open {
  overflow: hidden;
  height: 100%;
}

/* Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: var(--z-max);
}

/* Selection */
::selection {
  background-color: var(--color-primary-500);
  color: var(--color-neutral-50);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 2px;
}

/* Links */
a {
  color: var(--color-primary-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-neutral-50);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }
}

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: var(--space-6); }
li { margin-bottom: var(--space-2); }

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

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

/* Floating Gradient Orbs - Ultra Slow, Ambient Like Breathing */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floatSlow 120s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  top: -300px;
  left: -200px;
  animation-delay: 0s;
  animation-duration: 120s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  top: 30%;
  right: -200px;
  animation-delay: -40s;
  animation-duration: 150s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  bottom: -150px;
  left: 20%;
  animation-delay: -80s;
  animation-duration: 140s;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(8px, -12px); }
  50% { transform: translate(-10px, 8px); }
  75% { transform: translate(6px, -6px); }
}

/* Legacy float animation for compatibility */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -5px); }
}

/* Grid Pattern */
.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-lg { max-width: var(--container-2xl); }
.container-sm { max-width: var(--container-md); }

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-lg { padding: var(--space-32) 0; }

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* ============================================
   NAVIGATION - Premium Style
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-5) 0;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.navbar::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 24, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: var(--space-3) 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-logo span {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-50);
  letter-spacing: -0.02em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-links li { margin: 0; }

.nav-group-label {
  display: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-neutral-500);
  margin-top: var(--space-6);
}

.navbar-links a {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-neutral-400);
  transition: all var(--transition-fast);
  position: relative;
  padding: var(--space-2) 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-neutral-50);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Dropdown Menu */
.navbar-dropdown {
  position: relative;
}

.navbar-dropdown > a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar-dropdown > a svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.navbar-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.navbar-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-neutral-300);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-neutral-50);
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.dropdown-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-label span:first-child {
  font-weight: 500;
  color: var(--color-neutral-50);
}

.dropdown-label span:last-child {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

.dropdown-divider {
  height: 1px;
  background: rgba(59, 130, 246, 0.1);
  margin: var(--space-2) 0;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 100;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-neutral-50);
  transition: all var(--transition-fast);
  border-radius: var(--radius-full);
}

.navbar-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
  .navbar-toggle { display: flex; }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: rgba(12, 18, 34, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--space-24) + env(safe-area-inset-top)) var(--space-8) var(--space-10);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-left: 1px solid rgba(59, 130, 246, 0.1);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: calc(var(--space-10) + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    align-items: stretch;
    z-index: 2;
  }

  body.nav-open .navbar-menu {
    overflow-y: auto;
  }

  .navbar-menu.is-open {
    transform: translateX(0);
  }

  .navbar-links {
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-links a {
    font-size: var(--text-lg);
    width: 100%;
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-md);
  }

  .nav-group-label {
    display: block;
    padding: var(--space-3) 0 var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }

  .navbar-dropdown {
    width: 100%;
  }

  .navbar-dropdown > a {
    justify-content: space-between;
  }

  .navbar-dropdown > a svg {
    transform: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: var(--space-2) 0 0;
    min-width: unset;
  }

  .dropdown-menu a {
    padding: var(--space-2) var(--space-2);
    gap: var(--space-2);
  }

  .dropdown-menu a .dropdown-label span:last-child {
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
  }

  .navbar-cta {
    flex-direction: column;
    width: 100%;
    margin-top: var(--space-8);
  }

  .navbar-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .navbar-menu {
    max-width: 100%;
    width: 100%;
    left: 0;
    right: 0;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .navbar-links {
    gap: var(--space-3);
  }

  .navbar-links a {
    font-size: var(--text-base);
  }
}

body.nav-open .navbar::after {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   BUTTONS - Premium Styling
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-neutral-50);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.3);
  color: var(--color-neutral-50);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-neutral-50);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--color-neutral-50);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary-400);
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary-300);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* Button with icon */
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ============================================
   HERO SECTION - High Impact
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--space-32);
  padding-bottom: var(--space-20);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* Animated Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-primary-300);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge-pulse {
  width: 10px;
  height: 10px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  position: relative;
}

.hero-badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: pulse-ring 2s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* Hero Title with Gradient */
.hero-title {
  font-size: var(--text-7xl);
  font-weight: var(--font-black);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rotating Text */
.hero-title-rotate {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-title-rotate-text {
  display: block;
  animation: rotateText 8s ease-in-out infinite;
}

@keyframes rotateText {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-100%); }
  50%, 70% { transform: translateY(-200%); }
  75%, 95% { transform: translateY(-300%); }
  100% { transform: translateY(0); }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 650px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease-out 0.4s both;
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-black);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 700px;
  opacity: 0.9;
  animation: floatVisual 6s ease-in-out infinite;
}

@keyframes floatVisual {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-52%); }
}

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

@media (max-width: 1200px) {
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--space-32) 0 var(--space-20);
  }

  .hero-title {
    font-size: var(--text-5xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-8);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .hero-demo {
    display: none;
  }
}

/* ============================================
   AGENT TERMINAL DEMO
   ============================================ */

.hero-demo {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.agent-terminal {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5),
    0 0 100px -50px rgba(59, 130, 246, 0.3);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.agent-terminal:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
  display: flex;
  gap: var(--space-2);
}

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  text-align: center;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-success);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: pulse-glow 2s ease-in-out infinite;
}

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

.terminal-body {
  padding: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  min-height: 300px;
  max-height: 400px;
  overflow: hidden;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  opacity: 0;
  transform: translateY(10px);
  animation: terminalLineIn 0.4s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.5s; }
.terminal-line:nth-child(3) { animation-delay: 2.5s; }
.terminal-line:nth-child(4) { animation-delay: 3.5s; }
.terminal-line:nth-child(5) { animation-delay: 4.5s; }
.terminal-line:nth-child(6) { animation-delay: 5.5s; }
.terminal-line:nth-child(7) { animation-delay: 6.5s; }
.terminal-line:nth-child(8) { animation-delay: 7.5s; }
.terminal-line:nth-child(9) { animation-delay: 8.5s; }
.terminal-line:nth-child(10) { animation-delay: 9.5s; }
.terminal-line:nth-child(11) { animation-delay: 10.5s; }

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

.terminal-prompt {
  font-size: var(--text-base);
  flex-shrink: 0;
}

.terminal-text {
  color: var(--color-neutral-300);
  flex: 1;
}

.terminal-text.success {
  color: var(--color-success);
}

.terminal-text.warning {
  color: var(--color-warning);
}

.terminal-text.typing::after {
  content: '▋';
  animation: blink 1s step-end infinite;
  color: var(--color-primary-400);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-badge {
  padding: var(--space-1) var(--space-2);
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-primary-300);
  font-weight: var(--font-medium);
}

.terminal-badge.success {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.terminal-badge.warning {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--color-warning);
}

.terminal-progress {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.terminal-progress-bar {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: progressBar 2s ease-in-out infinite;
}

@keyframes progressBar {
  0% { width: 0%; }
  50% { width: 80%; }
  100% { width: 100%; }
}

.terminal-footer {
  padding: var(--space-4) var(--space-5);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-metrics {
  display: flex;
  justify-content: space-between;
}

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

.terminal-metric .metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.terminal-metric .metric-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

/* Floating Integration Icons */
.demo-integrations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.demo-integration {
  position: absolute;
  width: 50px;
  height: 50px;
  padding: var(--space-3);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  animation: floatIcon 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.demo-integration svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-400);
  opacity: 0.8;
}

@keyframes floatIcon {
  0%, 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))); }
  50% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 10px)); }
}

/* Connection Lines */
.demo-connections {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
}

.connection-line {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 3s ease-in-out infinite;
}

.connection-line:nth-child(2) { animation-delay: 0.5s; }
.connection-line:nth-child(3) { animation-delay: 1s; }
.connection-line:nth-child(4) { animation-delay: 1.5s; }

@keyframes drawLine {
  0%, 100% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 0; }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-demo {
    max-width: 600px;
    margin: 0 auto;
  }

  .agent-terminal {
    transform: none;
  }

  .demo-integrations,
  .demo-connections {
    display: none;
  }
}

/* ============================================
   LOGO MARQUEE
   ============================================ */

.logo-section {
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.logo-section-title {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7rem;
  padding-bottom: var(--space-8);
}

.logo-marquee {
  display: flex;
  gap: var(--space-16);
  animation: marquee 30s linear infinite;
}

.logo-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 60px;
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  color: var(--color-neutral-500);
  transition: all var(--transition-base);
}

.logo-marquee-item svg {
  width: auto;
  height: 28px;
  max-width: 100px;
  opacity: 0.6;
  transition: all var(--transition-base);
}

.logo-marquee-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.logo-marquee-item:hover svg {
  opacity: 1;
  color: var(--color-primary-400);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   TRUSTED FACES SECTION
   ============================================ */
.trusted-faces {
  text-align: center;
  padding-top: var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trusted-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.trusted-faces-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.trusted-face {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  color: rgba(226, 232, 240, 0.9);
}

.trusted-face:hover {
  transform: translateY(-4px) scale(1.1);
  border-color: var(--color-primary-400);
  z-index: 10;
}

.trusted-face img,
.trusted-face svg {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.trusted-more {
  font-size: var(--text-sm);
  color: var(--color-primary-400);
  font-weight: 500;
  margin-left: var(--space-3);
}

.trusted-note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

@media (max-width: 768px) {
  .trusted-face {
    width: 60px;
    height: 44px;
  }
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-success);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   CARDS - Glass Morphism
   ============================================ */

.card {
  background: rgba(15, 36, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.card::after {
  content: '';
  position: absolute;
  inset: -60% -30%;
  background: linear-gradient(120deg, transparent 30%, rgba(59, 130, 246, 0.12) 50%, transparent 70%);
  opacity: 0.35;
  transform: translateX(-60%) rotate(6deg);
  animation: cardSheen 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon svg {
  animation: iconFloat 6s ease-in-out infinite;
}

@keyframes cardSheen {
  0% { transform: translateX(-60%) rotate(6deg); opacity: 0.2; }
  50% { transform: translateX(60%) rotate(6deg); opacity: 0.6; }
  100% { transform: translateX(-60%) rotate(6deg); opacity: 0.2; }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Cards with Industry Animated Visualizations */
.card-with-image {
  padding-top: 0;
}

.card-industry-visual {
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-6);
  height: 120px;
  overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(30, 64, 175, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

/* Mini Terminal for Industry Cards */
.mini-terminal {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.2);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10px;
}

.mini-terminal-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.mini-terminal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mini-terminal-dot:nth-child(1) { background: #ff5f56; }
.mini-terminal-dot:nth-child(2) { background: #ffbd2e; }
.mini-terminal-dot:nth-child(3) { background: #27ca3f; }

.mini-terminal-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-terminal-line {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: miniLineIn 0.4s ease forwards;
}

.mini-terminal-line:nth-child(1) { animation-delay: 0.2s; }
.mini-terminal-line:nth-child(2) { animation-delay: 0.5s; }
.mini-terminal-line:nth-child(3) { animation-delay: 0.8s; }

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

.mini-prompt {
  color: var(--color-primary-400);
  font-weight: 600;
}

.mini-text {
  color: rgba(255, 255, 255, 0.7);
}

.mini-text.success { color: var(--color-accent-emerald); }
.mini-text.processing { color: var(--color-accent-cyan); }

/* Industry-specific workflow animations */
.industry-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.flow-node {
  flex: 1;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 8px;
  text-align: center;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: nodeReveal 0.5s ease forwards;
}

.flow-node:nth-child(1) { animation-delay: 0.1s; }
.flow-node:nth-child(2) { animation-delay: 0.3s; }
.flow-node:nth-child(3) { animation-delay: 0.5s; }

.flow-node.active {
  background: rgba(59, 130, 246, 0.25);
  border-color: var(--color-primary-400);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.flow-arrow {
  color: var(--color-primary-400);
  font-size: 14px;
  opacity: 0;
  animation: arrowPulse 1.5s ease infinite;
}

.flow-arrow:nth-of-type(1) { animation-delay: 0.2s; }
.flow-arrow:nth-of-type(2) { animation-delay: 0.6s; }

@keyframes nodeReveal {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

/* Data stream animation */
.data-stream {
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 20px;
  overflow: hidden;
}

.data-particle {
  position: absolute;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
  border-radius: 2px;
  animation: dataFlow 2s linear infinite;
}

.data-particle:nth-child(1) { animation-delay: 0s; }
.data-particle:nth-child(2) { animation-delay: 0.5s; }
.data-particle:nth-child(3) { animation-delay: 1s; }

@keyframes dataFlow {
  0% { left: -20px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Card link styling */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card stats for industry cards */
.card-stats {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.card-stats::after {
  content: '';
  position: absolute;
  left: -40%;
  right: -40%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.7), transparent);
  background-size: 200% 100%;
  animation: cardStatsFlow 8s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.card-stat {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  padding: var(--space-1) var(--space-3);
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.card-stat:first-child {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}

@keyframes cardStatsFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.card-people {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-people img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg-secondary);
}

.card-people span {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-neutral-50);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}

.card-description {
  color: var(--color-neutral-400);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Featured Card */
.card-featured {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(15, 36, 71, 0.5) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-featured::after {
  content: 'Most Popular';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-50);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-500));
}

.section-eyebrow::after {
  background: linear-gradient(90deg, var(--color-primary-500), transparent);
}

.section-title {
  margin-bottom: var(--space-6);
}

.section-description {
  font-size: var(--text-xl);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

.section-header::after {
  content: '';
  display: block;
  width: 160px;
  height: 2px;
  margin: var(--space-6) auto 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0));
  background-size: 200% 100%;
  animation: headerSweep 6s linear infinite;
  opacity: 0.7;
}

@keyframes headerSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================
   STATS SECTION - Animated
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-card {
  text-align: center;
  padding: var(--space-10);
  background: rgba(15, 36, 71, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transform: translateX(-120%);
  animation: statSweep 10s linear infinite;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  position: relative;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes statSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

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

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

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-8);
  animation: testimonialScroll 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-rotate .testimonials-track {
  animation: proofScroll 55s linear infinite;
}

@keyframes proofScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animated visual accents */
.hero-demo,
.results-dashboard,
.process-visual,
.architecture-showcase,
.case-study-full {
  position: relative;
  overflow: hidden;
}

.hero-demo::after,
.results-dashboard::after,
.process-visual::after,
.architecture-showcase::after,
.case-study-full::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.22), transparent 55%);
  opacity: 0.35;
  animation: slowSpin 18s linear infinite;
  pointer-events: none;
}

@keyframes slowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.testimonial-card {
  flex: 0 0 400px;
  background: rgba(15, 36, 71, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--color-primary-500);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-content {
  font-size: var(--text-lg);
  color: var(--color-neutral-200);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.testimonial-metric {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-success);
  margin-bottom: var(--space-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  color: var(--color-neutral-50);
  font-size: var(--text-lg);
}

.testimonial-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-50);
  margin-bottom: var(--space-1);
}

.testimonial-info p {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  margin: 0;
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.process-item {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-8);
  background: rgba(15, 36, 71, 0.2);
  border: 1px solid transparent;
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  position: relative;
}

.process-item:hover {
  background: rgba(15, 36, 71, 0.4);
  border-color: rgba(59, 130, 246, 0.2);
}

.process-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: var(--font-black);
  color: var(--color-neutral-50);
  font-size: var(--text-2xl);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.process-content {
  flex-grow: 1;
}

.process-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.process-description {
  color: var(--color-neutral-400);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.process-tag {
  margin-top: var(--space-4);
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-primary-400);
}

.process-tag.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

/* Enhanced Process Showcase */
.process-showcase {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.process-timeline {
  display: flex;
  flex-direction: column;
}

.process-timeline .process-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background: transparent;
  border: none;
  position: relative;
}

.process-timeline .process-item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius-xl);
}

.process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.process-timeline .process-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  font-size: var(--text-lg);
  position: relative;
  z-index: 2;
}

.process-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(to bottom, var(--color-primary-400), rgba(59, 130, 246, 0.2));
  margin-top: var(--space-2);
}

.process-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.process-header .process-title {
  margin-bottom: 0;
}

.process-header .process-tag {
  margin-top: 0;
}

.process-gate {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
}

.gate-icon {
  font-size: 14px;
}

.gate-text {
  color: #F59E0B;
  font-weight: 500;
}

.process-people {
  display: flex;
  margin-top: var(--space-3);
}

.process-people img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: -8px;
  object-fit: contain;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.process-people img:first-child {
  margin-left: 0;
}

/* Process Visual Card */
.process-visual {
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: sticky;
  top: 120px;
  height: fit-content;
}

.process-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.process-visual-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

.process-visual-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-accent-cyan);
}

.process-visual-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pv-progress {
  height: 6px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.pv-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-400), var(--color-accent-cyan));
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pv-stages {
  display: flex;
  justify-content: space-between;
}

.pv-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.pv-stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.pv-stage.completed .pv-stage-dot {
  background: var(--color-primary-400);
  border-color: var(--color-primary-400);
}

.pv-stage.active .pv-stage-dot {
  background: var(--color-accent-cyan);
  border-color: var(--color-accent-cyan);
  animation: activePulse 1.5s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

.pv-stage-label {
  font-size: 10px;
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pv-stage.completed .pv-stage-label,
.pv-stage.active .pv-stage-label {
  color: rgba(255, 255, 255, 0.8);
}

.pv-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.pv-metric-value {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary-400);
}

.pv-metric-label {
  font-size: 10px;
  color: var(--color-neutral-500);
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .process-showcase {
    grid-template-columns: 1fr;
  }

  .process-visual {
    position: static;
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: rgba(15, 36, 71, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(15, 36, 71, 0.5);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-50);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary-400);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--gradient-primary);
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
  color: var(--color-neutral-50);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

/* ============================================
   CTA SECTION - High Impact
   ============================================ */

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--space-16) 0;
}

.cta-team {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.cta-team img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--color-bg-primary);
  margin-left: -12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cta-team img:first-child {
  margin-left: 0;
}

.cta-team img:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}

.cta-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
}

.cta-description {
  font-size: var(--text-xl);
  color: var(--color-neutral-400);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   STICKY CTA BAR
   ============================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 18, 34, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding: var(--space-4) 0;
  z-index: var(--z-sticky);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.sticky-cta-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
}

.sticky-cta-text strong {
  color: var(--color-neutral-50);
  font-weight: var(--font-semibold);
}

@media (max-width: 768px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-inner { justify-content: center; }
}

/* ============================================
   FLOATING MOBILE CTA
   ============================================ */

.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fixed);
  display: none;
}

.floating-cta .btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  padding: 0;
  box-shadow: var(--shadow-glow-lg);
}

@media (max-width: 768px) {
  .floating-cta { display: block; }
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
  padding: var(--space-40) 0 var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
}

.page-hero-description {
  font-size: var(--text-xl);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .page-hero {
    padding: var(--space-32) 0 var(--space-16);
  }
  .page-hero-title {
    font-size: var(--text-4xl);
  }
}

/* Page Hero Split Layout */
.page-hero-split {
  text-align: left;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.page-hero-split .page-hero-content {
  margin: 0;
}

@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero-split .page-hero-content {
    margin: 0 auto;
  }
}

/* Workflow Visual */
.workflow-visual {
  position: relative;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.workflow-timeline {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5),
    0 0 80px -40px rgba(59, 130, 246, 0.3);
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
  opacity: 0.5;
}

.workflow-step.active,
.workflow-step.in-progress {
  opacity: 1;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.workflow-step.in-progress {
  animation: pulseStep 2s ease-in-out infinite;
}

@keyframes pulseStep {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.workflow-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-primary-400);
  flex-shrink: 0;
}

.workflow-step.active .workflow-step-icon {
  background: var(--color-success);
  color: white;
}

.workflow-step.in-progress .workflow-step-icon {
  background: var(--gradient-primary);
  color: white;
}

.workflow-step-content {
  flex: 1;
}

.workflow-step-label {
  display: block;
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  font-size: var(--text-sm);
}

.workflow-step-time {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  margin-top: 2px;
}

.workflow-step-status {
  text-align: right;
}

.status-complete {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-success);
}

.status-progress {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-primary-400);
}

.status-pending {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-neutral-500);
}

.progress-bar-mini {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
  overflow: hidden;
}

.progress-bar-mini span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.workflow-connector {
  height: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 30px;
}

.workflow-connector.active {
  background: var(--color-success);
}

.workflow-connector.in-progress {
  background: linear-gradient(to bottom, var(--color-success), var(--color-primary-400));
}

@media (max-width: 1024px) {
  .workflow-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

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

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary-400);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

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

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-neutral-400);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-neutral-200);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-neutral-50);
  background: rgba(15, 36, 71, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-neutral-600);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 20px;
  padding-right: var(--space-12);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-20) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-logo img { height: 40px; }

.footer-logo span {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-50);
}

.footer-description {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

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

.footer-links li { margin-bottom: var(--space-3); }

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  transition: all var(--transition-fast);
}

.footer-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
}

.footer-links a:hover {
  color: var(--color-neutral-200);
  padding-left: var(--space-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ============================================
   UTILITIES
   ============================================ */

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

.text-primary { color: var(--color-primary-400); }
.text-muted { color: var(--color-neutral-500); }
.text-white { color: var(--color-neutral-50); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.bg-dark { background: var(--color-neutral-900); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.w-full { width: 100%; }
.max-w-md { max-width: var(--container-md); }
.max-w-lg { max-width: var(--container-lg); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  margin: var(--space-16) 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Service Card Features */
.service-card-features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.service-card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  margin-bottom: var(--space-3);
}

.service-card-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

/* Framework Tags */
.framework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.framework-tag {
  padding: var(--space-1) var(--space-3);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-primary-300);
}

/* Case Study Styles */
.case-study-full { padding: var(--space-8) 0; }
.case-study-header { margin-bottom: var(--space-6); }
.case-study-meta { display: flex; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.case-study-title { font-size: var(--text-3xl); margin-bottom: var(--space-3); }
.case-study-subtitle { font-size: var(--text-lg); color: var(--color-neutral-400); }

/* Stats Mini */
.stats-mini { display: grid; gap: var(--space-4); }
.stat-mini {
  text-align: center;
  padding: var(--space-4);
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius-lg);
}
.stat-mini-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
  margin-bottom: var(--space-1);
}
.stat-mini-label { font-size: var(--text-xs); color: var(--color-neutral-500); }

/* Workflow Signal Blocks */
.signal-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.signal-bars {
  display: grid;
  gap: var(--space-4);
}

.signal-bar {
  display: grid;
  gap: var(--space-2);
}

.signal-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.signal-value {
  color: var(--color-primary-300);
  font-weight: var(--font-semibold);
}

.signal-track {
  height: 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.signal-track span {
  display: block;
  height: 100%;
  width: var(--bar);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.65), rgba(59, 130, 246, 0.2));
  background-size: 200% 100%;
  animation: signalShimmer 4s linear infinite;
}

.signal-timeline {
  display: grid;
  gap: var(--space-4);
}

.signal-step {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-400);
  box-shadow: 0 0 0 rgba(59, 130, 246, 0.4);
  animation: signalPulse 2.8s ease-in-out infinite;
  margin-top: 6px;
  flex-shrink: 0;
}

.signal-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-200);
}

.signal-desc {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  margin-top: 4px;
}

@keyframes signalShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes signalPulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Hero Insight Panels */
.hero-insight-panel {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-insight-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.2), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-insight-panel::after {
  content: '';
  position: absolute;
  inset: -60% -30%;
  background: linear-gradient(120deg, transparent 35%, rgba(59, 130, 246, 0.18) 50%, transparent 65%);
  transform: translateX(-60%) rotate(6deg);
  animation: heroPanelSheen 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-insight-panel > * {
  position: relative;
  z-index: 1;
}

.insight-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  margin-bottom: var(--space-4);
}

.insight-pill {
  font-size: var(--text-xs);
  color: var(--color-primary-200);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
}

.insight-items {
  display: grid;
  gap: var(--space-4);
}

.insight-item {
  display: grid;
  gap: var(--space-2);
}

.insight-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insight-value {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
}

.insight-meter {
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.insight-meter::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--meter);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.7), rgba(59, 130, 246, 0.2));
  background-size: 200% 100%;
  animation: insightFlow 4s linear infinite;
}

@keyframes heroPanelSheen {
  0% { transform: translateX(-60%) rotate(6deg); opacity: 0.3; }
  50% { transform: translateX(60%) rotate(6deg); opacity: 0.7; }
  100% { transform: translateX(-60%) rotate(6deg); opacity: 0.3; }
}

@keyframes insightFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Contact */
.contact-form-card { padding: var(--space-10); }
.contact-info { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-4); }
.contact-item { display: flex; align-items: center; gap: var(--space-3); color: var(--color-neutral-300); font-size: var(--text-sm); }
.contact-icon { color: var(--color-primary-400); flex-shrink: 0; }

/* ============================================
   FOUNDER SECTION
   ============================================ */

.founder-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}

.founder-image {
  position: relative;
}

.founder-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.founder-badge {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-primary-300);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}

.founder-content {
  padding-top: var(--space-4);
}

.founder-name {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-50);
  margin: var(--space-2) 0;
}

.founder-title {
  font-size: var(--text-lg);
  color: var(--color-primary-400);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-6);
}

.founder-bio {
  font-size: var(--text-lg);
  color: var(--color-neutral-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.founder-experience {
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.founder-experience h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3);
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius-lg);
}

.experience-role {
  font-weight: var(--font-semibold);
  color: var(--color-neutral-50);
  font-size: var(--text-sm);
}

.experience-company {
  color: var(--color-primary-400);
  font-size: var(--text-sm);
}

.experience-detail {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  margin-top: var(--space-1);
  line-height: 1.5;
}

.founder-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.founder-cta .btn svg {
  margin-right: var(--space-2);
}

@media (max-width: 1024px) {
  .founder-section {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .founder-image {
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: var(--space-10) auto 0;
    animation: none;
  }

  .hero-industry .hero-visual {
    max-width: 360px;
  }

  .industry-terminal,
  .terminal,
  .agent-terminal {
    transform: none;
  }

  .terminal-header,
  .terminal-body {
    padding: var(--space-4);
  }

  .terminal-body {
    font-size: var(--text-xs);
  }

  .floating-badge {
    position: static;
    margin: var(--space-4) auto 0;
    justify-content: center;
    width: fit-content;
  }

  .hero-insight-panel {
    margin-top: var(--space-5);
    padding: var(--space-4);
  }
}

/* Insight Cards */
.insight-card { display: flex; flex-direction: column; height: 100%; }
.insight-card .card-title { margin-bottom: var(--space-3); }
.insight-meta { margin-top: auto; }
.insight-featured { padding: var(--space-10); }

/* Package Cards */
.package-card { position: relative; padding: var(--space-8); }
.package-card-featured {
  border-color: var(--color-primary-500);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 36, 71, 0.5) 100%);
}
.package-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-neutral-50);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}
.package-card-title { margin-bottom: var(--space-2); }
.package-card-description { font-size: var(--text-sm); color: var(--color-neutral-500); margin-bottom: var(--space-6); }
.package-card-timeline { font-size: var(--text-sm); color: var(--color-primary-400); font-weight: var(--font-medium); margin-bottom: var(--space-4); }
.package-card-features { list-style: none; padding: 0; margin-bottom: var(--space-6); }
.package-card-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  margin-bottom: var(--space-3);
}
.package-card-features li::before {
  content: '✓';
  color: var(--color-primary-400);
  font-weight: var(--font-bold);
}

/* Industry Cards */
.industry-card { padding: var(--space-10); }
.industry-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
}

/* ROI Calculator Teaser */
.roi-calculator {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  text-align: center;
}

.roi-calculator-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.roi-calculator-description {
  font-size: var(--text-lg);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(15, 36, 71, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-lg);
  transition: all var(--transition-base);
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  color: var(--color-neutral-50);
  margin-left: 4px;
}

/* ============================================
   ARCHITECTURE STACK (Approach Page)
   ============================================ */

.architecture-stack {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5),
    0 0 80px -40px rgba(59, 130, 246, 0.3);
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: archLayerIn 0.5s ease-out forwards;
}

.arch-layer-1 { animation-delay: 0.2s; }
.arch-layer-2 { animation-delay: 0.4s; }
.arch-layer-3 { animation-delay: 0.6s; }
.arch-layer-4 { animation-delay: 0.8s; }
.arch-layer-5 { animation-delay: 1s; }

@keyframes archLayerIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.arch-layer:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.arch-layer-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-lg);
  color: var(--color-primary-400);
  flex-shrink: 0;
}

.arch-layer-content {
  flex: 1;
}

.arch-layer-name {
  display: block;
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  font-size: var(--text-sm);
}

.arch-layer-desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

.arch-layer-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: pulse-glow 2s ease-in-out infinite;
}

.arch-connector {
  height: 20px;
  width: 2px;
  background: rgba(59, 130, 246, 0.3);
  margin-left: var(--space-8);
  position: relative;
  overflow: hidden;
}

.arch-data-flow {
  position: absolute;
  width: 100%;
  height: 8px;
  background: var(--color-primary-400);
  animation: dataFlow 1.5s ease-in-out infinite;
}

@keyframes dataFlow {
  0% { top: -8px; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.arch-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-metric {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.arch-metric-1 { animation-delay: 1.2s; }
.arch-metric-2 { animation-delay: 1.4s; }
.arch-metric-3 { animation-delay: 1.6s; }

.arch-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.arch-metric-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

/* ============================================
   RESULTS DASHBOARD (Case Studies Page)
   ============================================ */

.results-dashboard {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  font-size: var(--text-sm);
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
}

.dashboard-dot.live {
  animation: pulse-glow 2s ease-in-out infinite;
}

.dashboard-time {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
}

.dashboard-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.dashboard-metric-1 { animation-delay: 0.3s; }
.dashboard-metric-2 { animation-delay: 0.5s; }
.dashboard-metric-3 { animation-delay: 0.7s; }
.dashboard-metric-4 { animation-delay: 0.9s; }

.metric-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-bottom: var(--space-3);
}

.metric-bar {
  flex: 1;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 2px;
  height: var(--bar-height);
  transition: all var(--transition-base);
}

.metric-bar.active {
  background: var(--gradient-primary);
  animation: barPulse 2s ease-in-out infinite;
}

@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.metric-ring {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-3);
}

.metric-ring svg {
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3;
}

.ring-progress {
  fill: none;
  stroke: var(--color-primary-400);
  stroke-width: 3;
  stroke-linecap: round;
  animation: ringDraw 2s ease-out forwards;
}

@keyframes ringDraw {
  from { stroke-dasharray: 0, 100; }
}

.ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.metric-counter {
  text-align: center;
  margin-bottom: var(--space-2);
}

.counter-prefix,
.counter-suffix {
  font-size: var(--text-lg);
  color: var(--color-neutral-400);
}

.counter-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.metric-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  margin-top: var(--space-2);
}

.metric-trend.positive {
  color: var(--color-success);
}

.metric-trend.negative {
  color: var(--color-error);
}

.metric-line-chart {
  height: 50px;
  margin-bottom: var(--space-3);
}

.metric-line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart-path {
  fill: none;
  stroke: var(--color-primary-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: lineDraw 2s ease-out forwards;
}

@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}

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

.metric-info .metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.metric-info .metric-name {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

.dashboard-footer {
  display: flex;
  justify-content: space-around;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dashboard-stat .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-success);
}

.dashboard-stat .stat-text {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

/* ============================================
   INDUSTRY NETWORK (Industries Page)
   ============================================ */

.industry-network {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.network-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.network-core {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto var(--space-2);
  box-shadow: var(--shadow-glow);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: var(--shadow-glow); }
  50% { box-shadow: var(--shadow-glow-lg); }
}

.network-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-300);
}

.network-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  opacity: 0;
  animation: nodeAppear 0.5s ease-out forwards;
}

.node-1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
.node-2 { top: 25%; right: 5%; animation-delay: 0.4s; }
.node-3 { top: 60%; right: 5%; animation-delay: 0.6s; }
.node-4 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.node-5 { top: 60%; left: 5%; animation-delay: 1s; }
.node-6 { top: 25%; left: 5%; animation-delay: 1.2s; }

@keyframes nodeAppear {
  to { opacity: 1; }
}

.node-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.network-node:hover .node-icon {
  border-color: var(--color-primary-400);
  transform: scale(1.1);
}

.node-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  font-weight: var(--font-medium);
}

.node-pulse {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-primary-400);
  border-radius: var(--radius-xl);
  opacity: 0;
  animation: nodePulse 3s ease-out infinite;
}

.node-1 .node-pulse { animation-delay: 0s; }
.node-2 .node-pulse { animation-delay: 0.5s; }
.node-3 .node-pulse { animation-delay: 1s; }
.node-4 .node-pulse { animation-delay: 1.5s; }
.node-5 .node-pulse { animation-delay: 2s; }
.node-6 .node-pulse { animation-delay: 2.5s; }

@keyframes nodePulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.network-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.network-line {
  stroke: url(#networkGradient);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  animation: networkPulse 2s ease-in-out infinite;
}

@keyframes networkPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.network-stats {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-6);
}

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

.network-stat .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.network-stat .stat-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
}

/* ============================================
   TRENDS VISUAL (Insights Page)
   ============================================ */

.trends-visual {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.trends-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.trends-title {
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  font-size: var(--text-sm);
}

.trends-badge {
  padding: var(--space-1) var(--space-2);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-success);
  font-weight: var(--font-medium);
}

.trends-chart {
  position: relative;
  margin-bottom: var(--space-4);
}

.trends-chart svg {
  width: 100%;
  height: 100px;
}

.chart-area {
  opacity: 0;
  animation: chartFadeIn 1s ease-out 0.5s forwards;
}

@keyframes chartFadeIn {
  to { opacity: 1; }
}

.chart-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: chartLineDraw 2s ease-out forwards;
}

@keyframes chartLineDraw {
  to { stroke-dashoffset: 0; }
}

.chart-point {
  fill: var(--color-primary-400);
  opacity: 0;
  animation: pointAppear 0.3s ease-out forwards;
}

.chart-point:nth-child(3) { animation-delay: 0.5s; }
.chart-point:nth-child(4) { animation-delay: 1s; }
.chart-point:nth-child(5) { animation-delay: 1.5s; }
.chart-point:nth-child(6) { animation-delay: 2s; }

@keyframes pointAppear {
  to { opacity: 1; }
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  margin-top: var(--space-2);
}

.trends-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.trend-metric {
  text-align: center;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
}

.trend-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
}

.trend-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  margin-top: 2px;
}

.trend-change {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  margin-top: var(--space-1);
}

.trend-change.positive { color: var(--color-success); }
.trend-change.negative { color: var(--color-error); }

.trends-insight {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--color-neutral-300);
}

.trends-insight svg {
  flex-shrink: 0;
  color: var(--color-primary-400);
}

/* ============================================
   VALUES ORBIT (About Page)
   ============================================ */

.values-orbit {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.orbit-core {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  box-shadow: var(--shadow-glow);
  animation: orbitPulse 3s ease-in-out infinite;
}

.orbit-icon {
  font-size: var(--text-2xl);
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.orbit-label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-neutral-100);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-full);
  border: 1px dashed rgba(59, 130, 246, 0.3);
}

.orbit-ring-1 {
  width: 200px;
  height: 200px;
  animation: orbitRotate 30s linear infinite;
}

.orbit-ring-2 {
  width: 260px;
  height: 260px;
  border-color: rgba(59, 130, 246, 0.15);
}

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  animation: orbitRotate 30s linear infinite reverse;
}

.orbit-item svg {
  color: var(--color-primary-400);
}

.orbit-item span {
  font-size: 9px;
  color: var(--color-neutral-400);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

.orbit-item-1 { top: -15px; left: 50%; transform: translateX(-50%); }
.orbit-item-2 { top: 50%; right: -15px; transform: translateY(-50%); }
.orbit-item-3 { bottom: -15px; left: 50%; transform: translateX(-50%); }
.orbit-item-4 { top: 50%; left: -15px; transform: translateY(-50%); }

.orbit-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 30%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 25%; animation-delay: 1s; }
.particle-3 { bottom: 25%; left: 25%; animation-delay: 2s; }
.particle-4 { bottom: 35%; right: 30%; animation-delay: 3s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 0.8; transform: scale(1); }
}

.orbit-tagline {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  white-space: nowrap;
  font-style: italic;
}

/* ============================================
   CONNECT VISUAL (Contact Page)
   ============================================ */

.connect-visual {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.connect-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.connect-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  opacity: 0.5;
  transition: all var(--transition-base);
}

.connect-step.active {
  opacity: 1;
}

.connect-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
  transition: all var(--transition-base);
}

.connect-step.active .connect-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-primary-400);
}

.connect-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  font-weight: var(--font-medium);
  text-align: center;
  max-width: 60px;
}

.connect-step.active .connect-label {
  color: var(--color-neutral-300);
}

.connect-check {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: scale(0);
  animation: checkAppear 0.3s ease-out 0.5s forwards;
}

@keyframes checkAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.connect-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.connect-pulse {
  position: absolute;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
  animation: connectPulse 2s ease-in-out infinite;
}

@keyframes connectPulse {
  0% { left: -30px; }
  100% { left: 100%; }
}

.connect-message {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
}

.message-avatar {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
}

.message-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  display: block;
}

.message-typing {
  display: flex;
  gap: 4px;
  margin-top: var(--space-1);
}

.message-typing span {
  width: 6px;
  height: 6px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: typingDot 1.4s ease-in-out infinite;
}

.message-typing span:nth-child(2) { animation-delay: 0.2s; }
.message-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Responsive adjustments for hero visualizations */
@media (max-width: 1200px) {
  .architecture-stack,
  .results-dashboard,
  .industry-network,
  .trends-visual,
  .values-orbit,
  .connect-visual {
    max-width: 400px;
    margin: 0 auto;
  }
}

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

/* ============================================
   AGENTIC AI EXPERIENCE
   Interactive AI Agent Visualization System
   ============================================ */

/* AI Agent Floating Widget */
.ai-agent-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: var(--z-fixed);
  font-family: var(--font-sans);
}

.ai-agent-bubble {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  transition: all var(--transition-base);
  position: relative;
}

.ai-agent-bubble:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-lg), var(--shadow-2xl);
}

.ai-agent-bubble svg {
  width: 28px;
  height: 28px;
  color: white;
}

.ai-agent-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: agentPulse 2s ease-out infinite;
}

@keyframes agentPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.ai-agent-status {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--color-success);
  border: 2px solid var(--color-neutral-950);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-agent-status::after {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: var(--radius-full);
  animation: statusBlink 1.5s ease infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Agent Chat Panel */
.ai-agent-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: rgba(12, 18, 34, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glow), var(--shadow-2xl);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-base);
  backdrop-filter: blur(20px);
}

.ai-agent-widget.active .ai-agent-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-panel-header {
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.ai-panel-avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-panel-avatar svg {
  width: 20px;
  height: 20px;
  color: white;
}

.ai-panel-avatar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(96, 165, 250, 0.5);
  border-radius: var(--radius-lg);
  animation: avatarGlow 2s ease infinite;
}

@keyframes avatarGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.ai-panel-info {
  flex: 1;
}

.ai-panel-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.ai-panel-name .live-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.ai-panel-status-text {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.ai-panel-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-neutral-100);
}

/* Agent Chat Messages */
.ai-panel-messages {
  padding: var(--space-4);
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ai-message {
  display: flex;
  gap: var(--space-3);
  animation: messageSlide 0.3s ease-out;
}

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

.ai-message-avatar {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-message-avatar svg {
  width: 16px;
  height: 16px;
  color: white;
}

.ai-message-content {
  flex: 1;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}

.ai-message-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-200);
  line-height: var(--leading-relaxed);
}

/* AI Thinking Animation */
.ai-thinking {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
}

.ai-thinking-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: thinkingPulse 1.4s ease-in-out infinite;
}

.ai-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkingPulse {
  0%, 60%, 100% { transform: scale(1); opacity: 0.4; }
  30% { transform: scale(1.2); opacity: 1; }
}

/* Agent Action Card */
.ai-action {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  margin-top: var(--space-2);
}

.ai-action-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.ai-action-icon {
  width: 20px;
  height: 20px;
  background: var(--color-success);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-action-icon svg {
  width: 12px;
  height: 12px;
  color: white;
}

.ai-action-title {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ai-action-detail {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
}

/* Agent Input Area */
.ai-panel-input {
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: var(--space-3);
}

.ai-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-neutral-100);
  outline: none;
  transition: all var(--transition-fast);
}

.ai-input-field::placeholder {
  color: var(--color-neutral-500);
}

.ai-input-field:focus {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.05);
}

.ai-send-btn {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-send-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.ai-send-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Agent Workflow Cycle Visualization */
.agent-cycle {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-xl);
  margin: var(--space-6) 0;
}

.agent-cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  position: relative;
  flex: 1;
  max-width: 100px;
}

.agent-cycle-step::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.agent-cycle-step:last-child::after {
  display: none;
}

.agent-cycle-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-neutral-400);
  transition: all var(--transition-base);
}

.agent-cycle-step.active .agent-cycle-icon {
  background: var(--gradient-primary);
  border-color: var(--color-primary-400);
  color: white;
  box-shadow: var(--shadow-glow);
}

.agent-cycle-step.completed .agent-cycle-icon {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-success);
  color: var(--color-success);
}

.agent-cycle-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-cycle-step.active .agent-cycle-label {
  color: var(--color-primary-300);
}

.agent-cycle-step.completed .agent-cycle-label {
  color: var(--color-success);
}

/* Tool Connection Animation */
.tool-connections {
  position: relative;
  padding: var(--space-8) 0;
}

.tool-connection {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.tool-connection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tool-connection.connecting::before {
  animation: toolScan 1.5s ease-in-out infinite;
}

.tool-connection.connected {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

@keyframes toolScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.tool-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-400);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.tool-connection.connected .tool-icon {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-success);
  color: var(--color-success);
}

.tool-info {
  flex: 1;
}

.tool-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-200);
  margin-bottom: var(--space-1);
}

.tool-status {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tool-connection.connected .tool-status {
  color: var(--color-success);
}

.tool-status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-neutral-500);
}

.tool-connection.connecting .tool-status-dot {
  background: var(--color-warning);
  animation: statusPulse 1s ease infinite;
}

.tool-connection.connected .tool-status-dot {
  background: var(--color-success);
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Scroll-Triggered Agent Actions */
.scroll-agent-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-agent-trigger.agent-visible {
  opacity: 1;
  transform: translateY(0);
}

.agent-task-card {
  background: rgba(12, 18, 34, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.agent-task-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.agent-task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.agent-task-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.agent-task-title svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary-400);
}

.agent-task-status {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-primary-300);
  font-weight: var(--font-medium);
}

.agent-task-status.completed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.agent-task-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.agent-task-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1s ease-out;
}

.agent-task-card.processing .agent-task-progress-bar {
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.agent-task-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.agent-task-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-task-step:last-child {
  border-bottom: none;
}

.agent-task-step-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-task-step.completed .agent-task-step-icon {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.agent-task-step.active .agent-task-step-icon {
  background: var(--color-primary-500);
  border-color: var(--color-primary-400);
  color: white;
  animation: stepPulse 1.5s ease infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

.agent-task-step.completed {
  color: var(--color-neutral-200);
}

.agent-task-step.active {
  color: var(--color-primary-300);
}

/* Interactive Terminal Enhancement */
.terminal-interactive {
  position: relative;
}

.terminal-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--color-primary-400);
  margin-left: 2px;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-3);
}

.terminal-input-prompt {
  color: var(--color-primary-400);
  font-weight: var(--font-bold);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-neutral-100);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  outline: none;
}

.terminal-input::placeholder {
  color: var(--color-neutral-600);
}

/* Agent Notification Toast */
.agent-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  background: rgba(12, 18, 34, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 360px;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  z-index: var(--z-tooltip);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}

.agent-toast.visible {
  transform: translateX(0);
}

.agent-toast-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-toast-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.agent-toast-content {
  flex: 1;
}

.agent-toast-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-100);
  margin-bottom: var(--space-1);
}

.agent-toast-message {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

.agent-toast-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: var(--color-neutral-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.agent-toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-neutral-200);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ai-agent-widget {
    bottom: 80px;
    right: 16px;
  }

  .ai-agent-bubble {
    width: 56px;
    height: 56px;
  }

  .ai-agent-panel {
    width: calc(100vw - 32px);
    right: -8px;
    max-height: 60vh;
  }

  .agent-toast {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}

/* Terminal Fade Animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Architecture Layer Active State */
.arch-layer.active {
  border-color: var(--color-primary-400);
  background: rgba(59, 130, 246, 0.15);
  transform: translateX(8px);
}

.arch-layer.active .arch-layer-icon {
  background: var(--gradient-primary);
  color: white;
}

.arch-layer.active .arch-layer-pulse {
  animation: layerPulse 1.5s ease infinite;
}

@keyframes layerPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
  }
}

/* Data Flow Animation Enhancement */
.arch-data-flow {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: dataFlow 1.5s ease-in-out infinite;
}

@keyframes dataFlow {
  0% {
    top: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Interactive Card Hover States */
.card:hover,
.stat-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
}

/* Agent Icon Animation */
.ai-agent-bubble svg {
  animation: agentFloat 3s ease-in-out infinite;
}

@keyframes agentFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Terminal Interactive Styling */
.terminal-body {
  display: flex;
  flex-direction: column;
}

.terminal-input-line {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-input-prompt {
  color: var(--color-primary-400);
  font-weight: var(--font-bold);
  font-family: var(--font-mono);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-neutral-100);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  outline: none;
}

.terminal-input::placeholder {
  color: var(--color-neutral-600);
}

/* Subtle Page Entry Animation */
.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible,
.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger.is-visible > * {
  animation: staggerFadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 0.5s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 0.6s; }

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

/* ============================================
   IMMERSIVE AGENT EXPERIENCE
   Full-page AI Agent Interface
   ============================================ */

/* Agent Status Bar - Fixed at top */
.agent-status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(3, 7, 18, 0.95);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  z-index: var(--z-fixed);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.agent-status-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.agent-status-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-success);
}

.agent-status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: var(--radius-full);
  animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

.agent-status-text {
  color: var(--color-neutral-400);
}

.agent-status-task {
  color: var(--color-primary-300);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.agent-status-task .task-label {
  color: var(--color-neutral-500);
}

.agent-status-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.agent-metric {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-neutral-400);
}

.agent-metric-value {
  color: var(--color-primary-300);
  font-weight: var(--font-semibold);
}

/* Adjust body for status bar */
body.agent-mode {
  padding-top: 40px;
}

body.agent-mode .navbar {
  top: 40px;
}

/* Agent Commentary Sidebar */
.agent-commentary {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  z-index: var(--z-sticky);
  pointer-events: none;
}

.agent-thought {
  background: rgba(12, 18, 34, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.agent-thought.visible {
  opacity: 1;
  transform: translateX(0);
}

.agent-thought-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-primary-400);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-thought-header svg {
  width: 14px;
  height: 14px;
}

.agent-thought-content {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  line-height: var(--leading-relaxed);
}

.agent-thought-typing {
  display: inline-flex;
  gap: 3px;
}

.agent-thought-typing span {
  width: 4px;
  height: 4px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: thoughtTyping 1s ease infinite;
}

.agent-thought-typing span:nth-child(2) { animation-delay: 0.15s; }
.agent-thought-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes thoughtTyping {
  0%, 60%, 100% { opacity: 0.3; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.2); }
}

/* Section Processing Indicator */
.section-agent-indicator {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.section-agent-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-500);
  transition: all var(--transition-base);
}

.section.agent-processing .section-agent-icon {
  background: var(--gradient-primary);
  border-color: var(--color-primary-400);
  color: white;
  box-shadow: var(--shadow-glow);
}

.section-agent-line {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.section.agent-processing .section-agent-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, var(--color-primary-400), transparent);
  animation: lineFlow 1s ease-in-out infinite;
}

@keyframes lineFlow {
  0% { top: -20px; }
  100% { top: 100%; }
}

/* Data Stream Effect */
.data-stream {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.data-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
  opacity: 0;
  animation: dataParticle 3s ease-in-out infinite;
}

@keyframes dataParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* Agent Processing Overlay */
.agent-processing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.agent-processing-overlay.active {
  opacity: 1;
  visibility: visible;
}

.agent-processing-content {
  text-align: center;
}

.agent-processing-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--color-primary-400);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-4);
}

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

.agent-processing-text {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
}

/* Scroll Progress with Agent Context */
.agent-scroll-progress {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: var(--z-sticky);
}

.scroll-section-marker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scroll-marker-dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.scroll-section-marker.active .scroll-marker-dot {
  border-color: var(--color-primary-400);
  background: var(--color-primary-400);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.scroll-section-marker.completed .scroll-marker-dot {
  border-color: var(--color-success);
  background: var(--color-success);
}

.scroll-section-marker.completed .scroll-marker-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: white;
}

.scroll-marker-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.scroll-section-marker:hover .scroll-marker-label,
.scroll-section-marker.active .scroll-marker-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-neutral-300);
}

.scroll-connector {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 5px;
  position: relative;
  overflow: hidden;
}

.scroll-section-marker.completed + .scroll-connector {
  background: var(--color-success);
}

/* Agent Insight Cards */
.agent-insight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  margin-top: var(--space-4);
  position: relative;
  overflow: hidden;
}

.agent-insight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.agent-insight-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.agent-insight-icon {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-insight-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

.agent-insight-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-primary-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-insight-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  padding-left: 32px;
}

/* Live Typing Effect */
.agent-typing-text {
  overflow: hidden;
  border-right: 2px solid var(--color-primary-400);
  white-space: nowrap;
  animation: typing 2s steps(40, end), blinkCursor 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

/* Section Entry Animation - Agent Style */
.section[data-agent-section] {
  position: relative;
}

.section[data-agent-section]::before {
  content: attr(data-agent-label);
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.section[data-agent-section].agent-active::before {
  opacity: 1;
}

/* Command Input Aesthetic */
.command-prompt {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.command-prompt .prompt-symbol {
  color: var(--color-primary-400);
}

.command-prompt .prompt-text {
  color: var(--color-neutral-200);
}

/* Responsive */
@media (max-width: 1200px) {
  .agent-commentary {
    display: none;
  }

  .agent-scroll-progress {
    display: none;
  }
}

@media (max-width: 768px) {
  .agent-status-bar {
    display: none;
  }

  body.agent-mode {
    padding-top: 0;
  }

  body.agent-mode .navbar {
    top: 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ai-agent-pulse,
  .agent-cycle-step.active .agent-cycle-icon,
  .tool-connection.connecting::before,
  .agent-task-card.processing .agent-task-progress-bar,
  .terminal-cursor,
  .arch-layer.active .arch-layer-pulse,
  .arch-data-flow,
  .ai-agent-bubble svg,
  .agent-status-dot,
  .data-particle,
  .agent-processing-spinner,
  .scroll-connector::after,
  .section.agent-processing .section-agent-line::after {
    animation: none;
  }

  .ai-agent-panel,
  .agent-toast,
  .agent-thought {
    transition: opacity var(--transition-fast);
    transform: none;
  }

  .ai-agent-widget.active .ai-agent-panel {
    opacity: 1;
    visibility: visible;
  }

  .reveal,
  .reveal-stagger,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================
   IMMERSIVE AI COMPANION
   Full-featured intelligent guide
   ============================================ */

.avatar-core {
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-core svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-400);
}

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

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Body */

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Thinking Animation */

@keyframes thinkingPulse {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Collapsed state */

.collapsed-indicator {
  width: 8px;
  height: 8px;
  background: var(--color-primary-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION REVEAL ANIMATIONS
   Clean, simple reveals without jarring transitions
   ============================================ */

/* Sections are fully visible by default */
.section,
.hero {
  opacity: 1;
  transform: none;
}

/* Reveal animation for child elements */
.reveal,
.reveal-stagger,
.reveal-stagger > *,
.card,
.stat-card,
.process-item,
.service-card,
.pricing-card {
  opacity: 1;
  transform: none;
  transition: none;
}

/* FAQ items need to be visible by default since they're interactive */
.faq-item {
  opacity: 1;
  transform: none;
}

/* Testimonial cards are in a scrolling carousel - always visible */
.testimonial-card {
  opacity: 1;
  transform: none;
}

/* Revealed state */
.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > * {
  animation: none;
}

/* Stagger delay utilities */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Scale animation for cards on hover when revealed */
.revealed.card:hover,
.revealed.stat-card:hover,
.revealed.service-card:hover {
  transform: translateY(-4px);
}

/* Fade-up variation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-in variation for special elements */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Slide-in from left */
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from right */
.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   ANIMATED ARCHITECTURE VISUALIZATION
   ============================================ */
.solution-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.architecture-visual {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-lg);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: archLayerIn 0.6s ease forwards;
}

.arch-layer[data-layer="1"] { animation-delay: 0.2s; }
.arch-layer[data-layer="2"] { animation-delay: 0.4s; }
.arch-layer[data-layer="3"] { animation-delay: 0.6s; }
.arch-layer[data-layer="4"] { animation-delay: 0.8s; }
.arch-layer[data-layer="5"] { animation-delay: 1.0s; }

@keyframes archLayerIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.arch-layer-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.arch-layer-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-400);
}

.arch-layer-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arch-layer-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-sm);
}

.arch-layer-desc {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.arch-layer-pulse {
  position: absolute;
  right: var(--space-4);
  width: 8px;
  height: 8px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  animation: layerPulse 2s ease-in-out infinite;
}

.arch-layer[data-layer="1"] .arch-layer-pulse { animation-delay: 0s; }
.arch-layer[data-layer="2"] .arch-layer-pulse { animation-delay: 0.4s; }
.arch-layer[data-layer="3"] .arch-layer-pulse { animation-delay: 0.8s; }
.arch-layer[data-layer="4"] .arch-layer-pulse { animation-delay: 1.2s; }
.arch-layer[data-layer="5"] .arch-layer-pulse { animation-delay: 1.6s; }

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

.arch-connector {
  width: 2px;
  height: 12px;
  background: linear-gradient(to bottom, var(--color-primary-400), transparent);
  margin-left: var(--space-8);
  opacity: 0;
  animation: connectorIn 0.4s ease forwards;
  animation-delay: 1.2s;
}

@keyframes connectorIn {
  to { opacity: 0.5; }
}

/* Governance Visual */
.governance-visual {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.gov-badge {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-cyan);
}

.gov-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.gov-checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gov-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(6, 182, 212, 0.05);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(10px);
  animation: checkIn 0.4s ease forwards;
}

.gov-check[data-check="1"] { animation-delay: 0.3s; }
.gov-check[data-check="2"] { animation-delay: 0.5s; }
.gov-check[data-check="3"] { animation-delay: 0.7s; }
.gov-check[data-check="4"] { animation-delay: 0.9s; }
.gov-check[data-check="5"] { animation-delay: 1.1s; }

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

.gov-check-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
}

.gov-check-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.gov-footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gov-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.gov-footer-text {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

@media (max-width: 900px) {
  .solution-showcase {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STICKY SECTION HEADERS
   ============================================ */
.section-header.sticky-header {
  position: sticky;
  top: 80px;
  z-index: 10;
  background: linear-gradient(to bottom, var(--color-bg-primary) 0%, var(--color-bg-primary) 80%, transparent 100%);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-8);
}

.bg-dark .section-header.sticky-header {
  background: linear-gradient(to bottom, var(--color-bg-secondary) 0%, var(--color-bg-secondary) 80%, transparent 100%);
}

/* Mobile */

/* Card Link Style */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* ============================================
   INDUSTRY LANDING PAGES
   ============================================ */

/* Hero Industry Layout */
.hero-industry {
  padding-top: 140px;
  padding-bottom: var(--space-24);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-industry .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-industry .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-primary-300);
  margin-bottom: var(--space-6);
}

.hero-industry .hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-industry .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.hero-industry .hero-description {
  font-size: var(--text-xl);
  color: var(--color-neutral-300);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

/* Industry Terminal */
.industry-terminal {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(59, 130, 246, 0.15),
    0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.industry-terminal .terminal-output {
  margin-bottom: var(--space-2);
}

.terminal-warning {
  color: var(--color-accent-amber);
}

.terminal-warning .terminal-icon {
  color: var(--color-accent-amber);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-neutral-100);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 3s;
}

.floating-icon {
  font-size: var(--text-lg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.problem-card {
  background: var(--gradient-card);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: var(--space-6);
  transition: all 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  margin-bottom: var(--space-4);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-400);
}

.problem-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.problem-description {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.use-case-card {
  background: var(--gradient-card);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: var(--space-6);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.use-case-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  padding: var(--space-8);
}

.use-case-visual {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  margin-bottom: var(--space-4);
}

.use-case-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary-400);
}

.use-case-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: var(--color-accent-emerald);
  margin-bottom: var(--space-4);
}

.use-case-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.use-case-description {
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.use-case-outcomes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.use-case-outcomes li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

.outcome-metric {
  font-weight: var(--font-bold);
  color: var(--color-accent-cyan);
}

.use-case-link {
  font-size: var(--text-sm);
  color: var(--color-primary-400);
  text-decoration: none;
  transition: color 0.2s;
}

.use-case-link:hover {
  color: var(--color-primary-300);
}

/* Workflow Animation */
.workflow-animation {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.workflow-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}

.workflow-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-400);
}

.workflow-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.workflow-connector {
  width: 40px;
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.workflow-pulse {
  position: absolute;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
  animation: workflowPulse 2s ease-in-out infinite;
}

@keyframes workflowPulse {
  0% { left: -20px; }
  100% { left: 40px; }
}

/* Document Flow Animation */
.document-flow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.doc-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
}

.doc-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-400);
}

.doc-item.doc-processing {
  animation: docPulse 1.5s ease-in-out infinite;
}

.doc-item.doc-complete svg {
  color: var(--color-accent-emerald);
}

@keyframes docPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.doc-arrow {
  width: 30px;
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.doc-pulse {
  position: absolute;
  width: 15px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
  animation: docArrowPulse 1.5s ease-in-out infinite;
}

@keyframes docArrowPulse {
  0% { left: -15px; }
  100% { left: 30px; }
}

/* Claims Flow */
.claims-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-8) 0;
}

.flow-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.flow-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  margin-bottom: var(--space-4);
  transition: all 0.3s ease;
}

.flow-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary-400);
}

.flow-icon.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--color-primary-400);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  animation: flowPulse 2s ease-in-out infinite;
}

.flow-icon.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--color-accent-emerald);
}

.flow-icon.success svg {
  color: var(--color-accent-emerald);
}

@keyframes flowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 0 50px rgba(59, 130, 246, 0.5); }
}

.flow-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.flow-desc {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

.flow-connector {
  position: absolute;
  top: 32px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
  overflow: hidden;
}

.flow-connector .flow-pulse {
  position: absolute;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
  animation: connectorPulse 3s ease-in-out infinite;
}

@keyframes connectorPulse {
  0% { left: -40px; }
  100% { left: 100%; }
}

.flow-metrics {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-8);
  background: var(--gradient-card);
  border-radius: 16px;
  margin-top: var(--space-8);
}

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

.flow-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-accent-cyan);
}

.flow-metric-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

/* Action Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.action-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.action-icon {
  font-size: var(--text-2xl);
}

.action-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

/* Priority Queue */
.priority-queue {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(15, 23, 42, 0.8);
  border-radius: 8px;
  border-left: 3px solid;
}

.queue-item.critical {
  border-left-color: var(--color-error);
}

.queue-item.high {
  border-left-color: var(--color-accent-amber);
}

.queue-item.medium {
  border-left-color: var(--color-primary-400);
}

.queue-priority {
  padding: var(--space-1) var(--space-2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.queue-desc {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
}

.queue-status {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

/* Chat Preview */
.chat-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.chat-message {
  max-width: 80%;
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  font-size: var(--text-sm);
}

.chat-message.customer {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-right: auto;
}

.chat-message.agent {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-left: auto;
}

.agent-typing {
  display: flex;
  gap: 4px;
}

.agent-typing span {
  width: 6px;
  height: 6px;
  background: var(--color-accent-emerald);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.agent-typing span:nth-child(2) { animation-delay: 0.2s; }
.agent-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Email Flow */
.email-flow {
  width: 100%;
}

.email-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.email-preview {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(15, 23, 42, 0.8);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary-400);
}

.email-preview.urgent {
  border-left-color: var(--color-error);
}

.email-from {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-subject {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-neutral-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-tag {
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.email-tag.sales {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-primary-300);
}

.email-tag.finance {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-accent-emerald);
}

.email-tag.urgent {
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-error);
}

/* Architecture Showcase */
.architecture-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.arch-visual-large {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.arch-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(59, 130, 246, 0.2);
}

.arch-ring-outer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: ringRotate 60s linear infinite;
}

.arch-ring-middle {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation: ringRotate 45s linear infinite reverse;
}

.arch-ring-inner {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.arch-ring-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-primary);
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  white-space: nowrap;
}

.arch-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
}

.arch-core svg {
  width: 40px;
  height: 40px;
  color: white;
}

.arch-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: ringRotate 30s linear infinite;
}

.orbit-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  transform: translate(-50%, -50%);
}

.orbit-item:nth-child(1) { top: 0; left: 50%; }
.orbit-item:nth-child(2) { top: 25%; left: 93%; }
.orbit-item:nth-child(3) { top: 75%; left: 93%; }
.orbit-item:nth-child(4) { top: 100%; left: 50%; }
.orbit-item:nth-child(5) { top: 75%; left: 7%; }
.orbit-item:nth-child(6) { top: 25%; left: 7%; }

.orbit-icon {
  font-size: var(--text-xl);
}

.orbit-label {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  transform: rotate(0deg);
}

.arch-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.arch-feature {
  display: flex;
  gap: var(--space-4);
}

.arch-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.arch-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-400);
}

.arch-feature-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.arch-feature-desc {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
}

/* Testimonial Featured */
.testimonial-featured {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  position: relative;
  margin-bottom: var(--space-8);
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary-400);
  opacity: 0.3;
  margin-bottom: var(--space-4);
}

.testimonial-quote blockquote {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-neutral-200);
  font-style: italic;
}

.testimonial-author-large {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.3);
}

.author-info-large h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.author-info-large p {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-2);
}

.author-metric {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: var(--color-accent-cyan);
}

/* ROI Preview */
.roi-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12);
  background: var(--gradient-card);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 24px;
}

.roi-content .section-title {
  margin-bottom: var(--space-4);
}

.roi-sample {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.roi-input-preview {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3);
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
}

.roi-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

.roi-value {
  font-weight: var(--font-semibold);
  color: var(--color-neutral-200);
}

.roi-result-preview {
  padding: var(--space-4);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  text-align: center;
  margin-bottom: var(--space-6);
}

.roi-result-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-2);
}

.roi-result-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--color-accent-emerald);
}

.roi-visual {
  display: flex;
  justify-content: center;
}

.roi-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
  height: 250px;
}

.roi-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.roi-bar-label {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

.roi-bar-fill {
  width: 100%;
  background: var(--gradient-primary);
  border-radius: 8px 8px 0 0;
  transition: height 1s ease-out;
}

.roi-bar-before .roi-bar-fill {
  background: rgba(239, 68, 68, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.roi-bar-value {
  margin-top: var(--space-2);
  font-weight: var(--font-bold);
  color: var(--color-neutral-200);
}

/* Integrations Showcase */
.integrations-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

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

.integration-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-4);
}

.integration-logos {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.integration-logo {
  padding: var(--space-3);
  background: var(--gradient-card);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--color-neutral-300);
  transition: all 0.3s ease;
}

.integration-logo:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
}

/* Logos Grid */
.logos-grid {
  margin-top: var(--space-12);
  text-align: center;
}

.logos-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-6);
}

.logos-row {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.logo-item {
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-industry .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-industry .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .use-case-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .architecture-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .arch-visual-large {
    width: 300px;
    height: 300px;
  }

  .roi-preview {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .integrations-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-stats-row {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .problem-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .claims-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-connector {
    display: none;
  }

  .flow-metrics {
    flex-direction: column;
    gap: var(--space-6);
  }

  .integrations-showcase {
    grid-template-columns: 1fr;
  }

  .testimonial-quote blockquote {
    font-size: var(--text-lg);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }

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

  .section-lg {
    padding: var(--space-20) 0;
  }

  .hero-visual,
  .hero-demo,
  .hero-insight-panel,
  .industry-terminal,
  .agent-terminal,
  .terminal,
  .terminal-interactive,
  .hero-industry .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .terminal-line,
  .mini-terminal-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .terminal-text,
  .terminal-input,
  .mini-text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .floating-badge {
    max-width: calc(100% - 24px);
  }

  .floating-badge-1 { right: 0; }
  .floating-badge-2 { left: 0; }

  .roi-calculator {
    padding: var(--space-8);
  }

  .roi-calculator .btn-xl {
    width: min(100%, 280px);
    margin: 0 auto;
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .roi-calculator .btn-xl {
    width: min(100%, 240px);
    font-size: var(--text-xs);
  }
}

.feature-motion-panel {
  position: relative;
  min-height: 420px;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
  overflow: hidden;
}

.feature-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 240px;
  height: 240px;
  margin-left: -120px;
  margin-top: -120px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  animation: feature-spin 18s linear infinite;
}

.feature-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin-left: -56px;
  margin-top: -56px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(16, 185, 129, 0.75));
  color: white;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.4);
}

.feature-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(226, 232, 240, 0.94);
  font-size: var(--text-sm);
  backdrop-filter: blur(12px);
  animation: feature-float 6s ease-in-out infinite;
}

.feature-float:nth-of-type(2) { animation-delay: 1.2s; }
.feature-float:nth-of-type(3) { animation-delay: 2.4s; }
.feature-float:nth-of-type(4) { animation-delay: 3.2s; }

.feature-kpi-stack {
  display: grid;
  gap: 18px;
  margin-top: var(--space-8);
}

.feature-kpi-item {
  padding: 18px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.feature-kpi-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.feature-kpi-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.feature-kpi-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar-width, 72%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), rgba(16, 185, 129, 0.9));
  animation: feature-grow 1.2s ease-out;
}

.feature-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.feature-step {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.feature-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(59, 130, 246, 0.14), transparent);
  transform: translateX(-100%);
  animation: feature-sweep 4.4s ease-in-out infinite;
}

.feature-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: var(--primary-light);
  font-weight: 700;
}

.feature-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-5);
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

@keyframes feature-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes feature-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes feature-grow {
  from { width: 0; }
  to { width: var(--bar-width, 72%); }
}

@keyframes feature-sweep {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@media (max-width: 768px) {
  .feature-motion-panel {
    min-height: 360px;
  }

  .feature-orbit {
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;
  }

  .feature-core {
    width: 92px;
    height: 92px;
    margin-left: -46px;
    margin-top: -46px;
    font-size: var(--text-sm);
  }
}

/* ============================================
   P0 relaunch additions (2026-10-18): pricing, trust line, blueprint labels, form states
   ============================================ */
.package-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-3);
}
.package-card-price strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-50);
  line-height: 1.1;
}
.package-card-price span {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}
.package-card-notfor {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  border-left: 2px solid rgba(245, 158, 11, 0.6);
  padding-left: var(--space-3);
  margin-bottom: var(--space-4);
}
.package-card-notfor strong { color: var(--color-neutral-200); }
.pricing-closing {
  text-align: center;
  margin-top: var(--space-10);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-neutral-100);
}
.section-footnote {
  text-align: center;
  max-width: 820px;
  margin: var(--space-8) auto 0;
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
}
.footer-trust {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-neutral-500);
  max-width: 820px;
  margin: 0 0 var(--space-6);
}
.footer-trust a { color: var(--color-neutral-300); text-decoration: underline; text-underline-offset: 2px; }
.footer-trust a:hover { color: var(--color-primary-400); }
.blueprint-label {
  display: inline-block;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.08);
  color: var(--color-neutral-200);
  font-size: var(--text-sm);
}
.founder-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.founder-facts li {
  font-size: var(--text-sm);
  color: var(--color-neutral-200);
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.08);
}
.grid-1 { grid-template-columns: 1fr; }
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--color-error); }
.form-status { min-height: 1.5em; margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-neutral-300); }
.form-status.is-error { color: var(--color-error); }
.btn.success { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.page-hero-description a { color: var(--color-primary-400); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================
   Simplified site (2026-10-18): hero note, chat mock, founder strip, compact footer
   ============================================ */
.hero-note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-neutral-400); }
.chat-mock {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.chat-mock-header { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.06); font-size: var(--text-xs); color: var(--color-neutral-400); font-family: var(--font-mono); }
.chat-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); }
.chat-mock-tag { margin-left: auto; padding: 2px 8px; border: 1px solid rgba(245, 158, 11, 0.45); border-radius: var(--radius-full); color: var(--color-neutral-300); }
.chat-mock-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.chat-msg { max-width: 85%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); font-size: var(--text-sm); line-height: 1.5; }
.chat-msg.user { align-self: flex-end; background: rgba(59, 130, 246, 0.22); color: var(--color-neutral-50); border-bottom-right-radius: var(--radius-sm); }
.chat-msg.agent { align-self: flex-start; background: rgba(255,255,255,0.05); color: var(--color-neutral-200); border-bottom-left-radius: var(--radius-sm); }
.chat-mock-footer { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid rgba(255,255,255,0.06); }
.chat-mock-footer span { font-size: var(--text-xs); color: var(--color-success); padding: 2px 10px; border: 1px solid rgba(16, 185, 129, 0.35); border-radius: var(--radius-full); }
.founder-strip { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-10); align-items: center; }
.founder-strip-img { width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius-2xl); border: 1px solid rgba(59, 130, 246, 0.3); }
@media (max-width: 768px) { .founder-strip { grid-template-columns: 1fr; } .founder-strip-img { width: 160px; height: 160px; } }
.footer-grid-compact { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
@media (max-width: 768px) { .footer-grid-compact { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   Front desk agent widget (the product, live)
   ============================================ */
.mc-agent { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 9000; font-family: var(--font-sans); }
.mc-agent-launcher {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border: 1px solid rgba(59, 130, 246, 0.5); border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500)); color: #fff;
  font-weight: var(--font-semibold); font-size: var(--text-sm); cursor: pointer;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}
.mc-agent-launcher:hover { transform: translateY(-1px); }
.mc-agent-launcher-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: mcPulse 2s infinite; }
@keyframes mcPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.mc-agent-panel[hidden] { display: none; }
.mc-agent-panel {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column;
  background: #0b1120; border: 1px solid rgba(59, 130, 246, 0.3); border-radius: var(--radius-2xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); overflow: hidden;
}
.mc-agent-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--color-neutral-50); }
.mc-agent-sub { display: block; font-size: var(--text-xs); color: var(--color-neutral-400); font-weight: var(--font-normal); margin-top: 2px; }
.mc-agent-close { background: none; border: 0; color: var(--color-neutral-400); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.mc-agent-close:hover { color: #fff; }
.mc-agent-messages { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.mc-agent-msg { max-width: 88%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); font-size: var(--text-sm); line-height: 1.5; word-wrap: break-word; }
.mc-agent-msg.user { align-self: flex-end; background: rgba(59, 130, 246, 0.25); color: #fff; border-bottom-right-radius: var(--radius-sm); }
.mc-agent-msg.agent { align-self: flex-start; background: rgba(255,255,255,0.06); color: var(--color-neutral-200); border-bottom-left-radius: var(--radius-sm); }
.mc-agent-msg a { color: var(--color-primary-400); text-decoration: underline; }
.mc-agent-typing { display: flex; gap: 4px; padding: var(--space-3) var(--space-4); }
.mc-agent-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-neutral-400); animation: mcBlink 1.2s infinite; }
.mc-agent-typing span:nth-child(2) { animation-delay: 0.2s; } .mc-agent-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mcBlink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.mc-agent-form { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid rgba(255,255,255,0.06); }
.mc-agent-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: var(--space-3); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #fff; font: inherit; font-size: var(--text-sm); }
.mc-agent-form textarea:focus { outline: none; border-color: var(--color-primary-500); }
.mc-agent-form .btn { padding: var(--space-3) var(--space-4); }
.mc-agent-foot { margin: 0; padding: 0 var(--space-4) var(--space-3); font-size: 11px; color: var(--color-neutral-500); }
@media (max-width: 480px) { .mc-agent-panel { position: fixed; right: 8px; left: 8px; bottom: 76px; width: auto; height: min(70vh, 560px); } }

/* ============================================
   Interactive demo (2026-10-18): fictional companies, customer chat, owner's phone
   ============================================ */
.demo-pick { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.demo-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); color: var(--color-neutral-200); cursor: pointer; text-align: left; font: inherit; }
.demo-tab:hover { border-color: rgba(59,130,246,0.5); }
.demo-tab.is-active { border-color: var(--color-primary-500); background: rgba(59,130,246,0.15); color: #fff; }
.demo-tab-trade { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary-400); }
.demo-tab-name { font-weight: var(--font-semibold); font-size: var(--text-sm); }
.demo-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-chat { display: flex; flex-direction: column; min-height: 560px; background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(10,15,30,0.98)); border: 1px solid rgba(59,130,246,0.25); border-radius: var(--radius-2xl); overflow: hidden; }
.demo-chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.06); color: #fff; }
.demo-sub { display: block; font-size: var(--text-xs); color: var(--color-neutral-400); margin-top: 2px; }
.demo-reset { background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--color-neutral-300); border-radius: var(--radius-full); padding: 4px 12px; font-size: var(--text-xs); cursor: pointer; white-space: nowrap; }
.demo-reset:hover { color: #fff; border-color: #fff; }
.demo-problem { margin: 0; padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-neutral-400); border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(245,158,11,0.06); }
.demo-messages { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); min-height: 240px; max-height: 420px; }
.demo-msg { max-width: 85%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); font-size: var(--text-sm); line-height: 1.5; word-wrap: break-word; }
.demo-msg.user { align-self: flex-end; background: rgba(59,130,246,0.25); color: #fff; border-bottom-right-radius: var(--radius-sm); }
.demo-msg.agent { align-self: flex-start; background: rgba(255,255,255,0.06); color: var(--color-neutral-200); border-bottom-left-radius: var(--radius-sm); }
.demo-msg a { color: var(--color-primary-400); text-decoration: underline; }
.demo-typing { display: flex; gap: 4px; }
.demo-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-neutral-400); animation: mcBlink 1.2s infinite; }
.demo-typing span:nth-child(2) { animation-delay: 0.2s; } .demo-typing span:nth-child(3) { animation-delay: 0.4s; }
.demo-prompts { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-4) var(--space-3); }
.demo-prompts[hidden] { display: none; }
.demo-prompt { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--color-neutral-200); border-radius: var(--radius-full); padding: 6px 12px; font-size: var(--text-xs); cursor: pointer; text-align: left; font-family: inherit; }
.demo-prompt:hover { border-color: var(--color-primary-500); color: #fff; }
.demo-form { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid rgba(255,255,255,0.06); }
.demo-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: var(--space-3); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #fff; font: inherit; font-size: var(--text-sm); }
.demo-form textarea:focus { outline: none; border-color: var(--color-primary-500); }
.demo-phone { display: flex; flex-direction: column; gap: var(--space-3); }
.demo-phone-frame { flex: 1; background: #0b1120; border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: var(--space-4); min-height: 320px; box-shadow: inset 0 0 0 6px #050a16, 0 20px 60px rgba(0,0,0,0.5); }
.demo-phone-frame.is-buzz { animation: demoBuzz 0.5s; }
@keyframes demoBuzz { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.demo-phone-top { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-neutral-500); padding: 0 var(--space-2) var(--space-3); }
.demo-phone-owner { color: var(--color-neutral-200); font-weight: var(--font-semibold); }
.demo-phone-body { display: flex; flex-direction: column; gap: var(--space-3); }
.demo-phone-empty { padding: var(--space-6) var(--space-4); text-align: center; color: var(--color-neutral-500); font-size: var(--text-sm); border: 1px dashed rgba(255,255,255,0.12); border-radius: var(--radius-xl); }
.demo-notif { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: var(--space-3) var(--space-4); animation: fadeInUp 0.4s ease-out; }
.demo-notif.is-emergency { border-color: rgba(239,68,68,0.6); background: rgba(239,68,68,0.08); }
.demo-notif-head { font-size: var(--text-xs); color: var(--color-neutral-400); margin-bottom: var(--space-2); }
.demo-notif-head b { color: #fca5a5; }
.demo-notif-body { font-size: var(--text-sm); color: var(--color-neutral-100); display: grid; gap: 4px; }
.demo-notif-body div { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-2); }
.demo-notif-body span { color: var(--color-neutral-500); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 2px; }
.demo-phone-note { margin: 0; font-size: var(--text-xs); color: var(--color-neutral-500); text-align: center; }
.demo-legend { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-neutral-400); }
.demo-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary-500); margin-right: 8px; }
.hero-demo-wrap { margin-top: var(--space-10); }
.external-links { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); }
.external-links a { font-size: var(--text-sm); color: var(--color-neutral-300); text-decoration: underline; text-underline-offset: 3px; }
.sticky-pilot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000; display: none; padding: var(--space-3) var(--space-4); padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); background: rgba(5,10,22,0.95); border-top: 1px solid rgba(59,130,246,0.3); backdrop-filter: blur(8px); }
.sticky-pilot .btn { width: 100%; justify-content: center; }
@media (max-width: 768px) { .sticky-pilot { display: block; } body.has-sticky-pilot { padding-bottom: 80px; } }
.pilot-form .form-group { margin-bottom: var(--space-4); }

/* ============================================
   Scroll scenes (2026-10-18): auto-playing sample conversations + owner's phone
   ============================================ */
.hero-scene { margin-top: var(--space-6); }
.scene { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-5); align-items: start; position: relative; }
@media (max-width: 900px) { .scene { grid-template-columns: 1fr; } }
.scene-chat { background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(10,15,30,0.98)); border: 1px solid rgba(59,130,246,0.25); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.scene-chat-head { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.06); font-size: var(--text-xs); color: var(--color-neutral-400); }
.scene-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 0 rgba(16,185,129,0.6); animation: mcPulse 2s infinite; }
.scene-company { color: var(--color-neutral-100); font-weight: var(--font-semibold); }
.scene-when { margin-left: auto; font-family: var(--font-mono); }
.scene-msgs { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); min-height: 300px; max-height: 360px; overflow-y: auto; }
.scene-msg { max-width: 86%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); font-size: var(--text-sm); line-height: 1.5; animation: fadeInUp 0.35s ease-out; }
.scene-msg.user { align-self: flex-end; background: rgba(59,130,246,0.25); color: #fff; border-bottom-right-radius: var(--radius-sm); }
.scene-msg.agent { align-self: flex-start; background: rgba(255,255,255,0.06); color: var(--color-neutral-200); border-bottom-left-radius: var(--radius-sm); }
.scene-typing { display: flex; gap: 4px; min-width: 52px; }
.scene-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-neutral-400); animation: mcBlink 1.2s infinite; }
.scene-typing span:nth-child(2) { animation-delay: 0.2s; } .scene-typing span:nth-child(3) { animation-delay: 0.4s; }
.scene-phone-frame { background: #0b1120; border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: var(--space-4); min-height: 300px; box-shadow: inset 0 0 0 6px #050a16, 0 20px 60px rgba(0,0,0,0.5); }
.scene-phone-frame.is-buzz { animation: demoBuzz 0.5s; }
.scene-phone-top { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-neutral-500); padding: 0 var(--space-2) var(--space-3); }
.scene-phone-top span:first-child { color: var(--color-neutral-200); font-weight: var(--font-semibold); }
.scene-phone-empty { padding: var(--space-8) var(--space-4); text-align: center; color: var(--color-neutral-500); font-size: var(--text-sm); border: 1px dashed rgba(255,255,255,0.12); border-radius: var(--radius-xl); }
.scene-notif { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: var(--space-3) var(--space-4); animation: fadeInUp 0.4s ease-out; }
.scene-notif.is-emergency { border-color: rgba(239,68,68,0.6); background: rgba(239,68,68,0.08); }
.scene-notif-head { font-size: var(--text-xs); color: var(--color-neutral-400); margin-bottom: var(--space-2); }
.scene-notif-head b { color: #fca5a5; }
.scene-notif-body { font-size: var(--text-sm); color: var(--color-neutral-100); display: grid; gap: 4px; }
.scene-notif-body div { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-2); }
.scene-notif-body span { color: var(--color-neutral-500); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 2px; }
.scene-replay { grid-column: 1 / -1; justify-self: center; background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--color-neutral-300); border-radius: var(--radius-full); padding: 6px 14px; font-size: var(--text-xs); cursor: pointer; }
.scene-replay:hover { color: #fff; border-color: #fff; }
.scene-replay[hidden] { display: none; }
.story { padding: var(--space-16) 0; border-top: 1px solid rgba(255,255,255,0.05); }
.story-head { max-width: 760px; margin: 0 auto var(--space-8); text-align: center; }
.story-num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-primary-400); letter-spacing: 0.15em; text-transform: uppercase; }
.story-title { font-family: var(--font-display); font-size: var(--text-3xl); color: #fff; margin: var(--space-2) 0 var(--space-3); }
.story-point { color: var(--color-neutral-400); font-size: var(--text-base); margin: 0; }
.story-sample { text-align: center; font-size: var(--text-xs); color: var(--color-neutral-500); margin-top: var(--space-4); }
/* live demo picker */
.demo-picker { display: flex; flex-direction: column; gap: 2px; }
.demo-picker-label { font-size: var(--text-xs); color: var(--color-neutral-400); }
.demo-picker select { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 6px 10px; font: inherit; font-size: var(--text-sm); max-width: 100%; }
.demo-prompts-label { font-size: var(--text-xs); color: var(--color-neutral-500); align-self: center; }
.demo-messages { min-height: 200px; max-height: 320px; }
.demo-chat { min-height: 0; }

/* ============================================
   Production polish (2026-10-18): timeline, will/won't, tight grids, no orphans
   ============================================ */
.grid-3-tight { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 768px) { .grid-3-tight { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); position: relative; }
@media (max-width: 768px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step { position: relative; padding: var(--space-6); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); background: rgba(255,255,255,0.03); }
.timeline-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary-600); color: #fff; font-family: var(--font-display); font-weight: var(--font-bold); margin-bottom: var(--space-4); }
.timeline-step.is-free .timeline-num { background: var(--color-success); }
.timeline-when { display: block; font-size: var(--text-xs); color: var(--color-primary-400); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-2); }
.timeline-step h3 { font-size: var(--text-xl); color: #fff; margin: 0 0 var(--space-2); }
.timeline-step p { margin: 0; color: var(--color-neutral-400); font-size: var(--text-sm); line-height: 1.6; }
.willwont { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); overflow: hidden; margin-top: var(--space-8); }
@media (max-width: 768px) { .willwont { grid-template-columns: 1fr; } }
.willwont > div { padding: var(--space-6); }
.willwont > div + div { border-left: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 768px) { .willwont > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); } }
.willwont h3 { font-size: var(--text-lg); color: #fff; margin: 0 0 var(--space-3); }
.willwont ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.willwont li { font-size: var(--text-sm); color: var(--color-neutral-300); padding-left: 22px; position: relative; }
.willwont .will li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); }
.willwont .wont li::before { content: "→"; position: absolute; left: 0; color: var(--color-neutral-500); }
.example-note { text-align: center; font-size: var(--text-xs); color: var(--color-neutral-500); margin: var(--space-4) 0 0; }
.story { padding: var(--space-12) 0; }
.story-title { font-size: var(--text-2xl); }
.scene-msg, .scene-notif, .demo-notif { animation: none; }
/* owner's phone resting state */
.phone-lock { text-align: center; padding: var(--space-3) 0 var(--space-4); }
.phone-clock { font-family: var(--font-display); font-size: 40px; font-weight: 300; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.phone-day { font-size: var(--text-xs); color: var(--color-neutral-400); margin-top: 6px; }
.phone-earlier-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-neutral-600); margin: var(--space-3) var(--space-2) var(--space-2); }
.phone-earlier { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); row-gap: 2px; padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); opacity: 0.55; margin-bottom: var(--space-2); font-size: var(--text-xs); }
.phone-earlier-time { color: var(--color-neutral-500); grid-row: span 2; align-self: start; white-space: nowrap; }
.phone-earlier-text { color: var(--color-neutral-200); }
.phone-earlier-who { color: var(--color-neutral-500); }
.scene-notif, .demo-notif { margin-bottom: var(--space-2); }

/* ============================================
   Example variants (2026-10-18): morning flip, handset view, annotated transcript
   ============================================ */
.scene.tone-morning .scene-chat { border-color: rgba(245,158,11,0.35); background: linear-gradient(145deg, rgba(30,24,12,0.9), rgba(10,15,30,0.98)); }
.scene.tone-morning .scene-chat-head { background: rgba(245,158,11,0.08); color: #fcd34d; }
.scene.tone-morning .scene-dot { background: #fbbf24; box-shadow: 0 0 0 0 rgba(251,191,36,0.6); }
.scene.tone-morning .scene-msg.user { background: rgba(245,158,11,0.22); }
.scene.tone-day .scene-chat { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.12); box-shadow: none; }
/* flipped: phone first */
.scene-flipped { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 900px) { .scene-flipped { grid-template-columns: 1fr; } .scene-flipped .scene-phone { order: 2; } }
/* handset view */
.scene-phone.scene-phone { }
.scene-handset { position: relative; background: #000; border: 1px solid rgba(255,255,255,0.14); border-radius: 36px; padding: 18px 14px 14px; box-shadow: inset 0 0 0 7px #0b0f1a, 0 30px 80px rgba(0,0,0,0.6); max-width: 420px; width: 100%; justify-self: center; min-height: 520px; display: flex; flex-direction: column; }
.scene-handset-top { text-align: center; padding: var(--space-2) 0 var(--space-3); border-bottom: 1px solid rgba(255,255,255,0.08); }
.scene-handset-name { display: block; color: #fff; font-weight: var(--font-semibold); font-size: var(--text-sm); }
.scene-handset-when { display: block; color: var(--color-neutral-500); font-size: 11px; margin-top: 2px; }
.scene-handset .scene-msgs { flex: 1; min-height: 300px; max-height: 380px; padding: var(--space-3) var(--space-2); }
.scene-handset .scene-msg { font-size: var(--text-sm); }
.scene-handset .scene-msg.user { background: #1f6feb; color: #fff; }
.scene-handset .scene-msg.agent { background: #2a2d35; color: #f3f4f6; }
.scene-handset-bar { margin-top: auto; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-full); padding: 8px 14px; color: var(--color-neutral-600); font-size: var(--text-sm); }
.scene-banner-slot { min-height: 0; }
.scene-banner { margin: var(--space-2) 0; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 10px 12px; display: grid; gap: 2px; animation: bannerDown 0.45s ease-out; }
@keyframes bannerDown { from { transform: translateY(-20px); opacity: 0; } to { transform: none; opacity: 1; } }
.scene-banner-app { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-neutral-400); }
.scene-banner-text { font-size: var(--text-xs); color: #fff; line-height: 1.4; }
.scene-aside { display: flex; align-items: center; }
.scene-aside-card { width: 100%; background: #0b1120; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-2xl); padding: var(--space-4); }
.scene-aside-label { display: block; font-size: var(--text-xs); color: var(--color-neutral-400); margin-bottom: var(--space-3); }
/* annotated transcript */
.scene-annotated { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.scene-annotated .scene-chat { background: transparent; border: 0; box-shadow: none; }
.scene-annotated .scene-chat-head { border: 0; padding-left: 0; padding-right: 0; }
.scene-annotated .scene-msgs { padding: var(--space-2) 0; max-height: none; gap: var(--space-4); }
.scene-annotated .scene-msg { position: relative; max-width: 72%; }
.scene-note { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #34d399; border: 1px solid rgba(52,211,153,0.45); border-radius: var(--radius-full); padding: 4px 10px; background: rgba(16,185,129,0.08); }
@media (max-width: 768px) { .scene-note { position: static; display: inline-block; transform: none; margin-top: 8px; margin-left: 0; } .scene-annotated .scene-msg { max-width: 92%; } }
.scene-sms { margin-top: var(--space-2); }
.scene-sms-bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-neutral-100); max-width: 560px; }
.scene-sms-to { display: block; font-size: 11px; color: var(--color-neutral-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.story + .story { border-top: 0; }
@media (max-width: 768px) { body.has-sticky-pilot .mc-agent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.scene-sys { align-self: center; max-width: 92%; text-align: center; font-size: 11px; color: var(--color-neutral-500); font-family: var(--font-mono); padding: 4px 10px; border: 1px dashed rgba(255,255,255,0.12); border-radius: var(--radius-full); }
/* hero example: never grow past the hero */
.page-hero-split .page-hero-grid { align-items: start; }
.hero-scene .scene-msgs { min-height: 280px; max-height: 300px; }
.hero-scene .scene-phone-frame { max-height: 380px; overflow: hidden; }
.hero-scene .scene-chat { min-height: 0; }
.hero-scene .phone-clock { font-size: 30px; }
.hero-scene .scene-notif ~ .phone-earlier-label, .hero-scene .scene-notif ~ .phone-earlier { display: none; }
.hero-scene .scene-phone-frame { max-height: 460px; }
.hero-scene .scene-notif-body div { grid-template-columns: 64px 1fr; }

/* ============================================
   Ground-up homepage (2026-10-18): channel-specific examples, week rail, after-the-job strip
   ============================================ */
.scene { grid-template-columns: 1.35fr 1fr; }
.scene-chat-head { flex-wrap: wrap; row-gap: 4px; }
.scene-ch { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-full); background: rgba(59,130,246,0.12); color: var(--color-primary-400); font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.scene-ch svg { width: 13px; height: 13px; }
.scene-company { margin-left: var(--space-2); }
/* SMS */
.scene-sms .scene-chat { background: #06090f; }
.scene-sms .scene-msg.user { background: #1f6feb; color: #fff; }
.scene-sms .scene-msg.agent { background: #262a33; color: #f3f4f6; }
/* Call transcript */
.scene-call .scene-chat { background: rgba(255,255,255,0.03); }
.scene-call .scene-msgs { gap: var(--space-4); }
.scene-call .scene-msg { max-width: 100%; background: transparent; border: 0; padding: 0 0 0 var(--space-4); border-left: 2px solid rgba(255,255,255,0.1); border-radius: 0; color: var(--color-neutral-200); align-self: stretch; }
.scene-call .scene-msg.agent { border-left-color: var(--color-primary-500); }
.scene-call .scene-msg.user { border-left-color: rgba(245,158,11,0.7); }
.scene-speaker { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-neutral-500); margin-bottom: 3px; }
.scene-call .scene-typing { padding-left: var(--space-4); }
.scene-callbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-top: 1px solid rgba(255,255,255,0.06); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-neutral-400); }
.scene-wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.scene-wave i { display: block; width: 3px; background: var(--color-success); border-radius: 2px; animation: wave 1s ease-in-out infinite; height: 6px; }
.scene-wave i:nth-child(2) { animation-delay: 0.15s; } .scene-wave i:nth-child(3) { animation-delay: 0.3s; } .scene-wave i:nth-child(4) { animation-delay: 0.45s; } .scene-wave i:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 16px; } }
/* Lead card */
.scene-leadcard { margin: var(--space-4) var(--space-4) 0; padding: var(--space-3) var(--space-4); border: 1px solid rgba(245,158,11,0.4); border-radius: var(--radius-xl); background: rgba(245,158,11,0.07); display: grid; gap: 2px; font-size: var(--text-sm); color: var(--color-neutral-200); }
.scene-leadcard-src { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #fbbf24; }
.scene-leadcard strong { color: #fff; }
.scene-leadcard-name { color: var(--color-neutral-400); }
/* Week rail */
.week { position: relative; }
.week-item { padding: var(--space-12) 0; border-top: 1px solid rgba(255,255,255,0.06); }
.week-head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; max-width: 900px; margin: 0 auto var(--space-8); }
@media (max-width: 640px) { .week-head { grid-template-columns: 1fr; } }
.week-time { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-primary-400); padding-top: 6px; white-space: nowrap; }
.week-title { font-family: var(--font-display); font-size: var(--text-2xl); color: #fff; margin: 0 0 var(--space-2); }
.week-point { color: var(--color-neutral-400); margin: 0; }
/* After the job strip */
.after { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 1024px) { .after { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .after { grid-template-columns: 1fr; } }
.after-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); padding: var(--space-5); }
.after-when { font-family: var(--font-mono); font-size: 11px; color: var(--color-primary-400); text-transform: uppercase; letter-spacing: 0.1em; }
.after-bubble { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); background: #262a33; color: #f3f4f6; border-radius: var(--radius-xl); border-bottom-left-radius: var(--radius-sm); font-size: var(--text-sm); line-height: 1.5; }
.after-why { font-size: var(--text-sm); color: var(--color-neutral-400); margin: 0; }
/* Two-sided value */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 768px) { .sides { grid-template-columns: 1fr; } }
.side { border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); padding: var(--space-6); background: rgba(255,255,255,0.02); }
.side h3 { font-size: var(--text-xl); color: #fff; margin: 0 0 var(--space-2); }
.side p.side-sub { font-size: var(--text-sm); color: var(--color-neutral-500); margin: 0 0 var(--space-4); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.side li { font-size: var(--text-sm); color: var(--color-neutral-200); padding-left: 22px; position: relative; }
.side li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-neutral-300); margin-top: var(--space-5); }
.hero-kicker b { color: #fff; }
@media (max-width: 900px) { .scene { grid-template-columns: 1fr; } }

/* ============================================
   From-scratch homepage (2026-10-18): leaks, services, rules
   ============================================ */
.leaks { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
@media (max-width: 1100px) { .leaks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .leaks { grid-template-columns: 1fr; } }
.leak { position: relative; padding: var(--space-5); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); background: rgba(255,255,255,0.03); display: flex; flex-direction: column; }
.leak-stage { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-400); }
.leak-stat { display: block; font-family: var(--font-display); font-size: var(--text-4xl); color: #fff; line-height: 1.1; margin: var(--space-3) 0 var(--space-2); }
.leak-what { font-size: var(--text-sm); color: var(--color-neutral-400); margin: 0 0 var(--space-4); line-height: 1.55; flex: 1; }
.leak-fix { font-size: var(--text-sm); color: #fff; margin: 0; padding-top: var(--space-3); border-top: 1px solid rgba(59,130,246,0.35); }
.leak-fix::before { content: "→ "; color: var(--color-primary-400); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service { padding: var(--space-6); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-2xl); background: rgba(255,255,255,0.03); display: flex; flex-direction: column; }
.service.is-core { border-color: var(--color-primary-500); background: linear-gradient(180deg, rgba(59,130,246,0.12) 0%, rgba(15,36,71,0.5) 100%); }
.service-tag { align-self: flex-start; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-400); padding: 4px 10px; border: 1px solid rgba(59,130,246,0.4); border-radius: var(--radius-full); }
.service h3 { font-family: var(--font-display); font-size: var(--text-2xl); color: #fff; margin: var(--space-4) 0 var(--space-2); }
.service-price { font-size: var(--text-sm); color: var(--color-neutral-300); margin: 0 0 var(--space-3); }
.service-price strong { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; }
.service-desc { font-size: var(--text-sm); color: var(--color-neutral-400); line-height: 1.6; margin: 0 0 var(--space-4); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.service li { font-size: var(--text-sm); color: var(--color-neutral-200); padding-left: 22px; position: relative; }
.service li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); }
.never { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); max-width: 960px; margin: 0 auto; }
@media (max-width: 768px) { .never { grid-template-columns: 1fr; } }
.never > div { padding: var(--space-6); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); background: rgba(255,255,255,0.02); }
.never h3 { font-size: var(--text-xl); color: #fff; margin: 0 0 var(--space-3); }
.never ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.never li { font-size: var(--text-sm); color: var(--color-neutral-200); padding-left: 22px; position: relative; }
.never > div:first-child li::before { content: "✕"; position: absolute; left: 0; color: #f87171; }
.never > div:last-child li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); }

/* ============================================
   Warm light theme (2026-10-18): body.theme-light on the core pages.
   Cream background, ink text, photos of the trades, dark device panels kept for contrast.
   ============================================ */
body.theme-light { background: #FFFFFF; color: #2A2F3A; }
body.theme-light::before { opacity: 0.025; }
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4, .theme-light h5, .theme-light h6 { color: #1E2433; }
.theme-light .section-description, .theme-light .page-hero-description, .theme-light .card-description, .theme-light .hero-note, .theme-light .week-point, .theme-light .section-footnote, .theme-light .cta-description, .theme-light .leak-what, .theme-light .service-desc, .theme-light .text-muted, .theme-light .timeline-step p, .theme-light .faq-answer, .theme-light .example-note { color: #5B6273; }
.theme-light .bg-dark { background: #F3F4F6; }
.theme-light .section + .section:not(.bg-dark), .theme-light .week { background: transparent; }
/* nav */
.theme-light .navbar.scrolled { background: rgba(255,255,255,0.92); border-bottom: 1px solid #E5E7EB; }
.theme-light .navbar-links a { color: #2A2F3A; }
.theme-light .navbar-links a:hover, .theme-light .navbar-links a.active { color: #2563EB; }
.theme-light .navbar-toggle span { background: #1E2433; }
@media (max-width: 1024px) { .theme-light .navbar-menu { background: rgba(255,255,255,0.98); border-color: #E5E7EB; } }
/* buttons, pills */
.theme-light .btn-secondary { background: #fff; color: #1E2433; border: 1px solid #D1D5DB; backdrop-filter: none; }
.theme-light .btn-secondary:hover { background: #fff; color: #1E2433; border-color: #2563EB; }
.theme-light .btn-ghost { color: #2563EB; }
.theme-light .section-eyebrow { color: #C2410C; }
.theme-light .section-eyebrow::before { background: linear-gradient(90deg, transparent, #E07A3F); }
.theme-light .section-eyebrow::after { background: linear-gradient(90deg, #E07A3F, transparent); }
/* cards, faq, forms */
.theme-light .card { background: #fff; border: 1px solid #E5E7EB; backdrop-filter: none; box-shadow: 0 1px 2px rgba(30,36,51,0.04); }
.theme-light .card:hover { border-color: #93C5FD; box-shadow: 0 16px 40px rgba(30,36,51,0.10); }
.theme-light .faq-item { background: #fff; border-color: #E5E7EB; }
.theme-light .faq-item.active { background: #fff; border-color: #93C5FD; }
.theme-light .faq-trigger { color: #1E2433; }
.theme-light .faq-icon { color: #2563EB; }
.theme-light .form-label { color: #2A2F3A; }
.theme-light .form-input { background: #fff; border: 1px solid #D1D5DB; color: #1E2433; }
.theme-light .form-input::placeholder { color: #9AA0AD; }
.theme-light .form-input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); background: #fff; }
.theme-light .package-card-features li { color: #2A2F3A; }
/* footer */
.theme-light .footer { background: #F3F4F6; border-top: 1px solid #E5E7EB; }
.theme-light .footer-description, .theme-light .footer-brand p { color: #5B6273; }
.theme-light .footer-column h4 { color: #1E2433; }
.theme-light .footer-links a { color: #4B5263; }
.theme-light .footer-links a:hover { color: #2563EB; }
.theme-light .footer-bottom { border-top-color: #E5E7EB; }
.theme-light .footer-copyright, .theme-light .footer-legal a { color: #7A8090; }
/* hero with a photo behind it */
.theme-light .page-hero::before { background: none; }
.theme-light .page-hero-split { position: relative; overflow: hidden; }
.theme-light .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 45%; z-index: 0; }
.theme-light .page-hero-split::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 38%, rgba(255,255,255,0.55) 62%, rgba(255,255,255,0.25) 100%); }
.theme-light .page-hero-split .container { position: relative; z-index: 1; }
.theme-light .hero-note { color: #4B5263; }
@media (max-width: 1024px) { .theme-light .page-hero-split::after { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0.75) 100%); } .theme-light .hero-bg { object-position: 60% 30%; } }
/* leaks */
.theme-light .leak { background: #fff; border-color: #E5E7EB; }
.theme-light .leak-stage { color: #C2410C; }
.theme-light .leak-stat { color: #1E2433; }
.theme-light .leak-fix { color: #1E2433; border-top-color: #E5E7EB; }
/* services */
.theme-light .service { background: #fff; border-color: #E5E7EB; }
.theme-light .service.is-core { border-color: #2563EB; background: linear-gradient(180deg, #EEF4FF 0%, #fff 100%); box-shadow: 0 16px 40px rgba(37,99,235,0.10); }
.theme-light .service h3 { color: #1E2433; }
.theme-light .service-price { color: #4B5263; }
.theme-light .service-price strong { color: #1E2433; }
.theme-light .service li { color: #2A2F3A; }
.theme-light .service-tag { color: #2563EB; border-color: #BFD4F7; background: #EEF4FF; }
/* week rail with photos */
.theme-light .week-item { border-top-color: #E5E7EB; }
.theme-light .week-title { color: #1E2433; }
.theme-light .week-time { color: #C2410C; }
.week-head.has-photo { grid-template-columns: auto 1fr 240px; align-items: center; max-width: 1040px; }
.week-photo { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-2xl); border: 1px solid #E5E7EB; }
@media (max-width: 900px) { .week-head.has-photo { grid-template-columns: auto 1fr; } .week-head.has-photo .week-photo { grid-column: 1 / -1; height: 170px; } }
@media (max-width: 640px) { .week-head.has-photo { grid-template-columns: 1fr; } }
/* never / always, timeline */
.theme-light .never > div { background: #fff; border-color: #E5E7EB; }
.theme-light .never h3 { color: #1E2433; }
.theme-light .never li { color: #2A2F3A; }
.theme-light .timeline-step { background: #fff; border-color: #E5E7EB; }
.theme-light .timeline-step h3 { color: #1E2433; }
/* example panels stay dark devices; transparent variants get a solid base */
.theme-light .scene-chat { background: #0F172A; border-color: #1E293B; box-shadow: 0 24px 60px rgba(30,36,51,0.18); }
.theme-light .scene.tone-day .scene-chat { background: #0F172A; border-color: #1E293B; }
.theme-light .scene-annotated .scene-chat { background: #fff; border: 1px solid #E5E7EB; padding: 0 var(--space-4) var(--space-2); box-shadow: 0 1px 2px rgba(30,36,51,0.04); }
.theme-light .scene-annotated .scene-chat-head { color: #5B6273; border-bottom: 1px solid #E5E7EB; }
.theme-light .scene-annotated .scene-company { color: #1E2433; }
.theme-light .scene-annotated .scene-msg.agent { background: #EEF0F4; color: #1E2433; }
.theme-light .scene-replay { border-color: #D1D5DB; color: #4B5263; }
.theme-light .scene-replay:hover { color: #1E2433; border-color: #1E2433; }
/* about */
.theme-light .founder-strip-img { border-color: #E5E7EB; }
.about-photo { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-2xl); border: 1px solid #E5E7EB; display: block; }
@media (max-width: 768px) { .about-photo { height: 220px; } }
/* sticky bar */
.theme-light .sticky-pilot { background: rgba(255,255,255,0.96); border-top: 1px solid #E5E7EB; }
/* annotations sit under their bubble in every layout (they escaped the frame when absolute) */
.scene-note { position: static; display: inline-block; transform: none; margin-top: 8px; margin-left: 0; }
/* let more of the hero photo through on the right */
.theme-light .page-hero-split::after { background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 36%, rgba(255,255,255,0.45) 58%, rgba(255,255,255,0.08) 100%); }
.theme-light .hero-bg { object-position: 88% 40%; }
@media (max-width: 1024px) { .theme-light .page-hero-split::after { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0.7) 100%); } .theme-light .hero-bg { object-position: 60% 30%; } }
.theme-light .package-card-price strong, .theme-light .package-card-title, .theme-light .package-card h3 { color: #1E2433; }
.theme-light .package-card-price span { color: #5B6273; }

/* ============================================
   Photo-led layout (2026-10-19): full-bleed hero, pills, plans, photo bands
   ============================================ */
.hero-full { position: relative; min-height: 640px; height: 92vh; max-height: 900px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px var(--space-5) 80px; }
.hero-full-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; object-position: center 38%; filter: blur(6px) saturate(1.05) brightness(1.04); z-index: 0; }
.hero-full::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 80%, #FFFFFF 100%); }
.hero-full-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-full-title { font-family: var(--font-display); font-weight: var(--font-bold); font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 var(--space-6); }
.hero-full-title .ink { color: #1E2433; }
.hero-full-title .white { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.28); }
.hero-full-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #2A2F3A; max-width: 640px; margin: 0 auto var(--space-8); line-height: 1.55; }
.hero-full-note { margin: var(--space-5) 0 0; font-size: var(--text-sm); color: #3B4252; }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: var(--font-semibold); font-size: 1.05rem; line-height: 1; text-decoration: none; transition: transform var(--transition-fast), box-shadow var(--transition-fast); white-space: nowrap; }
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill-primary { background: #fff; color: #1E2433; box-shadow: 0 10px 36px rgba(0,0,0,0.14); }
.btn-pill-dark { background: #1E2433; color: #fff; }
.btn-pill-blue { background: #2563EB; color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,0.25); }
.pill-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; font-size: 12px; font-weight: var(--font-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: #1E2433; margin-bottom: var(--space-5); }
.pill-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
/* nav pills on light pages */
.theme-light .navbar-cta .btn { background: #fff; color: #1E2433; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,0.10); border: 1px solid rgba(0,0,0,0.04); }
.theme-light .navbar-cta .btn:hover { background: #fff; color: #2563EB; }
/* watch it answer */
.watch-scene { max-width: 1040px; margin: 0 auto; }
.watch .section-header { margin-bottom: var(--space-10); }
/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; max-width: 1120px; margin: 0 auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--space-7) var(--space-6); background: #fff; border: 1px solid #E5E7EB; border-radius: 28px; box-shadow: 0 1px 2px rgba(30,36,51,0.04); }
.plan.is-popular { border: 2px solid #2563EB; box-shadow: 0 20px 50px rgba(37,99,235,0.12); }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 999px; background: #2563EB; color: #fff; font-size: 11px; font-weight: var(--font-semibold); letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { font-family: var(--font-display); font-size: var(--text-2xl); color: #1E2433; margin: 0 0 var(--space-1); }
.plan-for { font-size: var(--text-sm); color: #5B6273; margin: 0 0 var(--space-5); min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 var(--space-1); }
.plan-price strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #1E2433; letter-spacing: -0.02em; }
.plan-price span { color: #5B6273; font-size: var(--text-sm); }
.plan-min { font-size: var(--text-sm); color: #1E2433; font-weight: var(--font-semibold); margin: 0 0 var(--space-5); padding-bottom: var(--space-4); border-bottom: 1px solid #E5E7EB; }
.plan ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: var(--text-sm); color: #2A2F3A; line-height: 1.5; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: #16A34A; font-weight: 700; }
.plan .btn-pill { justify-content: center; font-size: var(--text-base); }
/* photo bands */
.band { position: relative; overflow: hidden; }
.band-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; object-position: center; filter: blur(7px) brightness(1.02); z-index: 0; }
.band::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.72) 100%); }
.band > .container { position: relative; z-index: 1; }
.theme-light .band .never > div, .theme-light .band .card { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255,255,255,0.7); box-shadow: 0 20px 50px rgba(30,36,51,0.10); }
.theme-light .band .pill-eyebrow { background: rgba(255,255,255,0.9); }
/* week photo now on the left */
.week-head.has-photo { grid-template-columns: 260px auto 1fr; }
.week-photo { height: 160px; }
@media (max-width: 900px) { .week-head.has-photo { grid-template-columns: auto 1fr; } .week-head.has-photo .week-photo { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 640px) { .week-head.has-photo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-full { height: auto; min-height: 560px; padding: 110px var(--space-4) 70px; } .btn-pill { white-space: normal; text-align: center; } }
.plan-badge { top: -14px; right: auto; left: 50%; transform: translateX(-50%); }
/* fixes 2026-10-19: hero legibility, photo edge, plan padding, simple footer, single pilot card */
.hero-full-bg, .band-bg { max-width: none; }
.hero-full::before { content: ''; position: absolute; inset: 0; z-index: 0; background: rgba(8,18,36,0.34); }
.hero-full::after { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 78%, #FFFFFF 100%); }
.hero-full-title .ink { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.28); }
.hero-full-sub { color: rgba(255,255,255,0.94); text-shadow: 0 1px 14px rgba(0,0,0,0.35); }
.hero-full-note { color: rgba(255,255,255,0.82); text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.theme-light.hero-photo .navbar:not(.scrolled) .navbar-links a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.theme-light.hero-photo .navbar:not(.scrolled) .navbar-toggle span { background: #fff; }
.plan { padding: 28px 24px; }
.pilot-wrap { max-width: 600px; margin: 0 auto; }
.footer-simple { padding: var(--space-12) 0 var(--space-8); }
.footer-simple-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.footer-simple .footer-logo { margin: 0; }
.footer-simple .footer-logo img { height: 36px; width: auto; }
.footer-simple-contact { display: flex; gap: var(--space-6); flex-wrap: wrap; font-size: var(--text-sm); }
.footer-simple-contact a { color: var(--color-neutral-300); }

/* ============================================
   Shared navigation repair (2026-10-21)
   Explicit mobile visibility and an opaque, readable dialog on either page theme.
   ============================================ */
.navbar-menu[hidden], .nav-backdrop[hidden] { display: none !important; }
.navbar::after { display: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 10010; background: rgba(15,23,42,0.48); }
.navbar-toggle:focus-visible, .navbar a:focus-visible { outline: 3px solid #2563EB; outline-offset: 4px; }

@media (max-width: 1024px) {
  body.nav-open { position: fixed; top: var(--nav-scroll-top, 0px); left: 0; right: 0; width: 100%; height: 100%; overflow: hidden; }
  body.nav-open .navbar { z-index: 10020; }
  /* A backdrop-filter on the header would make it the fixed panel's containing block. */
  body.nav-open .navbar, body.nav-open.theme-light .navbar.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .navbar-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .navbar .navbar-menu {
    display: none; visibility: hidden; pointer-events: none;
    position: fixed; top: var(--nav-top, 96px); right: max(16px, env(safe-area-inset-right)); left: auto; bottom: auto;
    width: min(380px, calc(100vw - 32px)); max-width: 380px; height: auto;
    max-height: calc(100vh - var(--nav-top, 96px) - 16px);
    max-height: calc(100dvh - var(--nav-top, 96px) - 16px);
    padding: 16px; gap: 16px; align-items: stretch;
    transform: none; transition: none;
    background: #FFFFFF; color: #17243B; border: 1px solid #D8DFE9; border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15,23,42,0.22);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .navbar .navbar-menu.is-open:not([hidden]) { display: flex; visibility: visible; pointer-events: auto; }
  .navbar .navbar-links { align-items: stretch; gap: 4px; }
  .navbar .navbar-menu .navbar-links a,
  .theme-light.hero-photo .navbar:not(.scrolled) .navbar-menu .navbar-links a { display: flex; align-items: center; min-height: 48px; padding: 12px; color: #17243B; text-shadow: none; font-size: 17px; line-height: 1.4; }
  .navbar .navbar-menu .navbar-links a:hover,
  .navbar .navbar-menu .navbar-links a.active,
  .theme-light.hero-photo .navbar:not(.scrolled) .navbar-menu .navbar-links a:hover,
  .theme-light.hero-photo .navbar:not(.scrolled) .navbar-menu .navbar-links a.active { background: #EFF6FF; color: #1D4ED8; }
  .navbar .navbar-menu .navbar-links a::after { display: none; }
  .navbar .navbar-menu .navbar-cta { margin-top: 0; gap: 12px; }
  .navbar .navbar-menu .navbar-cta .btn { min-height: 48px; background: #1D4ED8; color: #FFFFFF; border: 1px solid #1D4ED8; border-radius: 12px; box-shadow: none; white-space: normal; text-align: center; }
  .navbar .navbar-menu .navbar-cta .btn:hover { background: #1E40AF; color: #FFFFFF; border-color: #1E40AF; }
  .navbar .navbar-menu .nav-group-label { color: #475569; border-color: #D8DFE9; }
  .navbar .navbar-menu .dropdown-label span { color: inherit; }
  .navbar .navbar-menu .dropdown-label span:last-child { color: #475569; }
}

@media (min-width: 1025px) {
  .nav-backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar, .navbar-toggle span, .nav-backdrop { transition: none; animation: none; }
}
.footer-simple-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.08); font-size: var(--text-xs); color: var(--color-neutral-500); }
.footer-simple-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer-simple-links a { color: var(--color-neutral-500); }
.theme-light .footer-simple-contact a { color: #2A2F3A; }
.theme-light .footer-simple-bottom { border-top-color: #E5E7EB; color: #7A8090; }
.theme-light .footer-simple-links a { color: #7A8090; }
.theme-light .footer-simple-links a:hover, .theme-light .footer-simple-contact a:hover { color: #2563EB; }
@media (max-width: 640px) { .footer-simple-row, .footer-simple-bottom { flex-direction: column; align-items: flex-start; } }
.page-hero:not(.page-hero-split) .hero-actions { justify-content: center; }
/* front desk widget: chips, header actions (2026-10-19) */
.mc-agent-header-actions { display: flex; align-items: center; gap: var(--space-2); }
.mc-agent-reset { background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--color-neutral-300); font-size: 11px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.mc-agent-reset:hover { color: #fff; border-color: #fff; }
.mc-agent-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--space-4) var(--space-3); }
.mc-agent-chips[hidden] { display: none; }
.mc-agent-chip { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.4); color: #bfdbfe; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.mc-agent-chip:hover { background: rgba(59,130,246,0.25); color: #fff; }
.mc-agent-msg.agent:empty { min-height: 1em; }
@media (max-width: 480px) { .mc-agent-panel { height: min(78vh, 640px); } }
.mc-agent-msg p { margin: 0 0 8px; } .mc-agent-msg p:last-child { margin-bottom: 0; }
.mc-agent-msg ul, .mc-agent-msg ol { margin: 4px 0 8px; padding-left: 18px; } .mc-agent-msg li { margin: 2px 0; }
.mc-agent-msg strong { color: #fff; }
.mc-agent-msg blockquote { margin: 6px 0 8px; padding: 8px 12px; border-left: 3px solid rgba(59,130,246,0.6); background: rgba(255,255,255,0.04); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.mc-agent-msg blockquote + blockquote { margin-top: -4px; }

/* Sales adviser: a focused, readable conversation on every public page. */
.mc-agent.is-open::before { content: ''; position: fixed; inset: 0; z-index: -1; background: #10213a38; }
.mc-agent .mc-agent-panel { width: min(480px, calc(100vw - 32px)); height: min(740px, calc(var(--mc-view-height, 100dvh) - 108px)); background: #fff; border: 1px solid #dce4ef; border-radius: 20px; box-shadow: 0 20px 70px #10213a30; color: #17263d; }
.mc-agent .mc-agent-header { align-items: center; flex-shrink: 0; padding: 18px; background: #fff; color: #17263d; border-bottom: 1px solid #e7ecf3; gap: 8px; }
.mc-agent-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mc-agent-brand strong { font-size: 15px; letter-spacing: -.02em; }
.mc-agent-avatar { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #eaf0ff; border: 1px solid #d8e3ff; border-radius: 12px; font-size: 12px; font-weight: 750; color: #2656d9; letter-spacing: -.03em; }
.mc-agent-avatar span { font-size: 9px; padding: 0 1px; }
.mc-agent .mc-agent-sub { color: #5b6c84; font-size: 11px; margin-top: 3px; }
.mc-agent .mc-agent-header-actions { gap: 8px; flex-shrink: 0; }
.mc-agent .mc-agent-reset { border: 1px solid #dce4ef; color: #42546d; border-radius: 7px; font: inherit; font-size: 11px; padding: 7px 9px; min-height: 32px; }
.mc-agent .mc-agent-reset:hover { color: #204dc1; border-color: #a8bce9; background: #f5f8ff; }
.mc-agent .mc-agent-close { color: #5b6c84; width: 32px; height: 32px; font-size: 26px; border-radius: 7px; padding: 0; }
.mc-agent .mc-agent-close:hover { color: #17263d; background: #f0f3f8; }
.mc-agent .mc-agent-messages { min-height: 80px; padding: 20px; gap: 20px; background: #fff; overscroll-behavior: contain; scrollbar-width: thin; }
.mc-agent-row { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.mc-agent-row.user { align-items: flex-end; }
.mc-agent-speaker { font-size: 10px; color: #63738a; font-weight: 600; padding: 0 2px; }
.mc-agent .mc-agent-msg { max-width: 100%; border-radius: 12px; padding: 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.mc-agent .mc-agent-msg.agent { color: #243751; background: transparent; border-radius: 0; width: 100%; }
.mc-agent .mc-agent-msg.user { background: #edf2ff; color: #213c75; padding: 11px 14px; border-radius: 12px 12px 3px 12px; max-width: 90%; }
.mc-agent .mc-agent-msg strong { color: #17263d; font-weight: 650; }
.mc-agent .mc-agent-msg a { color: #2454cc; text-underline-offset: 3px; }
.mc-agent .mc-agent-msg p { margin-bottom: 10px; }
.mc-agent .mc-agent-msg p:last-child { margin-bottom: 0; }
.mc-agent .mc-agent-msg blockquote { background: #f4f7fc; border-left: 3px solid #8ba9ed; padding: 12px 14px; border-radius: 0 8px 8px 0; margin: 12px 0; color: #2c4465; }
.mc-agent-table-wrap { max-width: 100%; overflow-x: auto; margin: 12px 0; border: 1px solid #dbe5f4; border-radius: 8px; }
.mc-agent-table-wrap:focus-visible { outline: 2px solid #2454cc; outline-offset: 2px; }
.mc-agent-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.5; text-align: left; }
.mc-agent-table th, .mc-agent-table td { min-width: 82px; padding: 9px 10px; vertical-align: top; border-bottom: 1px solid #e2eaf6; }
.mc-agent-table th { background: #f3f6fc; color: #243751; font-weight: 650; }
.mc-agent-table tbody tr:last-child td { border-bottom: 0; }
.mc-agent-thinking { color: #5b6c84; font-size: 12px; padding: 0 2px; }
.mc-agent .mc-agent-chips { flex-shrink: 0; padding: 2px 20px 16px; gap: 7px; }
.mc-agent .mc-agent-chip { color: #304b78; background: #f7f9fd; border: 1px solid #dce4ef; border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 12px; text-align: left; }
.mc-agent .mc-agent-chip:hover { color: #2454cc; background: #edf2ff; border-color: #a8bce9; }
.mc-agent-status { padding: 0 20px; color: #5b6c84; font-size: 11px; flex-shrink: 0; }
.mc-agent-status:not(:empty) { padding-bottom: 10px; }
.mc-agent .mc-agent-form { align-items: flex-end; padding: 14px 16px 10px; border-top: 1px solid #e7ecf3; gap: 8px; flex-shrink: 0; }
.mc-agent .mc-agent-form textarea { color: #17263d; background: #f7f9fc; border: 1px solid #dce4ef; border-radius: 10px; font-size: 14px; line-height: 1.5; padding: 11px 12px; min-height: 44px; min-width: 0; }
.mc-agent .mc-agent-form textarea::placeholder { color: #6a7a91; opacity: 1; }
.mc-agent .mc-agent-form textarea:focus { outline: 2px solid #c9d8ff; outline-offset: 1px; border-color: #507be0; }
.mc-agent .mc-agent-form .btn { min-height: 44px; border-radius: 9px; padding: 10px 15px; background: #285ce0; color: #fff; font-size: 13px; box-shadow: none; }
.mc-agent-stop { min-height: 44px; border: 1px solid #c8d5e7; color: #354b6a; border-radius: 9px; padding: 10px 15px; background: #fff; cursor: pointer; font: inherit; font-size: 13px; }
.mc-agent-bottom { padding: 0 18px 14px; display: flex; align-items: flex-start; gap: 12px; flex-shrink: 0; }
.mc-agent .mc-agent-foot { padding: 0; margin: 0; font-size: 10px; line-height: 1.5; color: #63738a; flex: 1; }
.mc-agent-foot a { color: #425c85; text-decoration: underline; text-underline-offset: 2px; }
.mc-agent-save, .mc-agent-copy { background: transparent; border: 0; cursor: pointer; color: #425c85; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.mc-agent-save { white-space: nowrap; padding: 2px 0; }
.mc-agent-copy { margin-top: 10px; color: #63738a; }
.mc-agent-next { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 2px; }
.mc-agent .mc-agent-next .mc-agent-action { background: #edf3ff; border: 1px solid #cddcfa; border-radius: 8px; padding: 9px 12px; color: #234fae; font-size: 12px; font-weight: 600; text-decoration: none; }
.mc-agent-error { color: #69512b; background: #fff9ec; border: 1px solid #eddfbc; border-radius: 9px; padding: 10px 12px; font-size: 12px; line-height: 1.5; max-width: 100%; }
.mc-agent-retry { display: block; margin-top: 7px; color: #6c4c19; font: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 2px 0; cursor: pointer; }
.mc-agent button:focus-visible, .mc-agent a:focus-visible { outline: 3px solid #92b3ff; outline-offset: 3px; }
.mc-agent [hidden] { display: none !important; }
@media (max-width: 600px) {
  .mc-agent .mc-agent-panel { position: fixed; right: 8px; left: 8px; width: auto; bottom: calc(8px + var(--mc-keyboard-inset, 0px)); height: min(780px, calc(var(--mc-view-height, 100dvh) - 16px)); border-radius: 16px; }
  .mc-agent.is-open .mc-agent-launcher { visibility: hidden; }
  .mc-agent .mc-agent-header { padding: 14px; }
  .mc-agent .mc-agent-messages { padding: 18px 16px; }
  .mc-agent .mc-agent-chips { padding-left: 16px; padding-right: 16px; }
  .mc-agent .mc-agent-form textarea { font-size: 16px; }
}
@media (max-width: 380px) { .mc-agent-avatar { display: none; } .mc-agent-brand strong { font-size: 14px; } .mc-agent .mc-agent-sub { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .mc-agent-launcher-dot { animation: none; } }
.mc-agent-card { margin: 14px 0 4px; border: 1px solid #dbe5f4; border-radius: 10px; background: #f7f9fd; font-size: 12px; color: #354d70; }
.mc-agent-card summary { cursor: pointer; padding: 12px 14px; font-weight: 600; color: #294d85; }
.mc-agent-card-body { border-top: 1px solid #e2eaf6; padding: 12px 14px; }
.mc-agent-card-body dl { margin: 0 0 12px; display: grid; gap: 7px; }
.mc-agent-card-body dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mc-agent-card-body dt { color: #5a6e89; } .mc-agent-card-body dd { margin: 0; font-weight: 600; text-align: right; }
.mc-agent .mc-agent-card-body p { font-size: 11px; line-height: 1.55; color: #5a6e89; }
.mc-agent-bottom-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; flex-shrink: 0; }
.mc-agent-bottom-actions > a { font-size: 11px; color: #425c85; text-decoration: underline; text-underline-offset: 3px; }

/* Keyboard access is shared by every public entry page, including resource pages. */
.site-skip { position:fixed; top:-70px; left:20px; z-index:10000; padding:12px 20px; background:#fff; color:#14243d; border:2px solid #2459df; }
.site-skip:focus { top:12px; }
main[id="main"] { scroll-margin-top:100px; }
main[id="main"]:focus { outline:none; }

/* Resource, location and legal pages share the same clear reading surface. */
.theme-light:not(.product-app):not(.site-refresh) .navbar { background:#fff; border-bottom:1px solid #dce3ed; backdrop-filter:none; -webkit-backdrop-filter:none; }
.theme-light:not(.product-app):not(.site-refresh) .bg-effects { display:none; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero { min-height:0; padding:144px 0 54px; background:#f4f7fb; border-bottom:1px solid #dce3ed; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero .container { width:min(1160px,calc(100% - 80px)); padding:0; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero-content { display:flex; flex-direction:column; align-items:flex-start; max-width:840px; margin:0; text-align:left; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero-title { max-width:24ch; margin:0; color:#14243d; font-family:var(--font-display); font-size:clamp(2rem,4.2vw,3.5rem); font-weight:600; line-height:1.12; letter-spacing:-.03em; text-wrap:balance; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero-description { max-width:66ch; margin:20px 0 0; color:#526079; font-size:18px; line-height:1.65; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero .hero-actions { justify-content:flex-start; flex-wrap:wrap; gap:12px; width:100%; margin-top:26px; opacity:1; transform:none; animation:none; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero .btn { min-height:48px; padding:13px 20px; border-radius:8px; font-size:14px; line-height:1.45; letter-spacing:0; white-space:normal; box-shadow:none; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero .btn-primary { color:#fff; background:#2459df; border:1px solid #2459df; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero .btn-secondary { color:#14243d; background:#fff; border:1px solid #c9d5e7; }
.theme-light:not(.product-app):not(.site-refresh) .section { padding:64px 0; }
.theme-light:not(.product-app):not(.site-refresh) .section-header { display:flex; flex-direction:column; align-items:flex-start; max-width:760px; margin:0 0 32px; text-align:left; }
.theme-light:not(.product-app):not(.site-refresh) .section-title { margin:0; color:#14243d; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.2; letter-spacing:-.025em; }
.theme-light:not(.product-app):not(.site-refresh) .section-eyebrow { color:#526079; font-size:12px; line-height:1.6; font-weight:500; letter-spacing:0; text-transform:none; }
.theme-light:not(.product-app):not(.site-refresh) .section-eyebrow::before,
.theme-light:not(.product-app):not(.site-refresh) .section-eyebrow::after { display:none; }
.theme-light:not(.product-app):not(.site-refresh) .page-hero-content>.section-eyebrow,
.theme-light:not(.product-app):not(.site-refresh) .section-header>.section-eyebrow { order:3; margin:18px 0 0; }
@media(max-width:640px) {
  .theme-light:not(.product-app):not(.site-refresh) .page-hero { padding:120px 0 36px; }
  .theme-light:not(.product-app):not(.site-refresh) .page-hero .container { width:calc(100% - 40px); }
  .theme-light:not(.product-app):not(.site-refresh) .page-hero-description { font-size:16px; }
  .theme-light:not(.product-app):not(.site-refresh) .page-hero .hero-actions { flex-direction:column; align-items:stretch; }
  .theme-light:not(.product-app):not(.site-refresh) .section { padding:44px 0; }
}

/* Reading pages use ink on their light surfaces, including inherited card templates. */
.theme-light:not(.product-app):not(.site-refresh) main :is(.card,.service-card,.use-case-card,.outcome-card,.stat-card,.industry-card) { background:#fff; border-color:#dce3ed; box-shadow:none; }
.theme-light:not(.product-app):not(.site-refresh) main :is(.card,.service-card,.use-case-card,.outcome-card,.stat-card,.industry-card) :is(p,li,dt,dd),
.theme-light:not(.product-app):not(.site-refresh) .service-card-features li { color:#41516b; }
.theme-light:not(.product-app):not(.site-refresh) main :is(.gradient-text,.hero-stat-value,.stat-value) { background:none; -webkit-background-clip:border-box; background-clip:border-box; -webkit-text-fill-color:currentColor; color:#19283f; }
.theme-light:not(.product-app):not(.site-refresh) .hero-stats-row { display:flex; flex-wrap:wrap; gap:16px 28px; margin:24px 0 0; padding:16px 0 0; border-top:1px solid #dce3ed; }
.theme-light:not(.product-app):not(.site-refresh) .hero-stat { gap:4px; text-align:left; }
.theme-light:not(.product-app):not(.site-refresh) .hero-stat-value { font-family:var(--font-sans); font-size:17px; line-height:1.45; font-weight:600; }
.theme-light:not(.product-app):not(.site-refresh) .hero-stat-label,
.theme-light:not(.product-app):not(.site-refresh) .stat-label { color:#526079; font-size:13px; line-height:1.55; text-transform:none; letter-spacing:0; }
.theme-light:not(.product-app):not(.site-refresh) .stat-value { font-size:24px; line-height:1.3; font-weight:600; }
.theme-light:not(.product-app):not(.site-refresh) .stat-card::after { display:none; }
.theme-light:not(.product-app):not(.site-refresh) main blockquote { margin:24px 0; padding:18px 22px; border:1px solid #dce3ed; background:#f4f7fb; color:#33445e; border-radius:8px; }
.theme-light:not(.product-app):not(.site-refresh) main code { padding:2px 5px; border-radius:4px; background:#edf2f8; color:#263b5b; }
.theme-light:not(.product-app):not(.site-refresh) main pre { max-width:100%; overflow:auto; padding:20px; border-radius:8px; background:#14243d; color:#edf2f8; }
.theme-light:not(.product-app):not(.site-refresh) main pre code { padding:0; background:transparent; color:inherit; }
.theme-light:not(.product-app):not(.site-refresh) main table { width:100%; border-collapse:collapse; background:#fff; color:#33445e; }
.theme-light:not(.product-app):not(.site-refresh) main :is(th,td) { padding:12px 14px; border:1px solid #dce3ed; color:#33445e; text-align:left; }
.theme-light:not(.product-app):not(.site-refresh) main th { background:#edf2f8; color:#19283f; }
.theme-light:not(.product-app):not(.site-refresh) main .btn-primary { background:#2459df; border-color:#2459df; color:#fff; }
.theme-light:not(.product-app):not(.site-refresh) main .btn-primary:hover { background:#1b48bd; border-color:#1b48bd; }
.theme-light:not(.product-app):not(.site-refresh) main .form-input::placeholder { color:#5d6b82; }
.theme-light:not(.product-app):not(.site-refresh) .footer :is(.footer-copyright,.footer-legal a,.footer-simple-bottom,.footer-simple-links a) { color:#526079; }
.theme-light:not(.product-app):not(.site-refresh) main p a:not(.btn),
.theme-light:not(.product-app):not(.site-refresh) .footer-simple-contact a,
.theme-light:not(.product-app):not(.site-refresh) main .text-primary { color:#2454c4; }
.theme-light:not(.product-app):not(.site-refresh) main .badge-success { color:#17664e; background:#e7f4ec; }
.theme-light:not(.product-app):not(.site-refresh) main .badge-primary { color:#2454c4; background:#edf2ff; }
.theme-light:not(.product-app):not(.site-refresh) main .badge-secondary { color:#526079; background:#eef2f6; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-description,
.theme-light:not(.product-app):not(.site-refresh) :is(.workflow-label,.arch-ring-label,.arch-feature-desc,.author-info-large p,.logos-label,.logo-item) { color:#526079; }
.theme-light:not(.product-app):not(.site-refresh) .use-case-visual { background:#f4f7fb; }
.theme-light:not(.product-app):not(.site-refresh) .arch-ring-label { background:#fff; }
.theme-light:not(.product-app):not(.site-refresh) :is(.use-case-tag,.outcome-metric,.author-metric) { color:#17664e; }
.theme-light:not(.product-app):not(.site-refresh) .use-case-link { color:#2454c4; }
/* Readable content is present at first paint; it never waits for legacy hero choreography. */
.theme-light:not(.product-app):not(.site-refresh) .hero-industry { min-height:0; padding:144px 0 54px; background:#f4f7fb; border-bottom:1px solid #dce3ed; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-content { display:flex; flex-direction:column; align-items:flex-start; text-align:left; }
.theme-light:not(.product-app):not(.site-refresh) :is(.hero-title,.hero-description,.hero-badge,.hero-stats-row,.hero-actions) { animation:none; opacity:1; transform:none; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-title { max-width:24ch; margin:0; font-size:clamp(2rem,4.2vw,3.5rem); font-weight:600; line-height:1.12; letter-spacing:-.03em; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-description { order:1; margin:20px 0 0; font-size:18px; line-height:1.65; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-actions { order:2; margin-top:26px; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-stats-row { order:3; }
.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-badge { order:4; margin:20px 0 0; padding:0; background:transparent; border:0; color:#526079; font-size:12px; font-weight:400; }
@media(max-width:640px){.theme-light:not(.product-app):not(.site-refresh) .hero-industry{padding:120px 0 36px}.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-description{font-size:16px}.theme-light:not(.product-app):not(.site-refresh) .hero-industry .hero-actions{flex-direction:column;align-items:stretch;width:100%}}
/* Illustrative workflow labels remain readable on the same light reading canvas. */
.theme-light:not(.product-app):not(.site-refresh) .feature-motion-panel { background:#edf2f8; border-color:#dce3ed; box-shadow:none; }
.theme-light:not(.product-app):not(.site-refresh) .feature-motion-panel::before,
.theme-light:not(.product-app):not(.site-refresh) .feature-motion-panel::after { display:none; }
.theme-light:not(.product-app):not(.site-refresh) .feature-kpi-item,
.theme-light:not(.product-app):not(.site-refresh) .feature-chip { background:#fff; border-color:#c9d5e6; color:#41516b; }
.theme-light:not(.product-app):not(.site-refresh) :is(.feature-kpi-head,.feature-step) { color:#41516b; }
.theme-light:not(.product-app):not(.site-refresh) .feature-step-index { color:#2454c4; }
.theme-light:not(.product-app):not(.site-refresh) .feature-core { background:#2459df; color:#fff; box-shadow:none; }
.theme-light:not(.product-app):not(.site-refresh) .feature-float { background:#14243d; color:#edf2f8; }
/* Keep illustrative workflow labels in document flow rather than over one another. */
.theme-light:not(.product-app):not(.site-refresh) .page-hero .hero-visual { position:relative; top:auto; right:auto; width:100%; max-width:none; transform:none; animation:none; opacity:1; align-self:start; }
.theme-light:not(.product-app):not(.site-refresh) .feature-motion-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:20px; min-height:0; height:auto; }
.theme-light:not(.product-app):not(.site-refresh) .feature-orbit { display:none; }
.theme-light:not(.product-app):not(.site-refresh) .feature-core { position:static; width:auto; height:auto; min-height:44px; margin:0; padding:12px; transform:none; border-radius:8px; grid-column:1/-1; order:0; }
.theme-light:not(.product-app):not(.site-refresh) .feature-float { position:static; transform:none; animation:none; backdrop-filter:none; padding:10px; border-radius:8px; justify-content:center; order:1; }
.theme-light:not(.product-app):not(.site-refresh) .feature-kpi-stack { grid-column:1/-1; order:2; margin:0; gap:12px; }
.theme-light:not(.product-app):not(.site-refresh) .feature-kpi-item { padding:14px; }
.theme-light:not(.product-app):not(.site-refresh) .feature-kpi-head { margin:0; }
.theme-light:not(.product-app):not(.site-refresh) .feature-kpi-bar { display:none; }

/* Official third-party identity stays recognizable beside readable product names. */
.brand-lockup { display:inline-flex; align-items:center; gap:8px; max-width:100%; vertical-align:middle; }
img.brand-mark { display:inline-block; width:24px; height:24px; flex:0 0 auto; object-fit:contain; object-position:center; vertical-align:middle; filter:none; }
img.brand-mark.brand-mark--wide { width:60px; }
.brand-social { min-height:24px; }
.integration-logo.brand-lockup { justify-content:flex-start; gap:12px; min-height:56px; padding:12px 16px; font-family:var(--font-sans); font-size:14px; font-weight:500; color:var(--mc-ink); }
.integration-logo img.brand-mark { width:32px; height:32px; }
.integration-logo img.brand-mark--wide { width:110px; }
.framework-tag.brand-lockup { gap:8px; }
.framework-tag img.brand-mark { width:20px; height:20px; }
.framework-tag img.brand-mark--wide { width:68px; }
.card-title.brand-lockup { gap:12px; }
.card-title img.brand-mark { width:28px; height:28px; }

img.brand-mark.brand-mark--dark { background:#16253d; border-radius:4px; padding:4px; box-sizing:content-box; }

.integration-logo { color:var(--mc-ink); }
.integration-logo > span { min-width:0; }
.framework-tag { color:#234a88; }

img.brand-mark[hidden] { display:none!important; }
.brand-lockup--wordmark { position:relative; }
.integration-logo.brand-lockup--wordmark img.brand-mark--wide { width:160px; height:32px; }
.brand-lockup--wordmark:has(img.brand-mark[data-brand-loaded="true"]) > span { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Preserve readable resource examples within the shared article canvas. */
.theme-light.public-reading .use-cases-grid { width:100%; min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); }
.theme-light.public-reading .use-case-featured { grid-column:1/-1; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }
.theme-light.public-reading :is(.use-case-card,.use-case-visual,.use-case-content,.email-flow,.email-stack,.email-preview) { min-width:0; max-width:100%; }
.theme-light.public-reading :is(.email-from,.email-subject) { min-width:0; }
.theme-light.public-reading .email-from { flex:0 1 140px; width:auto; white-space:normal; overflow:visible; overflow-wrap:anywhere; }
.theme-light.public-reading .action-grid { width:100%; min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); }
.theme-light.public-reading .action-item { min-width:0; }
.theme-light.public-reading .action-label { overflow-wrap:anywhere; text-align:center; }
@media(max-width:1024px) {
 .theme-light.public-reading .use-case-featured { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:768px) {
 .theme-light.public-reading .use-cases-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
 .theme-light.public-reading .use-case-featured { padding:20px; }
 .theme-light.public-reading .use-case-visual { padding:16px; }
 .theme-light.public-reading .action-item { padding:8px; }
 .theme-light.public-reading .email-preview { flex-wrap:wrap; align-items:flex-start; gap:8px; }
 .theme-light.public-reading :is(.email-from,.email-subject) { flex:1 1 100%; width:auto; white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
}

/* 2026-11-12: industry workflow animation fits phone widths (PRA-ACQ-13) */
@media (max-width: 480px) {
  .workflow-animation { gap: 6px; max-width: 100%; }
  .workflow-animation .workflow-step { padding: 8px; gap: 6px; min-width: 0; }
  .workflow-connector { width: 12px; flex: 0 1 12px; }
  .workflow-label { text-align: center; }
}

/* 2026-11-13 PRA-LIVE-01: site-refresh public-reading pages keep the legacy gradient
   hero stat (background-clip:text at line-height 1); extend the painted box so
   descenders (g, y) are not cut off. Light-theme pages use the solid-ink override above. */
.site-refresh.public-reading .hero-stat-value { padding-bottom:0.2em; }
