/* =============================================
   MIRA MEDICAL COMPANION — Design System
   A world-class marketing website for AI-powered
   personal medical intelligence.
   ============================================= */

/* ===========================================
   1. CSS CUSTOM PROPERTIES
   =========================================== */
:root {
  /* Backgrounds */
  --bg: #050510;
  --bg-alt: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2540;
  --bg-surface: #1e293b;
  --bg-glass: rgba(17, 24, 39, 0.6);

  /* Text */
  --text-primary: #e8edf5;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Brand */
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.15);
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.15);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.15);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --violet: #a78bfa;
  --violet-dim: rgba(167, 139, 250, 0.15);
  --rose: #fb7185;
  --rose-dim: rgba(251, 113, 133, 0.15);
  --blue: #60a5fa;
  --blue-dim: rgba(96, 165, 250, 0.15);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2dd4bf 0%, #22d3ee 50%, #a78bfa 100%);
  --grad-warm: linear-gradient(135deg, #2dd4bf 0%, #f59e0b 100%);
  --grad-health: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  --grad-hero: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 50%, #a78bfa 100%);
  --grad-cta: linear-gradient(135deg, #2dd4bf 0%, #22d3ee 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow-teal: 0 0 40px rgba(45, 212, 191, 0.2);
  --shadow-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.2);

  /* Spacing */
  --section-pad: 140px;
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-tight: 700px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ===========================================
   2. RESET & BASE
   =========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--cyan); }
strong { font-weight: 600; }
::selection { background: rgba(45, 212, 191, 0.3); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ===========================================
   3. TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-primary);
}

.h-hero { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
.h-section { font-size: clamp(2rem, 4vw, 3.25rem); }
.h-sub { font-size: clamp(1.5rem, 3vw, 2rem); }
.h-card { font-size: 1.35rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.h-small { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; }

.text-lg { font-size: 1.25rem; line-height: 1.8; }
.text-md { font-size: 1.05rem; line-height: 1.8; }
.text-sm { font-size: 0.9rem; }
.text-xs { font-size: 0.8rem; }

.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-health {
  background: var(--grad-health);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.section-label::after {
  background: linear-gradient(90deg, var(--teal), transparent);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 1rem auto 0;
  text-align: center;
  line-height: 1.8;
}

/* ===========================================
   4. LAYOUT
   =========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.container-tight { max-width: var(--container-tight); margin: 0 auto; padding: 0 24px; }

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

.section-sm { padding: 80px 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.gap-xl { gap: 48px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.mt-xl { margin-top: 80px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }

/* ===========================================
   5. NAVIGATION
   =========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), backdrop-filter var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
}

.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 1px;
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--grad-cta);
  color: #050510 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, 0.35);
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 16, 0.98);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  z-index: 999;
}

.mobile-menu.open { display: flex; flex-direction: column; gap: 8px; }

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-menu a:hover { color: var(--text-primary); }

.mobile-menu .btn {
  margin-top: 24px;
}

/* ===========================================
   6. BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cta);
  color: #050510;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(45, 212, 191, 0.4);
  color: #050510;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

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

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.btn-outline:hover {
  background: var(--teal-dim);
  border-color: var(--teal);
  color: var(--teal);
}

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

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===========================================
   7. CARDS
   =========================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-icon.teal { background: var(--teal-dim); color: var(--teal); }
.card-icon.cyan { background: var(--cyan-dim); color: var(--cyan); }
.card-icon.green { background: var(--green-dim); color: var(--green); }
.card-icon.amber { background: var(--amber-dim); color: var(--amber); }
.card-icon.violet { background: var(--violet-dim); color: var(--violet); }
.card-icon.rose { background: var(--rose-dim); color: var(--rose); }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.card-highlight {
  border-color: rgba(45, 212, 191, 0.2);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.05), rgba(34, 211, 238, 0.03));
}

.card-highlight:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: var(--shadow-glow-teal);
}

/* Feature cards with colored top border */
.card-feature {
  position: relative;
  overflow: hidden;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.card-feature.teal::before { background: var(--teal); }
.card-feature.cyan::before { background: var(--cyan); }
.card-feature.green::before { background: var(--green); }
.card-feature.amber::before { background: var(--amber); }
.card-feature.violet::before { background: var(--violet); }

/* ===========================================
   8. BADGES
   =========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-teal { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(45, 212, 191, 0.3); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-violet { background: var(--violet-dim); color: var(--violet); border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-rose { background: var(--rose-dim); color: var(--rose); border: 1px solid rgba(251, 113, 133, 0.3); }

/* ===========================================
   9. HERO
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45, 212, 191, 0.08), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(167, 139, 250, 0.06), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.04), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 580px; }

.hero-text .badge { margin-bottom: 24px; }

.hero-text h1 {
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================================
   10. PHONE MOCKUP (Hero Product Screenshot)
   =========================================== */
/* Glowing ring behind phone */
.hero-visual {
  position: relative;
}

.hero-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #2dd4bf, #22d3ee, #a78bfa, #60a5fa, #2dd4bf);
  filter: blur(60px);
  opacity: 0.15;
  animation: rotateSlow 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-glow-ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.1);
  pointer-events: none;
  animation: rotateSlow 30s linear infinite reverse;
}

.hero-glow-ring-inner::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #2dd4bf;
  border-radius: 50%;
  box-shadow: 0 0 12px #2dd4bf, 0 0 24px #2dd4bf;
}

.phone-mockup {
  position: relative;
  width: 320px;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(45, 212, 191, 0.15),
    0 0 160px rgba(45, 212, 191, 0.08),
    0 -5px 30px rgba(167, 139, 250, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  z-index: 2;
}

.phone-mockup:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(45, 212, 191, 0.22),
    0 0 200px rgba(45, 212, 191, 0.1),
    0 -8px 40px rgba(167, 139, 250, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  position: relative;
}

/* Sanctuary screen inside phone */
.screen-sanctuary {
  background: linear-gradient(180deg, #0a1628 0%, #0c1a35 25%, #0f1f3d 50%, #0a1628 100%);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  position: relative;
  overflow: hidden;
}

.screen-sanctuary::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(45, 212, 191, 0.06), transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(34, 211, 238, 0.04), transparent 50%);
  pointer-events: none;
}

/* Floating particles inside phone */
.screen-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.screen-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.3);
  animation: floatParticle 12s ease-in-out infinite;
}

