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

:root {
  /* Colors */
  --bg-deep: #070913;
  --bg-dark: #0a0d1e;
  --bg-card: rgba(16, 20, 39, 0.6);
  --bg-card-hover: rgba(22, 28, 54, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-focus: rgba(59, 130, 246, 0.4);
  
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.3);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #070913;
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.2);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.04) 0%, transparent 85%),
    radial-gradient(circle at 100% 60%, rgba(139, 92, 246, 0.03) 0%, transparent 75%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  background-position: center;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  top: -250px;
  left: -250px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 80%);
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  animation: float-aurora-1 25s infinite alternate ease-in-out;
}

body::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -350px;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 80%);
  filter: blur(180px);
  z-index: -1;
  pointer-events: none;
  animation: float-aurora-2 30s infinite alternate ease-in-out;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(20, 25, 48, 0.75);
  box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -5px rgba(139, 92, 246, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  box-shadow: 0 0 20px var(--primary-glow);
  opacity: 0.6;
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-glow:hover::after {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.w-100 {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

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

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

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-main);
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.hero-lead {
  font-size: 1.2rem;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  width: 100%;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 16px 24px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* Visualizer Card */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fade-in-up 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.visualizer-card {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.visualizer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

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

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

.status-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.audio-waves {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.audio-waves span {
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
  animation: bounce-wave 1.2s infinite ease-in-out;
}

.audio-waves span:nth-child(2) { height: 60%; animation-delay: -0.2s; }
.audio-waves span:nth-child(3) { height: 30%; animation-delay: -0.4s; }
.audio-waves span:nth-child(4) { height: 90%; animation-delay: -0.6s; }
.audio-waves span:nth-child(5) { height: 50%; animation-delay: -0.8s; }
.audio-waves span:nth-child(6) { height: 75%; animation-delay: -1s; }
.audio-waves span:nth-child(7) { height: 40%; animation-delay: -1.2s; }
.audio-waves span:nth-child(8) { height: 20%; animation-delay: -1.4s; }

.visualizer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.speech-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 85%;
  font-size: 0.9rem;
  position: relative;
}

.speech-bubble.patient {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.speech-bubble.doctor {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.speech-bubble .speaker {
  font-weight: 600;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speech-bubble.patient .speaker {
  color: var(--secondary);
}

.speech-bubble.doctor .speaker {
  color: var(--primary);
}

.note-transition-arrow {
  text-align: center;
  color: var(--primary);
  font-size: 1.2rem;
  animation: bounce-arrow 1.5s infinite ease-in-out;
  margin: 4px 0;
}

.generated-soap-preview {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.05);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-body {
  font-size: 0.85rem;
  color: var(--text-main);
}

/* Comparison Section */
.comparison-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-top: 10px;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px;
  border-radius: 20px;
}

.comparison-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.col-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}

.manual-col .col-header h4 {
  color: var(--danger);
}

.eveda-col .col-header h4 {
  color: var(--success);
}

.col-header i {
  font-size: 1.25rem;
}

.icon-red {
  color: var(--danger);
}

.icon-green {
  color: var(--success);
}

.comparison-col p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 32px;
}

.comparison-divider {
  width: 1px;
  height: 80%;
  background: var(--border-glass);
}

.comparison-more-btn-wrapper {
  display: none;
}

.btn-toggle-comparison {
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px dashed var(--primary);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  outline: none;
}

.btn-toggle-comparison:hover {
  background: rgba(59, 130, 246, 0.18);
  border-style: solid;
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

/* Simulator Section */
.demo-section {
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.simulator-controls h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.scenario-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.scenario-btn i {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.scenario-btn.active {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--primary);
}

.scenario-btn.active i {
  color: var(--primary);
}

.btn-info {
  display: flex;
  flex-direction: column;
}

.btn-info strong {
  font-size: 0.95rem;
  color: var(--text-main);
}

.btn-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.simulation-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Simulator Device Chrome */
.simulator-device {
  background: #111425;
  border: 12px solid #20243d;
  border-radius: 36px;
  padding: 4px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.device-chrome {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.device-chrome .camera {
  width: 8px;
  height: 8px;
  background: #0f121e;
  border-radius: 50%;
}

.device-chrome .speaker {
  width: 50px;
  height: 4px;
  background: #1a1e34;
  border-radius: 10px;
}

/* Simulated App Screen */
.device-screen {
  background: #070912;
  border-radius: 24px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px 20px;
  overflow: hidden;
  position: relative;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.app-logo {
  display: inline-flex;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.app-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.patient-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.patient-profile i {
  font-size: 1.4rem;
  color: var(--primary);
}

.p-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.p-meta strong {
  font-size: 0.85rem;
  color: var(--text-main);
}

.p-meta span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* App Body Panel Grid */
.app-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  flex: 1;
}

.app-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rec-dot-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background: var(--danger);
  border-radius: 50%;
  display: inline-block;
}

.rec-dot-active {
  animation: pulse-red 1.2s infinite;
}

/* Transcript Box */
.transcript-box {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
}

.empty-transcript-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: 12px;
  flex: 1;
}

.mic-icon-large {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  animation: pulse-mic 2s infinite ease-in-out;
}

.transcript-bubble {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 90%;
  line-height: 1.4;
  animation: slide-up-bubble 0.3s ease-out forwards;
}

.transcript-bubble.pat {
  background: rgba(255, 255, 255, 0.04);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.transcript-bubble.doc {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.transcript-bubble strong {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.transcript-bubble.pat strong { color: var(--secondary); }
.transcript-bubble.doc strong { color: var(--primary); }

/* SOAP Note Panel */
.soap-box {
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-height: 380px;
}

.soap-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 8px 12px;
  transition: var(--transition-smooth);
}

.soap-section.highlight {
  background: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.05);
}

.soap-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.soap-content {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
  min-height: 20px;
  transition: var(--transition-smooth);
}

.soap-content.empty {
  color: var(--text-muted);
  font-style: italic;
}

/* App Sync Confirmation Bar */
.app-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 13, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.app-footer-bar.show {
  transform: translateY(0);
}

.sync-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

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

/* Features Grid */
.features-section {
  padding: 100px 0;
}

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

.feature-card {
  padding: 32px;
}

.f-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.faq-accordion-wrapper {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.faq-question i {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

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

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
}

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

.cta-card {
  width: 100%;
  max-width: 900px;
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.05);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 75%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-note i {
  color: var(--primary);
  margin-right: 4px;
}

/* Footer */
.footer {
  background: #04050a;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

.footer-links-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.love i {
  color: var(--danger);
}

/* Animations */
@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes bounce-wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

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

@keyframes pulse-mic {
  0%, 100% { opacity: 0.15; transform: scale(0.95); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

@keyframes slide-up-bubble {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@keyframes float-aurora-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -150px) scale(0.9); }
}

@keyframes fade-in-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .simulator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 19, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 24px;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding-top: 130px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: center;
  }
  
  .stat-divider {
    width: 60%;
    height: 1px;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .comparison-divider {
    display: none;
  }

  .comparison-col p {
    padding-left: 0;
  }

  /* Compact Mobile Comparison Rows */
  .collapsible-row {
    display: none !important;
  }

  .collapsible-row.show {
    display: grid !important;
  }

  .comparison-more-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  /* Swipeable Features Carousel on Mobile */
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px 24px 24px 24px;
    margin: 0 -24px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .features-grid .feature-card {
    min-width: 290px;
    max-width: 290px;
    scroll-snap-align: center;
    margin-bottom: 0;
  }

  .features-grid .feature-card:hover {
    transform: none; /* disable lift on mobile touch */
  }

  /* Simulator Device Mobile Layout Enhancements */
  .simulator-wrapper {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 18px;
  }

  .simulator-controls {
    gap: 16px;
  }

  .simulator-device {
    border: 6px solid #20243d;
    border-radius: 24px;
    padding: 0;
    box-shadow: none;
  }

  .device-screen {
    min-height: 450px;
    padding: 24px 12px 12px 12px;
  }
  
  .app-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .transcript-box, .soap-box {
    max-height: 220px;
  }
  
  .app-footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 32px auto 0 auto;
}

.waitlist-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.waitlist-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.waitlist-success-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--success);
  animation: fade-in-up 0.4s ease-out forwards;
}

@media (max-width: 768px) {
  .waitlist-form {
    flex-direction: column;
    width: 100%;
  }
  .waitlist-input {
    width: 100%;
  }
  .waitlist-form .btn {
    width: 100%;
  }
}
