*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FBF6EE;
  --surface: #FFFFFF;
  --surface-muted: #F4ECDF;
  --coral: #F08A6B;
  --coral-dark: #D96A4C;
  --coral-soft: #FCE3D8;
  --teal: #5BAFA8;
  --teal-dark: #3F8C85;
  --teal-soft: #CFE6E3;
  --text: #2A2A2A;
  --text-secondary: #6B6B6B;
  --text-tertiary: #9A9A9A;
  --border: #EADFCB;
  --border-softer: #F0E7D6;
  --warn: #E0A458;
  --good: #7AB87A;
  --good-soft: #D6EDD6;
  --radius-card: 20px;
  --radius-btn: 14px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--coral);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── ANCHOR OFFSET (sticky nav = 66px) ── */
section[id], div[id] {
  scroll-margin-top: 80px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-logo span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.nav-links a:hover { color: var(--coral-dark); background: var(--coral-soft); }
.nav-cta {
  background: var(--coral) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(240,138,107,0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,138,107,0.45) !important;
}
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; touch-action: manipulation; }
.nav-hamburger:hover { background: var(--surface-muted); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.mobile-nav { display: none; background: var(--surface); border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.875rem 2rem; text-decoration: none; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-softer); cursor: pointer; }
.mobile-nav a:hover { background: var(--cream); color: var(--coral-dark); }