.screen-particle:nth-child(1) { left: 15%; bottom: -5%; animation-delay: 0s; animation-duration: 10s; }
.screen-particle:nth-child(2) { left: 35%; bottom: -5%; animation-delay: -2s; animation-duration: 13s; background: rgba(34, 211, 238, 0.25); }
.screen-particle:nth-child(3) { left: 55%; bottom: -5%; animation-delay: -4s; animation-duration: 11s; }
.screen-particle:nth-child(4) { left: 75%; bottom: -5%; animation-delay: -6s; animation-duration: 14s; background: rgba(167, 139, 250, 0.2); }
.screen-particle:nth-child(5) { left: 25%; bottom: -5%; animation-delay: -3s; animation-duration: 12s; background: rgba(74, 222, 128, 0.2); }
.screen-particle:nth-child(6) { left: 65%; bottom: -5%; animation-delay: -7s; animation-duration: 15s; }
.screen-particle:nth-child(7) { left: 45%; bottom: -5%; animation-delay: -1s; animation-duration: 11s; background: rgba(34, 211, 238, 0.2); }
.screen-particle:nth-child(8) { left: 85%; bottom: -5%; animation-delay: -5s; animation-duration: 13s; background: rgba(167, 139, 250, 0.15); }

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-600px) translateX(20px); opacity: 0; }
}

.sanctuary-orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(45, 212, 191, 0.5), rgba(45, 212, 191, 0.15) 50%, rgba(45, 212, 191, 0.03));
  box-shadow:
    0 0 40px rgba(45, 212, 191, 0.3),
    0 0 80px rgba(45, 212, 191, 0.15),
    0 0 120px rgba(45, 212, 191, 0.08);
  animation: breathe 4s ease-in-out infinite;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.sanctuary-orb::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08), transparent 70%);
  animation: breathe 4s ease-in-out infinite reverse;
}

