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

:root {
  /* Color Palette */
  --primary-green: #16A34A;
  --light-green-accent: #DCFCE7;
  --dark-green: #15803D;
  --neon-mint: #10B981;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --text-main: #111111;
  --text-secondary: #6B7280;
  
  /* Borders, Shadows, Glassmorphism */
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-light: rgba(0, 0, 0, 0.04);
  --card-bg-glass: rgba(255, 255, 255, 0.72);
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 24px 48px -12px rgba(22, 163, 74, 0.06), 0 1px 6px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.25);
  
  /* Layout Dimensions */
  --max-width: 1536px;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-body);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   futuristic VFX BACKGROUNDS & ORBS
   ========================================================================== */

/* Tech Grid Backdrop */
.tech-grid-backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(var(--primary-green) 0px, var(--primary-green) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--primary-green) 0px, var(--primary-green) 1px, transparent 1px, transparent 60px);
  opacity: 0.02;
}

/* Glowing Atmospheric Auras */
.glow-aura {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  -webkit-filter: blur(130px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.08;
}

.aura-green {
  width: 500px;
  height: 500px;
  background-color: var(--primary-green);
  top: -100px;
  right: -50px;
  animation: aura-float-1 25s infinite alternate ease-in-out;
}

.aura-mint {
  width: 600px;
  height: 600px;
  background-color: var(--neon-mint);
  bottom: -200px;
  left: -100px;
  animation: aura-float-2 30s infinite alternate ease-in-out;
}

.aura-emerald {
  width: 400px;
  height: 400px;
  background-color: var(--dark-green);
  top: 40%;
  left: 30%;
  animation: aura-float-3 28s infinite alternate ease-in-out;
}

@keyframes aura-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}

@keyframes aura-float-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(100px, -70px) scale(0.9); }
}

@keyframes aura-float-3 {
  0% { transform: translate(0, 0) scale(0.85); opacity: 0.05; }
  100% { transform: translate(60px, 80px) scale(1.1); opacity: 0.1; }
}

/* Cursor Follower Spotlight */
.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* Glass Card Premium Styling */
.glass-card {
  background: var(--card-bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(22, 163, 74, 0.25);
}

/* Card Noise texture overlay */
.card-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.02;
}

/* Card inner glow tracker spot */
.card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(22, 163, 74, 0.05), transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-card:hover .card-glow {
  opacity: 1;
}

/* Scroll Fade-in animation timeline classes */
.fade-in-element {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* AI Voice Orb Visualizer Styling */
.ai-voice-orb-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.ai-voice-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(22, 163, 74, 0.15);
  background: transparent;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-style: dashed;
  animation: orb-spin-outer 15s linear infinite;
}

.ring-2 {
  width: 80%;
  height: 80%;
  border-color: rgba(16, 185, 129, 0.25);
  animation: orb-spin-inner 10s linear infinite reverse;
}

.ring-3 {
  width: 60%;
  height: 60%;
  background: rgba(22, 163, 74, 0.02);
  border-color: rgba(22, 163, 74, 0.4);
  animation: orb-pulse 2s infinite alternate ease-in-out;
}

.ai-voice-orb-core {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-green) 0%, var(--dark-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(22, 163, 74, 0.5);
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.orb-pulse-icon {
  width: 24px;
  height: 24px;
  color: #FFFFFF;
}

/* Active talking states for AI Orb */
.ai-voice-orb-wrapper.active .ring-3 {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--neon-mint);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  animation: orb-pulse-active 0.8s infinite alternate ease-in-out;
}

.ai-voice-orb-wrapper.active .ai-voice-orb-core {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--neon-mint);
  background: radial-gradient(circle, var(--neon-mint) 0%, var(--primary-green) 100%);
}

@keyframes orb-spin-outer {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orb-spin-inner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orb-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

@keyframes orb-pulse-active {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Incoming Call Avatar Glow */
.ai-avatar-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: orb-pulse 2s infinite alternate ease-in-out;
}

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  gap: 8px;
  border: 1px solid transparent;
  font-family: var(--font-display);
}

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

.btn-primary {
  background-color: var(--primary-green);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--text-main);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 20px;
}

/* Version Pill Banner */
.version-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  color: var(--dark-green);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.banner-pulse {
  width: 6px;
  height: 6px;
  background-color: var(--primary-green);
  border-radius: 50%;
  animation: orb-pulse-active 1s infinite alternate;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--light-green-accent);
  color: var(--dark-green);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo-link {
  text-decoration: none;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.15);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}

.logo-dot {
  color: var(--primary-green);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-display);
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 180px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-main);
  font-family: var(--font-display);
}

@media(min-width: 1200px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.6;
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* Hero Right: Interactive Calling Playground */
.hero-playground {
  perspective: 1200px;
}

.playground-widget-container {
  padding: 24px;
  min-height: 520px;
}

.playground-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Live Transcript Log Panel */
.transcript-panel {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-glass-light);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 480px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.panel-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
}