/* ── HERO ── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 2rem 0;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  top: -200px;
  right: -240px;
  width: 920px;
  height: 920px;
  background: radial-gradient(ellipse at center, rgba(240,138,107,0.22) 0%, transparent 62%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-2 {
  position: absolute;
  bottom: -60px;
  left: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse at center, rgba(91,175,168,0.18) 0%, transparent 62%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(240,138,107,0.25);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-section h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-section h1 .accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}
.hero-section h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  opacity: 0.3;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(240,138,107,0.4);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  touch-action: manipulation;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,138,107,0.45); }
.btn-primary:active { transform: scale(0.97) !important; box-shadow: 0 3px 12px rgba(240,138,107,0.35) !important; }
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(91,175,168,0.2); }
.btn-secondary:active { transform: scale(0.97) !important; }
.btn-secondary svg { width: 18px; height: 18px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 600;
}
.trust-stars { color: var(--warn); letter-spacing: -1px; font-size: 0.95rem; }
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.25rem;
  padding-bottom: 0;
}
.phone-wrap {
  position: relative;
}
.phone-wrap.main { animation: float 4s ease-in-out infinite; }
.phone-wrap.side { animation: float 4s ease-in-out infinite 1.2s; opacity: 0.8; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-phone {
  background: var(--surface);
  border-radius: 32px;
  border: 2px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}
.hero-phone.large { width: 210px; height: 400px; }
.hero-phone.small { width: 175px; height: 330px; }
.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 7px;
  overflow: hidden;
}
.phone-notch {
  width: 60px;
  height: 5px;
  background: var(--border-softer);
  border-radius: 3px;
  margin: 0 auto 6px;
}
.phone-section-title { font-size: 9px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }
.p-result-row {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--cream);
  border-radius: 10px;
  padding: 8px 10px;
}
.p-rank {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.p-rank.t { background: var(--teal); }
.p-rank.w { background: var(--warn); }
.p-breed { font-size: 9px; font-weight: 700; flex: 1; }
.p-score { font-size: 8px; font-weight: 700; color: var(--coral-dark); background: var(--coral-soft); padding: 2px 6px; border-radius: 100px; }
.p-insight { font-size: 8.5px; color: var(--text-secondary); line-height: 1.4; background: var(--cream); border-radius: 8px; padding: 8px; margin-top: 2px; }
.p-chat { display: flex; flex-direction: column; gap: 6px; }
.p-bubble { font-size: 8.5px; line-height: 1.4; padding: 7px 9px; border-radius: 10px; max-width: 88%; }
.p-bubble.ai { background: var(--teal-soft); color: var(--teal-dark); }
.p-bubble.user { background: var(--coral-soft); color: var(--coral-dark); align-self: flex-end; }
.p-log { display: flex; align-items: center; gap: 7px; background: var(--cream); border-radius: 8px; padding: 6px 8px; }
.p-log-label { font-size: 8px; font-weight: 700; flex: 1; }
.p-log-val { font-size: 8px; color: var(--text-secondary); }

/* ── PHONE MOCKUP — real app UI elements ── */
.phone-screen-cream { background: #FBF6EE; }

/* CatSelectorBar */
.p-cat-bar {
  display: flex; align-items: center; gap: 5px;
  background: #fff; border-radius: 20px;
  padding: 4px 8px; border: 1px solid var(--border-softer);
}
.p-cat-avatar { font-size: 11px; }
.p-cat-name { font-size: 8.5px; font-weight: 700; flex: 1; color: var(--text); }
.p-cat-caret { font-size: 7px; color: var(--text-tertiary); }

/* CareLevelTag */
.p-care-tag {
  display: inline-block; font-size: 7px; font-weight: 700;
  padding: 2px 5px; border-radius: 100px; margin-bottom: 3px;
}
.p-care-tag.monitor { background: #FEF3C7; color: #92400E; }
.p-care-tag.vet     { background: #FCE3D8; color: var(--coral-dark); }
.p-care-tag.emergency { background: #FEE2E2; color: #991B1B; }

/* QuickChips */
.p-chips {
  display: flex; gap: 4px; overflow: hidden; flex-wrap: nowrap;
}
.p-chip {
  font-size: 7.5px; font-weight: 600; white-space: nowrap;
  background: #fff; border: 1px solid var(--border-softer);
  color: var(--text-secondary); border-radius: 100px; padding: 3px 7px;
}

/* Input bar */
.p-input-bar {
  display: flex; align-items: center; gap: 5px; margin-top: auto;
  background: #fff; border-radius: 20px; border: 1px solid var(--border-softer);
  padding: 4px 5px 4px 9px;
}
.p-input-field { font-size: 8px; color: var(--text-tertiary); flex: 1; }
.p-input-send {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Match cards (quiz results) */
.p-match-card {
  background: #fff; border-radius: 10px;
  padding: 8px 9px; display: flex; flex-direction: column; gap: 5px;
  border: 1px solid var(--border-softer);
}
.p-match-card-sm { padding: 6px 9px; }
.p-match-top { display: flex; align-items: center; gap: 6px; }
.p-match-name { font-size: 9px; font-weight: 700; flex: 1; color: var(--text); }
.p-score-2 { background: #E8F4F3; color: var(--teal-dark); }
.p-score-3 { background: #F3EEE8; color: #7A6550; }
.p-match-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.p-match-chip {
  font-size: 7px; font-weight: 600;
  background: var(--teal-soft); color: var(--teal-dark);
  border-radius: 100px; padding: 2px 6px;
}

/* Ask Luna CTA pill */
.p-ask-luna {
  margin-top: auto; text-align: center;
  background: var(--teal); color: #fff;
  font-size: 7.5px; font-weight: 700;
  border-radius: 100px; padding: 5px 10px;
}

/* ── MARQUEE ── */
.marquee-section {
  background: linear-gradient(90deg, var(--coral-dark) 0%, var(--coral) 40%, var(--coral) 60%, var(--coral-dark) 100%);
  padding: 0.55rem 0;
  overflow: hidden;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 1.75rem;
}
.marquee-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); }

/* ── STATS ── */
.stats-section {
  background: linear-gradient(135deg, #1C1C1C 0%, #2A1F1F 50%, #1C1C1C 100%);
  padding: 4rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2%;
  right: -2%;
  height: 80px;
  background: var(--surface);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
  z-index: 1;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--coral);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── SHARED SECTION ── */
section { padding: 5.5rem 2rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-soft);
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-eyebrow.teal { color: var(--teal-dark); background: var(--teal-soft); }
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
  text-wrap: balance;
}
.section-title .accent { color: var(--coral); }
.section-title .teal { color: var(--teal-dark); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.section-header { margin-bottom: 3.5rem; }

/* ── BENTO FEATURES ── */
.features-section { background: var(--surface); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
}
.bento-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1.5px solid var(--border);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.bento-card.coral-bg:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 0 0 2px var(--coral); }
.bento-card.dark-bg:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.2), 0 0 0 2px rgba(240,138,107,0.6); }
.bento-card.teal-bg:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 0 0 2px var(--teal); }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }
.bento-card.coral-bg { background: var(--coral-soft); border-color: rgba(240,138,107,0.25); }
.bento-card.teal-bg { background: var(--teal-soft); border-color: rgba(91,175,168,0.25); }
.bento-card.dark-bg { background: var(--text); color: white; border-color: transparent; }
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.bento-icon svg { width: 26px; height: 26px; }
.bento-icon.coral { background: var(--coral); color: white; }
.bento-icon.teal { background: var(--teal); color: white; }
.bento-icon.surface { background: var(--surface); color: var(--coral-dark); }
.bento-icon.muted { background: rgba(255,255,255,0.15); color: white; }
.bento-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.bento-card.dark-bg h3 { color: white; }
.bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.bento-card.dark-bg p { color: rgba(255,255,255,0.65); }
.bento-card.coral-bg p { color: var(--coral-dark); }
.bento-card.teal-bg p { color: var(--teal-dark); }
.feature-pill {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  border: 1.5px solid currentColor;
}
.pill-free { color: var(--teal-dark); }
.pill-premium { color: var(--coral-dark); }
.bento-card.dark-bg .pill-premium { color: var(--coral-soft); }
.bento-large-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 0.25rem;
}
.bento-card.teal-bg .bento-large-number { color: var(--teal-dark); }
.bento-decorative {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.08;
}
.bento-decorative.coral { background: var(--coral-dark); }
.bento-decorative.teal { background: var(--teal-dark); }
.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.75rem; }
.bento-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-secondary);
}

