/* =========================================================================
   MyCroq · Marketing site
   Design tokens mirror lib/core/theme/croq_colors.dart (see docs/DESIGN_SYSTEM.md).
   "Le navy ancre l'interface ; les accents vifs sont des confettis maîtrisés."
   ========================================================================= */

:root {
  /* Brand & accents */
  --navy: #1D3557;
  --navy-deep: #122340;
  --navy-soft: #2B4A6F;
  --coral: #FF6B4A;
  --coral-dark: #E8512F;
  --sun: #FFC233;
  --mint: #25D0A0;
  --mint-dark: #1AA37C;
  --berry: #FF4D88;
  --grape: #7C5CFC;
  --grape-dark: #5B3FD6;
  --blue: #3B82F6;

  /* Neutrals & surfaces */
  --cream: #FFF6EC;
  --sand: #F5ECDD;
  --white: #FFFFFF;
  --cream-tile: #FFF1E9;

  /* Ink */
  --ink: #1D3557;
  --ink-body: #3A4860;
  --ink-muted: #5A6B82;
  --ink-subtle: #8A98AC;
  --ink-faint: #A6AFBE;
  --on-navy: #AEC0D8;
  --border: #F2E9DC;

  /* Semantic */
  --success: #25D0A0;
  --warning: #FFB020;
  --warning-ink: #8A5A00;
  --error: #FF5247;

  /* Signature gradients */
  --hero-grad: linear-gradient(135deg, #FF6B4A, #FF4D88);
  --mint-grad: linear-gradient(135deg, #25D0A0, #1AA37C);
  --wheel-grad: conic-gradient(#FF6B4A 0 60deg, #FFC233 60deg 120deg, #25D0A0 120deg 180deg, #FF4D88 180deg 240deg, #7C5CFC 240deg 300deg, #3B82F6 300deg 360deg);
  --shimmer-grad: linear-gradient(90deg, #FF6B4A, #FFC233, #FF4D88, #FF6B4A);

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 32px;
  --r-pill: 999px;

  --maxw: 1120px;

  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; }

/* Accessibility: visible keyboard focus only (mouse/touch stays clean). */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.nav.on-navy :focus-visible, .on-navy-bg :focus-visible,
.pro-hero :focus-visible, .final-cta :focus-visible { outline-color: var(--sun); }
.faq-q { border-radius: var(--r-md); }
.faq-q:focus-visible { outline-offset: -3px; }
/* Skip link (revealed on focus) */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding: 90px 0; }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-weight: 800; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: 12px;
}
.kicker.on-navy { color: var(--sun); }
.h1 { font-family: var(--font-head); font-weight: 700; font-size: 62px; line-height: 1.04; }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: 42px; line-height: 1.1; }
.lead { font-size: 19px; line-height: 1.65; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.on-navy-text { color: var(--on-navy); }
.shimmer {
  background: var(--shimmer-grad); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: croq-shimmer 5s linear infinite;
}
.section-head { max-width: 560px; margin: 0 auto 52px; text-align: center; }
.section-head .h2 { margin-bottom: 12px; }
.section-head p { font-size: 17px; color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 700; font-size: 17px; border-radius: var(--r-pill);
  padding: 17px 34px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(255,107,74,.4); }
.btn-primary:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(255,107,74,.55); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(29,53,87,.35); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.btn-light:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.btn-sm { padding: 12px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* Store badges */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: var(--navy); border-radius: 16px; padding: 13px 24px;
  cursor: pointer; transition: transform .25s, box-shadow .25s; box-shadow: 0 10px 26px rgba(0,0,0,.15);
}
.store-badge:hover { transform: translateY(-3px) scale(1.04); color: var(--navy); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.store-badge .glyph { line-height: 1; flex: none; color: var(--navy); }
.store-badge svg.glyph { width: 26px; height: 26px; display: block; }
.store-badge > span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .sb-top { display: block; font-size: 10px; opacity: .65; letter-spacing: .3px; }
.store-badge .sb-main { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.15; }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: var(--r-pill);
}
.pill-coral { background: var(--cream-tile); color: var(--coral-dark); }
.pill-sun { background: var(--sun); color: var(--navy); font-weight: 800; }
.pill-mint { background: rgba(37,208,160,.16); color: var(--mint-dark); }
.pill-navy { background: var(--navy); color: #fff; }
.pill-ghost { background: rgba(255,255,255,.12); color: #fff; }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled { background: rgba(255,246,236,.82); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(242,233,220,.7); }
.nav.on-navy.scrolled { background: rgba(18,35,64,.72); border-bottom-color: rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.nav.on-navy .brand .wordmark { color: #fff; }
.logo-disc {
  border-radius: 50%; flex: none;
  background: conic-gradient(#FF6B4A 0 25%, #FFC233 0 50%, #25D0A0 0 75%, #FF4D88 0 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo-disc i { display: block; border-radius: 50%; background: #fff; }
.logo-40 { width: 40px; height: 40px; } .logo-40 i { width: 12px; height: 12px; }
.logo-28 { width: 28px; height: 28px; } .logo-28 i { width: 8px; height: 8px; }
.logo-spin { animation: croq-spin 12s linear infinite; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--coral); }
.nav.on-navy .nav-links a:not(.btn) { color: var(--on-navy); }
.nav.on-navy .nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ================= HERO ================= */
.hero { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 48px 40px 80px; max-width: var(--maxw); margin: 0 auto; position: relative;
}
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero .float-emoji { position: absolute; pointer-events: none; }
.hero h1 { font-size: 62px; line-height: 1.04; margin: 0 0 20px; }
.hero .lead { max-width: 480px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.social-proof { display: flex; align-items: center; gap: 12px; color: var(--ink-muted); font-size: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--cream);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px;
}
.avatars span + span { margin-left: -10px; }
.social-proof strong { color: var(--ink); }

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1100px; }
.phone-float { animation: croq-float 5s ease-in-out infinite; }
.phone {
  width: 290px; background: var(--cream); border-radius: 44px; border: 10px solid #0c1626;
  box-shadow: 0 30px 70px rgba(18,35,64,.3); overflow: hidden; position: relative;
  transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .18s ease-out;
}
.phone::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 45%, transparent 60%);
}
.phone-body { padding: 40px 18px 24px; }
.p-row { display: flex; align-items: center; justify-content: space-between; }
.p-hello { font-size: 11px; color: var(--ink-muted); font-weight: 600; }
.p-name { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.p-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--hero-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.p-points { background: var(--hero-grad); border-radius: 20px; padding: 16px; color: #fff; margin: 16px 0 12px; }
.p-points .lbl { font-size: 11px; font-weight: 600; opacity: .92; }
.p-points .big { font-family: var(--font-head); font-weight: 700; font-size: 34px; }
.p-bar { height: 6px; background: rgba(255,255,255,.3); border-radius: 999px; margin-top: 6px; overflow: hidden; }
.p-bar i { display: block; height: 100%; background: var(--sun); }
.p-spin { background: var(--navy); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.p-wheel { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--wheel-grad); box-shadow: 0 0 0 2px #fff; animation: croq-spin 7s linear infinite; }
.p-spin .t1 { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: #fff; }
.p-spin .t2 { font-size: 10px; color: var(--on-navy); }
.p-stamp { background: var(--navy); border-radius: 16px; padding: 14px; color: #fff; }
.p-stamp .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; font-size: 12px; }
.stamp-row { display: flex; gap: 5px; }
.stamp {
  flex: 1; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 9px; background: rgba(255,255,255,.06); border: 1.5px dashed rgba(255,255,255,.35);
}
.stamp.full { background: var(--coral); border-color: var(--coral); }
.stamp.gift { background: rgba(255,194,51,.2); border-color: var(--sun); }

/* ================= MARQUEE ================= */
.marquee {
  background: var(--navy); padding: 16px 0; overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02); box-shadow: 0 10px 30px rgba(18,35,64,.2);
  position: relative; z-index: 5;
}
.marquee-track { display: flex; width: max-content; animation: croq-marquee 24s linear infinite; }
.marquee-track span {
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 17px;
  padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.marquee-track .sep { color: var(--sun); font-size: 12px; }

/* ================= TRUST STRIP ================= */
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 40px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--cream-tile); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.trust-item .tt { font-weight: 700; font-size: 15px; }
.trust-item .ts { font-size: 13px; color: var(--ink-muted); }

/* ================= FEATURE CARDS ================= */
.on-white { background: #fff; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.feature-card {
  background: var(--cream); border-radius: var(--r-xl); padding: 28px 24px;
  transition: transform .3s, box-shadow .3s;
}
.on-white .feature-card { background: var(--cream); }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(18,35,64,.12); }
.feature-ic {
  width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 18px; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.feature-card:hover .feature-ic { transform: scale(1.15) rotate(-6deg); }
.feature-card h3 { font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.ic-coral { background: #FFE3D8; } .ic-sun { background: #FFEFC4; } .ic-berry { background: #FFDCE8; }
.ic-mint { background: #D3F5EA; } .ic-grape { background: #E7E1FF; } .ic-blue { background: #DBEAFE; }

/* ================= ROULETTE HIGHLIGHT ================= */
.on-navy-bg { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.on-navy-bg .h2, .on-navy-bg h2, .on-navy-bg h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.roulette-stage { display: flex; justify-content: center; perspective: 900px; }
.wheel-wrap { position: relative; width: 340px; height: 340px; transform: rotateX(14deg) rotateY(-6deg); transform-style: preserve-3d; }
.wheel-orbit { position: absolute; inset: -46px; animation: croq-orbit 18s linear infinite; }
.orbit-chip {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  animation: croq-orbit-rev 18s linear infinite;
}
.orbit-chip.o1 { top: 0; left: 50%; margin-left: -20px; }
.orbit-chip.o2 { bottom: 6%; left: 4%; }
.orbit-chip.o3 { bottom: 6%; right: 4%; }
.wheel-pointer {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%) translateZ(30px);
  width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 28px solid #fff; z-index: 6; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
}
.wheel {
  width: 340px; height: 340px; border-radius: 50%; background: var(--wheel-grad);
  box-shadow: 0 0 0 10px #122340, 0 0 0 16px #FFC233, 0 24px 60px rgba(0,0,0,.4);
  position: relative;
}
.wheel.ambient { animation: croq-spin 14s linear infinite, croq-glow 3s ease-in-out infinite; }
.wheel-icon { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.wheel-icon span { position: absolute; left: -15px; top: -140px; font-size: 30px; }
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) translateZ(24px);
  width: 70px; height: 70px; border-radius: 50%; background: #fff; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.wheel-shadow { position: absolute; bottom: -56px; left: 50%; transform: translateX(-50%) rotateX(70deg); width: 240px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.45), transparent 70%); }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist .row { display: flex; align-items: center; gap: 14px; transition: transform .25s; }
.checklist .row:hover { transform: translateX(8px); }
.checklist .ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,194,51,.18); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.checklist .row span { color: #fff; font-size: 15px; font-weight: 600; }
.spin-cta { margin-top: 28px; display: inline-flex; }

/* result toast on wheel */
.wheel-result {
  position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 20px);
  background: #fff; color: var(--navy); border-radius: var(--r-pill);
  padding: 10px 20px; font-weight: 800; font-size: 14px; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; transition: opacity .4s, transform .4s;
  z-index: 8; display: flex; align-items: center; gap: 8px;
}
.wheel-result.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= STEPS / LOOP ================= */
.step-card {
  background: #fff; border-radius: var(--r-xl); padding: 32px 28px; text-align: center;
  box-shadow: 0 6px 20px rgba(18,35,64,.06); transition: transform .3s, box-shadow .3s; position: relative;
}
.step-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(18,35,64,.13); }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(255,107,74,.35);
}
.step-emoji { font-size: 40px; margin-bottom: 12px; display: inline-block; animation: croq-bob 4.5s ease-in-out infinite; }
.step-card h3 { font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

/* ================= GAMIFICATION ================= */
.gami-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gami-card {
  border-radius: var(--r-xl); padding: 26px; background: var(--cream);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; border: 1px solid transparent;
}
.gami-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(18,35,64,.13); }
.gami-card .emoji { font-size: 34px; margin-bottom: 12px; }
.gami-card h3 { font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.gami-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.gami-card.wide { grid-column: span 1; }

/* tier chips */
.tiers { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.tier { font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: var(--r-pill); }
.tier.bronze { background: #F3E0D0; color: #9C5A2C; }
.tier.silver { background: #E7ECF2; color: #5A6B82; }
.tier.gold { background: var(--sun); color: var(--navy); }

/* check-in dots */
.checkin { display: flex; gap: 7px; margin-top: 14px; align-items: center; }
.checkin i { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ink-subtle); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 11px; box-shadow: inset 0 0 0 1px rgba(18,35,64,.05); }
.checkin i.done { background: var(--mint); color: #fff; }
.checkin i.jackpot { background: var(--sun); color: var(--navy); }

/* ================= WALLET SECTION ================= */
.wallet-ticket {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(18,35,64,.1);
  position: relative;
}
.wt-top { background: var(--navy); color: #fff; padding: 20px; display: flex; align-items: center; gap: 14px; }
.wt-emoji { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.wt-notch { position: relative; }
.wt-notch::before, .wt-notch::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); }
.wt-notch::before { left: -11px; } .wt-notch::after { right: -11px; }
.wt-body { padding: 20px; display: flex; align-items: center; gap: 18px; border-top: 2px dashed var(--border); }
.wt-qr {
  width: 76px; height: 76px; border-radius: 12px; flex: none;
  background:
    repeating-linear-gradient(0deg, var(--navy) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 12px);
  background-color: #fff; background-blend-mode: multiply; border: 4px solid #fff; box-shadow: inset 0 0 0 1px var(--border);
}
.wt-code { font-family: var(--font-head); font-weight: 700; letter-spacing: 3px; font-size: 22px; color: var(--navy); }
.tabs-mini { display: flex; gap: 8px; margin-bottom: 16px; }
.tab-mini { font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: var(--r-pill); background: #fff; color: var(--ink-muted); border: 1px solid var(--border); }
.tab-mini.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ================= MAP / DISCOVERY ================= */
.map-card { background: linear-gradient(160deg,#cfe3d6,#bcd6e6); border-radius: var(--r-xl); height: 260px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(18,35,64,.1); }
.map-grid-lines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent 0 44px,rgba(255,255,255,.4) 44px 46px), repeating-linear-gradient(90deg,transparent 0 44px,rgba(255,255,255,.4) 44px 46px); }
.map-pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.list-row { background: #fff; border-radius: 18px; padding: 15px 18px; box-shadow: 0 4px 14px rgba(18,35,64,.06); display: flex; align-items: center; gap: 14px; }
.list-row .lr-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.list-row .lr-name { font-weight: 700; font-size: 15px; }
.list-row .lr-sub { font-size: 12px; color: var(--ink-muted); }
.list-stack { display: flex; flex-direction: column; gap: 12px; }

/* ================= PARTNER BAND ================= */
.band {
  border-radius: var(--r-2xl); padding: 56px 60px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.band.mint { background: var(--mint-grad); }
.band.coral { background: var(--hero-grad); }
.band .band-emoji { position: absolute; top: -30px; right: 60px; font-size: 130px; opacity: .15; animation: croq-bob 7s ease-in-out infinite; }
.band h2 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.band p { font-size: 16px; line-height: 1.65; opacity: .92; }
.band .band-cta { display: flex; justify-content: flex-end; }

/* ================= FINAL CTA + FOOTER ================= */
.final-cta { background: var(--navy); padding: 90px 40px 0; position: relative; overflow: hidden; }
.confetti-piece { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: croq-confetti linear infinite; pointer-events: none; }
.final-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.final-inner h2 { font-size: 48px; line-height: 1.08; color: #fff; margin-bottom: 16px; }
.final-inner p { font-size: 17px; color: var(--on-navy); margin-bottom: 32px; }
.footer { max-width: var(--maxw); margin: 70px auto 0; padding: 28px 0 34px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a, .footer-col span.fi { display: block; color: var(--ink-subtle); font-size: 14px; margin-bottom: 9px; cursor: pointer; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: var(--ink-subtle); font-size: 14px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--ink-subtle); font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .wordmark { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 16px; }
.legal-note { max-width: var(--maxw); margin: 0 auto; color: rgba(174,192,216,.55); font-size: 11.5px; line-height: 1.6; padding-bottom: 30px; }

/* ============================================================
   PRO PAGE
   ============================================================ */
/* Pull the navy hero up behind the transparent sticky nav so there's no cream strip */
.pro-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 0%, #24446e, #122340 60%); color: #fff; margin-top: -73px; padding-top: 73px; }
.pro-hero .hero-grid { padding-top: 40px; padding-bottom: 70px; }
.pro-hero h1 { color: #fff; }
.pro-hero .lead { color: var(--on-navy); }
.trust-inline { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; color: var(--on-navy); font-size: 14px; font-weight: 600; }
.trust-inline span { display: flex; align-items: center; gap: 7px; }
.trust-inline .dot { color: var(--mint); }

/* portal mockup */
.portal {
  background: #fff; border-radius: var(--r-xl); box-shadow: 0 30px 70px rgba(0,0,0,.35);
  overflow: hidden; color: var(--ink); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform .3s ease;
}
.portal:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.portal-top { background: var(--navy); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.portal-top .dots { display: flex; gap: 6px; }
.portal-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.portal-top .title { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.portal-body { padding: 20px; background: var(--cream); }
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 4px 14px rgba(18,35,64,.06); }
.kpi .v { font-family: var(--font-head); font-weight: 700; font-size: 26px; }
.kpi .k { font-size: 11px; color: var(--ink-muted); }
.kpi.coral .v { color: var(--coral); } .kpi.mint .v { color: var(--mint-dark); } .kpi.sun .v { color: #C9930A; }
.chart { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 4px 14px rgba(18,35,64,.06); }
.chart .ct { font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--coral), #FF8A6E); }
.portal-tabbar { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--border); padding: 10px; }
.portal-tabbar span { font-size: 11px; color: var(--ink-faint); font-weight: 700; text-align: center; }
.portal-tabbar span.on { color: var(--coral); }

/* agitation */
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pain { background: var(--cream); border: 1px solid transparent; border-radius: var(--r-lg); padding: 24px; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.pain:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(18,35,64,.1); }
.pain .x { width: 40px; height: 40px; border-radius: 12px; background: #FFE7E4; color: var(--error); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.pain h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.pain p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* pillars */
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 6px 20px rgba(18,35,64,.06); transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(18,35,64,.1); }
.pillar .pic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.pillar h3 { font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.pillar p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* ROI calculator */
.roi { background: #fff; border-radius: var(--r-2xl); box-shadow: 0 20px 50px rgba(18,35,64,.12); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.roi-inputs { padding: 40px; }
.roi-field { margin-bottom: 26px; }
.roi-field label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.roi-field label b { color: var(--coral); font-family: var(--font-head); font-size: 16px; }
.roi-field input[type=range] { width: 100%; accent-color: var(--coral); height: 6px; }
.roi-out { background: var(--navy); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.roi-out .blob { opacity: .18; }
.roi-out .lbl { color: var(--on-navy); font-size: 14px; font-weight: 600; }
.roi-out .money { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: 1.05; margin: 6px 0; color: #fff; }
.roi-out .money small { font-size: 22px; }
.roi-out .sub { color: var(--on-navy); font-size: 14px; line-height: 1.5; }
.roi-out .cost-line { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.roi-out .cost-line b { color: var(--sun); }
.roi-note { font-size: 12px; color: var(--ink-subtle); margin-top: 8px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.price-card { background: #fff; border-radius: var(--r-2xl); padding: 34px; border: 2px solid var(--border); position: relative; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(18,35,64,.12); }
.price-card.featured { border-color: var(--coral); box-shadow: 0 24px 60px rgba(255,107,74,.18); }
.price-card .plan { font-family: var(--font-head); font-weight: 600; font-size: 22px; }
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: 52px; line-height: 1; margin: 14px 0 4px; }
.price-card .amount small { font-size: 18px; color: var(--ink-muted); font-weight: 600; font-family: var(--font-body); }
.price-card .anchor { color: var(--ink-faint); text-decoration: line-through; font-weight: 600; font-size: 16px; }
.price-card .save { display: inline-block; background: rgba(37,208,160,.16); color: var(--mint-dark); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: var(--r-pill); margin-left: 8px; }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .5px; padding: 7px 16px; border-radius: var(--r-pill); box-shadow: 0 8px 18px rgba(255,107,74,.4); }
.price-feats { list-style: none; padding: 20px 0 24px; margin: 0; }
.price-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; padding: 7px 0; color: var(--ink-body); }
.price-feats li::before { content: "✓"; color: var(--mint-dark); font-weight: 800; flex: none; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 16px; }
.faq-q .chev { transition: transform .3s; color: var(--coral); font-size: 20px; flex: none; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 24px; color: var(--ink-muted); font-size: 15px; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 24px 22px; }

/* small helpers */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
/* Entrance = animation on the individual `translate` property (+ opacity), NOT a
   transition on `transform`. This frees `transform` + `transition` for the cards'
   :hover, which this rule used to override (hover lifting over .7s with a
   snapping, un-eased shadow, and the d1/d2/d3 stagger delay bleeding into the
   hover). Stagger now lives on animation-delay, so hover stays instant. */
.reveal { opacity: 0; translate: 0 36px; }
.reveal.in { animation: croq-reveal .7s cubic-bezier(.22,1,.36,1) both; }
.reveal.in.d1 { animation-delay: .08s; }
.reveal.in.d2 { animation-delay: .16s; }
.reveal.in.d3 { animation-delay: .24s; }

/* Interactive cards: one consistent, snappy lift with the shadow moving in sync
   (defined after the card blocks above so it governs their hover transition). */
.feature-card, .gami-card, .step-card, .pillar, .pain, .price-card {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
  will-change: transform;
}

/* ================= KEYFRAMES ================= */
@keyframes croq-spin { to { transform: rotate(360deg); } }
@keyframes croq-reveal { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes croq-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes croq-bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes croq-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes croq-marquee { to { transform: translateX(-50%); } }
@keyframes croq-confetti { 0% { transform: translateY(-40px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(340px) rotate(320deg); opacity: 0; } }
@keyframes croq-glow {
  0%,100% { box-shadow: 0 0 0 10px #122340, 0 0 0 16px #FFC233, 0 24px 60px rgba(0,0,0,.4), 0 0 60px rgba(255,107,74,.35); }
  50% { box-shadow: 0 0 0 10px #122340, 0 0 0 16px #FFC233, 0 24px 60px rgba(0,0,0,.4), 0 0 110px rgba(255,77,136,.6); }
}
@keyframes croq-orbit { to { transform: rotate(360deg); } }
@keyframes croq-orbit-rev { to { transform: rotate(-360deg); } }
@keyframes croq-blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.1); } 66% { transform: translate(-20px,25px) scale(.95); } }
@keyframes croq-pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .h1, .hero h1 { font-size: 46px; }
  .h2, .section-head .h2 { font-size: 34px; }
  .hero-grid, .split, .roi { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .gami-grid, .grid-3, .pain-grid, .kpi-row { grid-template-columns: 1fr; }
  .band, .price-grid { grid-template-columns: 1fr; }
  .roulette-stage { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .roi { grid-template-columns: 1fr; }
  .portal { transform: none; }
}
@media (max-width: 760px) {
  .container, .nav-inner, .hero-grid, .trust-strip, .final-cta { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 20px; gap: 18px; box-shadow: 0 20px 40px rgba(18,35,64,.15); align-items: flex-start;
  }
  .nav.on-navy .nav-links.open { background: var(--navy); }
  .nav-toggle { display: block; }
  .hero h1, .h1 { font-size: 38px; }
  .final-inner h2 { font-size: 34px; }
  .band { padding: 36px 28px; }
  .band .band-cta { justify-content: flex-start; }
  .roi-inputs, .roi-out { padding: 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  /* Decorative floating food emojis overlap content on narrow screens. */
  .float-emoji { display: none; }
  /* Full-width, stacked hero CTAs read cleaner on mobile. */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  /* The roulette wheel (340px + rings + orbit) is too big for a phone — scale it to fit. */
  .roulette-stage { min-height: 300px; }
  .wheel-wrap { transform: scale(.74); margin: -40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: 0 0; transform: none; animation: none !important; }
}