.sanctuary-greeting {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.sanctuary-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.sanctuary-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.sanctuary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

.sanctuary-action {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.sanctuary-action-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.sanctuary-action-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sanctuary-scripture {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

.sanctuary-scripture p {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

.sanctuary-scripture .ref {
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-style: normal;
}

/* Companion floating phones */
.phone-companion {
  position: absolute;
  width: 180px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(45, 212, 191, 0.06);
  z-index: 0;
}

.phone-companion-1 {
  top: 30px;
  right: -80px;
  transform: rotate(6deg);
  animation: floatPhone1 7s ease-in-out infinite;
}

.phone-companion-2 {
  bottom: 40px;
  left: -70px;
  transform: rotate(-5deg);
  animation: floatPhone2 6s ease-in-out infinite;
}

@keyframes floatPhone1 {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}

@keyframes floatPhone2 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(10px); }
}

.companion-screen {
  min-height: 240px;
  padding: 12px;
  font-size: 0.6rem;
}

.companion-chat {
  background: var(--bg-alt);
}

.companion-tracker {
  background: var(--bg-alt);
}

/* ===========================================
   10b. BROWSER MOCKUP (Feature sections)
   =========================================== */
.browser-mockup {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(45, 212, 191, 0.08);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.browser-mockup:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(45, 212, 191, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #4ade80; }

.browser-url {
  flex: 1;
  margin-left: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
}

.browser-content {
  padding: 0;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

/* App screen mockup inside browser */
.app-screen {
  width: 100%;
  min-height: 340px;
  position: relative;
}

.app-screen-sanctuary {
  background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 30%, #0a1628 100%);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.app-screen-sanctuary .orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.4), rgba(45, 212, 191, 0.05));
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.2), 0 0 80px rgba(45, 212, 191, 0.1);
  animation: breathe 4s ease-in-out infinite;
  margin-bottom: 24px;
}

.app-screen-sanctuary .greeting {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.app-screen-sanctuary .name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.app-screen-sanctuary .tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

.app-screen-sanctuary .quick-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.app-screen-sanctuary .quick-action {
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Chat screen mockup */
.app-screen-chat {
  background: var(--bg-alt);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}

.chat-msg.user {
  align-self: flex-end;
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
  border-bottom-right-radius: 4px;
}

.chat-msg.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}

.chat-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input-bar .input-mock {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chat-input-bar .send-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input-bar .send-btn svg { width: 14px; height: 14px; color: #050510; }

/* ===========================================
   11. STATS BAR
   =========================================== */
.stats-bar {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-health);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stat-source {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===========================================
   12. HOW IT WORKS
   =========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 80px;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--cyan), var(--violet), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: all var(--duration) var(--ease);
}

.step:hover .step-num {
  border-color: var(--teal);
  box-shadow: var(--shadow-glow-teal);
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================================
   13. PROBLEM / DIAGNOSTIC GAP
   =========================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rose);
}

.problem-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================================
   14. PILLARS / FEATURES
   =========================================== */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.pillar:nth-child(even) { direction: rtl; }
.pillar:nth-child(even) > * { direction: ltr; }

.pillar-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.pillar-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

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

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

.pillar-list li svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-visual {
  display: flex;
  justify-content: center;
}

/* ===========================================
   15. STORY SECTION
   =========================================== */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.03), transparent);
  pointer-events: none;
}

.story-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.05), rgba(167, 139, 250, 0.03));
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
}

.story-card blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 24px;
  font-style: italic;
}

.story-card .attribution {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===========================================
   16. COMPARISON TABLE
   =========================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 0.9rem;
}

.comparison-table th {
  text-align: left;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.comparison-table .yes { color: var(--green); font-weight: 600; }
.comparison-table .no { color: var(--rose); font-weight: 600; }
.comparison-table .partial { color: var(--amber); font-weight: 600; }

.comparison-table .brand-col {
  color: var(--teal);
  font-weight: 600;
}

/* ===========================================
   17. TESTIMONIALS
   =========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(30, 41, 59, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-quote em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #050510;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* ===========================================
   18. PRICING
   =========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 60px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: all var(--duration) var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: rgba(45, 212, 191, 0.3);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(34, 211, 238, 0.03));
  transform: scale(1.05);
  z-index: 1;
}

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

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--grad-cta);
  color: #050510;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-health);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li.disabled {
  color: var(--text-dim);
}

.pricing-features li.disabled svg {
  color: var(--text-dim);
}

.pricing-card .btn { width: 100%; }

/* ===========================================
   19. FAQ
   =========================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.faq-item.open {
  border-color: var(--border-light);
}

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

.faq-question:hover { color: var(--teal); }

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer-inner a {
  color: var(--teal);
}

/* ===========================================
   20. FINAL CTA
   =========================================== */
.final-cta {
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(45, 212, 191, 0.08), transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  position: relative;
}

.final-cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ===========================================
   21. FOOTER
   =========================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: var(--bg-alt);
}

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

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

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