/* ── QUIZ ── */
.quiz-section { background: var(--cream); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.quiz-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.quiz-card-header {
  background: var(--coral);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-card-title { color: white; font-size: 0.85rem; font-weight: 700; }
.quiz-progress {
  display: flex;
  gap: 4px;
}
.quiz-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.quiz-dot.done { background: white; }
.quiz-body { padding: 1.75rem; }
.quiz-q {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.quiz-opts { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  cursor: default;
}
.quiz-opt.sel { border-color: var(--coral); background: var(--coral-soft); color: var(--coral-dark); }
.quiz-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.quiz-opt.sel .quiz-radio { border-color: var(--coral); background: var(--coral); }
.quiz-results { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 1.75rem; border-top: 1.5px solid var(--border-softer); background: var(--cream); }
.quiz-results-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); margin-bottom: 0.25rem; }
.result-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--border);
}
.result-rank-badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-name { font-size: 0.88rem; font-weight: 700; flex: 1; }
.result-score-pill { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.625rem; border-radius: 100px; }
.steps-list { display: flex; flex-direction: column; gap: 1.75rem; }
.step-item { display: flex; gap: 1.25rem; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.step-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── LUNA ── */
.luna-section {
  background: #0D3D37;
  position: relative;
  overflow: hidden;
  padding-bottom: 7rem;
}
.luna-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}
.luna-wave svg { display: block; width: 100%; }
.luna-bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.luna-bg-blob.b1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,175,168,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.luna-bg-blob.b2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240,138,107,0.1) 0%, transparent 70%);
  bottom: -50px; left: -50px;
}
.luna-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.luna-section .section-eyebrow { background: rgba(91,175,168,0.2); color: var(--teal); }
.luna-section .section-title { color: white; }
.luna-section .section-subtitle { color: rgba(255,255,255,0.65); }
.luna-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.luna-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.25rem;
}
.luna-feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(91,175,168,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.luna-feature-icon svg { width: 20px; height: 20px; }
.luna-feature-body h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; color: white; margin-bottom: 0.25rem; }
.luna-feature-body p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.luna-chat-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.luna-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.luna-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.luna-chat-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; color: white; }
.luna-chat-status { font-size: 0.72rem; color: var(--good); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.luna-chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--good); display: inline-block; }
.chat-bubble {
  padding: 0.875rem 1.125rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 88%;
}
.chat-bubble.luna { background: rgba(91,175,168,0.15); color: rgba(255,255,255,0.85); border-bottom-left-radius: 4px; }
.chat-bubble.user { background: rgba(240,138,107,0.2); color: rgba(255,255,255,0.85); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubbles { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── HEALTH ── */
.health-section { background: var(--cream); }
.health-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.health-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.health-tile {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.health-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: var(--coral); }
.tile-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.tile-label { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.3px; }
.tile-desc { font-size: 0.68rem; color: var(--text-tertiary); margin-top: 2px; font-weight: 600; }
.health-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.health-item { display: flex; gap: 1rem; align-items: flex-start; }
.health-item-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--coral-soft); color: var(--coral-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.health-item-icon svg { width: 18px; height: 18px; }
.health-item-body h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; margin-bottom: 0.2rem; }
.health-item-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ── BREEDS ── */
.breeds-section { background: var(--surface); }
.encyclopedia-section { background: var(--surface); }
.breed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.breed-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.breed-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.breed-img {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border-softer);
}
.breed-info {}
.breed-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem; font-weight: 800; margin-bottom: 2px; }
.breed-trait { font-size: 0.75rem; color: var(--text-secondary); font-weight: 600; }
.breed-cta { text-align: center; }

