/* ─────────────────────────────────────────────────────────────
   choobi Marketing Site — Styles
   Theme: Soft lavender sky / cream / purple
   ───────────────────────────────────────────────────────────── */

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

:root {
  /* App palette */
  --cream:          #ffffff;
  --cream-dark:     #ffffff;
  --lavender:       #8B7AB0;
  --lavender-light: #C4A8F8;
  --mint:           #ffffff;
  --mint-soft:      #ffffff;
  --mint-pale:      #ffffff;
  --teal:           #ffffff;
  --teal-dark:      #ffffff;
  --midnight:       #1C1F2B;
  --deep:           #13151F;
  --pink:           #E879A6;
  --pink-soft:      #F0A8D8;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #9B5CF6 0%, #E879A6 100%);
  --grad-blue:    linear-gradient(135deg, #60A5FA 0%, #9B5CF6 100%);
  --grad-warm:    linear-gradient(135deg, #FBBF94 0%, #E0A8F8 40%, #93C5FD 100%);
  --grad-night:   linear-gradient(135deg, #1C1F2B 0%, #2A1F3D 100%);

  /* Tokens */
  --text:        #1A1A2E;
  --text-sec:    #4A4A6A;
  --text-muted:  #8A8AB0;
  --surface:     #ffffff;
  --border:      rgba(139,122,176,0.15);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 8px rgba(139,122,176,0.12);
  --shadow-md:   0 8px 32px rgba(139,122,176,0.16);
  --shadow-lg:   0 20px 60px rgba(139,122,176,0.2);
  --shadow-card: 0 4px 20px rgba(26,26,46,0.08);

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lavender); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155,92,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(155,92,246,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--lavender);
  border: 2px solid rgba(139,122,176,0.4);
}
.btn-outline:hover {
  border-color: var(--lavender);
  background: rgba(139,122,176,0.06);
}

.btn-white {
  background: #fff;
  color: var(--lavender);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ── Section helpers ── */
.section { padding: 96px 0; }
section[id], div[id].legal-hero { scroll-margin-top: 80px; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lavender);
  background: #ffffff;
  border: 1px solid rgba(139,122,176,0.3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 56px;
}

/* ─────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,122,176,0.1);
  transition: all 0.2s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(139,122,176,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-cta { flex-shrink: 0; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-wordmark {
  height: 80px;
  width: auto;
  display: block;
}
.nav-logo-orb {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.btn-nav-cta {
  background: #13101F;
  color: #fff !important;
  border: none;
}
.btn-nav-cta:hover {
  background: #1F1A32;
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--lavender); text-decoration: none; }
.nav-link-active { color: var(--lavender) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 16px 16px;
  gap: 2px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sec);
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  display: block;
}
.nav-mobile a:hover,
.nav-mobile a:active {
  background: rgba(139,122,176,0.1);
  color: var(--lavender);
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────
   HERO — Lavender sky
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, #C8B8F0 0%, #DDD0F8 30%, #EDE6FF 60%, #F8F4FF 100%);
  overflow: hidden;
  padding: 120px 0 0;
  min-height: 600px;
}

/* Sky layer with clouds */
.hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Cloud image sits at the bottom of the hero */
.hero-clouds {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

/* Two-column layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.hero-text { padding-bottom: 60px; }

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  color: #1A1035;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-accent {
  background: linear-gradient(135deg, #6D28D9 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-plus {
  color: #9B5CF6;
  font-style: normal;
  -webkit-text-fill-color: #9B5CF6;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: #4A3F6B;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Dark pill — Download for iOS */
.btn-hero-primary {
  background: #13101F;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(19,16,31,0.22);
}
.btn-hero-primary:hover {
  background: #1F1A32;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(19,16,31,0.32);
  color: #fff;
}
.btn-hero-primary svg { flex-shrink: 0; }

/* Outlined — Get Started */
.btn-hero-outline {
  background: transparent;
  color: #4A3F6B;
  border: 2px solid rgba(109,40,217,0.28);
}
.btn-hero-outline:hover {
  border-color: rgba(109,40,217,0.55);
  background: rgba(109,40,217,0.05);
  color: #4A3F6B;
}

/* Right column: choobi character + sparkles */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-choobi {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(109,40,217,0.18));
  animation: choobi-float 3.5s ease-in-out infinite;
}

@keyframes choobi-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* Sparkle decorations */
.hero-sparkle {
  position: absolute;
  color: #9B5CF6;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
  animation: sparkle-float 3.5s ease-in-out infinite;
}
.hero-sparkle-1 { top: 12%; left: 8%; font-size: 28px; animation-delay: 0s; }
.hero-sparkle-2 { top: 22%; right: 12%; font-size: 18px; animation-delay: 1.1s; color: #C084FC; }
.hero-sparkle-3 { bottom: 28%; left: 16%; font-size: 36px; animation-delay: 0.6s; color: rgba(155,92,246,0.5); }

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.65; }
  50%       { transform: translateY(-9px) rotate(18deg); opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   SOCIAL STRIP
   ───────────────────────────────────────────────────────────── */
.social-strip {
  background: var(--cream);
  padding: 40px 0;
}
.strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 48px;
}
.strip-num {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #6D28D9 0%, #8B7AB0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.strip-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.strip-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─────────────────────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────────────────────── */
.features { background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }

.feature-card-accent {
  background: linear-gradient(135deg, #2A1F3D 0%, #1C1F2B 100%);
  border-color: rgba(155,92,246,0.2);
  grid-column: span 1;
}
.feature-card-accent h3 { color: #fff; }
.feature-card-accent p { color: rgba(255,255,255,0.65); }

.feature-card-dark {
  background: var(--grad-night);
  border-color: rgba(96,165,250,0.2);
}
.feature-card-dark h3 { color: #fff; }
.feature-card-dark p { color: rgba(255,255,255,0.65); }

.feature-icon { font-size: 28px; margin-bottom: 14px; display: block; color: var(--text); }
.feature-icon ion-icon { font-size: 28px; }
.feature-card-accent .feature-icon,
.feature-card-dark .feature-icon { color: #fff; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-sec);
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--lavender);
  background: #ffffff;
  border: 1px solid rgba(139,122,176,0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.feature-tag-light {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────────── */
.how { background: #fff; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-top: 8px;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(155,92,246,0.3);
}
.step-body { padding-bottom: 0; }
.step-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-body p { font-size: 16px; color: var(--text-sec); line-height: 1.7; }

.step-connector {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--lavender), var(--lavender-light));
  margin-left: 25px;
  opacity: 0.35;
}

/* ─────────────────────────────────────────────────────────────
   COMPANIONS
   ───────────────────────────────────────────────────────────── */
.companions { background: var(--cream); }

.companions-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.companions-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.companion-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.companion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.companion-featured {
  background: linear-gradient(135deg, rgba(139,122,176,0.06) 0%, rgba(155,92,246,0.04) 100%);
  border-color: rgba(139,122,176,0.3);
  padding: 40px 32px 36px;
}

.companion-default-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lavender);
  background: rgba(139,122,176,0.1);
  border: 1px solid rgba(139,122,176,0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.companion-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.companion-choobi-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}
.companion-ren    .companion-orb { background: linear-gradient(135deg, #F0A8D8, #FBBF94); }
.companion-sorae  .companion-orb { background: linear-gradient(135deg, #60A5FA, #9B5CF6); }
.companion-aira   .companion-orb { background: linear-gradient(135deg, #2A1F3D, #4A3F6B); }

.companion-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.companion-featured h3 { font-size: 22px; }
.companion-card p { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   SAFETY
   ───────────────────────────────────────────────────────────── */
.safety { background: #fff; }

.safety-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background: var(--grad-night);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.safety-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: #9B5CF6;
  opacity: 0.15;
  filter: blur(60px);
}

.safety-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.safety-left h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.safety-left p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 10px; }

.safety-right { display: flex; flex-direction: column; gap: 24px; }
.safety-feature { display: flex; gap: 14px; align-items: flex-start; }
.safety-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(139,122,176,0.35);
  color: var(--lavender);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.safety-feature strong { color: #fff; font-size: 15px; display: block; margin-bottom: 4px; }
.safety-feature p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   DOWNLOAD CTA — Purple gradient band
   ───────────────────────────────────────────────────────────── */
.download-cta {
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 45%, #9B5CF6 100%);
  padding: 72px 0;
}

.download-cta-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-cta-choobi {
  height: 150px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.25));
}

.download-cta-text { text-align: left; }
.download-cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.download-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
}

.download-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.store-btn-dark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  background: #0D0A1A;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.2s;
  min-width: 160px;
  text-decoration: none;
}
.store-btn-dark:hover {
  background: #1A1530;
  border-color: rgba(255,255,255,0.22);
  text-decoration: none;
  transform: translateY(-2px);
  color: #fff;
}
.store-btn-label {
  font-size: 10px;
  opacity: 0.68;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
.store-btn-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  display: block;
}

/* Keep legacy store-btn for any other pages */
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  transition: all 0.2s;
  min-width: 180px;
  text-decoration: none;
}
.store-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  text-decoration: none;
  transform: translateY(-2px);
}
.store-label { font-size: 11px; opacity: 0.7; line-height: 1; }
.store-name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.download-legal {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  position: relative;
}
.download-legal a { color: rgba(255,255,255,0.55); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   FOOTER — White horizontal layout
   ───────────────────────────────────────────────────────────── */
.footer {
  background: #fff;
  border-top: 1px solid rgba(139,122,176,0.12);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 0;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-logo { display: inline-block; text-decoration: none; }
.footer-wordmark {
  height: 60px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Nav links — horizontal center */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--lavender); text-decoration: none; }


/* Legacy footer columns (used on legal pages) */
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--lavender); text-decoration: none; }
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(139,122,176,0.1);
  padding: 16px 0 0;
  margin-top: 32px;
}
.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-bottom span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────
   LEGAL PAGES (privacy, terms, support)
   ───────────────────────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(180deg, #D4C5F0 0%, #E8DEFF 50%, #F3EDFF 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.legal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6D28D9;
  background: rgba(109,40,217,0.1);
  border: 1px solid rgba(109,40,217,0.2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #1A1035;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.legal-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #6D28D9 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-hero p {
  font-size: 18px;
  color: #4A3F6B;
  line-height: 1.7;
  max-width: 560px;
  position: relative;
}
.legal-meta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: #8A7AB0;
  position: relative;
}

.legal-body { background: var(--cream); padding: 72px 0; }

.legal-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.legal-toc h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: toc;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  line-height: 1.5;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.legal-toc a:hover {
  color: var(--lavender);
  background: rgba(139,122,176,0.08);
  text-decoration: none;
}

.legal-content { min-width: 0; }
.legal-content section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.legal-content section:last-child { border-bottom: none; padding-bottom: 0; }
.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  scroll-margin-top: 88px;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 10px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content li {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.65;
}
.legal-content a { color: var(--lavender); font-weight: 500; }
.legal-content strong { color: var(--text); }

.highlight-box {
  background: rgba(139,122,176,0.08);
  border: 1px solid rgba(139,122,176,0.2);
  border-left: 4px solid var(--lavender);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
}
.highlight-box strong { color: var(--text); }
.highlight-warning {
  background: rgba(232,121,166,0.07);
  border-color: rgba(232,121,166,0.3);
  border-left-color: var(--pink);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-item:last-child { border-bottom: none; }
.contact-item strong { color: var(--text); font-size: 13px; font-weight: 700; min-width: 80px; }
.contact-item a, .contact-item span { color: var(--text-sec); }

/* ─────────────────────────────────────────────────────────────
   SUPPORT PAGE SPECIFIC
   ───────────────────────────────────────────────────────────── */
.crisis-banner {
  background: #2D1010;
  border-top: 3px solid #EF4444;
  padding: 32px 0;
}
.crisis-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.crisis-icon { font-size: 32px; flex-shrink: 0; }
.crisis-text strong { font-size: 18px; font-weight: 800; color: #FCA5A5; display: block; margin-bottom: 6px; }
.crisis-text p { font-size: 14px; color: rgba(252,165,165,0.75); line-height: 1.6; }
.crisis-resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(239,68,68,0.2);
  padding-top: 24px;
}
.crisis-resource { }
.crisis-resource strong { font-size: 14px; color: #FCA5A5; display: block; margin-bottom: 6px; }
.crisis-resource p { font-size: 13px; color: rgba(252,165,165,0.65); line-height: 1.6; }
.crisis-resource a { color: rgba(252,165,165,0.9); }

.faq-section { background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}
.faq-category h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--lavender);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-q.open::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.75;
  padding-bottom: 16px;
}
.faq-a.open { display: block; }
.faq-a a { color: var(--lavender); font-weight: 500; }

.contact-section { background: #fff; }
.contact-hero-card {
  background: var(--grad-night);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contact-hero-card h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.contact-hero-card > p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  position: relative;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */

/* ── Touch targets ── */
@media (hover: none) {
  .btn, .store-btn-dark, .nav-mobile a, .faq-q {
    min-height: 44px;
  }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .companions-secondary { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; padding-top: 24px; }
  .hero-choobi { max-height: 300px; }
  .hero-text { padding-bottom: 48px; }
  .safety-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .legal-container { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .crisis-resources { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: center; gap: 28px; }
  .footer-brand { align-items: center; text-align: center; }
  .download-cta-inner { flex-direction: column; text-align: center; gap: 28px; }
  .download-cta-text { text-align: center; }
  .download-cta-btns { justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-inner { gap: 0; justify-content: space-between; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-logo-wordmark { max-height: 44px; }

  /* Hero */
  .hero { padding-top: 72px; min-height: auto; }
  .hero-inner { gap: 0; }
  .hero-visual { padding-top: 20px; }
  .hero-choobi { max-height: 260px; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-text { padding-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-sparkle-1 { display: none; }

  /* Sections */
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .section-sub { font-size: 16px; margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .companions-secondary { grid-template-columns: 1fr 1fr; }

  /* Stats strip */
  .strip-items { gap: 0; flex-wrap: wrap; justify-content: center; }
  .strip-item { padding: 10px 20px; flex: 0 0 40%; text-align: center; }
  .strip-divider { display: none; }
  .strip-num { font-size: 28px; }
  .strip-label { font-size: 11px; }

  /* How it works */
  .steps { max-width: 100%; }
  .step-body h3 { font-size: 17px; }
  .step-body p { font-size: 15px; }
  .step-connector { height: 24px; }

  /* Safety */
  .safety-card { padding: 32px 24px; gap: 32px; }
  .safety-left h2 { font-size: 28px; }

  /* Download CTA */
  .download-cta { padding: 48px 0; }
  .download-cta-choobi { height: 100px; }
  .store-btn-dark { min-width: 0; width: 100%; justify-content: center; }
  .download-cta-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; margin: 0 auto; }

  /* Footer */
  .footer { padding: 40px 0 28px; }
  .footer-inner { flex-direction: column; align-items: center; gap: 24px; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-nav { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Legal pages */
  .legal-hero { padding: 96px 0 56px; }
  .legal-hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .legal-hero p { font-size: 16px; }
  .legal-toc { margin-bottom: 8px; }
  .contact-hero-card { padding: 40px 20px; }
  .contact-hero-card h2 { font-size: 28px; }

  /* Support crisis */
  .crisis-resources { grid-template-columns: 1fr; }
  .crisis-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }

  /* Nav */
  .nav-inner { gap: 0; }
  .nav-logo-wordmark { max-height: 38px; }

  /* Hero */
  .hero { padding-top: 72px; }
  .hero-headline { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-choobi { max-height: 220px; }
  .hero-sparkle-2, .hero-sparkle-3 { display: none; }

  /* Cards */
  .feature-card { padding: 20px 16px; }
  .companion-card { padding: 20px 14px; }
  .companions-secondary { grid-template-columns: 1fr; }

  /* Buttons */
  .btn-lg { padding: 14px 22px; font-size: 15px; }

  /* Safety */
  .safety-card { padding: 24px 16px; }
  .safety-card { grid-template-columns: 1fr; }

  /* Footer */
  .footer-nav { gap: 10px; font-size: 13px; }
  .footer-wordmark { max-height: 36px; }

  /* Legal */
  .legal-container { gap: 32px; }
  .highlight-box { padding: 14px 16px; font-size: 14px; }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL FADE-IN ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-card:nth-child(3) { transition-delay: 0.10s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.05s; }
.feature-card:nth-child(6) { transition-delay: 0.10s; }
.feature-card:nth-child(7) { transition-delay: 0.15s; }
.companion-card:nth-child(2) { transition-delay: 0.08s; }
.companion-card:nth-child(3) { transition-delay: 0.16s; }
.companion-card:nth-child(4) { transition-delay: 0.24s; }
.step-item:nth-child(2) { transition-delay: 0.08s; }
.step-item:nth-child(3) { transition-delay: 0.16s; }
.step-item:nth-child(4) { transition-delay: 0.24s; }
