/* ══════════════════════════════════════════
   CRIMSON — Design System v2
   Urbanist + Plus Jakarta Sans
   Crimson × Warm Cream palette
══════════════════════════════════════════ */
:root {
  --crimson:         #8C1515;
  --crimson-dark:    #6B0E0E;
  --crimson-light:   #C0392B;
  --crimson-mid:     #A01A1A;
  --crimson-mist:    rgba(140, 21, 21, 0.07);
  --crimson-glow:    rgba(140, 21, 21, 0.18);

  --cream:           #FBF7F2;
  --cream-mid:       #F4EDE3;
  --cream-dark:      #EDE0D3;

  --charcoal:        #1A1010;
  --charcoal-soft:   #3A2828;
  --muted:           #8A7070;
  --white:           #FFFFFF;

  --border:          rgba(140, 21, 21, 0.12);
  --border-light:    rgba(140, 21, 21, 0.07);
  --shadow-sm:       0 2px 12px rgba(0,0,0,0.06);
  --shadow:          0 6px 28px rgba(140, 21, 21, 0.12);
  --shadow-lg:       0 16px 56px rgba(140, 21, 21, 0.18);

  --font-display:    'Urbanist', -apple-system, sans-serif;
  --font-body:       'Plus Jakarta Sans', -apple-system, sans-serif;

  --radius-sm:       8px;
  --radius:          14px;
  --radius-lg:       22px;
  --radius-pill:     100px;

  --nav-h:           68px;
  --max-w:           1140px;
  --mob-nav-h:       72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
.hidden { display: none !important; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════ */
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.section-header {
  margin-bottom: 56px;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(140,21,21,0.3);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  box-shadow: 0 8px 28px rgba(140,21,21,0.42);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--crimson);
  border: 2px solid var(--crimson);
}
.btn-ghost:hover {
  background: var(--crimson-mist);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--crimson);
  font-weight: 500;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-submit { width: 100%; justify-content: center; padding: 16px 28px; font-size: 1rem; margin-top: 8px; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--crimson);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--crimson); }
.nav-cta {
  background: var(--crimson) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 14px rgba(140,21,21,0.28) !important;
}
.nav-cta:hover {
  background: var(--crimson-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(140,21,21,0.38) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--crimson-mist); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 99;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mobile-drawer.open { transform: translateY(0); }
.drawer-link {
  display: block;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.18s, background 0.18s;
}
.drawer-link:hover { color: var(--crimson); background: var(--crimson-mist); }
.drawer-cta {
  color: var(--crimson) !important;
  font-weight: 500;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0,0,0,0.2);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  background: var(--crimson-mist);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero-accent {
  color: var(--crimson);
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--crimson);
  border-radius: 2px;
  opacity: 0.35;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-trust svg { flex-shrink: 0; color: var(--crimson); }

/* ── Phone Mockup ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: var(--charcoal);
  border-radius: 38px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 32px 80px rgba(0,0,0,0.3),
    0 8px 24px rgba(0,0,0,0.2);
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--charcoal);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
}
.app-logo-sm {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--crimson);
}
.app-greeting {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.app-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  margin: 0 12px 14px;
  font-size: 0.7rem;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.app-section-label {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 14px 8px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 12px 8px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.app-card:hover { transform: translateX(3px); }
.app-card-muted { opacity: 0.6; }

.blood-pill {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.blood-o  { background: var(--crimson); }
.blood-a  { background: #2C6E8A; }
.blood-ab { background: #6B4E9B; }
.blood-b  { background: #2E7D4A; }

.app-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-card-loc { font-size: 0.72rem; font-weight: 600; color: var(--charcoal); }
.app-card-dist { font-size: 0.64rem; color: var(--muted); }

.avail-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}
.avail-busy { background: var(--muted); animation: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.app-footer-bar {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 14px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s;
}
.app-tab.active-tab { color: var(--crimson); }

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 60px;
  background: var(--crimson);
  filter: blur(36px);
  opacity: 0.22;
  border-radius: 50%;
  pointer-events: none;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border-light);
  max-width: 220px;
  z-index: 3;
}
.badge-top { top: 40px; right: -20px; }
.badge-bottom { bottom: 60px; left: -20px; }
.badge-icon { font-size: 1.4rem; flex-shrink: 0; }
.badge-text { display: flex; flex-direction: column; gap: 2px; }
.badge-title { font-size: 0.76rem; font-weight: 500; color: var(--charcoal); }
.badge-sub   { font-size: 0.68rem; color: var(--muted); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
}
.stats-inner {
  display: flex;
  align-items: center;
  padding: 28px 24px;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.stat-top {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--crimson);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--crimson);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-line {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--charcoal);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about .section-label { color: var(--crimson-light); }
.about .section-title { color: var(--white); }
.about-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--cream);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how {
  padding: 100px 0;
  background: var(--white);
}
.how-tabs {
  display: inline-flex;
  background: var(--cream-mid);
  border-radius: var(--radius-pill);
  padding: 5px;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.22s ease;
}
.tab-btn.active {
  background: var(--white);
  color: var(--crimson);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}
.how-panel { display: none; }
.how-panel.active { display: block; animation: panelIn 0.32s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}
.step {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--crimson);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.step-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.step-arrow {
  font-size: 1.4rem;
  color: var(--crimson);
  opacity: 0.3;
  align-self: center;
  margin-top: 0;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   PATHS — Who is this for
════════════════════════════════════════ */
.paths {
  padding: 100px 0;
  background: var(--cream);
}
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.path-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-donor {
  background: var(--crimson);
  color: var(--white);
}
.path-bank {
  background: var(--charcoal);
  color: var(--white);
}
.path-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.path-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.donor-icon { background: rgba(255,255,255,0.15); }
.bank-icon  { background: rgba(255,255,255,0.1); }
.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}
.path-card > p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 24px;
}
.path-list {
  list-style: none;
  margin-bottom: 32px;
}
.path-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.path-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8L6.5 10.5L12 5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-stars { color: var(--crimson); font-size: 0.88rem; letter-spacing: 2px; }
.testi-card blockquote {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  position: relative;
}
.testi-card blockquote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0;
  color: var(--crimson);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: -8px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
}
.testi-author span {
  font-size: 0.76rem;
  color: var(--muted);
}
.testi-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.testi-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--crimson);
}