/* ── PRICING ── */
.pricing-section { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: var(--coral); box-shadow: 0 8px 32px rgba(240,138,107,0.2); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}
.pricing-tier { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-tertiary); margin-bottom: 0.75rem; }
.pricing-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-price .period { font-size: 1rem; font-weight: 600; color: var(--text-tertiary); letter-spacing: 0; }
.pricing-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 2rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.25rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 600; }
.pricing-features .check { width: 20px; height: 20px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-features .check svg { width: 12px; height: 12px; }
.pricing-features .muted { color: var(--text-tertiary); }
.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  touch-action: manipulation;
  border: none;
}
.pricing-cta.primary { background: var(--coral); color: white; box-shadow: 0 4px 16px rgba(240,138,107,0.35); }
.pricing-cta.primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,138,107,0.45); }
.pricing-cta.secondary { background: var(--cream); color: var(--text); border: 2px solid var(--border); }
.pricing-cta.secondary:hover { border-color: var(--teal); transform: translateY(-2px); }
.pricing-note { text-align: center; margin-top: 2rem; font-size: 0.82rem; color: var(--text-tertiary); font-weight: 600; }

/* ── DOWNLOAD / CTA ── */
.download-section {
  background: var(--coral);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.download-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.download-section .section-eyebrow { background: rgba(255,255,255,0.2); color: white; }
.download-section .section-title { color: white; }
.download-section .section-subtitle { color: rgba(255,255,255,0.8); margin: 0 auto 2.75rem; max-width: 480px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--text);
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  cursor: pointer;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.store-ico { flex-shrink: 0; }
.store-ico svg { width: 28px; height: 28px; display: block; }
.store-sub { font-size: 0.68rem; font-weight: 600; color: var(--text-secondary); display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.store-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 800; display: block; }
.download-note { margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 600; }

/* ── FOOTER ── */
footer { background: #1C1C1C; color: rgba(255,255,255,0.65); padding: 4rem 2rem 2rem; position: relative; overflow: hidden; }
footer::before {
  content: 'What Cat?';
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -4px;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}
.footer-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-logo img { width: 34px; height: 34px; border-radius: 10px; }
.footer-logo span { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; color: white; font-size: 1.1rem; letter-spacing: -0.5px; }
.footer-tagline { font-size: 0.875rem; line-height: 1.65; max-width: 260px; }
.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; font-weight: 600; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.8rem; font-weight: 600; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.70); text-decoration: none; font-size: 0.8rem; font-weight: 600; transition: color var(--transition); }
.footer-legal a:hover { color: white; }

