/* ============================================================
   SLYMO LANDING PAGE - styles.css
   ============================================================ */

/* ---------- Fonts ----------------------------------------- */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Material_Symbols.woff') format('woff');
  font-display: swap;
}

/* ---------- Design tokens --------------------------------- */
:root {
  --primary:        #B77D4B;
  --primary-light:  #c8956c;
  --primary-dark:   #8f5e32;
  --primary-bg:     #f9f0e7;
  --bg:             #FDFAF7;
  --bg-alt:         #F4EDE4;
  --surface:        #FFFFFF;
  --border:         #E8DDD3;
  --text:           #1A1209;
  --text-muted:     #7A6655;
  --text-on-primary:#FFFFFF;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.14);
  --nav-h:          64px;
  --max-w:          1100px;
  --protein:        #4A9457;
  --fat:            #BF6B3A;
  --carb:           #3A82BF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #110e0a;
    --bg-alt:       #1a1410;
    --surface:      #221c15;
    --border:       #332820;
    --text:         #F0E8DF;
    --text-muted:   #9A8878;
    --primary-bg:   #2a1f14;
  }
}

/* ---------- Reset ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Material Symbols ------------------------------ */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* ---------- Scroll animations ----------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Utilities ------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-alt{ background: var(--bg-alt); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-bg); color: var(--primary);
  font-size: 13px; font-weight: 500; letter-spacing: .3px;
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.tag .material-symbols-rounded { font-size: 16px; }
.section-heading {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; line-height: 1.15;
  max-width: 640px;
}
.section-sub {
  margin-top: 14px;
  font-size: 17px; color: var(--text-muted);
  max-width: 560px; line-height: 1.65;
}
.center { text-align: center; }
.center .section-heading,
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons --------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; border: none; transition: all .2s;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ---------- Store badges ---------------------------------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 11px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  border: none;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--bg);
}
.store-badge svg { flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; }
.store-badge .badge-sub { font-size: 10px; font-weight: 400; opacity: .75; line-height: 1; }
.store-badge .badge-name { font-size: 15px; line-height: 1.2; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--text);
  flex-shrink: 0;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: 8px; flex: 1;
}
.nav-links a {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav-cta { margin-left: auto; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: auto;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 500; color: var(--text);
}
.mobile-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.rating-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--primary-bg); color: var(--primary);
  font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.5px;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 36px; max-width: 480px;
}
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.phone-mockup {
  position: relative; z-index: 2;
  width: 240px;
  background: var(--text);
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: var(--bg-alt);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.mascot-float {
  position: absolute; right: -10px; bottom: -20px; z-index: 3;
  width: 100px;
  animation: mascot-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.18));
}
@keyframes mascot-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-badge-strip {
  display: flex; align-items: center; gap: 18px;
  margin-top: 32px; font-size: 13px; color: var(--text-muted);
}
.hero-badge-strip span { display: flex; align-items: center; gap: 5px; }
.hero-badge-strip .material-symbols-rounded { font-size: 16px; color: var(--primary); }

/* ============================================================
   SOCIAL PROOF BAND - MARQUEE
   ============================================================ */