/* ════════════════════════════════════════
   FORMS
════════════════════════════════════════ */
.form-section { padding: 100px 0; background: var(--white); }
.form-section-alt { background: var(--cream); }
.form-container {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 64px;
  align-items: start;
}
.form-intro > p {
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--crimson-mist);
  color: var(--crimson);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.crimson-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-section-alt .crimson-form { background: var(--cream-mid); }
.contact-form { background: var(--white); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(140,21,21,0.18);
  border-radius: var(--radius);
  font-size: 0.93rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.form-section-alt .form-group input,
.form-section-alt .form-group select { background: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(140,21,21,0.09);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.55; }

/* Custom select */
.select-wrap {
  position: relative;
}
.select-wrap select { width: 100%; padding-right: 36px; }
.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

/* Custom checkboxes */
.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.check-box {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(140,21,21,0.3);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  background: var(--white);
}
.check-label input:checked + .check-box {
  background: var(--crimson);
  border-color: var(--crimson);
}
.check-label input:checked + .check-box::after {
  content: '';
  width: 10px;
  height: 7px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.check-label span:last-of-type {
  font-size: 0.84rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
}

.form-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 12px;
}
.form-success {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.success-circle {
  width: 64px;
  height: 64px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(140,21,21,0.3);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.form-success p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner {
  background: var(--crimson);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq .container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.18s;
}
.faq-q::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L10 12L14 8' stroke='%238A7070' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  flex-shrink: 0;
  transition: transform 0.25s, border-color 0.2s;
}
.faq-q[aria-expanded="true"] {
  color: var(--crimson);
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(180deg);
  border-color: var(--crimson);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L10 12L14 8' stroke='%238C1515' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-a.open { max-height: 200px; padding-bottom: 20px; }
.faq-a p { font-size: 0.95rem; color: var(--charcoal-soft); line-height: 1.7; }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--cream);
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 64px;
  align-items: start;
}
.contact-intro > p {
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--crimson);
  transition: gap 0.18s;
}
.contact-link:hover { gap: 14px; }
.contact-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════
   MOBILE BOTTOM NAV
════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.mob-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 500;
  transition: color 0.18s;
  min-height: 44px;
  justify-content: center;
}
.mob-tab.active, .mob-tab:hover { color: var(--crimson); }