/* ── SCREEN READER ONLY ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── WAITLIST ── */
.waitlist-section {
  position: relative;
  overflow: hidden;
  background: #1A1614;
  padding: 5.5rem 2rem;
  text-align: center;
}
.waitlist-bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.waitlist-bg-blob.b1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(240,138,107,0.25) 0%, transparent 70%);
  top: -120px; left: -80px;
}
.waitlist-bg-blob.b2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(91,175,168,0.2) 0%, transparent 70%);
  bottom: -80px; right: -60px;
}
.waitlist-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.waitlist-construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,164,88,0.15);
  border: 1px solid rgba(224,164,88,0.35);
  color: #E0A458;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.waitlist-construction-badge svg {
  width: 13px; height: 13px; flex-shrink: 0;
}
.waitlist-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: white;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.waitlist-title .wl-coral { color: var(--coral); }
.waitlist-title .wl-teal { color: var(--teal); }
.waitlist-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}
.waitlist-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2.75rem;
}
.waitlist-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
}
.waitlist-feature-pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.waitlist-form-wrap {
  width: 100%;
}
.waitlist-form {
  display: flex;
  gap: 0.625rem;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist-input-wrap {
  flex: 1;
  position: relative;
}
.waitlist-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: border-color 200ms cubic-bezier(0.4,0,0.2,1), background 200ms cubic-bezier(0.4,0,0.2,1);
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist-input:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(240,138,107,0.22);
  outline: none;
}
.waitlist-input.error { border-color: #F07070; }
.waitlist-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: white;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 200ms cubic-bezier(0.4,0,0.2,1), transform 200ms cubic-bezier(0.4,0,0.2,1), box-shadow 200ms cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 20px rgba(240,138,107,0.4);
  white-space: nowrap;
}
.waitlist-btn:hover:not(:disabled) { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(240,138,107,0.5); }
.waitlist-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.waitlist-btn svg { width: 16px; height: 16px; }
.waitlist-error-msg {
  color: #F07070;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}
.waitlist-error-msg.visible { display: block; }
.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.waitlist-success.visible { display: flex; }
.waitlist-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(122,184,122,0.15);
  border: 2px solid rgba(122,184,122,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.waitlist-success-icon svg { width: 24px; height: 24px; color: #7AB87A; }
.waitlist-success-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}
.waitlist-success-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}
.waitlist-privacy {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}
.waitlist-privacy a { color: rgba(255,255,255,0.70); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; justify-content: center; }
  .waitlist-error-msg { text-align: center; }
}

