/* ============================================
   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: 80px;
  --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;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-dark .header {
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--text-light);
  color: var(--bg-light);
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  transition: opacity var(--transition-fast);
}

.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);
}

/* ============================================
   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;
}

.btn-nav {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}

.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: auto;
  height: auto;
  display: inline-block;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
}

.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-top {
  top: 12vh;
}

.simple-text-bottom {
  bottom: -10vh;
}

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

.simple-label {
  position: relative;
  width: 100%;
  text-align: center;
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: 500;
  color: #111111;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  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(0);
}

/* Second label (slide-1) - white text */
.simple-label.slide-1.active {
  color: rgba(255, 255, 255, 0.95) !important;
  opacity: 1;
  transform: translateY(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: #111111 !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: #111111 !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: 50%;
  transform: translateX(-50%);
  width: 1400px;
  max-width: calc(100vw - 40px);
  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: 20px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  will-change: opacity, transform;
}

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

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

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

.notification-card.visible.notification-2 {
  transition-delay: 0.2s;
}

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

.notification-card.visible.notification-4 {
  transition-delay: 0.15s;
}

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

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

.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-left.notification-1 {
  top: 10%;
  left: calc(50% - 400px); /* 400px left of center, ensures no overlap */
  transition-delay: 0.2s;
  z-index: 5; /* Behind phone */
}

.notification-left.notification-2 {
  top: 40%;
  left: calc(50% - 380px); /* 380px left of center, ensures no overlap */
  transition-delay: 0.4s;
  z-index: 35; /* In front */
}

.notification-left.notification-3 {
  bottom: 20%;
  left: calc(50% - 390px); /* 390px left of center, ensures no overlap */
  transition-delay: 0.6s;
  z-index: 5; /* Behind phone */
}

/* Right Side Notifications - Closer to phone */
.notification-right.notification-4 {
  top: 12%;
  left: calc(50% + 160px); /* 160px right of center, closer to phone */
  transition-delay: 0.3s;
  z-index: 35; /* In front */
}

.notification-right.notification-5 {
  top: 45%;
  left: calc(50% + 150px); /* 150px right of center, very close to phone */
  transition-delay: 0.5s;
  z-index: 5; /* Behind phone */
}

.notification-right.notification-6 {
  bottom: 18%;
  left: calc(50% + 155px); /* 155px right of center, close to phone */
  transition-delay: 0.7s;
  z-index: 35; /* In front */
}

/* 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-2 {
  animation-delay: 0.5s;
}

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

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

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

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

.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 {
  padding-top: 120px;
}

.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)
   ============================================ */
.logo-marquee-section {
  width: 100%;
  overflow: hidden;
  margin: 60px 0 80px;
  position: relative;
}

.marquee-container {
  position: relative;
  width: 100%;
  /* Fade edges for smooth visual effect */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track-left {
  animation: marquee-scroll-left 50s linear infinite;
}

.marquee-track-right {
  animation: marquee-scroll-right 50s linear infinite;
}

.marquee-item {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  flex-shrink: 0;
  /* Make emojis monochrome white */
  filter: grayscale(100%) brightness(1000%);
  user-select: none;
}

/* Hover effects */
.marquee-container:hover .marquee-item {
  opacity: 0.3;
}

.marquee-item:hover {
  opacity: 1 !important;
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Pause animation on hover */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* Animations */
@keyframes marquee-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  .logo-marquee-section {
    margin: 40px 0 60px;
  }
  
  .marquee-item {
    font-size: 18px;
  }
  
  .marquee-track {
    gap: 40px;
  }
  
  .marquee-container {
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }
}

/* ============================================
   EMR Narrative Section (Flighty-style)
   ============================================ */
.emr-narrative {
  max-width: 680px;
  margin: 80px auto 0;
  padding: 60px 20px;
  font-family: var(--font-family);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.1);
}

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

/* 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: 2px 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 122, 255, 0.4);
  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: 40px 20px;
    font-size: 18px;
    margin-top: 60px;
  }
  
  .narrative-text {
    margin-bottom: 35px;
  }
}

/* ============================================
   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);
}

/* ============================================
   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);
}

/* ============================================
   Chat Section
   ============================================ */
.chat-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.chat-content {
  max-width: 500px;
}

.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);
}