.panel-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-family: var(--font-display);
}

.transcript-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.transcript-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-secondary);
  padding: 20px;
  gap: 16px;
}

.placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-green);
  opacity: 0.5;
}

.transcript-placeholder p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Chat bubble styling inside playground */
.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.4;
  animation: pop-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 1;
}

.bubble-drithi {
  align-self: flex-start;
  background-color: var(--light-green-accent);
  color: var(--dark-green);
  border-bottom-left-radius: 4px;
  font-weight: 500;
}

.bubble-patient {
  align-self: flex-end;
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-glass-light);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.bubble-typing {
  align-self: flex-start;
  background-color: var(--light-green-accent);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: 55px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-green);
  border-radius: 50%;
  animation: typing-bounce 1s infinite ease-in-out;
}

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

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

/* Phone Mockup Interface */
.phone-mockup-wrapper {
  position: relative;
  height: 480px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.phone-case {
  width: 100%;
  height: 100%;
  background-color: #000000;
  border: 6px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Latest Phone side button tabs */
.phone-case::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 90px;
  width: 2px;
  height: 36px;
  background-color: #334155;
  border-radius: 2px;
  box-shadow: 0 32px 0 #334155; /* volume buttons shadow */
  z-index: 10;
}

.phone-case::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 130px;
  width: 2px;
  height: 48px;
  background-color: #334155;
  border-radius: 2px; /* power button shadow */
  z-index: 10;
}

/* Dynamic Island */
.phone-dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 0 2px rgba(255,255,255,0.1) inset;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-dynamic-island:hover {
  width: 120px;
  height: 20px;
}

.island-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #111827;
}

.island-pill {
  width: 32px;
  height: 4px;
  border-radius: 99px;
  background-color: #111827;
}

.phone-status-bar {
  height: 36px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  margin-top: 4px;
}

.status-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-screen {
  flex: 1;
  background-color: #080B10; /* Dark premium background */
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 34px;
  margin: 2px;
  overflow: hidden;
}

/* Ringing / Calling animations */
.animate-ping-green {
  animation: ping-green 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse-text {
  animation: pulse-text 1.5s infinite;
}

/* Screen: Incoming */
.screen-incoming {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 20px 0;
  z-index: 2;
}

.incoming-caller-info {
  text-align: center;
  margin-top: 10px;
}

.caller-name {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.caller-status {
  color: #9CA3AF;
  font-size: 0.85rem;
}

.incoming-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 30px 0;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 163, 74, 0.2);
  border-radius: 50%;
}

.caller-avatar {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  overflow: hidden;
}

.wave-icon {
  width: 100%;
  height: 100%;
}

.incoming-action-buttons {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 10px;
  margin-bottom: 10px;
}

.call-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.call-btn svg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 13px;
  transition: transform 0.2s ease;
}

.btn-accept svg { background-color: #16A34A; }
.btn-decline svg { background-color: #DC2626; }

.call-btn:hover svg {
  transform: scale(1.08);
}

.btn-label {
  color: #9CA3AF;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-display);
}

/* Screen: Active Call */
.screen-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.active-caller-info {
  text-align: center;
}

.call-timer {
  color: #10B981;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

.waveform-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.speech-indicator {
  color: #9CA3AF;
  font-size: 0.75rem;
}

/* Active Call Controls (Mute & End Call) */
.playground-controls {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.control-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.control-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Active muted state */
.control-btn.btn-mute.active {
  background-color: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #EF4444;
}

.active-footer-spacer {
  flex: 1;
}

/* Call Cutoff Screen overlay styling */
.screen-cutoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background-color: rgba(8, 11, 16, 0.95);
  position: absolute;
  inset: 0;
  z-index: 30;
  padding: 24px 20px;
  text-align: center;
  animation: pop-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cutoff-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cutoff-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.cutoff-icon {
  width: 22px;
  height: 22px;
}

.cutoff-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-display);
}

.cutoff-desc {
  font-size: 0.75rem;
  color: #9CA3AF;
  line-height: 1.45;
  margin-bottom: 8px;
}

.cutoff-btn-early {
  width: 100%;
  font-size: 0.82rem !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
}

.cutoff-restart-btn {
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-top: 6px;
  font-family: var(--font-display);
}

.cutoff-restart-btn:hover {
  color: #FFFFFF;
}

.active-footer {
  margin-top: 8px;
}

.end-call-btn {
  border: none;
  background-color: #DC2626;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.end-call-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   SECTION 1: WHY DRITHI
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.why-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--light-green-accent);
  color: var(--primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon {
  width: 24px;
  height: 24px;
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-display);
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 2: JOURNEY WORKFLOW
   ========================================================================== */
.journey-wrapper {
  position: relative;
  margin-top: 80px;
  padding: 20px 0;
}

.progress-line-bg {
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #E2E8F0;
  z-index: 1;
}

.progress-line-fill {
  height: 100%;
  width: 0%;
  background-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.4);
  transition: width 0.1s linear;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  z-index: 2;
}

.journey-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.step-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 4px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
}

.journey-step-node.active .step-icon-circle {
  border-color: var(--primary-green);
  background-color: var(--primary-green);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.35);
}