/* ── HERO INLINE WAITLIST FORM ── */
.reveal-delay-5 { transition-delay: 0.5s; }
.hero-wl-wrap { margin-top: 1.75rem; }
.hero-wl-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}
.hero-wl-input {
  flex: 1;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07), 0 0 0 1px var(--border-softer);
  transition: border-color 200ms cubic-bezier(0.4,0,0.2,1), box-shadow 200ms cubic-bezier(0.4,0,0.2,1);
}
.hero-wl-input::placeholder { color: var(--text-tertiary); }
.hero-wl-input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(240,138,107,0.18), 0 2px 10px rgba(0,0,0,0.07); }
.hero-wl-input.error { border-color: #E05555; box-shadow: 0 0 0 4px rgba(224,85,85,0.15); }
.hero-wl-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: white;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 200ms cubic-bezier(0.4,0,0.2,1), transform 200ms cubic-bezier(0.4,0,0.2,1), box-shadow 200ms cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 18px rgba(240,138,107,0.45);
  white-space: nowrap;
}
.hero-wl-btn:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(240,138,107,0.5); }
.hero-wl-btn:active:not(:disabled) { transform: scale(0.97); box-shadow: 0 2px 10px rgba(240,138,107,0.35); }
.hero-wl-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.hero-wl-error {
  color: #E05555;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: none;
}
.hero-wl-error.visible { display: block; }
.hero-wl-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--good);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.75rem;
}
.hero-wl-success.visible { display: flex; }
.hero-wl-success svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-wl-hint {
  margin-top: 0.5rem;
  font-size: 0.73rem;
  color: var(--text-tertiary);
  font-weight: 600;
}
@media (max-width: 480px) {
  .hero-wl-form { flex-direction: column; }
  .hero-wl-btn { justify-content: center; }
}

/* ── WAITLIST OVERLAY ── */
#waitlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  background: rgba(12, 8, 8, 0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 350ms ease-in, transform 350ms ease-in;
}
#waitlist-overlay.dismissing {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}
.wl-ov-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 9001;
}
.wl-ov-blob.b1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(240,138,107,0.22) 0%, transparent 70%);
  top: -160px; left: -120px;
}
.wl-ov-blob.b2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(91,175,168,0.18) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}
.wl-ov-card {
  position: relative;
  z-index: 9002;
  background: #131010;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  padding: 3rem 2.75rem 2.5rem;
  width: 100%;
  max-width: 520px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(240,138,107,0.12);
  margin: auto;
}
.wl-ov-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
}
.wl-ov-brand img {
  width: 44px; height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(240,138,107,0.35);
}
.wl-ov-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: white;
}
.wl-ov-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(224,164,88,0.12);
  border: 1px solid rgba(224,164,88,0.3);
  color: #E0A458;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.wl-ov-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.wl-ov-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: white;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.wl-ov-headline .ov-coral { color: var(--coral); }
.wl-ov-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.wl-ov-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  max-width: 300px;
}
.wl-ov-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}
.wl-ov-pill svg { width: 11px; height: 11px; flex-shrink: 0; }
.wl-ov-form {
  display: flex;
  gap: 0.625rem;
  max-width: 420px;
  margin: 0 auto;
}
.wl-ov-input-wrap { flex: 1; position: relative; }
.wl-ov-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 13px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.wl-ov-input::placeholder { color: rgba(255,255,255,0.3); }
.wl-ov-input:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(240,138,107,0.22);
  outline: none;
}
.wl-ov-input.error { border-color: #F07070; }
.wl-ov-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--coral);
  color: white;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: 13px;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 20px rgba(240,138,107,0.45);
  white-space: nowrap;
  touch-action: manipulation;
}
.wl-ov-btn:hover:not(:disabled) {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(240,138,107,0.55);
}
.wl-ov-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.wl-ov-btn svg { width: 15px; height: 15px; }
.wl-ov-error {
  color: #F07070;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: none;
}
.wl-ov-error.visible { display: block; }
.wl-ov-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}
.wl-ov-success.visible { display: flex; }
.wl-ov-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(122,184,122,0.12);
  border: 2px solid rgba(122,184,122,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.wl-ov-success-icon svg { width: 24px; height: 24px; color: #7AB87A; }
.wl-ov-success-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}
.wl-ov-success-body { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 340px; }
.wl-ov-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 1.75rem 0 1.25rem;
}
.wl-ov-privacy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.wl-ov-privacy a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.wl-ov-peek-link {
  display: inline-block;
  margin-top: 1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  padding: 0.5rem 1.375rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.wl-ov-peek-link:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); color: #fff; }