.chat-phone-container {
  display: flex;
  justify-content: center;
}

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

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--text-secondary-light);
}

.time-display {
  font-size: 48px;
  font-weight: 700;
  margin: 24px 0 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

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

/* ============================================
   Revenue Features
   ============================================ */
.feature-visual-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.demo-card {
  padding: 16px;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.demo-card-orange {
  background-color: var(--accent-orange);
}

.demo-card-green {
  background-color: var(--accent-green);
}

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

.demo-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.demo-card-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.demo-card-text {
  font-size: 14px;
  opacity: 0.9;
}

.timeline-demo {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-weight: 600;
}

.timeline-gray {
  background-color: #6B7280;
}

.timeline-purple {
  background-color: var(--accent-purple);
}

.timeline-green {
  background-color: var(--accent-green);
}

.timeline-icon {
  font-size: 18px;
}

.timeline-content {
  flex: 1;
}

.timeline-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-time {
  font-size: 14px;
  opacity: 0.8;
}

.timeline-line {
  width: 2px;
  height: 20px;
  background-color: var(--text-secondary-dark);
  margin-left: 19px;
  opacity: 0.3;
}

.after-hours-demo {
  text-align: center;
  margin-top: 24px;
  padding: 40px;
  background-color: var(--card-bg-dark);
  border-radius: 12px;
}

.moon-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.after-hours-time {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.after-hours-status {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 18px;
}

.filter-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--accent-red);
  color: white;
  border-radius: 8px;
  font-weight: 500;
}

.filter-icon {
  font-size: 18px;
  font-weight: 700;
}

/* ============================================
   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 Process Section
   ============================================ */
.setup-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.process-card.highlighted {
  border: 2px solid var(--accent-green);
  background-color: rgba(16, 185, 129, 0.1);
}

.process-number {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--text-secondary-dark);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.process-card.highlighted .process-number {
  background-color: var(--accent-green);
  color: white;
}

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

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

.process-arrow {
  position: absolute;
  right: -48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-secondary-dark);
}

