/* ============================================
   CSS Variables & Theme System
   ============================================ */
:root {
  /* Light Theme Colors */
  --bg-light: #FFFFFF;
  --text-light: #000000;
  --text-secondary-light: #666666;
  --card-bg-light: #F5F5F5;
  
  /* Dark Theme Colors */
  --bg-dark: #000000;
  --text-dark: #FFFFFF;
  --text-secondary-dark: #AAAAAA;
  --card-bg-dark: #1A1A1A;
  
  /* Accent Colors */
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --accent-purple: #8B5CF6;
  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  
  /* Spacing */
  --section-padding: 120px;
  --container-max-width: 1200px;
  --container-padding: 20px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-fast: 0.15s ease;
}

/* ============================================
   Base Styles & Reset
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Theme Classes
   ============================================ */
.theme-light {
  background-color: var(--bg-light);
  color: var(--text-light);
}

.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.theme-light .text-secondary {
  color: var(--text-secondary-light);
}

.theme-dark .text-secondary {
  color: var(--text-secondary-dark);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subheadline {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

.theme-dark .section-subheadline {
  color: var(--text-secondary-dark);
}

/* ============================================
   Header & Navigation (Scroll-responsive)
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

/* Pre-scroll state - Light theme page (default) */
.header:not(.header-scrolled) {
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: #0a0a0a;
}

/* Pre-scroll state - Dark theme page */
[data-page-theme="dark"] .header:not(.header-scrolled) {
  color: #ffffff;
}

/* Post-scroll state - Subtle floating pill with soft glass effect */
.header.header-scrolled {
  top: 12px;
  width: auto;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  color: #0a0a0a;
}

/* Dark theme page - subtle dark glass pill */
[data-page-theme="dark"] .header.header-scrolled {
  background-color: rgba(30, 30, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--container-padding);
  max-width: var(--container-max-width);
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 24px;
}

/* Condensed nav on scroll - tighter spacing */
.header-scrolled .nav {
  padding: 10px 24px;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.nav-logo:hover {
  opacity: 0.8;
}

/* Divider after logo on scrolled pill */
.header-scrolled .nav-logo::after {
  content: '';
  width: 1px;
  height: 20px;
  background-color: currentColor;
  opacity: 0.2;
  margin-left: 8px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--text-light);
  color: var(--bg-light);
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.4s ease;
}

/* Smaller logo on scroll */
.header-scrolled .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 11px;
}

.theme-dark .logo-icon {
  background-color: var(--text-dark);
  color: var(--bg-dark);
}

/* Logo text - hide on scroll for cleaner pill */
.logo-text {
  transition: all 0.4s ease;
  font-size: 16px;
}

.header-scrolled .logo-text {
  display: none;
}

/* ============================================
   Nav Link Colors (Theme-aware)
   ============================================ */

/* Pre-scroll: Light page = dark text */
.header:not(.header-scrolled) .nav-links a {
  color: rgba(10, 10, 10, 0.7);
}

.header:not(.header-scrolled) .nav-links a:hover {
  color: #0a0a0a;
  opacity: 1;
}

/* Pre-scroll: Dark page = light text */
[data-page-theme="dark"] .header:not(.header-scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

[data-page-theme="dark"] .header:not(.header-scrolled) .nav-links a:hover {
  color: #ffffff;
  opacity: 1;
}

/* Post-scroll: Light glass = dark text (default) */
.header-scrolled .nav-links a {
  color: rgba(10, 10, 10, 0.7);
}

.header-scrolled .nav-links a:hover {
  color: #0a0a0a;
  opacity: 1;
}

/* Post-scroll: Dark page with dark glass = light text */
[data-page-theme="dark"] .header-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

[data-page-theme="dark"] .header-scrolled .nav-links a:hover {
  color: #ffffff;
}

/* ============================================
   Nav Button Colors (Theme-aware)
   ============================================ */

/* Pre-scroll: Light page = dark button outline */
.header:not(.header-scrolled) .btn-nav {
  border-color: rgba(10, 10, 10, 0.3);
  color: #0a0a0a;
}

/* Pre-scroll: Dark page = light button outline */
[data-page-theme="dark"] .header:not(.header-scrolled) .btn-nav {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Post-scroll: Light page = dark solid button (default) */
.header-scrolled .btn-nav {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.header-scrolled .btn-nav:hover {
  background-color: #1a1a1a;
}

/* Post-scroll: Dark page = light solid button */
[data-page-theme="dark"] .header-scrolled .btn-nav {
  background-color: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

[data-page-theme="dark"] .header-scrolled .btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Logo Icon Colors (Theme-aware)
   ============================================ */

/* Pre-scroll: Light page = dark logo */
.header:not(.header-scrolled) .logo-icon {
  background-color: #0a0a0a;
  color: #ffffff;
}

/* Pre-scroll: Dark page = light logo */
[data-page-theme="dark"] .header:not(.header-scrolled) .logo-icon {
  background-color: #ffffff;
  color: #0a0a0a;
}

/* Post-scroll: Light page = dark logo (default) */
.header-scrolled .logo-icon {
  background-color: #0a0a0a;
  color: #ffffff;
}

/* Post-scroll: Dark page = light logo */
[data-page-theme="dark"] .header-scrolled .logo-icon {
  background-color: #ffffff;
  color: #0a0a0a;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tighter link spacing on scroll */
.header-scrolled .nav-links {
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 14px;
  transition: opacity var(--transition-fast), font-size 0.4s ease;
}

.header-scrolled .nav-links a {
  font-size: 13px;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: var(--transition-base);
}

/* ============================================
   Mobile Menu Open State (applies at all sizes)
   ============================================ */
/* ============================================
   Mobile Menu - Slide Down Accordion Style
   ============================================ */

/* Hamburger to X animation when active */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

/* Ensure all button classes and CTA links have pointer cursor */
a.btn,
button.btn,
[class*="btn-"],
[class*="cta-button"] {
  cursor: pointer;
}

.btn-nav {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
  transition: all 0.4s ease;
  padding: 10px 20px;
  font-size: 14px;
}

/* Smaller nav button on scroll */
.header-scrolled .btn-nav {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 20px;
}

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

.theme-dark .btn-primary {
  background-color: var(--text-dark);
  color: var(--bg-dark);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-chat {
  background-color: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.btn-full {
  background-color: var(--accent-blue);
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-inline {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--accent-blue);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
  padding-top: 200px;
  position: relative;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.hero-section {
  background: linear-gradient(to bottom, 
    #FFFFFF 0%, 
    #FFFFFF 40%, 
    #F5F5F5 50%,
    #E0E0E0 60%,
    #1A1A1A 70%,
    #000000 100%);
  background-size: 100% 400vh;
  background-position: 0 0;
  transition: background-position 0.05s linear;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding-top: 40px;
}

.hero-headline {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--text-secondary-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 40px;
  color: var(--text-secondary-light);
  opacity: 0.85;
}

/* Awards Badges (Flighty-style - simple, not card) */
.hero-awards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.award-icon {
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  perspective: 200px;
}

/* 3D Cube Container */
.icon-3d-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(15deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cube Faces */
.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

/* Top Face - Light with subtle gradient */
.cube-top {
  background: linear-gradient(135deg, #F5F5F7 0%, #E8E8ED 100%);
  transform: rotateX(90deg) translateZ(8px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Front Face - Main surface with icon */
.cube-front {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F7 100%);
  transform: translateZ(8px);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
  border: 0.5px solid rgba(0, 0, 0, 0.05);
}

.cube-front svg {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Right Face - Darker side for depth */
.cube-right {
  background: linear-gradient(135deg, #E8E8ED 0%, #D1D1D6 100%);
  transform: rotateY(90deg) translateZ(8px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.12);
}

/* Trophy Icon - Gold/Orange Theme */
.award-icon-trophy .cube-front {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFE5B4 100%);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(255, 165, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.award-icon-trophy .cube-top {
  background: linear-gradient(135deg, #FFE5B4 0%, #FFD89C 100%);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(255, 165, 0, 0.2);
}

.award-icon-trophy .cube-right {
  background: linear-gradient(135deg, #FFD89C 0%, #FFC870 100%);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(255, 165, 0, 0.2);
}

/* Star Icon - Gold Theme */
.award-icon-star .cube-front {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFE5B4 100%);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(255, 215, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.award-icon-star .cube-top {
  background: linear-gradient(135deg, #FFE5B4 0%, #FFD89C 100%);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(255, 215, 0, 0.25);
}

.award-icon-star .cube-right {
  background: linear-gradient(135deg, #FFD89C 0%, #FFC870 100%);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(255, 215, 0, 0.25);
}

/* Hover Effects */
.award-badge:hover .icon-3d-cube {
  transform: rotateX(-10deg) rotateY(20deg) scale(1.05);
}

.award-badge:hover .cube-front {
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.05),
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.15),
    0 1px 4px rgba(0, 0, 0, 0.1);
}

.award-badge:hover .award-icon-trophy .cube-front {
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 6px 24px rgba(255, 165, 0, 0.35),
    0 3px 12px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.12);
}

.award-badge:hover .award-icon-star .cube-front {
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
    0 6px 24px rgba(255, 215, 0, 0.4),
    0 3px 12px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.12);
}

.award-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.award-title {
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1F;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.award-year {
  font-size: 11px;
  color: #86868B;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.theme-dark .hero-subheadline,
.theme-dark .hero-description {
  color: var(--text-secondary-dark);
}

/* Hero Feature Highlights */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 40px 0;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  transition: transform var(--transition-base), background-color var(--transition-base);
}

.hero-feature-item:hover {
  transform: translateY(-4px);
  background-color: rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
}

.feature-text span {
  font-size: 14px;
  color: var(--text-secondary-light);
  opacity: 0.8;
}

/* ============================================
   iPhone Scroll Container
   ============================================ */
.iphone-scroll-container {
  position: relative;
  width: 100%;
  height: 200vh;
  margin: 0 auto;
  z-index: 3;
  overflow: visible;
}

#hero {
  overflow: visible;
}

.iphone-sticky-wrapper {
  position: sticky;
  top: 0vh;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: -120px;
}

.iphone-sticky-wrapper.dominating .iphone-composition {
  transform: scale(1.15);
  z-index: 100;
}

.iphone-composition {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin-top: -50px;
  margin-left: auto;
  margin-right: auto;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* iPhone Frame */
.iphone-frame {
  display: block;
  width: 100%;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

/* Screen Mask */
.screen-mask {
  position: absolute;
  z-index: 20;
  overflow: hidden;
  left: 19.5%;
  top: 1.15%;
  width: 58%;
  height: 95.75%;
  border-radius: 16% / 7%;
  background-color: #000;
}

/* Scrolling Track */
.scrolling-track {
  width: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.scrolling-track img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

/* ============================================
   Text Reveal (Simple Label)
   ============================================ */
.simple-text-container {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.simple-text-bottom {
  bottom: -80px;
}

.simple-text-container.visible {
  opacity: 1;
}

.simple-label {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  color: #111111;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(calc(-50% + 30px)) scale(0.95);
  filter: blur(8px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: auto;
}

/* First label (slide-0) - keep dark text */
.simple-label.slide-0.active {
  color: #111111 !important;
  opacity: 1;
  transform: translateY(-50%) scale(1);
  filter: blur(0);
}

/* Second label (slide-1) - white text */
.simple-label.slide-1.active {
  color: rgba(255, 255, 255, 0.95) !important;
  opacity: 1;
  transform: translateY(-50%) scale(1);
  filter: blur(0);
}

.inline-widget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 6px;
  transform: scale(0.8);
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.simple-label.active .inline-widget {
  transform: scale(1);
  opacity: 1;
  filter: grayscale(0%);
}

.success-pill {
  background-color: #34C759;
  color: #ffffff !important;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.4);
}

.success-pill strong {
  color: #ffffff !important;
}

.blue-pill {
  background-color: #007AFF;
  color: #fff !important;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.4);
}

.blue-pill strong {
  color: #fff !important;
}

/* ============================================
   Chaos Cloud ("The Suck In" Effect)
   ============================================ */
.chaos-cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
}

.chaos-item {
  position: absolute;
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-family);
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  /* Default State = "Sucked In" */
  top: 40% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  /* Transition for the "Suck" effect */
  transition: all 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Active State = Floating Out */
.chaos-cloud.active .chaos-item {
  transform: translate(0, 0) scale(1);
  opacity: 1;
}

/* Specific Positions when Active */
.chaos-cloud.active .item-1 {
  top: 20% !important;
  left: 5% !important;
}

.chaos-cloud.active .item-2 {
  top: 28% !important;
  right: 5% !important;
  left: auto !important;
}

.chaos-cloud.active .item-3 {
  top: 55% !important;
  left: 2% !important;
}

.chaos-cloud.active .item-4 {
  top: 65% !important;
  right: 5% !important;
  left: auto !important;
}

/* Gentle Shake Animation (Only when active) */
.chaos-cloud.active .chaos-item {
  animation: gentleBob 3s ease-in-out infinite;
}

.chaos-cloud.active .item-1 {
  animation-delay: 0s;
}

.chaos-cloud.active .item-2 {
  animation-delay: 0.5s;
}

.chaos-cloud.active .item-3 {
  animation-delay: 1s;
}

.chaos-cloud.active .item-4 {
  animation-delay: 1.5s;
}

@keyframes gentleBob {
  0%, 100% {
    margin-top: 0px;
  }
  50% {
    margin-top: -10px;
  }
}

/* ============================================
   Calendar Cloud Animations
   ============================================ */
.calendar-cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
}

.appt-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.appt-card .dot {
  width: 8px;
  height: 8px;
  background-color: #34C759;
  border-radius: 50%;
  flex-shrink: 0;
}

.appt-card .patient {
  color: #888;
  font-weight: 400;
  font-size: 13px;
}

.calendar-cloud.active .appt-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.calendar-cloud.active .appt-1 {
  top: 20%;
  left: -40px;
  transition-delay: 0.1s;
}

.calendar-cloud.active .appt-2 {
  top: 40%;
  right: -30px;
  transition-delay: 0.3s;
}

.calendar-cloud.active .appt-3 {
  bottom: 25%;
  left: -30px;
  transition-delay: 0.5s;
}

/* Keep calendar cloud visible even when phone dominates */
.iphone-sticky-wrapper.dominating .calendar-cloud.active {
  opacity: 1;
  z-index: 101;
  pointer-events: none;
}

.iphone-sticky-wrapper.dominating .calendar-cloud.active .appt-card {
  opacity: 1 !important;
  transform: scale(1.1) translateY(0) !important;
  box-shadow: 0 8px 30px rgba(52, 199, 89, 0.4);
  background: rgba(52, 199, 89, 0.95);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.iphone-sticky-wrapper.dominating .calendar-cloud.active .appt-card .dot {
  background-color: white;
}

.iphone-sticky-wrapper.dominating .calendar-cloud.active .appt-card .patient {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Phone Notifications (Flighty-style)
   ============================================ */
.phone-notifications {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
  overflow: visible;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.phone-notifications:not(.visible) {
  opacity: 0;
  pointer-events: none;
}

.notification-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  will-change: opacity, transform;
}

.notification-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.notification-card:not(.visible) {
  opacity: 0 !important;
  pointer-events: none;
}

.notification-card.visible.notification-1 {
  transition-delay: 0.1s;
}

.notification-card.visible.notification-3 {
  transition-delay: 0.3s;
}

.notification-card.visible.notification-5 {
  transition-delay: 0.5s;
}

.notification-card.visible.notification-6 {
  transition-delay: 0.7s;
}

.notification-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(102, 126, 234, 0.2);
}

.notification-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.notification-icon-green {
  background-color: #34C759;
}

.notification-icon-blue {
  background-color: #007AFF;
}

.notification-icon-red {
  background-color: #FF3B30;
}

.notification-icon-orange {
  background-color: #FF9500;
}

.notification-icon-purple {
  background-color: #AF52DE;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 12px;
  font-weight: 600;
  color: #1D1D1F !important;
  margin-bottom: 2px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.notification-subtitle {
  font-size: 10px;
  color: #86868B !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Left Side Notifications - Positioned well clear of phone (accounting for card width ~200px) */
/* Notification Cards - Positioned like calendar cloud pills, overlaying iPhone edge */
.notification-card.notification-1 {
  top: 15%;
  left: -40px;
  transition-delay: 0.1s;
}

.notification-card.notification-3 {
  top: 35%;
  right: -30px;
  transition-delay: 0.3s;
}

.notification-card.notification-5 {
  bottom: 30%;
  left: -35px;
  transition-delay: 0.5s;
}

.notification-card.notification-6 {
  top: 55%;
  right: -35px;
  transition-delay: 0.7s;
}

/* When phone dominates, notifications fade out slightly but stay visible */
/* Removed dominating styles for notification cards - they should stay fully visible or fade out completely */

/* Animation for notifications */
@keyframes notificationFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

.notification-card.visible {
  animation: notificationFloat 4s ease-in-out infinite;
}

.notification-card.visible.notification-1 {
  animation-delay: 0s;
}

.notification-card.visible.notification-3 {
  animation-delay: 0.5s;
}

.notification-card.visible.notification-5 {
  animation-delay: 1s;
}

.notification-card.visible.notification-6 {
  animation-delay: 1.5s;
}

.notification-card.visible.notification-7 {
  animation-delay: 1.2s;
}

.notification-card.visible.notification-8 {
  animation-delay: 1.7s;
}

/* ============================================
   Schedule Section
   ============================================ */
.phone-demo-container {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.schedule-cta {
  text-align: center;
  margin-top: 40px;
}

.schedule-cta p {
  font-size: 20px;
  margin-bottom: 16px;
}

/* ============================================
   Trust & Specialties Section
   ============================================ */
.trust-statement {
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-secondary-dark);
}

/* ============================================
   Marquee Section (Optimized)
   ============================================ */
/* ============================================
   Trust Section - Specialty Grid
   ============================================ */
/* Section divider line */
#trust {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--section-padding);
}

.trust-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.trust-statement {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.trust-subtext {
  font-size: 32px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  max-width: 650px;
  margin: 0 auto;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.01em;
  padding: 12px 8px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.2s ease;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  padding: 12px 16px;
  border-radius: 8px;
}

.trust-logo-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for row-by-row reveal */
.trust-logo-item:nth-child(1), .trust-logo-item:nth-child(2), .trust-logo-item:nth-child(3),
.trust-logo-item:nth-child(4), .trust-logo-item:nth-child(5), .trust-logo-item:nth-child(6) {
  transition-delay: 0s;
}
.trust-logo-item:nth-child(7), .trust-logo-item:nth-child(8), .trust-logo-item:nth-child(9),
.trust-logo-item:nth-child(10), .trust-logo-item:nth-child(11), .trust-logo-item:nth-child(12) {
  transition-delay: 0.1s;
}
.trust-logo-item:nth-child(13), .trust-logo-item:nth-child(14), .trust-logo-item:nth-child(15),
.trust-logo-item:nth-child(16), .trust-logo-item:nth-child(17), .trust-logo-item:nth-child(18) {
  transition-delay: 0.2s;
}

.trust-logo-item:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.trust-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 50px 0 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-stat-mini .credential-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.credential-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #trust {
    padding-top: var(--section-padding);
  }
  
  .trust-subtext {
    font-size: 24px;
  }
  
  .trust-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
    padding: 32px 0;
  }
  
  .trust-logo-item {
    font-size: 11px;
    padding: 10px 6px;
  }
  
  .trust-stats-row {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
  }
  
  .trust-stat-mini .credential-badge {
    flex-direction: row;
  }
}

/* ============================================
   EMR Narrative Section (Flighty-style)
   ============================================ */
#emr-narrative {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.emr-narrative {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: var(--font-family);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.15);
}

/* Text reveal on scroll - brightness controlled by JavaScript */
.narrative-text {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.4s ease-out;
  will-change: color;
}

.narrative-text:last-child {
  margin-bottom: 0;
}

.narrative-text strong {
  font-weight: 600;
}

.narrative-text em {
  font-style: italic;
  color: inherit;
}

/* Inline Widget Base */
.inline-widget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 6px;
  transform: scale(0.7) translateY(2px);
  opacity: 0.4;
  filter: grayscale(100%) blur(1px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.narrative-text.active .inline-widget {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: grayscale(0%) blur(0);
}

/* Widget 1: Patient Pill (Medical Blue) */
.patient-pill {
  background-color: #007AFF;
  color: #fff;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.5);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.patient-pill strong {
  color: #fff;
}

.narrative-text.active .patient-pill {
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.8), 0 0 40px rgba(0, 122, 255, 0.4);
  transform: scale(1.05) translateY(0);
}

/* Widget 2: Lead Sources Stack */
.lead-sources {
  position: relative;
  width: 80px;
  height: 32px;
  display: inline-flex;
  align-items: center;
}

.source-bubble {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.source-bubble.ads {
  left: 0;
  z-index: 3;
  background: #34C759;
}

.source-bubble.database {
  left: 24px;
  z-index: 2;
  background: #007AFF;
}

.source-bubble.inquiry {
  left: 48px;
  z-index: 1;
  background: #FF9500;
}

/* Enhanced fan out animation with glow when active */
.narrative-text.active .source-bubble.ads {
  transform: translateX(-12px) rotate(-15deg) scale(1.1);
  box-shadow: 0 0 20px rgba(52, 199, 89, 0.8), 0 0 40px rgba(52, 199, 89, 0.4);
}

.narrative-text.active .source-bubble.database {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.8), 0 0 40px rgba(0, 122, 255, 0.4);
}

.narrative-text.active .source-bubble.inquiry {
  transform: translateX(12px) rotate(15deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.8), 0 0 40px rgba(255, 149, 0, 0.4);
}

/* Widget 3: Success Pill (Green) - Already defined elsewhere, but ensure it works here */
.emr-narrative .success-pill {
  background-color: #34C759;
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.4);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.emr-narrative .success-pill strong {
  color: #fff;
}

.narrative-text.active .emr-narrative .success-pill {
  box-shadow: 0 0 25px rgba(52, 199, 89, 0.9), 0 0 50px rgba(52, 199, 89, 0.5);
  transform: scale(1.08) translateY(0);
}

/* Widget 4: Bouncing Arrow with Glow */
.down-arrow {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.narrative-text.active .down-arrow {
  animation: bounce-arrow-glow 1.2s infinite;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

@keyframes bounce-arrow-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
  }
  50% {
    transform: translateY(12px) scale(1.1);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1));
  }
}

/* Widget 5: AI Icon with Enhanced Effects */
.ai-icon {
  font-size: 28px;
  filter: grayscale(100%) brightness(1000%);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.narrative-text.active .ai-icon {
  animation: pulse-ai-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-ai-glow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: grayscale(0%) brightness(1000%) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  }
  25% {
    transform: scale(1.15) rotate(-5deg);
    filter: grayscale(0%) brightness(1200%) drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
  }
  50% {
    transform: scale(1.2) rotate(0deg);
    filter: grayscale(0%) brightness(1300%) drop-shadow(0 0 30px rgba(255, 255, 255, 1));
  }
  75% {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0%) brightness(1200%) drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  #emr-narrative {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  }
  
  .emr-narrative {
    font-size: 18px;
    line-height: 1.45;
  }
  
  .narrative-text {
    margin-bottom: 28px;
  }
}

/* ============================================
   Feature Cards & Grids
   ============================================ */
.features-grid {
  display: grid;
  gap: 32px;
  margin-top: 60px;
}

.features-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.features-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.features-2x2 {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  background-color: var(--card-bg-dark);
  transition: transform var(--transition-base);
}

.theme-light .feature-card {
  background-color: var(--card-bg-light);
}

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

.card-light {
  background-color: var(--card-bg-light) !important;
}

.feature-visual {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-visual-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.feature-visual-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.feature-visual-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-dark);
}

.theme-light .feature-description {
  color: var(--text-secondary-light);
}

/* ============================================
   EMR Cards Section (Horizontal Scroll on Mobile)
   ============================================ */
.emr-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

/* Card Base Styles (Glassmorphism) */
.emr-card {
  position: relative;
  background-color: rgba(28, 28, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Animated glow border */
.emr-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 21px;
  background: linear-gradient(
    var(--card-glow-angle, 0deg),
    transparent 0%,
    transparent 40%,
    var(--card-glow-color, rgba(139, 92, 246, 0.5)) 45%,
    var(--card-glow-color-bright, rgba(168, 85, 247, 0.8)) 50%,
    var(--card-glow-color, rgba(139, 92, 246, 0.5)) 55%,
    transparent 60%,
    transparent 100%
  );
  opacity: 0;
  z-index: -2;
  transition: opacity 0.4s ease;
}

/* Inner background to cover gradient except border */
.emr-card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 19px;
  background: rgba(28, 28, 30, 0.95);
  z-index: -1;
}

/* Glow active state */
.emr-card.glow-active::before {
  opacity: 1;
  animation: card-glow-rotate 2.5s linear infinite;
}

@property --card-glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes card-glow-rotate {
  0% {
    --card-glow-angle: 0deg;
  }
  100% {
    --card-glow-angle: 360deg;
  }
}

.emr-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Card Visual Container */
.emr-card-visual {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.emr-card-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  animation: float-graphic 6s ease-in-out infinite;
  will-change: transform;
}

/* Staggered animation delays for visual interest */
.emr-card-delivery .emr-card-image {
  animation-delay: 1s;
}

.emr-card-growth .emr-card-image {
  animation-delay: 2s;
}

@keyframes float-graphic {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Card Typography */
.emr-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.emr-card-description {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
}

/* Color Themes with Glow Effects */

/* Card 1: Cyan/Blue */
.emr-card-appointments {
  --card-glow-color: rgba(0, 183, 255, 0.5);
  --card-glow-color-bright: rgba(0, 210, 255, 0.9);
  box-shadow: inset 0 0 40px rgba(0, 183, 255, 0.05), 
              0 20px 40px rgba(0, 183, 255, 0.1);
}

.emr-card-appointments:hover,
.emr-card-appointments.glow-active {
  border-color: rgba(0, 183, 255, 0.4);
  box-shadow: inset 0 0 60px rgba(0, 183, 255, 0.1), 
              0 30px 60px rgba(0, 183, 255, 0.2);
}

/* Card 2: Purple */
.emr-card-delivery {
  --card-glow-color: rgba(138, 43, 226, 0.5);
  --card-glow-color-bright: rgba(168, 85, 247, 0.9);
  box-shadow: inset 0 0 40px rgba(138, 43, 226, 0.05), 
              0 20px 40px rgba(138, 43, 226, 0.1);
}

.emr-card-delivery:hover,
.emr-card-delivery.glow-active {
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: inset 0 0 60px rgba(138, 43, 226, 0.1), 
              0 30px 60px rgba(138, 43, 226, 0.2);
}

/* Card 3: Green/Teal */
.emr-card-growth {
  --card-glow-color: rgba(52, 211, 153, 0.5);
  --card-glow-color-bright: rgba(74, 222, 170, 0.9);
  box-shadow: inset 0 0 40px rgba(52, 211, 153, 0.05), 
              0 20px 40px rgba(52, 211, 153, 0.1);
}

.emr-card-growth:hover,
.emr-card-growth.glow-active {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: inset 0 0 60px rgba(52, 211, 153, 0.1), 
              0 30px 60px rgba(52, 211, 153, 0.2);
}

/* Mobile: Horizontal Scrolling */
@media (max-width: 900px) {
  #emr-integration {
    position: relative;
  }

  .emr-cards-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    overscroll-behavior-x: contain;
    gap: 0;
    padding: 0 12px;
    margin-top: 40px;
    scrollbar-width: none;
    position: relative;
  }

  .emr-cards-container::-webkit-scrollbar {
    display: none;
  }

  .emr-card {
    flex: 0 0 auto;
    width: 78vw;
    max-width: 400px;
    min-width: 280px;
    scroll-snap-align: start;
    margin-right: 14px;
  }

  .emr-card:last-child {
    margin-right: 0;
  }

  /* Scroll hint arrow - positioned relative to section */
  #emr-integration::after {
    content: "›";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: nudge-arrow 0.8s ease-in-out infinite;
    z-index: 10;
  }

  @keyframes nudge-arrow {
    0%, 100% {
      transform: translate(0, -50%);
    }
    50% {
      transform: translate(4px, -50%);
    }
  }
}

/* ============================================
   Database Upload CTA Section (Flighty-style)
   ============================================ */
#database-cta {
  padding-top: 60px;
  border-top: none;
}

.database-cta-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Visual Container */
.cta-visual {
  position: relative;
  height: 220px;
  margin-bottom: 40px;
}

/* Arc SVG - positioned above icons */
.cta-arc {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 220px;
  pointer-events: none;
  z-index: 10;
}

/* Icons below the arc */
.cta-icons {
  z-index: 5;
}

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

.arc-path {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: 3 10;
}

/* Animated dots along the arc path */
.arc-dot {
  opacity: 0;
  fill: rgba(139, 92, 246, 0.7);
}

.arc-dot-1 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 0s; }
.arc-dot-2 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 0.6s; }
.arc-dot-3 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 1.2s; }
.arc-dot-4 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 1.8s; }
.arc-dot-5 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 2.4s; }
.arc-dot-6 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 3s; }
.arc-dot-7 { animation: flow-dot 5s ease-in-out infinite; animation-delay: 3.6s; }

@keyframes flow-dot {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  95% {
    opacity: 0.9;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* Apply offset-path for arc motion - wider arc */
.arc-dot {
  offset-path: path('M30 200 Q250 -20 470 200');
  offset-rotate: 0deg;
}

/* Icons Container */
.cta-icons {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  z-index: 2;
}


/* Icon Box Base */
.cta-icon-box {
  background: linear-gradient(145deg, rgba(35, 32, 45, 0.95), rgba(25, 22, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px;
  color: rgba(140, 130, 160, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Side cards tilt inward */
.cta-icon-box:first-child {
  transform: perspective(500px) rotateY(8deg);
}

.cta-icon-box:last-child {
  transform: perspective(500px) rotateY(-8deg);
}

.cta-icon-box:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-icon-box:first-child:hover {
  transform: perspective(500px) rotateY(8deg) translateY(-3px);
}

.cta-icon-box:last-child:hover {
  transform: perspective(500px) rotateY(-8deg) translateY(-3px);
}

/* Main/Center Icon (larger & taller) */
.cta-icon-main {
  padding: 28px 32px 24px;
  border-radius: 22px;
  position: relative;
  background: linear-gradient(160deg, rgba(45, 40, 60, 0.98), rgba(30, 25, 42, 0.99));
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: none;
  z-index: 2;
}

.cta-icon-main:hover {
  transform: translateY(-3px);
}

.cta-icon-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(160, 140, 200, 0.9);
  text-transform: uppercase;
}

.cta-icon-date {
  font-size: 48px;
  font-weight: 300;
  color: rgba(120, 110, 145, 0.8);
  line-height: 1;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

/* Headline */
.database-cta-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Subtext */
.database-cta-subtext {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* CTA Button */
.database-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.database-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.database-cta-button svg {
  color: #0a0a0a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #database-cta {
    padding-top: 40px;
  }
  
  .cta-visual {
    height: 180px;
    margin-bottom: 32px;
  }
  
  .cta-arc {
    width: 380px;
    height: 180px;
  }
  
  .arc-svg {
    transform: scale(0.76);
    transform-origin: center bottom;
  }
  
  .cta-icon-box {
    padding: 14px;
    border-radius: 14px;
  }
  
  .cta-icon-box:first-child {
    transform: perspective(500px) rotateY(6deg);
  }
  
  .cta-icon-box:last-child {
    transform: perspective(500px) rotateY(-6deg);
  }
  
  .cta-icon-box svg {
    width: 24px;
    height: 24px;
  }
  
  .cta-icon-main {
    padding: 20px 22px 18px;
    border-radius: 18px;
  }
  
  .cta-icon-main svg {
    width: 32px;
    height: 32px;
  }
  
  .cta-icon-label {
    font-size: 9px;
    top: 8px;
  }
  
  .cta-icon-date {
    font-size: 36px;
    margin-top: 6px;
  }
  
  .database-cta-subtext {
    font-size: 15px;
    padding: 0 10px;
  }
  
  .database-cta-button {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cta-visual {
    height: 160px;
  }
  
  .cta-arc {
    width: 320px;
    height: 160px;
  }
  
  .arc-svg {
    transform: scale(0.64);
    transform-origin: center bottom;
  }
  
  .cta-icons {
    gap: 6px;
  }
  
  .cta-icon-box {
    padding: 12px;
    border-radius: 12px;
  }
  
  .cta-icon-box:first-child {
    transform: perspective(500px) rotateY(5deg);
  }
  
  .cta-icon-box:last-child {
    transform: perspective(500px) rotateY(-5deg);
  }
  
  .cta-icon-main {
    padding: 16px 18px 14px;
    border-radius: 14px;
  }
  
  .cta-icon-date {
    font-size: 32px;
    margin-top: 4px;
  }
  
  .cta-icon-label {
    font-size: 8px;
    top: 6px;
  }
}

/* ============================================
   Proof Flow (Integrated with Database CTA)
   ============================================ */
.proof-flow {
  margin-top: 70px;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* Start hidden for reveal animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.proof-flow.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for child elements */
.proof-flow-headline,
.proof-flow-content,
.proof-flow-credentials {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.proof-flow.revealed .proof-flow-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.proof-flow.revealed .proof-flow-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.proof-flow.revealed .proof-flow-credentials {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.proof-flow-headline {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.proof-flow-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

/* Large Counter */
.proof-flow-counter {
  text-align: center;
  flex-shrink: 0;
}

.proof-flow-number {
  display: block;
  font-size: clamp(56px, 9vw, 80px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-flow-label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Live Feed */
.proof-flow-live {
  text-align: left;
  min-width: 300px;
  max-width: 360px;
}

.proof-flow-live-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.proof-flow-live-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow: hidden;
}

.proof-flow-live-feed .live-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeSlideIn 0.4s ease-out;
  transition: all 0.3s ease;
}

.proof-flow-live-feed .live-feed-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.proof-flow-live-feed .feed-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  min-width: 55px;
}

.proof-flow-live-feed .feed-name {
  flex: 1;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.proof-flow-live-feed .feed-location {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

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

/* Credentials */
.proof-flow-credentials {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.credential-item svg {
  color: rgba(52, 199, 89, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .proof-flow {
    margin-top: 50px;
    padding-top: 40px;
  }
  
  .proof-flow-headline {
    margin-bottom: 30px;
    font-size: 18px;
  }
  
  .proof-flow-content {
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }
  
  .proof-flow-live {
    width: 100%;
    max-width: 340px;
    min-width: auto;
  }
  
  .proof-flow-credentials {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 35px;
    padding-top: 25px;
  }
  
  .credential-item {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .proof-flow-number {
    font-size: 48px;
  }
  
  .proof-flow-label {
    font-size: 10px;
  }
  
  .proof-flow-credentials {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ============================================
   Appointment Card Demo
   ============================================ */
.appointment-card-demo {
  background-color: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 280px;
  position: relative;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.appointment-header {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.appointment-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.appointment-time {
  font-size: 14px;
  opacity: 0.9;
}

.appointment-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ============================================
   Notification Demo
   ============================================ */
.notification-demo {
  background-color: rgba(139, 92, 246, 0.9);
  color: white;
  padding: 16px;
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.notification-logo {
  font-weight: 700;
  font-size: 14px;
}

.notification-time {
  font-size: 12px;
  opacity: 0.8;
}

.notification-text {
  font-size: 14px;
  line-height: 1.4;
}

/* ============================================
   Growth Chart Demo
   ============================================ */
.growth-chart-demo {
  width: 100%;
  max-width: 300px;
}

.chart-svg {
  width: 100%;
  height: auto;
  color: var(--accent-green);
}

/* ============================================
   Bento Grid Section (Flighty-style)
   ============================================ */
.bento-section {
  padding: 20px 0 var(--section-padding);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card Base Styles - Flighty-style refined cards */
.bento-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

/* Light Theme Styles */
.theme-light .bento-card {
  background: #F5F5F7;
  backdrop-filter: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-light .bento-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bento-card-large {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 500px;
}

.bento-card-small {
  grid-column: span 1;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Typography */
.bento-card-content {
  z-index: 5;
  position: relative;
  max-width: 450px;
}

.bento-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: #ffffff;
}

.bento-subtitle {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.bento-accent-green {
  color: #34C759;
}

.bento-description {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Light Theme Typography */
.theme-light .bento-title {
  color: #1d1d1f;
}

.theme-light .bento-subtitle {
  color: #1d1d1f;
}

.theme-light .bento-description {
  color: #666666;
}

/* Action Button */
.bento-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 12px 24px;
  background: #007AFF;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
}

.bento-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
}

.bento-action-btn .btn-icon {
  font-size: 18px;
}

/* iPhone Container */
.bento-iphone-container {
  width: 300px;
  height: 500px;
  position: absolute;
  bottom: -50px;
  right: 50px;
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.bento-iphone-body {
  width: 100%;
  height: 100%;
  background: #000;
  border: 8px solid #222;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.bento-iphone-notch {
  width: 90px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.bento-iphone-screen {
  flex: 1;
  background: #000;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
}

.bento-chat-header {
  padding: 0 20px 10px 20px;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.bento-back-arrow {
  color: #007AFF;
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.bento-bot-tag {
  font-size: 10px;
  background: #333;
  padding: 2px 6px;
  border-radius: 4px;
  color: #999;
  margin-left: 4px;
}

.bento-chat-feed {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scrollbar-width: none;
}

.bento-chat-feed::-webkit-scrollbar {
  display: none;
}

/* Chat Bubbles */
.bento-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.bento-bubble.show {
  opacity: 1;
  transform: translateY(0);
}

.bento-bubble.agent {
  align-self: flex-start;
  background: #2C2C2E;
  color: #fff;
  margin-bottom: 4px;
}

.bento-bubble.user {
  align-self: flex-end;
  background: #007AFF;
  color: #fff;
}

.bento-msg-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 6px;
  float: right;
  margin-top: 4px;
}

/* Specialty Pills - Refined for dark theme */
.bento-specialty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.bento-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Light Theme Pills */
.theme-light .bento-pill {
  background: #FFFFFF;
  backdrop-filter: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-light .bento-pill:hover {
  background: #F5F5F7;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bento-specialty-pills.animate-in .bento-pill {
  opacity: 1;
  transform: translateY(0);
}

.bento-specialty-pills.animate-in .bento-pill:nth-child(1) {
  transition-delay: 0.1s;
}

.bento-specialty-pills.animate-in .bento-pill:nth-child(2) {
  transition-delay: 0.2s;
}

.bento-specialty-pills.animate-in .bento-pill:nth-child(3) {
  transition-delay: 0.3s;
}

.bento-specialty-pills.animate-in .bento-pill:nth-child(4) {
  transition-delay: 0.4s;
}

/* Clock Visual - Refined for dark theme */
.bento-clock-visual {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: fit-content;
  margin: 30px auto 0 auto;
}

.bento-digital-clock {
  font-size: 42px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  letter-spacing: -2px;
}

.bento-status-badge {
  margin-top: 8px;
  color: #34C759;
  background: rgba(52, 199, 89, 0.1);
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

/* Light Theme Clock */
.theme-light .bento-clock-visual {
  background: #FFFFFF;
  backdrop-filter: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.theme-light .bento-digital-clock {
  color: #1d1d1f;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .bento-section {
    padding: 20px 0 var(--section-padding);
  }

  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .bento-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 40px 30px !important;
  }
  
  .theme-light .bento-card {
    background: #F5F5F7 !important;
  }

  .bento-card-large {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 0 !important;
  }

  .bento-card-small {
    display: block !important;
  }

  .bento-card-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 40px !important;
    display: block;
  }

  .bento-title {
    font-size: 28px;
  }

  .bento-subtitle {
    font-size: 22px;
  }

  .bento-description {
    font-size: 16px;
    width: 100%;
  }

  .bento-iphone-container {
    position: relative;
    bottom: -50px;
    right: auto;
    margin: 0 auto;
    transform: none;
    height: 400px;
    width: 280px;
  }

  .bento-iphone-body {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .bento-clock-visual {
    margin: 0 auto;
    display: table;
  }

  .bento-specialty-pills {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }

  .bento-action-btn {
    width: 100%;
    justify-content: center;
  }
}

.section-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 32px;
  color: var(--text-secondary-light);
}

.theme-dark .section-description {
  color: var(--text-secondary-dark);
}

.btn-icon {
  font-size: 20px;
}

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

/* ============================================
   Revenue Capabilities Grid (Flighty-style 2x2)
   ============================================ */
#revenue {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.revenue-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 60px auto 0;
}

/* Card Base Styles */
.revenue-card {
  position: relative;
  background: #0d0d0e;
  border-radius: 32px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.revenue-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.revenue-card-content {
  padding: 40px;
  z-index: 10;
}

.revenue-card-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #ffffff;
}

.revenue-card-description {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* Visual Area */
.revenue-card-visual {
  flex: 1;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.revenue-visual-center {
  align-items: center;
}

.revenue-visual-bottom {
  align-items: flex-end;
  padding-bottom: 40px;
}

/* Glow Effects */
.revenue-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.revenue-glow-orange {
  background: #FF5500;
  top: 20%;
  left: -50px;
}

.revenue-glow-purple {
  background: #BF5AF2;
  top: 10%;
  right: -50px;
}

.revenue-glow-red {
  background: #FF3B30;
  bottom: -100px;
  left: -50px;
}

.revenue-glow-blue {
  background: #0A84FF;
  bottom: -100px;
  right: -50px;
}

/* Card 1: Reactivation UI Stack */
.revenue-ui-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 5;
  width: 80%;
}

.revenue-glass-row {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.revenue-float-1 {
  transform: translateX(20px);
}

.revenue-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.revenue-icon-orange {
  background: #FF9500;
}

.revenue-icon-green {
  background: #34C759;
}

.revenue-row-text {
  flex: 1;
  min-width: 0;
}

.revenue-row-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.revenue-row-sub {
  font-size: 11px;
  color: #ccc;
  margin-top: 2px;
}

.revenue-row-stat {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Card 2: Timeline UI */
.revenue-timeline-ui {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
  z-index: 5;
}

.revenue-timeline-ui::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 30px;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.revenue-timeline-item {
  position: relative;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.revenue-timeline-dimmed {
  opacity: 0.5;
}

.revenue-time-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  position: absolute;
  left: -20px;
  border: 2px solid #000;
}

.revenue-time-dot-active {
  background: #BF5AF2;
  box-shadow: 0 0 10px #BF5AF2;
}

.revenue-time-dot-success {
  background: #34C759;
  box-shadow: 0 0 10px #34C759;
}

.revenue-time-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  min-width: 180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}

.revenue-time-card-highlight {
  background: rgba(191, 90, 242, 0.2);
  color: #fff;
  border: 1px solid rgba(191, 90, 242, 0.4);
}

.revenue-time-card-success {
  background: #fff;
  color: #000;
  font-weight: 700;
}

.revenue-time-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.revenue-timestamp {
  font-size: 11px;
  opacity: 0.8;
}

/* Card 3: Night UI */
.revenue-night-ui {
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.revenue-moon-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.revenue-night-clock {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.revenue-night-status {
  font-size: 12px;
  color: #34C759;
  background: rgba(52, 199, 89, 0.1);
  padding: 4px 10px;
  border-radius: 10px;
  display: inline-block;
}

.revenue-status-dot {
  display: inline-block;
  margin-right: 4px;
}

/* Card 4: Filter UI */
.revenue-filter-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  width: 80%;
}

.revenue-filter-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  backdrop-filter: blur(5px);
}

.revenue-filter-reject {
  background: rgba(255, 59, 48, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 59, 48, 0.2);
  opacity: 0.5;
}

.revenue-filter-accept {
  background: #fff;
  color: #000;
  font-size: 14px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.revenue-filter-icon {
  font-weight: 800;
  font-size: 14px;
}

.revenue-filter-text {
  flex: 1;
}

.revenue-filter-tag {
  font-size: 9px;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .revenue-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .revenue-card {
    min-height: 450px;
  }

  .revenue-card-content {
    padding: 30px 25px;
  }

  .revenue-card-title {
    font-size: 24px;
  }

  .revenue-card-description {
    font-size: 15px;
  }
}

/* ============================================
   Live Demo Section
   ============================================ */
.demo-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--accent-purple);
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  animation: pulse 2s ease-in-out infinite;
}

.demo-visual {
  margin: 40px 0;
  position: relative;
}

.demo-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
  position: relative;
}

.avatar-circle::before {
  content: '👩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
}

.audio-visualizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.audio-bar {
  width: 4px;
  background-color: white;
  border-radius: 2px;
  animation: audioWave 1.5s ease-in-out infinite;
}

.audio-bar:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}

.audio-bar:nth-child(2) {
  height: 30px;
  animation-delay: 0.2s;
}

.audio-bar:nth-child(3) {
  height: 25px;
  animation-delay: 0.4s;
}

.audio-bar:nth-child(4) {
  height: 35px;
  animation-delay: 0.6s;
}

@keyframes audioWave {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.try-asking {
  margin: 32px 0;
}

.try-asking-label {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.example-questions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.example-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-base);
}

.example-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-demo-call {
  background-color: white;
  color: var(--bg-dark);
  border-color: white;
  padding: 16px 32px;
  font-size: 18px;
  margin-top: 32px;
}

.btn-demo-call::before {
  content: '📞';
  margin-right: 8px;
}

/* ============================================
   Setup Steps Section (Flighty-style)
   ============================================ */
.setup-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.setup-card {
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 24px;
  flex: 1;
  position: relative;
  transition: all 0.3s ease;
}

.setup-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.setup-card-highlight {
  background: linear-gradient(145deg, #0d0d0e 0%, #111a13 100%);
  border-color: rgba(52, 199, 89, 0.3);
  box-shadow: 0 10px 40px rgba(52, 199, 89, 0.05);
}

.setup-card-highlight:hover {
  border-color: rgba(52, 199, 89, 0.5);
  box-shadow: 0 15px 50px rgba(52, 199, 89, 0.1);
}

.setup-step-badge {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  border: 1px solid #333;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 25px;
  background: #000;
}

.setup-card-highlight .setup-step-badge {
  color: #34C759;
  border-color: rgba(52, 199, 89, 0.3);
  background: rgba(52, 199, 89, 0.1);
}

.setup-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.3px;
}

.setup-card-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.setup-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  flex-shrink: 0;
  padding: 0 10px;
}

/* Setup CTA Section */
.setup-cta-section {
  text-align: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.setup-pricing-teaser {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.setup-pricing-teaser strong {
  color: #ffffff;
  font-weight: 700;
}

.setup-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-setup-primary {
  background: #007AFF;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
  cursor: pointer;
}

.btn-setup-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
  background: #0051D5;
}

.btn-setup-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-setup-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .trust-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 14px;
  }
  
  .trust-logo-item {
    font-size: 12px;
  }
  
  .features-2x2 {
    grid-template-columns: 1fr;
  }
  
  .chat-section {
    grid-template-columns: 1fr;
  }
  
  .setup-steps {
    flex-direction: column;
    gap: 20px;
  }
  
  .setup-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .setup-cta-section {
    margin-top: 60px;
    padding-top: 40px;
  }

  .setup-pricing-teaser {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .setup-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-setup-primary,
  .btn-setup-secondary {
    width: 100%;
    justify-content: center;
  }
  
  /* Phone Notifications Tablet - Adjust positioning */
  .notification-card.notification-1 {
    top: 15%;
    left: 10px;
  }
  
  .notification-card.notification-3 {
    top: 35%;
    right: 10px;
  }
  
  .notification-card.notification-5 {
    bottom: 20%;
    left: 15px;
  }
  
  .notification-card.notification-6 {
    top: 55%;
    right: 12px;
  }
  
  .notification-card {
    max-width: 180px;
    padding: 7px 11px;
  }
  
  /* Calendar cloud tablet - pull inward for visibility */
  .calendar-cloud.active .appt-1 {
    left: 20px;
    right: auto;
    top: 18%;
  }

  .calendar-cloud.active .appt-2 {
    left: auto;
    right: 20px;
    top: 40%;
  }

  .calendar-cloud.active .appt-3 {
    left: 22px;
    right: auto;
    bottom: 24%;
  }
  
  .appt-card {
    max-width: 160px;
    padding: 7px 12px;
    font-size: 11px;
  }
  
  .appt-card .patient {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  /* Mobile: Scrolled pill takes more width */
  .header.header-scrolled {
    width: calc(100% - 32px);
    max-width: none;
  }
  
  .header-scrolled .nav {
    padding: 10px 16px;
  }
  
  /* Mobile nav links - accordion slide down */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Show nav links when menu is open */
  .nav-links.active {
    max-height: 400px;
    opacity: 1;
    padding: 16px 0;
  }
  
  .nav-links li {
    list-style: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Staggered animation for menu items */
  .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
  
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff !important;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
  }
  
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-toggle {
    display: flex !important;
    z-index: 100;
  }
  
  /* Hide CTA button on mobile to keep pill compact */
  .header .btn-nav {
    display: none;
  }
  
  /* Keep logo text visible on mobile */
  .header-scrolled .logo-text {
    display: inline;
    font-size: 14px;
  }
  
  /* Hide the divider on mobile */
  .header-scrolled .nav-logo::after {
    display: none;
  }
  
  .hero-headline {
    font-size: 36px;
  }
  
  .section-headline {
    font-size: 32px;
  }
  
  .features-2,
  .features-3 {
    grid-template-columns: 1fr;
  }
  
  .phone-mockup {
    width: 250px;
  }
  
  .annotation {
    display: none;
  }
  
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hero Features Mobile */
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 0;
  }
  
  .hero-feature-item {
    padding: 16px;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .feature-text strong {
    font-size: 14px;
  }
  
  .feature-text span {
    font-size: 12px;
  }
  
  /* iPhone Scroll Container Mobile */
  .iphone-scroll-container {
    height: 200vh !important;
  }
  
  /* Simple text positioning for tablet */
  .simple-text-container {
    height: 60px;
  }
  
  .simple-text-bottom {
    bottom: -60px;
  }

  .simple-label {
    font-size: 16px;
    padding: 0 16px;
    line-height: 1.4;
  }
  
  .simple-label .inline-widget {
    font-size: 18px;
  }

  .success-pill, .blue-pill {
    font-size: 12px;
    padding: 3px 8px;
  }
  
  /* Calendar cloud mobile - pull inward for full visibility */
  .calendar-cloud.active .appt-1 {
    left: 25px;
    right: auto;
    top: 15%;
  }

  .calendar-cloud.active .appt-2 {
    left: auto;
    right: 25px;
    top: 35%;
  }

  .calendar-cloud.active .appt-3 {
    left: 28px;
    right: auto;
    bottom: 20%;
  }
  
  /* Match notification card styling */
  .appt-card {
    padding: 6px 10px;
    font-size: 11px;
    max-width: 160px;
    border-radius: 12px;
  }
  
  .appt-card .dot {
    width: 6px;
    height: 6px;
  }
  
  .appt-card .patient {
    font-size: 9px;
  }
  
  /* Phone Notifications Mobile - Show smaller cards */
  .phone-notifications {
    display: block;
  }
  
  .notification-card {
    max-width: 160px;
    padding: 6px 10px;
    gap: 6px;
  }
  
  .notification-avatar,
  .notification-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .notification-title {
    font-size: 11px;
  }
  
  .notification-subtitle {
    font-size: 9px;
  }
  
  /* Adjust positioning for mobile - move left cards further left to avoid overlap */
  .notification-card.notification-1 {
    top: 15%;
    left: 10px;
  }
  
  .notification-card.notification-3 {
    top: 35%;
    right: 10px;
  }
  
  .notification-card.notification-5 {
    bottom: 20%;
    left: 15px;
  }
  
  .notification-card.notification-6 {
    top: 55%;
    right: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
    --container-padding: 16px;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .phone-mockup {
    width: 200px;
  }
  
  /* Extra small mobile - further adjust notification cards */
  .notification-card.notification-1 {
    top: 12%;
    left: 5px;
  }
  
  .notification-card.notification-3 {
    top: 32%;
    right: 5px;
  }
  
  .notification-card.notification-5 {
    bottom: 18%;
    left: 10px;
  }
  
  .notification-card.notification-6 {
    top: 52%;
    right: 5px;
  }
  
  /* Calendar cloud extra small mobile */
  /* Even smaller screens - tighter positioning */
  .simple-text-bottom {
    bottom: -50px;
  }
  
  .simple-label {
    font-size: 14px;
  }
  
  .success-pill, .blue-pill {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .calendar-cloud.active .appt-1 {
    left: 20px;
    right: auto;
    top: 12%;
  }
  
  .calendar-cloud.active .appt-2 {
    left: auto;
    right: 20px;
    top: 32%;
  }
  
  .calendar-cloud.active .appt-3 {
    left: 22px;
    right: auto;
    bottom: 18%;
  }
  
  .appt-card {
    max-width: 140px;
    padding: 5px 8px;
    font-size: 10px;
  }
  
  .appt-card .patient {
    font-size: 8px;
  }
  
  /* Hero Features Small Mobile */
  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-awards {
    gap: 24px;
  }
  
  .award-icon {
    width: 28px;
    height: 28px;
  }
  
  .icon-3d-cube {
    transform: rotateX(-12deg) rotateY(12deg);
  }
  
  .cube-face {
    border-radius: 5px;
  }
  
  .cube-top {
    transform: rotateX(90deg) translateZ(6px);
  }
  
  .cube-front {
    transform: translateZ(6px);
  }
  
  .cube-right {
    transform: rotateY(90deg) translateZ(6px);
  }
  
  .award-title {
    font-size: 12px;
  }
  
  .award-year {
    font-size: 10px;
  }
  
  .iphone-sticky-wrapper {
    margin-top: -100px;
  }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Pricing Page Styles (SaaS Structure)
   ============================================ */

/* Eyebrow labels - matches How It Works */
.pricing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  text-align: center;
}

.pricing-activate-inner .pricing-eyebrow,
.acquisition-text .pricing-eyebrow {
  text-align: center;
}

.acquisition-text .pricing-eyebrow {
  text-align: left;
}

/* Section 1: Hero - spacing matches How It Works */
#pricing-hero {
  padding-top: 200px;
  padding-bottom: var(--section-padding);
  background-color: #0a0a0a;
}

.pricing-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.pricing-hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.pricing-hero-subheadline {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Section 2: Simple Pricing */
#pricing-summary {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.pricing-summary-block {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-summary-block .pricing-eyebrow {
  margin-bottom: 12px;
}

.pricing-summary-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
}

.pricing-summary-context {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-bottom: 32px;
}

.pricing-section-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #ffffff;
}

.simple-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 20px;
}

.simple-pricing-col {
  display: block;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.simple-pricing-col:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.simple-pricing-col:active {
  transform: translateY(0);
  box-shadow: none;
}

.simple-pricing-cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.simple-pricing-col:hover .simple-pricing-cta {
  color: rgba(255, 255, 255, 0.9);
}

.simple-pricing-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.simple-pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.simple-pricing-price-note {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

.simple-pricing-scale {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.simple-pricing-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.simple-pricing-micro {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

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

/* Section 3: Activate Platform */
#pricing-activate {
  padding: var(--section-padding) 0;
  background: #0e1012;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-activate-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.pricing-activate-inner .pricing-eyebrow {
  margin-bottom: 12px;
}

.pricing-activate-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.pricing-activate-desc {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.pricing-activate-outcome {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-bottom: 32px;
}

.btn-pricing-activate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  background: #34C759;
  color: #000000;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-pricing-activate:hover {
  background: #2db84e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4);
}

.pricing-activate-notes {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
  margin-bottom: 8px;
}

.pricing-activate-notes-detail {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.pricing-activate-divider {
  margin-top: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Section 4: What Activation Does */
#activation {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

#activation .container {
  max-width: 820px;
}

#activation .pricing-eyebrow {
  text-align: center;
  margin-bottom: 12px;
}

.activation-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.activation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.activation-grid-item {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

/* Section 5: Patient Acquisition */
#patient-acquisition {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.acquisition-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.acquisition-inner .pricing-eyebrow {
  margin-bottom: 12px;
}

.acquisition-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.acquisition-subheadline {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.acquisition-modules {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
  display: inline-block;
}

.acquisition-modules li {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
}

.acquisition-modules li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
}

.acquisition-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.acquisition-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.acquisition-price {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.acquisition-territory {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* Section 6: How It Comes Together */
#pricing-together {
  padding: var(--section-padding) 0 160px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

#pricing-together .container {
  max-width: 600px;
  text-align: center;
}

.pricing-together-inner {
  margin-bottom: 56px;
}

.pricing-together-inner .pricing-eyebrow {
  margin-bottom: 16px;
}

.pricing-together-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-together-subheadline {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Scenario card */
.pricing-together-scenario {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 56px;
  text-align: left;
}

.pricing-together-scenario-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 28px;
}

.pricing-together-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.pricing-together-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-together-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-together-row-total {
  border-bottom: none;
  padding-top: 20px;
  margin-top: 4px;
}

.pricing-together-row-total .pricing-together-row-name {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.pricing-together-row-total .pricing-together-row-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.pricing-together-row-name {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.pricing-together-row-value {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.pricing-together-row-note {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 3px;
}

.pricing-together-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* CTA */
.pricing-together-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pricing-together-cta-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

@media (max-width: 640px) {
  .pricing-together-scenario {
    padding: 28px 24px;
  }
}

/* Pricing Mobile - matches How It Works breakpoints */
@media (max-width: 768px) {
  #pricing-hero {
    padding-top: 140px;
    padding-bottom: var(--section-padding);
  }
}

@media (max-width: 900px) {
  .pricing-hero-headline {
    font-size: clamp(28px, 6vw, 36px);
  }
  
  .pricing-summary-headline,
  .pricing-activate-headline,
  .activation-headline,
  .acquisition-headline {
    font-size: clamp(22px, 4vw, 28px);
  }
  
  .activation-grid {
    grid-template-columns: 1fr;
  }
  
  .acquisition-modules {
    text-align: left;
  }
}

@media (max-width: 480px) {
  #pricing-hero {
    padding-top: 120px;
  }
  
  .pricing-hero-headline {
    font-size: 28px;
  }
}

/* ============================================
   Social Proof Section (Flighty-style)
   ============================================ */
.proof-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Flighty-Style Appointment Counter Section */
.flighty-appointment-section {
  padding: 80px 20px;
  background: #000000;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.flighty-appointment-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Integrated Card with Animated Glow */
.proof-integrated-card {
  max-width: 1200px;
  margin: 0 auto 50px;
  background: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Animated gradient border glow */
.proof-integrated-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 33px;
  background: linear-gradient(
    var(--glow-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(139, 92, 246, 0.5) 45%,
    rgba(168, 85, 247, 0.8) 50%,
    rgba(139, 92, 246, 0.5) 55%,
    transparent 60%,
    transparent 100%
  );
  z-index: -1;
  animation: glow-rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.proof-integrated-card.glow-active::before {
  opacity: 1;
}

/* Inner background to cover the gradient except the border */
.proof-integrated-card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 31px;
  background: rgba(15, 15, 20, 0.95);
  z-index: -1;
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes glow-rotate {
  0% {
    --glow-angle: 0deg;
  }
  100% {
    --glow-angle: 360deg;
  }
}

/* Fallback for browsers that don't support @property */
@supports not (background: paint(something)) {
  .proof-integrated-card::before {
    background: conic-gradient(
      from var(--glow-angle, 0deg),
      transparent 0deg,
      transparent 140deg,
      rgba(139, 92, 246, 0.4) 160deg,
      rgba(168, 85, 247, 0.7) 180deg,
      rgba(139, 92, 246, 0.4) 200deg,
      transparent 220deg,
      transparent 360deg
    );
    animation: glow-pulse 3s ease-in-out infinite;
  }
  
  @keyframes glow-pulse {
    0%, 100% {
      opacity: 0.5;
      filter: blur(0px);
    }
    50% {
      opacity: 1;
      filter: blur(2px);
    }
  }
}

/* Counter Section */
.proof-counter-section {
  display: flex;
  flex-direction: column;
}

.proof-counter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-counter-icon {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-counter-icon svg {
  width: 100%;
  height: 100%;
}

.proof-counter-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-counter-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.proof-counter-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Counter Display */
.proof-counter-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.proof-counter-number {
  font-size: 72px;
  font-weight: 700;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-counter-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* Live Bookings Section */
.proof-live-section {
  display: flex;
  flex-direction: column;
}

.proof-live-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-live-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-indicator {
  width: 10px;
  height: 10px;
  background: #34C759;
  border-radius: 50%;
  box-shadow: 0 0 12px #34C759;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.proof-live-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 280px;
  max-height: 280px;
  overflow: hidden;
  position: relative;
}

.proof-live-item {
  display: grid;
  grid-template-columns: 100px 1fr 120px;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
}

.proof-live-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.proof-live-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.proof-live-item:last-child {
  border-bottom: none;
}

.proof-live-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.proof-live-details {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 500;
}

.proof-live-location {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

/* Credentials Row */
.proof-credentials-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.credential-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.card-label-saas {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.saas-counter-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.saas-counter-display {
  font-size: 64px;
  font-weight: 700;
  color: var(--saas-text-bright);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 32px 0;
  font-variant-numeric: tabular-nums;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.saas-charts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
}

.chart-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
}

.chart-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.chart-visual {
  height: 60px;
  position: relative;
  overflow: hidden;
}

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

.chart-line-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-line 2s ease-out forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 100%;
}

.bar-item {
  flex: 1;
  background: linear-gradient(180deg, var(--saas-accent-green) 0%, var(--saas-accent-blue) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
  animation: bar-grow-saas 1.5s ease-out forwards;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

.bar-item:nth-child(1) { animation-delay: 0.1s; }
.bar-item:nth-child(2) { animation-delay: 0.2s; }
.bar-item:nth-child(3) { animation-delay: 0.3s; }
.bar-item:nth-child(4) { animation-delay: 0.4s; }
.bar-item:nth-child(5) { animation-delay: 0.5s; }
.bar-item:nth-child(6) { animation-delay: 0.6s; }
.bar-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes bar-grow-saas {
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Live Feed */
.live-pulse-saas {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px #34C759;
  animation: pulse-saas 2s ease-in-out infinite;
}

@keyframes pulse-saas {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.9);
  }
}

.saas-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: flex-start;
  min-height: 240px;
  max-height: 240px;
  overflow: hidden;
  position: relative;
}


/* Metrics Wheel */
.metrics-wheel {
  width: 140px;
  height: 140px;
  margin: 20px auto;
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.saas-proof-section.visible .metrics-wheel {
  opacity: 1;
  transform: scale(1);
}

.wheel-segment {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wheel-spin 2s ease-out forwards;
  opacity: 0;
}

.saas-proof-section.visible .wheel-segment {
  opacity: 1;
}

.segment-1 {
  background: conic-gradient(from 0deg, var(--saas-accent-blue) 0deg 151deg, transparent 151deg);
  animation-delay: 0.5s;
}

.segment-2 {
  background: conic-gradient(from 151deg, var(--saas-accent-purple) 151deg 252deg, transparent 252deg);
  animation-delay: 0.7s;
}

.segment-3 {
  background: conic-gradient(from 252deg, var(--saas-accent-green) 252deg 360deg, transparent 360deg);
  animation-delay: 0.9s;
}

.segment-label {
  position: absolute;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.segment-1 .segment-label {
  transform: translate(30px, -50px);
}

.segment-2 .segment-label {
  transform: translate(-30px, -50px);
}

.segment-3 .segment-label {
  transform: translate(0, 50px);
}

@keyframes wheel-spin {
  from {
    transform: rotate(0deg);
    opacity: 0;
  }
  to {
    transform: rotate(360deg);
    opacity: 1;
  }
}

/* Standalone Credentials Section */
.proof-credentials-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.flighty-appointment-section.visible .proof-credentials-section {
  opacity: 1;
  transform: translateY(0);
}

.credential-badge {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.credential-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.proof-flip-counter {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.proof-unified-section.visible .proof-flip-counter {
  opacity: 1;
  transform: scale(1);
}


.proof-revenue-arc-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.proof-unified-section.visible .proof-revenue-arc-wrapper {
  opacity: 1;
  transform: scale(1);
}

.proof-revenue-arc {
  width: 100%;
  height: 100%;
}

.arc-background {
  opacity: 0.15;
}

.arc-progress {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-revenue-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  z-index: 10;
}

.proof-milestones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.6s;
}

.proof-unified-section.visible .proof-milestones {
  opacity: 1;
  transform: translateY(0);
}

.milestone {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  cursor: default;
}

.milestone.active {
  color: #007AFF;
  font-size: 12px;
  transform: scale(1.1);
}

/* SaaS Booking Background for Appointments */
.proof-stat-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  pointer-events: none;
}

.proof-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 20px;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
}

.calendar-day {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-day.active {
  background: rgba(52, 199, 89, 0.3);
  border-color: rgba(52, 199, 89, 0.5);
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.3);
}

.proof-booking-slots {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-slot {
  height: 8px;
  background: rgba(52, 199, 89, 0.4);
  border-radius: 4px;
  animation: slot-pulse 2s ease-in-out infinite;
}

.booking-slot:nth-child(1) {
  width: 60%;
  animation-delay: 0s;
}

.booking-slot:nth-child(2) {
  width: 80%;
  animation-delay: 0.3s;
}

.booking-slot:nth-child(3) {
  width: 45%;
  animation-delay: 0.6s;
}

@keyframes slot-pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

/* Revenue Chart Background */
.proof-revenue-chart {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  background: rgba(0, 122, 255, 0.4);
  border-radius: 4px 4px 0 0;
  animation: bar-grow 2s ease-in-out infinite;
}

.chart-bar:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.chart-bar:nth-child(2) {
  height: 60%;
  animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
  height: 80%;
  animation-delay: 0.4s;
}

.chart-bar:nth-child(4) {
  height: 100%;
  animation-delay: 0.6s;
}

.chart-bar:nth-child(5) {
  height: 70%;
  animation-delay: 0.8s;
}

.chart-bar:nth-child(6) {
  height: 90%;
  animation-delay: 1s;
}

@keyframes bar-grow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

.proof-revenue-lines {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
}

.revenue-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.3), transparent);
  margin-bottom: 20px;
  animation: line-scan 3s linear infinite;
}

.revenue-line:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes line-scan {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.proof-stat-content {
  text-align: center;
  z-index: 10;
  position: relative;
}

.proof-number {
  font-size: 64px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -2px;
  margin-bottom: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.proof-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 8px;
}

.proof-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.proof-stat-particles {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}

.particle {
  font-size: 16px;
  color: #34C759;
  opacity: 0;
  animation: particle-pop 2s ease-in-out infinite;
}

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

.particle:nth-child(2) {
  animation-delay: 0.7s;
}

.particle:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes particle-pop {
  0%, 100% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) translateY(-10px);
  }
}

.proof-stat-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.proof-stat-revenue:hover .proof-stat-glow {
  opacity: 1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Calendar Section */
.proof-calendar-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.proof-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.proof-calendar-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.proof-calendar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 12px;
}

.proof-calendar-container {
  position: relative;
  min-height: 320px;
}

.proof-calendar-grid-view {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  opacity: 0.3;
}

.proof-calendar-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
}

.proof-calendar-day-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.proof-calendar-day-cell.today {
  background: rgba(52, 199, 89, 0.1);
  border-color: rgba(52, 199, 89, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.proof-calendar-pills {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34C759;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.status-text {
  font-size: 12px;
  color: #34C759;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proof-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

/* Calendar Pill Cards (Hero-style) */
.proof-calendar-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.proof-calendar-pill.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.proof-calendar-pill-name {
  font-weight: 700;
}

.proof-calendar-pill-specialty {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.proof-calendar-pill-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}

.proof-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.proof-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.proof-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.proof-badge-icon {
  font-size: 18px;
}

.proof-badge-text {
  font-weight: 500;
}

/* Mobile Responsiveness for Proof Section */
@media (max-width: 768px) {
  .proof-section {
    padding: 60px 20px;
  }

  .flighty-proof-section {
    padding: 30px 15px 60px;
  }

  .bento-grid-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .proof-credentials-section {
    gap: 16px;
    padding: 30px 15px 0;
  }

  .credential-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .flighty-appointment-section {
    padding: 60px 15px;
  }

  .proof-integrated-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }

  .proof-counter-number {
    font-size: 48px;
  }

  .proof-counter-label {
    font-size: 12px;
  }

  .proof-counter-header {
    margin-bottom: 30px;
    padding-bottom: 16px;
  }

  .proof-counter-title {
    font-size: 16px;
  }

  .proof-counter-subtitle {
    font-size: 12px;
  }

  .proof-live-list {
    min-height: 200px;
    max-height: 200px;
  }

  .proof-live-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .proof-live-time {
    font-size: 11px;
  }

  .proof-live-details {
    font-size: 14px;
    margin: 4px 0;
  }

  .proof-live-location {
    text-align: left;
    font-size: 12px;
    margin-top: 2px;
  }

  .proof-credentials-row {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .credential-badge {
    font-size: 13px;
  }

  .proof-label {
    font-size: 16px;
  }

  .proof-subtext {
    font-size: 13px;
  }

  .proof-calendar-section {
    padding: 30px 20px;
    min-height: 350px;
  }

  .proof-calendar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .proof-calendar-container {
    min-height: 280px;
  }

  .proof-calendar-pill {
    font-size: 12px;
    padding: 8px 12px;
  }

  .proof-calendar-pill-name {
    font-size: 12px;
  }

  .proof-calendar-pill-specialty {
    font-size: 11px;
  }

  .proof-calendar-pill-time {
    font-size: 10px;
  }

  .proof-badges {
    gap: 16px;
  }

  .proof-badge {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* =========================================
   TESTIMONIALS SECTION (Flighty Style)
   ========================================= */
.testimonials-section {
  padding: 100px 20px;
  background: #FFFFFF;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.testimonials-headline {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 60px;
  max-width: 900px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.testimonial-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-bottom: 80px;
}

/* Masonry Column Layout - All 12 cards in one container */
.testimonial-columns {
  column-count: 3;
  column-gap: 24px;
  max-height: 850px; /* Show 2 full rows (6 cards) - increased to ensure all visible */
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-columns > .testimonial-card {
  break-inside: avoid;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-placeholder {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.testimonial-author {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.author-title {
  font-size: 13px;
  color: #86868b;
  font-weight: 400;
}

.testimonial-rating {
  margin-bottom: 8px;
}

.star {
  color: #ffc107;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-meta {
  font-size: 13px;
  color: #86868b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-separator {
  color: #86868b;
}

.testimonial-title {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.5;
  color: #1d1d1f;
  margin: 0;
}

.testimonial-subtitle {
  font-size: 14px;
  color: #86868b;
  font-weight: 500;
  margin-top: 12px;
  font-style: italic;
}

.testimonial-highlight {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
}


.testimonial-nested {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-nested .testimonial-header {
  margin-bottom: 12px;
}

.testimonial-nested .testimonial-avatar {
  width: 40px;
  height: 40px;
}

.testimonial-nested .avatar-placeholder {
  font-size: 14px;
}

.testimonial-nested .author-name {
  font-size: 15px;
}

.testimonial-nested .author-title {
  font-size: 12px;
}

.testimonial-nested .testimonial-text {
  font-size: 14px;
}

/* Fade Overlay */
.reveal-overlay {
  position: absolute;
  top: 390px; /* Start near bottom of row 2 */
  bottom: 100px; /* End above the button - aligned with card bottom */
  left: 0;
  right: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 10;
  overflow: hidden;
}

.reveal-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 0, 0, 0.2) 15%, 
    rgba(0, 0, 0, 0.5) 35%, 
    rgba(0, 0, 0, 0.8) 60%, 
    rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 0, 0, 0.2) 15%, 
    rgba(0, 0, 0, 0.5) 35%, 
    rgba(0, 0, 0, 0.8) 60%, 
    rgba(0, 0, 0, 1) 100%);
}

.reveal-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.15) 20%, 
    rgba(255, 255, 255, 0.4) 45%, 
    rgba(255, 255, 255, 0.7) 70%, 
    rgba(255, 255, 255, 0.9) 90%,
    rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

/* Floating Toggle Button */
.floating-toggle-container {
  position: absolute;
  bottom: 60px; /* Aligned with bottom of Dr. James Davis card (middle card, second row) */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 20;
  width: 100%;
  pointer-events: none;
}

.flighty-toggle {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #1d1d1f;
  padding: 10px 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  pointer-events: all;
  transition: all 0.3s ease;
}

.flighty-toggle:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.chevron {
  font-size: 14px;
  transition: transform 0.3s ease;
  display: inline-block;
  color: #86868b;
  margin-left: 4px;
}

/* Expanded State */
.is-expanded .testimonial-columns {
  max-height: 5000px; /* Show all 12 cards */
}

.is-expanded .reveal-overlay {
  opacity: 0;
}

.is-expanded .chevron {
  transform: rotate(180deg);
}


.cta-button {
  background: #FFFFFF;
  color: #1d1d1f;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .testimonials-headline {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .testimonial-columns,
  .testimonial-columns-continued {
    column-count: 2;
    column-gap: 20px;
  }
}

@media (max-width: 640px) {
  .testimonials-section {
    padding: 60px 16px;
  }

  .testimonials-headline {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .testimonial-columns,
  .testimonial-columns-continued {
    column-count: 1;
    column-gap: 20px;
    max-height: 900px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .floating-toggle-container {
    bottom: 20px;
    margin-top: -60px;
  }

  .flighty-toggle {
    padding: 10px 20px;
    font-size: 14px;
  }

  .reveal-overlay {
    top: 600px;
    bottom: 60px;
    height: auto;
  }
  
  .is-expanded .testimonial-columns {
    max-height: 10000px;
  }
}

/* ============================================
   Footer Styles (Global) - Flighty-inspired
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0a0a0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  padding-right: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  font-size: 16px;
  border-radius: 10px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.social-icon:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.tagline-flag {
  font-size: 16px;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 30px;
  }
  
  .footer-brand {
    padding-right: 20px;
  }
  
  .footer-column-title {
    font-size: 12px;
  }
  
  .footer-link {
    font-size: 13px;
  }
  
  .footer-tagline {
    flex-wrap: wrap;
    text-align: center;
    margin-top: 40px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 16px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 8px;
  }
  
  .footer-logo {
    justify-content: flex-start;
  }
  
  .footer-column-title {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .footer-link {
    font-size: 12px;
  }
  
  .footer-column {
    gap: 8px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }

/* ============================================
   How It Works Page Styles
   ============================================ */

/* Hero Section */
.hiw-hero {
  padding-top: 200px;
  padding-bottom: var(--section-padding);
  background-color: #0a0a0a;
}

.hiw-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hiw-hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hiw-hero-subheadline {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Hero Visual Flow */
.hiw-hero-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.flow-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.flow-icon-highlight {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #8B5CF6;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.flow-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.2);
  padding: 0 10px;
}

/* Eyebrow Text */
.hiw-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

/* Process Section */
#hiw-process {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.hiw-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.hiw-process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.hiw-process-card-highlight {
  background: rgba(52, 199, 89, 0.05);
  border-color: rgba(52, 199, 89, 0.2);
}

.hiw-process-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.hiw-process-number {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}

.hiw-process-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-dot-active {
  background: #34C759;
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.5);
}

.timeline-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  margin-top: 8px;
}

.hiw-process-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.hiw-process-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.hiw-process-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hiw-process-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
}

.hiw-process-checklist .check {
  color: #34C759;
  font-weight: 600;
}

/* Capabilities Section */
#hiw-capabilities {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.hiw-capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hiw-capability-row:last-child {
  border-bottom: none;
}

.hiw-capability-row-reverse {
  direction: rtl;
}

.hiw-capability-row-reverse > * {
  direction: ltr;
}

.hiw-capability-content {
  max-width: 480px;
}

.hiw-capability-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  margin-bottom: 16px;
}

.hiw-badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8B5CF6;
}

.hiw-badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3B82F6;
}

.hiw-badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.hiw-badge-green {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

.hiw-capability-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hiw-capability-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.hiw-capability-stats {
  display: flex;
  gap: 40px;
}

.hiw-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiw-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.hiw-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hiw-capability-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hiw-feature-tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Capability Visual Cards */
.hiw-capability-visual {
  display: flex;
  justify-content: center;
}

.hiw-capability-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
}

/* Chat Bubbles */
.capability-chat-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.capability-chat-ai {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-bottom-left-radius: 4px;
}

.capability-chat-patient {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-bottom-right-radius: 4px;
  margin-left: 40px;
}

.chat-sender {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.capability-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 10px;
  margin-top: 16px;
}

.result-icon {
  color: #34C759;
  font-weight: 700;
}

.result-text {
  font-size: 13px;
  font-weight: 600;
  color: #34C759;
}

/* Timeline Card */
.hiw-card-timeline {
  padding: 20px;
}

.timeline-event {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-event:last-child {
  border-bottom: none;
}

.timeline-time {
  font-size: 12px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.4);
  width: 90px;
  flex-shrink: 0;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.timeline-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.timeline-event-highlight .timeline-label {
  color: #8B5CF6;
}

.timeline-event-success .timeline-label {
  color: #34C759;
}

/* Filter Card */
.hiw-card-filter {
  padding: 20px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-item:last-child {
  margin-bottom: 0;
}

.filter-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.filter-rejected .filter-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.filter-accepted .filter-icon {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.filter-rejected .filter-label {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
}

.filter-accepted {
  background: rgba(52, 199, 89, 0.05);
  border-color: rgba(52, 199, 89, 0.2);
}

.filter-tag {
  font-size: 11px;
  color: #34C759;
  font-weight: 500;
}

/* Email Card */
.hiw-card-email {
  padding: 0;
  overflow: hidden;
}

.email-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.email-icon {
  font-size: 24px;
}

.email-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.email-from {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.email-subject {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.email-body {
  padding: 20px;
}

.email-field {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.email-field:last-child {
  border-bottom: none;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  width: 80px;
  flex-shrink: 0;
}

.field-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Requirements Section */
#hiw-requirements {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.hiw-requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.hiw-requirement-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.hiw-requirement-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.requirement-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.7);
}

.requirement-icon-optional {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.4);
}

.requirement-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.optional-tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-left: 6px;
}

.requirement-description {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.requirement-time {
  font-size: 12px;
  font-weight: 600;
  color: rgba(139, 92, 246, 0.8);
}

.hiw-requirements-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 50px;
  padding: 20px 32px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.total-icon {
  font-size: 24px;
}

.total-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.total-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.total-value {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* FAQ Section */
#hiw-faq {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: rgba(255, 255, 255, 0.8);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* CTA Section */
#hiw-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #0a0a0a;
}

.hiw-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hiw-cta-headline {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hiw-cta-subheadline {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.hiw-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hiw-primary {
  padding: 16px 32px;
  font-size: 16px;
  background: #34C759;
  border-color: #34C759;
  color: #000;
  cursor: pointer;
}

.btn-hiw-primary:hover {
  background: #2db84e;
  border-color: #2db84e;
  box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4);
}

.btn-hiw-secondary {
  padding: 16px 32px;
  font-size: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
}

.btn-hiw-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.hiw-cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hiw-cta-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hiw-cta-trust .trust-item svg {
  color: #34C759;
}

/* Mobile Responsive - How It Works */
@media (max-width: 1024px) {
  .hiw-process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hiw-capability-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hiw-capability-row-reverse {
    direction: ltr;
  }
  
  .hiw-capability-content {
    max-width: 100%;
  }
  
  .hiw-requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hiw-hero {
    padding-top: 140px;
    padding-bottom: var(--section-padding);
  }
  
  .hiw-hero-flow {
    flex-direction: column;
    gap: 24px;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
  
  .hiw-capability-title {
    font-size: 26px;
  }
  
  .hiw-capability-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .hiw-requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .hiw-cta-buttons {
    flex-direction: column;
  }
  
  .btn-hiw-primary,
  .btn-hiw-secondary {
    width: 100%;
  }
  
  .hiw-cta-trust {
    flex-direction: column;
    gap: 16px;
  }
  
  .capability-chat-patient {
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  .hiw-hero-headline {
    font-size: 28px;
  }
  
  .flow-icon {
    width: 60px;
    height: 60px;
  }
  
  .flow-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .hiw-process-card {
    padding: 24px;
  }
  
  .hiw-capability-card {
    padding: 16px;
  }
  
  .hiw-requirement-card {
    padding: 24px 20px;
  }
  
  .faq-question {
    font-size: 15px;
  }
}

/* ============================================
   Lead Capture Modal
   ============================================ */
.lead-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.lead-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lead-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.lead-modal.active .lead-modal-overlay {
  pointer-events: auto;
}

.lead-modal-content {
  position: relative;
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  background: rgba(20, 20, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10001;
}

.lead-modal.active .lead-modal-content {
  transform: scale(1) translateY(0);
}

.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10002;
}

.lead-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lead-modal-close svg {
  width: 18px;
  height: 18px;
}

.lead-modal-header {
  padding: 40px 40px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lead-modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.lead-modal-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.lead-modal-body {
  padding: 32px 40px 40px;
}

.ghl-form-container {
  margin-bottom: 32px;
  min-height: 575px;
  width: 100%;
  overflow: hidden;
}

.ghl-form-container iframe {
  width: 100%;
  height: 575px;
  border: none;
  border-radius: 20px;
  display: block;
}

.form-placeholder {
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.lead-modal-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: rgba(52, 199, 89, 0.8);
  flex-shrink: 0;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .lead-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }
  
  .lead-modal-header {
    padding: 32px 24px 20px;
  }
  
  .lead-modal-title {
    font-size: 26px;
  }
  
  .lead-modal-subtitle {
    font-size: 15px;
  }
  
  .lead-modal-body {
    padding: 24px;
  }
  
  .lead-modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
  
  .lead-modal-trust {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .trust-item {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .lead-modal-content {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .lead-modal-header {
    padding: 28px 20px 16px;
  }
  
  .lead-modal-title {
    font-size: 24px;
  }
  
  .lead-modal-body {
    padding: 20px;
  }
}

/* ============================================
   Privacy Policy Page
   ============================================ */
#privacy-policy {
  padding-top: 160px;
  padding-bottom: 120px;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.privacy-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.privacy-effective-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-intro {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-section {
  margin-bottom: 48px;
}

.privacy-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px;
  padding-top: 8px;
  line-height: 1.3;
}

.privacy-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 32px 0 16px;
  line-height: 1.4;
}

.privacy-section p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.75);
}

.privacy-section ul {
  margin: 16px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.privacy-section ol {
  margin: 16px 0;
  padding-left: 28px;
  list-style-type: decimal;
}

.privacy-section li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.privacy-section a {
  color: rgba(139, 92, 246, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.privacy-section a:hover {
  color: rgba(139, 92, 246, 1);
}

.privacy-contact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.privacy-contact p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-contact strong {
  color: #ffffff;
  font-weight: 600;
}

.privacy-contact a {
  color: rgba(139, 92, 246, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #privacy-policy {
    padding-top: 140px;
    padding-bottom: 80px;
  }
  
  .privacy-title {
    font-size: 36px;
  }
  
  .privacy-intro {
    font-size: 16px;
  }
  
  .privacy-section h2 {
    font-size: 24px;
  }
  
  .privacy-section h3 {
    font-size: 18px;
  }
  
  .privacy-section p,
  .privacy-section li {
    font-size: 15px;
  }
  
  .privacy-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  #privacy-policy {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .privacy-title {
    font-size: 32px;
  }
  
  .privacy-section h2 {
    font-size: 22px;
  }
  
  .privacy-section h3 {
    font-size: 17px;
  }
  
  .privacy-content {
    padding: 0 16px;
  }
  
  .privacy-contact {
    padding: 20px;
  }
}

/* Terms of Service uses same styling as Privacy Policy */
#terms-of-service {
  padding-top: 160px;
  padding-bottom: 120px;
}

/* Support pages — getting-started, appointment-records, developers, billing */
#getting-started,
#appointment-records,
#developers,
#billing-guide {
  padding-top: 180px;
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  #getting-started,
  #appointment-records,
  #developers,
  #billing-guide {
    padding-top: 160px;
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  #getting-started,
  #appointment-records,
  #developers,
  #billing-guide {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  #terms-of-service {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  #terms-of-service {
    padding-top: 120px;
    padding-bottom: 60px;
  }
}