.wl-ov-peek-link[hidden] { display: none; }

@media (max-width: 480px) {
  .wl-ov-card { padding: 2.25rem 1.5rem 2rem; border-radius: 20px; }
  .wl-ov-form { flex-direction: column; }
  .wl-ov-btn { width: 100%; justify-content: center; }
}

/* ── PAGE CONTENT BLUR WRAPPER ── */
#page-content {
  filter: blur(5px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  transition: filter 400ms ease, opacity 400ms ease;
}

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── LUNA: HTML uses .luna-feat / .luna-feat-icon / .luna-chat-card ── */
.luna-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.25rem;
}
.luna-feat-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(91,175,168,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.luna-feat-icon svg { width: 20px; height: 20px; }
.luna-feat h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; color: white; margin-bottom: 0.25rem; }
.luna-feat p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.luna-chat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.luna-chat-top {
  display: flex; align-items: center;
  gap: 10px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.luna-name-block { flex: 1; }
.luna-name-block .name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; color: white; }
.luna-name-block .sub { font-size: 0.72rem; color: var(--good); font-weight: 600; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex-shrink: 0; }
.luna-msgs { display: flex; flex-direction: column; gap: 0.75rem; }
.lmsg {
  padding: 0.875rem 1.125rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 88%;
}
.lmsg.ai { background: rgba(91,175,168,0.15); color: rgba(255,255,255,0.85); border-bottom-left-radius: 4px; }
.lmsg.user { background: rgba(240,138,107,0.2); color: rgba(255,255,255,0.85); align-self: flex-end; border-bottom-right-radius: 4px; }
.luna-reminder {
  display: flex; align-items: center;
  gap: 0.75rem;
  background: rgba(122,184,122,0.1);
  border: 1px solid rgba(122,184,122,0.25);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--good);
}
.reminder-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(122,184,122,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reminder-icon svg { width: 14px; height: 14px; color: var(--good); }

/* ── HEALTH TILES: HTML uses .health-tile-ico / .tile-name ── */
.health-tile-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.625rem;
}
.health-tile-ico svg { width: 20px; height: 20px; }
.health-tile-ico.teal { background: var(--teal-soft); color: var(--teal-dark); }
.health-tile-ico.warn { background: #FEF3C7; color: #92400E; }
.health-tile-ico.green { background: var(--good-soft); color: var(--good); }
.tile-name { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.3px; }

/* ── HEALTH PREVIEW CARD ── */
.health-preview {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.health-preview-top { display: flex; align-items: center; justify-content: space-between; }
.cat-profile { display: flex; align-items: center; gap: 0.75rem; }
.cat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--coral-dark);
}
.cat-avatar svg { width: 22px; height: 22px; }
.cat-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 800; }
.cat-meta { font-size: 0.78rem; color: var(--text-secondary); font-weight: 600; }
.today-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); }
.log-list { display: flex; flex-direction: column; gap: 0.5rem; }
.log-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--border-softer);
}
.log-ico { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--coral-dark); }
.log-ico svg { width: 16px; height: 16px; }
.log-label { font-size: 0.82rem; font-weight: 700; flex: 1; }
.log-val { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }
.chart-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); margin-bottom: 0.625rem; }
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.bar { flex: 1; background: var(--teal-soft); border-radius: 4px 4px 0 0; }
.bar.active { background: var(--teal); }
.health-ai-note {
  background: var(--teal-soft);
  border: 1px solid rgba(91,175,168,0.25);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 0.82rem; line-height: 1.55;
}
.ai-note-head {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 0.78rem;
  color: var(--teal-dark); margin-bottom: 0.375rem;
}
.ai-note-head svg { width: 14px; height: 14px; color: var(--teal-dark); flex-shrink: 0; }
.ai-note-body { color: var(--teal-dark); font-weight: 600; }