.proof-band {
  background: var(--primary);
  padding: 18px 0;
  overflow: hidden;
}
.proof-band-inner {
  display: flex; align-items: center;
  flex-wrap: nowrap; gap: 40px;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 0 20px;
}
.proof-band-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 14px; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
}
.proof-item strong { font-size: 16px; }
.proof-item .material-symbols-rounded { font-size: 22px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.feature-icon .material-symbols-rounded { font-size: 26px; color: var(--primary); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.premium-badge {
  display: inline-block;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  padding: 2px 8px; border-radius: 999px;
  margin-left: 8px; vertical-align: middle;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px;
}
.hiw-step { text-align: center; }
.step-num {
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.hiw-screenshot {
  width: 100%; max-width: 180px; margin: 24px auto 0;
  background: var(--text); border-radius: 24px;
  padding: 7px; box-shadow: var(--shadow-md);
}
.hiw-screenshot .phone-screen { border-radius: 18px; }
.hiw-step h3  { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.hiw-step p   { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   SCREENSHOT CAROUSEL
   ============================================================ */
.carousel-wrap {
  margin-top: 56px;
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.carousel-wrap::-webkit-scrollbar      { height: 5px; }
.carousel-wrap::-webkit-scrollbar-thumb{ background: var(--border); border-radius: 99px; }
.carousel-item {
  flex-shrink: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 200px;
}
.carousel-item .phone-mockup { width: 100%; }
.carousel-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   PERSONALITIES
   ============================================================ */
.personalities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 56px;
}
.personality-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.personality-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.personality-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.personality-emoji { font-size: 26px; }
.personality-card h3 { font-size: 17px; font-weight: 700; }
.personality-card .subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.personality-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.personality-quote {
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 14px; font-style: italic; color: var(--text);
  line-height: 1.55;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px; align-items: start;
}
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  position: relative;
}
.pricing-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-bg);
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price {
  font-size: 34px; font-weight: 700; color: var(--primary); margin-bottom: 4px;
}
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.pricing-features li .check { color: var(--primary); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pricing-features li .cross { color: var(--text-muted); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pricing-features li .material-symbols-rounded { font-size: 18px; margin-top: 0; }
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.pricing-name-icon { font-size: 20px; color: var(--primary); }
.pricing-cta { display: block; text-align: center; }
.save-badge {
  display: inline-block;
  background: #2a6; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none;
  font-size: 16px; font-weight: 600; color: var(--text); text-align: left;
  cursor: pointer; transition: background .15s;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon { flex-shrink: 0; font-size: 22px; transition: transform .25s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 15px; color: var(--text-muted); line-height: 1.68;
}
.faq-answer-inner { padding: 0 24px 20px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  background: var(--primary); padding: 96px 0; text-align: center;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.cta-section p  { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.cta-section .store-badge {
  background: #fff; color: var(--primary);
}
.cta-section .store-badge:hover { background: rgba(255,255,255,.9); color: var(--primary-dark); }
.cta-section .store-badges { justify-content: center; }
.cta-mascot { width: 80px; margin: 0 auto 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--text); }
.footer-logo img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-links a {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 13px; color: var(--text-muted); width: 100%; margin-top: 8px; }

/* ============================================================
   HERO TYPING DEMO
   ============================================================ */
.hero-typing-demo {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 28px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.typing-prompt {
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  color: var(--text-muted); white-space: nowrap; flex-shrink: 0;
}
.typing-text-wrap {
  flex: 1; overflow: hidden;
  color: var(--text); font-weight: 500; white-space: nowrap;
}
.typing-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--primary); margin-left: 1px;
  vertical-align: text-bottom;
  animation: cursor-blink .7s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.typing-badge {
  background: #eaf7ec; color: #277a3b;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
}
@media (prefers-color-scheme: dark) {
  .typing-badge { background: #142b1a; color: #5ec872; }
}

/* ============================================================
   HERO VISUAL GLOW
   ============================================================ */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 68%);
  opacity: .13;
  z-index: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.stat-number {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700; line-height: 1; color: var(--primary);
}
.stat-label {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}
.stat-divider {
  width: 1px; background: var(--border); height: 60px; margin: auto;
  display: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars { color: #f59e0b; font-size: 16px; letter-spacing: 3px; }
.testimonial-text {
  font-size: 15px; color: var(--text); line-height: 1.65; flex: 1;
}
.testimonial-text em { font-style: normal; font-weight: 600; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px; padding-top: 4px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; display: block; }
.testimonial-meta { font-size: 12px; color: var(--text-muted); }
.testimonials-source {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--text-muted);
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 20px 16px;
  gap: 12px; align-items: center;
  box-shadow: 0 -8px 32px rgba(0,0,0,.12);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text strong { display: block; font-size: 14px; font-weight: 700; }
.sticky-cta-text span  { font-size: 12px; color: var(--text-muted); }
.sticky-cta-text { flex: 1; }
.sticky-cta .btn { flex-shrink: 0; padding: 11px 18px; font-size: 14px; }
.sticky-cta-close {
  background: none; border: none; padding: 6px;
  color: var(--text-muted); cursor: pointer; font-size: 18px; line-height: 1;
  flex-shrink: 0;
}
.sticky-cta-close:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .personalities-grid { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 180px; }
  .mascot-float { width: 72px; right: calc(50% - 130px); bottom: -16px; }
  .hiw-grid  { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .hero-typing-demo { display: none; } /* avoid clutter on very small screens */
}

@media (max-width: 480px) {
  .store-badges { flex-direction: column; align-items: flex-start; }
  .hero h1 { letter-spacing: -.3px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-wrap { gap: 12px; }
}

/* ============================================================
   DESKTOP / MOBILE VISIBILITY UTILITIES
   ============================================================ */
.desktop-only { display: block; }
.mobile-only  { display: none;  }

@media (max-width: 768px) {
  .desktop-only { display: none  !important; }
  .mobile-only  { display: block !important; }
}

/* ============================================================
   WAITLIST FORM
   ============================================================ */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
}

/* Pill-shaped input + button row */
.waitlist-form-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: 5px 5px 5px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  gap: 0;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px 10px 0;
  background: transparent;
  border: none;
  color: var(--primary-dark);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.waitlist-input::placeholder { color: #b08060; opacity: 1; }

/* Button inside the pill row */
#waitlist-submit {
  border-radius: var(--radius-xl);
  padding: 12px 22px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 14px;
}

/* Consent row- sits below the pill on the primary bg */
.waitlist-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  padding: 0 4px;
}
.waitlist-consent-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #fff;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.waitlist-consent-row a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Status message */
.waitlist-message {
  font-size: 14px;
  min-height: 20px;
  text-align: center;
  margin: 0;
  font-weight: 500;
}
.waitlist-message--success { color: #d4f5e3; }
.waitlist-message--error   { color: #ffd5d5; }

/* CTA section: override btn-primary so it stands out on the primary background */
.cta-section #waitlist-submit.btn-primary {
  background: var(--primary-dark);
  color: #fff;
}
.cta-section #waitlist-submit.btn-primary:hover {
  background: #6e4826;
}

/* Hero waitlist button alignment */
.hero-waitlist-cta {
    margin-top: 4px;
    display: flex;
    align-items: center;
   gap: 8px;
}
.hero-waitlist-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