/* ════════════════════════════════════════
   CHATBOT
════════════════════════════════════════ */
.chat-launcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.chat-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(140,21,21,0.4);
  transition: all 0.22s ease;
  position: relative;
}
.chat-btn:hover {
  background: var(--crimson-dark);
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(140,21,21,0.5);
}
.chat-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #22C55E;
  border: 2px solid var(--white);
  border-radius: 50%;
  animation: pulseGrow 2s ease-in-out infinite;
}
@keyframes pulseGrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.chat-tooltip {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateX(8px);
  animation: tooltipSlide 0.4s ease 1.8s forwards;
}
@keyframes tooltipSlide {
  to { opacity: 1; transform: translateX(0); }
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 360px;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.16);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  z-index: 199;
  overflow: hidden;
  animation: chatIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}

.chat-header {
  background: var(--crimson);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; color: var(--white); }
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 2s infinite;
}
.chat-close {
  color: rgba(255,255,255,0.7);
  transition: color 0.18s, transform 0.18s;
  border-radius: 8px;
  padding: 4px;
}
.chat-close:hover { color: var(--white); transform: scale(1.1); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg { display: flex; flex-direction: column; max-width: 86%; animation: msgIn 0.22s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.87rem;
  line-height: 1.55;
}
.msg.bot .msg-bubble { background: var(--cream); color: var(--charcoal); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--crimson); color: var(--white); border-bottom-right-radius: 4px; }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick-reply {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1.5px solid var(--crimson);
  color: var(--crimson);
  background: var(--white);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s;
}
.quick-reply:hover { background: var(--crimson); color: var(--white); }

.msg-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: 60px;
}
.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-light);
  background: var(--white);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.87rem;
  background: var(--cream);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.18s;
}
.chat-input:focus { border-color: var(--crimson); }
.chat-input::placeholder { color: var(--muted); }
.chat-send {
  width: 36px;
  height: 36px;
  background: var(--crimson);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.chat-send:hover { background: var(--crimson-dark); transform: scale(1.08); }

/* ════════════════════════════════════════
   RESPONSIVE — Tablet
════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 60px 24px 48px;
  }
  .hero-sub { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: auto; }
  .floating-badge { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .paths-grid { grid-template-columns: 1fr; }
  .testi-track { grid-template-columns: 1fr; }
  .testi-dots { display: flex; }
  .form-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-line { width: 60px; height: 1px; }
  .footer-top { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile
════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-headline { letter-spacing: -0.02em; }

  .phone-frame { width: 200px; height: 400px; }

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

  .crimson-form { padding: 24px 18px; }
  .path-card { padding: 32px 24px; }

  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: var(--mob-nav-h); }
  .chat-launcher { bottom: calc(var(--mob-nav-h) + 12px); right: 16px; }
  .chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: calc(var(--mob-nav-h) + 72px);
    height: 70vh;
  }
}

/* ── Hero entry animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-eyebrow { animation: fadeUp 0.6s ease 0.1s both; }
.hero-headline { animation: fadeUp 0.6s ease 0.22s both; }
.hero-sub      { animation: fadeUp 0.6s ease 0.34s both; }
.hero-ctas     { animation: fadeUp 0.6s ease 0.46s both; }
.hero-trust    { animation: fadeUp 0.6s ease 0.54s both; }

/* ════════════════════════════════════════
   ANIMATED NAV LOGO
════════════════════════════════════════ */

/* Ripple rings — scale outward from the drop centre, fade to nothing */
.logo-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: logoRipple 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
.logo-ring.r2 { animation-delay: 0.87s; }
.logo-ring.r3 { animation-delay: 1.74s; }

@keyframes logoRipple {
  0%   { transform: scale(1);   opacity: 0.5; }
  30%  { opacity: 0.28; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Blood drop — double-beat heartbeat pattern */
.logo-drop {
  transform-box: fill-box;
  transform-origin: center;
  animation: logoBeat 2.6s ease-in-out infinite;
}

@keyframes logoBeat {
  /* first beat */
  0%   { transform: scale(1); }
  8%   { transform: scale(1.10); }
  16%  { transform: scale(1.02); }
  /* second beat (softer echo) */
  24%  { transform: scale(1.07); }
  36%  { transform: scale(1); }
  /* rest */
  100% { transform: scale(1); }
}