.step-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  transition: color 0.4s ease;
  font-family: var(--font-display);
}

.journey-step-node.active .step-title {
  color: var(--primary-green);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 3: CONVERSATION DEMO
   ========================================================================== */
.demo-chat-wrapper {
  max-width: 600px;
  margin: 0 auto;
  height: 400px;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.3);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-green);
}

.chat-name {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.chat-status-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.chat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  background-color: var(--light-green-accent);
  color: var(--dark-green);
  border-radius: 100px;
  font-family: var(--font-display);
}

.chat-messages-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   SECTION 4: LIVE STATISTICS
   ========================================================================== */
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-counter-card {
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-count {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 700;
  font-family: var(--font-display);
}

/* ==========================================================================
   SECTION 5: AI CAPABILITIES GRID
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cap-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cap-icon-wrapper {
  width: 42px;
  height: 42px;
  background-color: var(--light-green-accent);
  color: var(--primary-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-icon {
  width: 20px;
  height: 20px;
}

.cap-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-display);
}

.cap-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 6: ROADMAP TIMELINE (Vertical tree track nodes)
   ========================================================================== */
.roadmap-wrapper {
  position: relative;
  padding: 40px 0;
  margin-top: 40px;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #E2E8F0;
  transform: translateX(-50%);
  z-index: 1;
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.roadmap-node {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.roadmap-node:nth-child(even) {
  flex-direction: row-reverse;
}

.node-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 4px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: all 0.3s ease;
  font-family: var(--font-display);
}

.roadmap-node.completed .node-indicator {
  border-color: var(--primary-green);
  background-color: var(--primary-green);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.2);
}

.roadmap-node.active .node-indicator {
  border-color: var(--primary-green);
  background-color: #FFFFFF;
  color: var(--primary-green);
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.4);
  font-size: 1rem;
}

.node-content {
  width: 45%;
  padding: 24px;
}

.node-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.roadmap-node.active .node-title {
  color: var(--primary-green);
}

.node-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 7: HEALTHCARE CATEGORIES
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cat-emoji {
  font-size: 1.6rem;
}

.cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-display);
}

/* ==========================================================================
   SECTION 9: NEWSLETTER SUBSCRIPTION
   ========================================================================== */
.section-early-access {
  padding-bottom: 120px;
}

.early-access-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
}

.early-access-form {
  max-width: 500px;
  margin: 32px auto 0 auto;
  position: relative;
}

.input-group {
  display: flex;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  padding: 6px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.form-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
}

.btn-submit {
  flex-shrink: 0;
  border-radius: 14px;
}

.error-message {
  font-size: 0.85rem;
  color: #DC2626;
  margin-top: 10px;
  height: 18px;
  text-align: left;
  padding-left: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.error-message.visible {
  opacity: 1;
}

/* Form Shake Animation */
.shake {
  animation: shake 0.4s ease-in-out;
}

.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.1) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Success layout */
.signup-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: pop-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-circle {
  width: 56px;
  height: 56px;
  background-color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.success-check-icon {
  width: 28px;
  height: 28px;
}

.success-title {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.success-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 0 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px 64px 64px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.brand-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 24px 0;
}

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

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1200px) {
  .header-container,
  .hero-container,
  .section-container,
  .footer-container,
  .footer-bottom-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-counter-grid,
  .capabilities-grid,
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .main-nav {
    display: none;
  }
  
  .journey-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .progress-line-bg {
    display: none;
  }
  
  .roadmap-line {
    left: 20px;
  }
  
  .node-indicator {
    left: 20px;
  }
  
  .roadmap-node {
    justify-content: flex-end;
  }
  
  .roadmap-node:nth-child(even) {
    flex-direction: row;
  }
  
  .node-content {
    width: calc(100% - 60px);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .why-grid,
  .stats-counter-grid,
  .capabilities-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .playground-split {
    grid-template-columns: 1fr;
  }
  
  .transcript-panel {
    height: 260px;
  }
  
  .phone-mockup-wrapper {
    height: 420px;
  }
  
  .header-actions .login-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .header-container {
    padding: 16px 20px;
  }
  
  .hero-container,
  .section-container,
  .footer-container,
  .footer-bottom-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .why-grid,
  .stats-counter-grid,
  .capabilities-grid,
  .categories-grid,
  .journey-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  
  .form-input {
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    margin-bottom: 8px;
    width: 100%;
  }
  
  .btn-submit {
    width: 100%;
    border-radius: 14px;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