/* ── ENCYCLOPEDIA: HTML uses .breed-img-area / .breed-tags / .breed-tag ── */
.breed-img-area {
  width: 52px; height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--border-softer);
}
.breed-img-area img { width: 100%; height: 100%; object-fit: cover; display: block; }
.breed-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.breed-tag { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 100px; background: var(--teal-soft); color: var(--teal-dark); }
.encyclopedia-cta { text-align: center; margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.encyclopedia-cta p { font-size: 0.92rem; color: var(--text-secondary); max-width: 480px; }

/* ── PRICING: HTML uses .plan-* / .ci / .plan-action ── */
.plan-tier { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-tertiary); margin-bottom: 0.75rem; }
.plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem; font-weight: 900;
  letter-spacing: -2px; line-height: 1;
  color: var(--text); margin-bottom: 0.25rem;
}
.plan-price .per { font-size: 1rem; font-weight: 600; color: var(--text-tertiary); letter-spacing: 0; }
.plan-period { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-weight: 600; }
.plan-save { color: var(--good); font-weight: 700; }
.plan-divider { border: none; border-top: 1.5px solid var(--border-softer); margin: 1.25rem 0 1.5rem; }
.plan-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.plan-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.88rem; font-weight: 600; }
.plan-item.no { color: var(--text-tertiary); }
.ci {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plan-item.ok .ci { background: var(--good-soft); color: var(--good); }
.plan-item.no .ci { background: var(--border-softer); color: var(--text-tertiary); }
.ci svg { width: 11px; height: 11px; }
.plan-action {
  display: block; width: 100%; text-align: center;
  padding: 0.9rem; border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  touch-action: manipulation; border: 2px solid transparent;
}
.plan-action.solid { background: var(--coral); color: white; box-shadow: 0 4px 16px rgba(240,138,107,0.35); }
.plan-action.solid:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,138,107,0.45); }
.plan-action.ghost { background: var(--cream); color: var(--text); border-color: var(--border); }
.plan-action.ghost:hover { border-color: var(--teal); transform: translateY(-2px); }
.featured-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 100px;
  white-space: nowrap;
}
.pricing-footnote { text-align: center; margin-top: 2rem; font-size: 0.82rem; color: var(--text-tertiary); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bento-card.span-4 { grid-column: span 6; }
  .bento-card.span-8 { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-right { padding-bottom: 0; }
  .phone-wrap.side { display: none; }
  .split-layout { grid-template-columns: 1fr; gap: 3rem; }
  .luna-layout { grid-template-columns: 1fr; gap: 3rem; }
  .health-layout { grid-template-columns: 1fr; gap: 3rem; }
  .health-tiles { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-4, .bento-card.span-6, .bento-card.span-8, .bento-card.span-12 { grid-column: span 12; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  section { padding: 4rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .breed-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-wl-form { margin: 0 auto; }
  .hero-wl-hint { text-align: center; }
}
@media (max-width: 480px) {
  .hero-right { justify-content: center; }
  .hero-phone.large { width: 185px; height: 355px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .health-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── PRE-JOINED STATE: suppress overlay before JS fires ── */
html.wl-joined #waitlist-overlay { display: none !important; }
html.wl-joined #page-content {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  user-select: auto !important;
  overflow: visible !important;
}

/* ── OVERLAY ESCAPE: keep peek button reachable on short viewports ── */
@media (max-height: 620px) {
  #waitlist-overlay { align-items: flex-start; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .wl-ov-card { padding: 1.5rem 1.5rem 1.25rem; }
  .wl-ov-sub, .wl-ov-pills { margin-bottom: 1rem; }
  .wl-ov-badge { margin-bottom: 1rem; }
  .wl-ov-headline { font-size: 1.75rem; margin-bottom: 0.75rem; }
  .wl-ov-peek-link { position: sticky; bottom: 0.5rem; }
}
