/* ==========================================================================
   MediSap Design System & Stylesheet
   Mirroring MediSap Clinical Light & Obsidian Dark Themes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Clinical Light Theme Tokens */
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --border-subtle: #E2E8F0;
  --border-focus: #0066FF;

  --primary: #0066FF;
  --primary-hover: #0052cc;
  --primary-foreground: #FFFFFF;
  --primary-tint: #EFF6FF;
  --primary-glow: rgba(0, 102, 255, 0.25);

  --accent-cyan: #0284C7;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #EF4444;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 8px 28px rgba(0, 102, 255, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --nav-height: 72px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Obsidian Dark Theme Tokens */
[data-theme="dark"] {
  --bg-primary: #0B0F17;
  --bg-surface: #131B26;
  --bg-surface-elevated: #1E293B;
  --bg-surface-glass: rgba(19, 27, 38, 0.82);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-subtle: #1E293B;
  --border-focus: #38BDF8;

  --primary: #38BDF8;
  --primary-hover: #7dd3fc;
  --primary-foreground: #0B0F17;
  --primary-tint: rgba(56, 189, 248, 0.12);
  --primary-glow: rgba(56, 189, 248, 0.3);

  --accent-cyan: #38BDF8;
  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;
  --accent-rose: #F87171;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-primary: 0 8px 30px rgba(56, 189, 248, 0.3);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Grid & Orbs */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0, 102, 255, 0) 70%);
  filter: blur(80px);
  opacity: 0.6;
  animation: pulse-orb 8s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  position: absolute;
  top: 40%;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(80px);
  opacity: 0.5;
}

@keyframes pulse-orb {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.15) translateY(30px); }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface-glass);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--primary-glow);
  background: #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Primary Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--primary-glow);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

/* Mobile Menu Toggle & Drawer */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-drawer {
  display: none;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
}

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

.hero-stats-row {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 12px;
}

.hero-stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D Realistic Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-wrap {
  position: relative;
  width: 320px;
  height: 650px;
  perspective: 1200px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

.phone-mockup {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 46px;
  border: 10px solid #1f242d;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.15),
    inset 0 0 6px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.phone-mockup:hover {
  transform: translateY(-8px) rotateY(-2deg) rotateX(2deg);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-speaker {
  width: 44px;
  height: 4px;
  background: #2b2b2b;
  border-radius: 3px;
}

.phone-camera-lens {
  width: 8px;
  height: 8px;
  background: #111e2e;
  border: 1px solid #20354e;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0B0F17;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.phone-reflection {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
  z-index: 5;
}

/* Floating Info Badges on Hero Phone */
.floating-pill {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.floating-pill-left {
  top: 20%;
  left: -40px;
}

.floating-pill-right {
  bottom: 22%;
  right: -35px;
  animation-delay: -2s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pill-icon.green { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.pill-icon.blue { background: rgba(0, 102, 255, 0.15); color: var(--primary); }

.pill-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pill-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Section Header Shared */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Interactive App Showcase / Walkthrough */
.showcase-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.showcase-tab {
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.showcase-tab.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.showcase-display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-mockup-frame {
  max-width: 290px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  border: 8px solid #1f242d;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 1080 / 2340;
}

.showcase-mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.showcase-info-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.showcase-info-pane h3 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.showcase-info-pane p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.showcase-bullets li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Audio Voice Memo Interactive Simulator */
.audio-simulator-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.audio-waveform-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.audio-wave-stick {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: sound-wave 1.2s ease-in-out infinite alternate;
}

.audio-wave-stick:nth-child(2) { animation-delay: 0.15s; height: 60%; }
.audio-wave-stick:nth-child(3) { animation-delay: 0.3s; height: 100%; }
.audio-wave-stick:nth-child(4) { animation-delay: 0.45s; height: 40%; }
.audio-wave-stick:nth-child(5) { animation-delay: 0.2s; height: 75%; }
.audio-wave-stick:nth-child(6) { animation-delay: 0.35s; height: 90%; }
.audio-wave-stick:nth-child(7) { animation-delay: 0.5s; height: 50%; }

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

.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audio-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.audio-play-btn:hover {
  transform: scale(1.08);
}

.audio-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.audio-progress-fill {
  width: 60%;
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.audio-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--primary-tint);
  color: var(--primary);
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: auto;
}

/* Comparison Table (Cloud Medical Apps vs MediSap) */
.comparison-section {
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table th.highlight-col {
  background: var(--primary-tint);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.comparison-table td.highlight-col {
  background: rgba(0, 102, 255, 0.02);
  font-weight: 600;
}

[data-theme="dark"] .comparison-table td.highlight-col {
  background: rgba(56, 189, 248, 0.04);
}

.badge-yes {
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.badge-no {
  color: var(--accent-rose);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Privacy & Security Architecture Section */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.privacy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

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

.privacy-lock-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-point-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.privacy-point-icon {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-point-item h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.privacy-point-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.privacy-callout-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--accent-amber);
  padding: 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--text-muted);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-content {
  padding-bottom: 20px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Section */
.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-metrics {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.about-metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.about-metric-info h5 {
  font-size: 1rem;
  font-weight: 700;
}

.about-metric-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Download CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0052cc 0%, #0066FF 50%, #0284C7 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #071526 0%, #132238 50%, #0c2b48 100%);
  border: 1px solid var(--border-focus);
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

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

.btn-white {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

/* Modal Overlay for Full Privacy Policy & Terms */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 15, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.4rem;
}

.modal-close-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-primary);
  margin: 20px 0 8px;
  font-size: 1.15rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
}

.modal-body li {
  margin-bottom: 6px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

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

  .showcase-display-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-mockup-frame {
    order: -1;
  }

  .showcase-bullets li {
    justify-content: center;
  }

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

  .about-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 1.2rem;
    gap: 10px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-badge {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    display: none;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    color: var(--primary);
    border-color: var(--primary);
  }

  .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    z-index: 999;
  }

  .mobile-menu-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-drawer .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 50px;
  }

  .phone-mockup-wrap {
    width: 270px;
    height: 550px;
  }

  .floating-pill-left {
    left: -10px;
    top: 12%;
  }

  .floating-pill-right {
    right: -10px;
    bottom: 15%;
  }

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

  .showcase-wrapper {
    padding: 24px 16px;
  }

  .about-card {
    padding: 28px 20px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