.process-card:last-child .process-arrow {
  display: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-2x2 {
    grid-template-columns: 1fr;
  }
  
  .chat-section {
    grid-template-columns: 1fr;
  }
  
  .setup-process {
    grid-template-columns: 1fr;
  }
  
  .process-arrow {
    display: none;
  }
  
  /* Phone Notifications Tablet - Adjust positioning */
  .notification-left.notification-1 {
    left: calc(50% - 280px);
  }
  
  .notification-left.notification-2 {
    left: calc(50% - 270px);
  }
  
  .notification-left.notification-3 {
    left: calc(50% - 275px);
  }
  
  .notification-right.notification-4 {
    left: calc(50% + 160px);
  }
  
  .notification-right.notification-5 {
    left: calc(50% + 150px);
  }
  
  .notification-right.notification-6 {
    left: calc(50% + 155px);
  }
  
  .notification-card {
    max-width: 180px;
    padding: 7px 11px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .theme-dark .nav-links {
    background-color: var(--bg-dark);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .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);
  }
  
  .pricing-grid {
    grid-template-columns: 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-container {
    bottom: 10vh;
  }

  .simple-label {
    font-size: 18px;
    padding: 0 20px;
  }

  .success-pill, .blue-pill {
    font-size: 15px;
    padding: 3px 10px;
  }
  
  .chaos-cloud.active .item-1 {
    left: -10px !important;
  }

  .chaos-cloud.active .item-2 {
    right: -10px !important;
  }

  .chaos-cloud.active .item-3 {
    left: -5px !important;
  }

  .chaos-cloud.active .item-4 {
    right: -5px !important;
  }
  
  /* Calendar cloud mobile - position cards on-screen */
  .calendar-cloud.active .appt-1 {
    left: 10px;
    top: 15%;
  }

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

  .calendar-cloud.active .appt-3 {
    left: 15px;
    bottom: 20%;
  }
  
  /* Make appointment cards smaller on mobile */
  .appt-card {
    padding: 6px 10px;
    font-size: 12px;
    max-width: 140px;
  }
  
  .appt-card .patient {
    font-size: 11px;
  }
  
  /* 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-left.notification-1 {
    left: calc(50% - 200px);
  }
  
  .notification-left.notification-2 {
    left: calc(50% - 195px);
  }
  
  .notification-left.notification-3 {
    left: calc(50% - 198px);
  }
  
  .notification-right.notification-4 {
    left: calc(50% + 120px);
  }
  
  .notification-right.notification-5 {
    left: calc(50% + 110px);
  }
  
  .notification-right.notification-6 {
    left: calc(50% + 115px);
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
    --container-padding: 16px;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .phone-mockup {
    width: 200px;
  }
  
  .pricing-card {
    padding: 24px;
  }
  
  .pricing-title {
    font-size: 24px;
  }
  
  /* Extra small mobile - further adjust notification cards */
  .notification-left.notification-1 {
    left: calc(50% - 190px);
  }
  
  .notification-left.notification-2 {
    left: calc(50% - 185px);
  }
  
  .notification-left.notification-3 {
    left: calc(50% - 188px);
  }
  
  .notification-right.notification-4 {
    left: calc(50% + 100px);
  }
  
  .notification-right.notification-5 {
    left: calc(50% + 95px);
  }
  
  .notification-right.notification-6 {
    left: calc(50% + 98px);
  }
  
  /* Calendar cloud extra small mobile */
  .calendar-cloud.active .appt-1 {
    left: 5px;
  }
  
  .calendar-cloud.active .appt-2 {
    right: 5px;
  }
  
  .calendar-cloud.active .appt-3 {
    left: 10px;
  }
  
  .appt-card {
    max-width: 120px;
    padding: 5px 8px;
    font-size: 11px;
  }
  
  /* Hero Features Small Mobile */
  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-awards {
    gap: 24px;
  }
  
  .award-icon {
    font-size: 20px;
  }
  
  .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
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 40px;
  border-radius: 16px;
  background-color: var(--card-bg-dark);
  position: relative;
  transition: transform var(--transition-base);
}

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

.pricing-card-primary {
  border: 2px solid transparent;
}

.pricing-card-secondary {
  border: 2px solid var(--text-secondary-dark);
  opacity: 0.9;
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.pricing-badge-green {
  background-color: var(--accent-green);
  color: white;
}

.pricing-badge-gray {
  background-color: var(--card-bg-dark);
  color: var(--text-secondary-dark);
  border: 1px solid var(--text-secondary-dark);
}

.pricing-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--text-secondary-dark);
}

.btn-pricing {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 18px;
  margin-bottom: 16px;
}

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

.btn-green:hover {
  background-color: #059669;
  border-color: #059669;
}

.btn-gray {
  background-color: var(--card-bg-dark);
  color: var(--text-dark);
  border-color: var(--text-secondary-dark);
}

.btn-gray:hover {
  background-color: #2A2A2A;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-secondary-dark);
  text-align: center;
  margin-bottom: 24px;
}

.pricing-disclaimer {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 32px;
}

.pricing-disclaimer p {
  font-size: 14px;
  color: var(--accent-orange);
  margin: 0;
}

.pricing-features {
  margin-top: 32px;
}

.features-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  margin-top: 24px;
  color: var(--text-secondary-dark);
}

.features-heading:first-child {
  margin-top: 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list-secondary li {
  color: var(--text-secondary-dark);
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-secondary-dark);
  margin: 0;
}

/* ============================================
   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; }