.footer-crisis {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(251, 113, 133, 0.05);
  border: 1px solid rgba(251, 113, 133, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-crisis strong {
  color: var(--rose);
}

/* ===========================================
   22. WHO IT HELPS (Persona Cards)
   =========================================== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.persona-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.persona-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.persona-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.persona-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================================
   23. PRIVACY / SECURITY
   =========================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.security-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease);
}

.security-item:hover { border-color: var(--green); }

.security-item svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.security-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================================
   24. RESEARCH / CITATIONS
   =========================================== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.research-card .stat {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.research-card .stat.positive { color: var(--green); }
.research-card .stat.negative { color: var(--rose); }
.research-card .stat.neutral { color: var(--cyan); }

.research-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.research-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.research-card .cite {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.research-card .cite a { color: var(--text-dim); }
.research-card .cite a:hover { color: var(--teal); }

/* ===========================================
   25. HIGHLIGHT BOXES
   =========================================== */
.highlight-box {
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  background: rgba(45, 212, 191, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.highlight-box.amber {
  border-color: var(--amber);
  background: rgba(245, 158, 11, 0.05);
}

.highlight-box.rose {
  border-color: var(--rose);
  background: rgba(251, 113, 133, 0.05);
}

.highlight-box.green {
  border-color: var(--green);
  background: rgba(74, 222, 128, 0.05);
}

.highlight-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.highlight-box strong {
  color: var(--text-primary);
}

/* ===========================================
   26. PAGE-SPECIFIC: Inner pages
   =========================================== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 212, 191, 0.06), transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-section {
  padding: 60px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul, .content-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Sidebar layout for help/docs pages */
.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--duration) var(--ease);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.05);
  border-left-color: var(--teal);
}

/* ===========================================
   27. MEDICAL DISCLAIMER
   =========================================== */
.disclaimer-bar {
  background: rgba(245, 158, 11, 0.05);
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  padding: 12px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.disclaimer-bar strong {
  color: var(--amber);
}

/* ===========================================
   28. FLOATING ORBS
   =========================================== */
.orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb-1, .orb-2, .orb-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 70%);
  top: -300px;
  left: -300px;
  animation: float 25s ease-in-out infinite;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1), transparent 70%);
  top: 35%;
  right: -250px;
  animation: float 25s ease-in-out infinite -8s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
  bottom: 5%;
  left: 15%;
  animation: float 25s ease-in-out infinite -16s;
}

/* Page-wide floating particles */
.page-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.25);
  animation: floatParticle 20s linear infinite;
}

.page-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.page-particles span:nth-child(2) { left: 20%; animation-delay: -3s; animation-duration: 22s; background: rgba(167, 139, 250, 0.2); }
.page-particles span:nth-child(3) { left: 30%; animation-delay: -5s; animation-duration: 20s; }
.page-particles span:nth-child(4) { left: 40%; animation-delay: -8s; animation-duration: 25s; background: rgba(34, 211, 238, 0.2); }
.page-particles span:nth-child(5) { left: 50%; animation-delay: -2s; animation-duration: 19s; }
.page-particles span:nth-child(6) { left: 60%; animation-delay: -6s; animation-duration: 23s; background: rgba(74, 222, 128, 0.15); }
.page-particles span:nth-child(7) { left: 70%; animation-delay: -4s; animation-duration: 21s; }
.page-particles span:nth-child(8) { left: 80%; animation-delay: -9s; animation-duration: 24s; background: rgba(167, 139, 250, 0.15); }
.page-particles span:nth-child(9) { left: 90%; animation-delay: -1s; animation-duration: 17s; }
.page-particles span:nth-child(10) { left: 5%; animation-delay: -7s; animation-duration: 26s; background: rgba(34, 211, 238, 0.15); }
.page-particles span:nth-child(11) { left: 45%; animation-delay: -10s; animation-duration: 20s; }
.page-particles span:nth-child(12) { left: 75%; animation-delay: -12s; animation-duration: 22s; background: rgba(45, 212, 191, 0.18); }

/* ===========================================
   29. ANIMATIONS
   =========================================== */
@keyframes breathe {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-15px, 25px); }
  75% { transform: translate(20px, 15px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* Hero animation */
.hero-text > * {
  animation: fadeInUp 0.8s var(--ease) forwards;
  opacity: 0;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-text > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual {
  animation: fadeInUp 1s var(--ease) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

/* ===========================================
   30. RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  :root {
    --section-pad: 100px;
  }

  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 600px; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .phone-mockup { transform: none; width: 280px; }
  .phone-mockup:hover { transform: none; }
  .phone-companion { display: none; }
  .browser-mockup { transform: none; max-width: 480px; }
  .browser-mockup:hover { transform: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 40px; }
  .pillar:nth-child(even) { direction: ltr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .security-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  body { font-size: 15px; }

  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .hero { padding: 100px 16px 60px; min-height: auto; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2rem; }

  .steps { grid-template-columns: 1fr; }
  .step-num { width: 60px; height: 60px; font-size: 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

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

  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 8px; }

  .card { padding: 24px; }
  .story-card { padding: 32px 24px; }
  .story-card blockquote { font-size: 1.2rem; }

  .page-hero { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 100%; }
  .btn-lg { padding: 16px 32px; }
}

/* ===========================================
   31. PRINT
   =========================================== */
@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .nav, .orbs, .mobile-menu, .footer-crisis, .btn, .final-cta { display: none; }
  .card { border: 1px solid #ddd; background: #f9f9f9; break-inside: avoid; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 40px 0; }
  a { color: #0891b2; }
  .gradient-text, .stat-number, .pricing-amount {
    -webkit-text-fill-color: #0891b2;
    background: none;
  }
}
