/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink:        #080810;
  --ink-2:      #0d0d1a;
  --ink-3:      #13131f;
  --emerald:    #10b981;
  --emerald-d:  #059669;
  --emerald-glow: rgba(16,185,129,0.18);
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --muted:      rgba(245,240,232,0.45);
  --muted-2:    rgba(245,240,232,0.22);
  --red:        #ef4444;
  --amber:      #f59e0b;
  --glass:      rgba(255,255,255,0.04);
  --glass-b:    rgba(255,255,255,0.08);
  --border:     rgba(255,255,255,0.07);
  --border-e:   rgba(16,185,129,0.2);
  --r-sm:       12px;
  --r-md:       20px;
  --r-lg:       28px;
  --r-xl:       40px;
  --t-fast:     0.18s;
  --t-med:      0.35s;
  --t-slow:     0.65s;
}

/* ── RESET ──────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,svg { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.display {
  font-family: 'Fraunces', serif;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; color: var(--emerald); }
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}
.body-l { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-pad { padding: 96px 0; }
@media(max-width:768px) { .section-pad { padding: 72px 0; } }
.text-center { text-align: center; }

/* ── SCROLL PROGRESS ────────────────────────────────────────── */
#scrollBar, #scroll-bar, .scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--emerald);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── CURSOR GLOW ────────────────────────────────────────────── */
#cursorGlow, #cursor-glow, .cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  z-index: 0;
  transition: transform 0.08s linear;
  display: none;
}
@media(pointer:fine) { #cursorGlow, #cursor-glow, .cursor-glow { display: block; } }

/* ── GRAIN OVERLAY ──────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -200%;
  width: 400%; height: 400%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-1%); }
  20% { transform: translate(2%,1%); }
  30% { transform: translate(-1%,2%); }
  40% { transform: translate(1%,-2%); }
  50% { transform: translate(-3%,1%); }
  60% { transform: translate(3%,-1%); }
  70% { transform: translate(-1%,-3%); }
  80% { transform: translate(1%,3%); }
  90% { transform: translate(-2%,2%); }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--t-fast) ease;
  position: relative;
  white-space: nowrap;
}
.btn-green {
  background: var(--emerald);
  color: var(--ink);
}
.btn-green:hover {
  background: var(--emerald-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(16,185,129,0.35);
}
.btn-ghost {
  background: var(--glass-b);
  color: var(--cream);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--border-e);
  background: rgba(16,185,129,0.06);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(8,8,16,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--emerald);
  color: var(--ink);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Lang switcher */
.lang-wrap { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cream);
  transition: all var(--t-fast);
}
.lang-toggle:hover { border-color: var(--border-e); background: var(--glass-b); }
.lang-toggle svg { width:14px; height:14px; stroke:var(--muted); fill:none; transition: transform var(--t-fast); }
.lang-wrap.open .lang-toggle svg { transform: rotate(180deg); }
.lang-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px;
  min-width: 140px;
  display: none;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.lang-wrap.open .lang-dd { display: block; }
.lang-opt {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background var(--t-fast);
}
.lang-opt:hover { background: var(--glass-b); }
.lang-opt.active { color: var(--emerald); background: rgba(16,185,129,0.08); }

@media(max-width:640px) {
  .lang-wrap { display: none; }
  .nav-inner { padding: 0 16px; }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-pulse 6s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(16,185,129,0.07) 0%, transparent 70%);
  animation-delay: -3s;
}
@keyframes orb-pulse {
  from { transform: scale(1) translate(0,0); opacity:0.8; }
  to   { transform: scale(1.15) translate(20px,20px); opacity:1; }
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { width:4px; height:4px; left:10%; bottom:20%; animation-delay:0s; }
.hero-particle:nth-child(2) { width:3px; height:3px; left:25%; bottom:10%; animation-delay:1.5s; }
.hero-particle:nth-child(3) { width:5px; height:5px; left:60%; bottom:15%; animation-delay:3s; }
.hero-particle:nth-child(4) { width:3px; height:3px; left:75%; bottom:25%; animation-delay:0.8s; }
.hero-particle:nth-child(5) { width:4px; height:4px; left:85%; bottom:10%; animation-delay:2.2s; }
.hero-particle:nth-child(6) { width:3px; height:3px; left:45%; bottom:5%; animation-delay:4s; }
@keyframes particle-float {
  0%   { transform: translateY(0); opacity:0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120px); opacity:0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 20px 32px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
@media(min-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 80px 40px;
  }
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--border-e);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--emerald);
  width: fit-content;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--emerald); }
  50% { opacity:0.5; box-shadow: 0 0 4px var(--emerald); }
}

.hero-h1 {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-family: 'Fraunces', serif;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero-h1 em { color: var(--emerald); font-style: italic; }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

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

.hero-trust {
  font-size: 0.8125rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 8px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
}
.hero-stat-lbl { font-size: 0.75rem; color: var(--muted); line-height: 1.3; }

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-wrap { position: relative; width: 280px; }
@media(min-width:900px) { .phone-wrap { width: 320px; } }
.phone-glow-wrap {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(16,185,129,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orb-pulse 5s ease-in-out infinite alternate;
}
.phone {
  width: 100%;
  border-radius: 36px;
  background: var(--ink-2);
  border: 1px solid var(--border-e);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,185,129,0.08);
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0px) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(0.5deg); }
}
.phone-notch {
  width: 100px; height: 28px;
  background: var(--ink);
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
}
.phone-screen { padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.phone-hdr {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}

.ring-wrap {
  position: relative; width: 100px; height: 100px; margin: 0 auto;
}
.ring-wrap svg { width:100%; height:100%; transform:rotate(-90deg); }
.ring-track { fill:none; stroke:rgba(255,255,255,0.06); stroke-width:8; }
.ring-fill {
  fill:none; stroke:var(--emerald); stroke-width:8;
  stroke-linecap:round; stroke-dasharray:283; stroke-dashoffset:60;
  animation: ring-draw 1.5s ease-out 0.5s both;
}
@keyframes ring-draw { from { stroke-dashoffset:283; } to { stroke-dashoffset:60; } }
.ring-center {
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.ring-val { font-size:1.25rem; font-weight:800; color:var(--cream); line-height:1; }
.ring-unit { font-size:0.6rem; color:var(--muted); font-weight:600; }
.ring-sub { font-size:0.55rem; color:var(--muted-2); }

.phone-macros { display:flex; flex-direction:column; gap:6px; }
.macro-row { display:flex; align-items:center; gap:6px; font-size:0.7rem; }
.macro-dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.macro-dot.p { background:#10b981; }
.macro-dot.c { background:#3b82f6; }
.macro-dot.f { background:#f59e0b; }
.macro-lbl { color:var(--muted); flex:1; }
.macro-bar-wrap { flex:2; height:3px; background:rgba(255,255,255,0.07); border-radius:2px; overflow:hidden; }
.macro-bar { height:100%; border-radius:2px; animation:bar-grow 1s ease-out 0.8s both; }
.macro-bar.p { background:#10b981; width:68%; }
.macro-bar.c { background:#3b82f6; width:80%; }
.macro-bar.f { background:#f59e0b; width:45%; }
@keyframes bar-grow { from{transform:scaleX(0);transform-origin:left;} to{transform:scaleX(1);} }
.macro-val { color:var(--cream); font-weight:600; font-size:0.65rem; }

.phone-meals { display:flex; flex-direction:column; gap:5px; }
.phone-meal {
  display:flex; align-items:center; gap:8px;
  padding:7px 10px; border-radius:10px;
  background:var(--glass); border:1px solid var(--border); font-size:0.7rem;
}
.phone-meal.active { border-color:var(--border-e); background:rgba(16,185,129,0.06); }
.meal-icon { font-size:0.9rem; }
.meal-name { flex:1; color:var(--cream); font-weight:500; }
.meal-kcal { color:var(--muted); }
.scan-badge {
  background:var(--emerald); color:var(--ink);
  font-weight:700; font-size:0.6rem; padding:2px 6px; border-radius:4px;
}
.phone-placeholder-label {
  text-align:center; font-size:0.7rem; color:var(--muted-2);
  padding:6px; border-top:1px solid var(--border); margin-top:4px;
}

/* ── PAIN POINTS ─────────────────────────────────────────────── */
.pain-section { padding:0; overflow:hidden; }
.pain-statement {
  min-height: 50vh;
  display:flex; align-items:center; justify-content:center;
  padding:64px 24px; text-align:center;
  border-bottom:1px solid var(--border);
  opacity:0; transform:translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
.pain-statement.visible { opacity:1; transform:translateY(0); }
.pain-statement:nth-child(1) { background:var(--ink); }
.pain-statement:nth-child(2) { background:linear-gradient(135deg,var(--ink-2),var(--ink)); }
.pain-statement:nth-child(3) { background:var(--ink-2); }
.pain-text {
  font-size:clamp(2rem,5.5vw,4.5rem);
  font-family:'Fraunces',serif; font-style:italic;
  line-height:1.1; letter-spacing:-0.02em; max-width:900px;
}
.pain-statement:nth-child(1) .pain-text { color:var(--cream); }
.pain-statement:nth-child(2) .pain-text { color:var(--emerald); }
.pain-statement:nth-child(3) .pain-text { color:var(--cream); }

/* ── DEMO SECTIONS ───────────────────────────────────────────── */
.demo-section { padding:100px 0; position:relative; overflow:hidden; }
.demo-section+.demo-section { border-top:1px solid var(--border); }

.demo-inner {
  display:grid; grid-template-columns:1fr; gap:48px;
  align-items:center; max-width:1100px; margin:0 auto; padding:0 24px;
}
@media(min-width:900px) {
  .demo-inner { grid-template-columns:1fr 1fr; gap:64px; }
  .demo-inner.reverse { direction:rtl; }
  .demo-inner.reverse>* { direction:ltr; }
}

.demo-text { display:flex; flex-direction:column; gap:20px; }
.demo-h {
  font-size:clamp(2rem,4.5vw,3.2rem);
  font-family:'Fraunces',serif; font-style:italic;
  line-height:1.08; letter-spacing:-0.02em; color:var(--cream);
}
.demo-h em { color:var(--emerald); font-style:italic; }
.demo-sub { font-size:1rem; color:var(--muted); line-height:1.7; max-width:420px; }

.demo-card {
  background:var(--ink-2); border:1px solid var(--border-e);
  border-radius:var(--r-xl); overflow:hidden; position:relative;
  aspect-ratio:9/12; max-width:320px; margin:0 auto;
  box-shadow:0 32px 64px rgba(0,0,0,0.5),0 0 0 1px rgba(16,185,129,0.04);
}
@media(min-width:900px) { .demo-card { max-width:380px; } }

.demo-placeholder-label {
  position:absolute; bottom:16px; left:50%; transform:translateX(-50%);
  background:rgba(0,0,0,0.6); backdrop-filter:blur(6px);
  border:1px solid var(--border); border-radius:100px;
  padding:4px 14px; font-size:0.7rem; color:var(--muted-2);
  white-space:nowrap; pointer-events:none; z-index:10;
}

/* Fridge scanner */
.fridge-card { padding:0; }
.fridge-viewfinder {
  position:relative; height:140px;
  background:var(--ink-3); border-bottom:1px solid var(--border); overflow:hidden;
}
.viewfinder-lines { position:absolute; inset:0; }
.vf-corner {
  position:absolute; width:20px; height:20px;
  border-color:var(--emerald); border-style:solid; border-width:0;
}
.vf-corner.tl { top:12px;left:12px;border-top-width:2px;border-left-width:2px; }
.vf-corner.tr { top:12px;right:12px;border-top-width:2px;border-right-width:2px; }
.vf-corner.bl { bottom:12px;left:12px;border-bottom-width:2px;border-left-width:2px; }
.vf-corner.br { bottom:12px;right:12px;border-bottom-width:2px;border-right-width:2px; }
.vf-scan-line {
  position:absolute; left:12px; right:12px; height:1px;
  background:linear-gradient(90deg,transparent,var(--emerald),transparent);
  animation:scan-line 2.5s ease-in-out infinite;
}
@keyframes scan-line {
  0%   { top:12px; opacity:0; }
  5%   { opacity:1; }
  95%  { opacity:1; }
  100% { top:calc(100% - 12px); opacity:0; }
}
.vf-label {
  position:absolute; bottom:10px; right:14px;
  font-size:0.65rem; color:var(--emerald); font-weight:600; letter-spacing:0.1em;
}

.fridge-ingredients { padding:16px; display:flex; flex-wrap:wrap; gap:8px; }
.ingredient-pill {
  padding:5px 12px; border-radius:100px;
  background:var(--glass); border:1px solid var(--border);
  font-size:0.75rem; font-weight:500; color:var(--cream);
  opacity:0; transform:scale(0.8);
  animation:pill-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.ingredient-pill:nth-child(1){animation-delay:0.5s;}
.ingredient-pill:nth-child(2){animation-delay:0.8s;}
.ingredient-pill:nth-child(3){animation-delay:1.1s;}
.ingredient-pill:nth-child(4){animation-delay:1.4s;}
.ingredient-pill:nth-child(5){animation-delay:1.7s;}
@keyframes pill-pop { to{opacity:1;transform:scale(1);} }

.fridge-recipe {
  margin:0 16px 16px; padding:12px 14px;
  background:rgba(16,185,129,0.08); border:1px solid var(--border-e);
  border-radius:14px; opacity:0; transform:translateY(16px);
  animation:slide-up 0.5s ease-out 2.2s forwards;
}
@keyframes slide-up { to{opacity:1;transform:translateY(0);} }
.recipe-name { font-size:0.85rem; font-weight:600; color:var(--cream); }
.recipe-meta { font-size:0.72rem; color:var(--emerald); margin-top:3px; }
.recipe-link { font-size:0.72rem; color:var(--muted); margin-top:6px; display:flex; align-items:center; gap:4px; }

/* Ingredient scanner */
.ingredient-card { padding:20px; }
.ingredient-card-inner { display:flex; flex-direction:column; height:100%; gap:16px; }
.ingredients-list {
  font-family:'Courier New',monospace; font-size:0.72rem;
  line-height:1.8; color:var(--muted); flex:1; overflow:hidden;
}
.ing-bad  { background:rgba(239,68,68,0.2); color:#ef4444; padding:0 2px; border-radius:2px; }
.ing-warn { background:rgba(245,158,11,0.2); color:#f59e0b; padding:0 2px; border-radius:2px; }
.ing-good { background:rgba(16,185,129,0.2); color:#10b981; padding:0 2px; border-radius:2px; }
.ing-bad,.ing-warn,.ing-good { opacity:0; animation:highlight-in 0.3s ease forwards; }
.ing-bad:nth-of-type(1)  {animation-delay:0.6s;}
.ing-bad:nth-of-type(2)  {animation-delay:1.0s;}
.ing-bad:nth-of-type(3)  {animation-delay:1.4s;}
.ing-warn:nth-of-type(1) {animation-delay:1.8s;}
.ing-warn:nth-of-type(2) {animation-delay:2.1s;}
.ing-good:nth-of-type(1) {animation-delay:2.4s;}
.ing-good:nth-of-type(2) {animation-delay:2.7s;}
@keyframes highlight-in { to{opacity:1;} }

.nutriscore-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px; background:var(--glass); border:1px solid var(--border);
  border-radius:12px; opacity:0;
  animation:slide-up 0.5s ease-out 3.2s forwards;
}
.ns-label { font-size:0.72rem; color:var(--muted); }
.ns-badge {
  width:32px; height:32px; border-radius:8px;
  background:var(--amber); color:var(--ink);
  font-weight:900; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-style:italic;
}

/* Meal plan */
.mealplan-card { padding:20px; }
.week-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:16px; }
.day-col { display:flex; flex-direction:column; gap:5px; }
.day-label {
  font-size:0.6rem; font-weight:700; text-align:center;
  color:var(--muted); text-transform:uppercase;
  letter-spacing:0.05em; padding-bottom:4px;
}
.day-col.today .day-label { color:var(--emerald); }
.meal-chip {
  height:22px; border-radius:6px;
  background:var(--glass); border:1px solid var(--border);
  opacity:0; animation:chip-appear 0.3s ease forwards;
}
.day-col.today .meal-chip { border-color:var(--border-e); background:rgba(16,185,129,0.08); }
.day-col:nth-child(1) .meal-chip{animation-delay:0.2s;}
.day-col:nth-child(2) .meal-chip{animation-delay:0.35s;}
.day-col:nth-child(3) .meal-chip{animation-delay:0.5s;}
.day-col:nth-child(4) .meal-chip{animation-delay:0.65s;}
.day-col:nth-child(5) .meal-chip{animation-delay:0.8s;}
.day-col:nth-child(6) .meal-chip{animation-delay:0.95s;}
.day-col:nth-child(7) .meal-chip{animation-delay:1.1s;}
@keyframes chip-appear { to{opacity:1;} }
.swap-btn {
  font-size:0.6rem; color:var(--emerald);
  background:rgba(16,185,129,0.1); border:1px solid var(--border-e);
  border-radius:4px; padding:3px 5px; text-align:center;
  opacity:0; animation:chip-appear 0.3s ease 1.5s forwards; cursor:pointer;
}
.shopping-btn {
  width:100%; padding:11px 16px;
  background:var(--glass-b); border:1px solid var(--border);
  border-radius:12px; font-size:0.8rem; color:var(--cream);
  font-weight:600; text-align:left;
  display:flex; align-items:center; gap:8px;
  opacity:0; animation:slide-up 0.4s ease 1.8s forwards; cursor:pointer;
  transition:border-color var(--t-fast),background var(--t-fast);
}
.shopping-btn:hover { border-color:var(--border-e); background:rgba(16,185,129,0.06); }

/* ── STICKY CTA ──────────────────────────────────────────────── */
.sticky-cta {
  position:fixed; bottom:0; left:0; right:0; z-index:800;
  padding:12px 20px;
  padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));
  background:rgba(8,8,16,0.95); backdrop-filter:blur(16px);
  border-top:1px solid var(--border);
  transform:translateY(100%);
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.sticky-cta.visible { transform:translateY(0); }
.sticky-cta-btn {
  display:block; width:100%; padding:16px;
  background:var(--emerald); color:var(--ink);
  border-radius:var(--r-md); font-weight:700; font-size:1rem;
  text-align:center; border:none; cursor:pointer;
  transition:all var(--t-fast);
}
.sticky-cta-btn:hover { background:var(--emerald-d); }
@media(min-width:768px) { .sticky-cta { display:none; } }

/* ── SOCIAL PROOF ────────────────────────────────────────────── */
.proof-section { padding:80px 0; overflow:hidden; }
.proof-header { padding:0 20px 40px; text-align:center; }
.proof-scroll {
  display:flex; gap:16px; overflow-x:auto;
  padding:0 20px 16px;
  scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
}
.proof-scroll::-webkit-scrollbar { display:none; }
.t-card {
  background:var(--ink-2); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:24px;
  min-width:280px; max-width:320px;
  scroll-snap-align:start; flex-shrink:0;
  display:flex; flex-direction:column; gap:14px;
  transition:border-color var(--t-fast);
}
.t-card:hover { border-color:var(--border-e); }
@media(min-width:900px) {
  .proof-scroll { display:grid; grid-template-columns:repeat(3,1fr); overflow:visible; padding:0 40px; }
  .t-card { max-width:none; }
}
.t-stars { display:flex; gap:3px; }
.t-stars svg { width:14px; height:14px; }
.t-text { font-size:0.875rem; line-height:1.65; color:var(--cream); flex:1; }
.t-author { display:flex; align-items:center; gap:10px; }
.t-av {
  width:36px; height:36px; border-radius:50%;
  background:var(--emerald-glow); border:1px solid var(--border-e);
  color:var(--emerald); font-size:0.75rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.t-name { font-size:0.8125rem; font-weight:600; color:var(--cream); }
.t-role { font-size:0.75rem; color:var(--muted); }

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-section { padding:96px 0; }
.pricing-grid {
  display:grid; grid-template-columns:1fr; gap:16px; margin-top:48px;
}
@media(min-width:768px) { .pricing-grid { grid-template-columns:repeat(3,1fr); } }
.p-card {
  background:var(--ink-2); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px 24px;
  display:flex; flex-direction:column; gap:6px;
  position:relative;
  transition:border-color var(--t-med),transform var(--t-med);
}
.p-card:hover { transform:translateY(-4px); }
.p-card-popular {
  border-color:var(--border-e);
  background:linear-gradient(135deg,rgba(16,185,129,0.06) 0%,var(--ink-2) 100%);
}
.p-badge {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--emerald); color:var(--ink);
  font-size:0.7rem; font-weight:700;
  padding:4px 14px; border-radius:100px; white-space:nowrap;
}
.p-tier { font-size:0.72rem; color:var(--muted); font-weight:500; text-transform:uppercase; letter-spacing:0.1em; }
.p-name { font-size:1.5rem; font-weight:800; color:var(--cream); letter-spacing:-0.02em; margin-top:4px; }
.p-tagline { font-size:0.8125rem; color:var(--muted); margin-bottom:8px; }
.p-price-row { display:flex; align-items:baseline; gap:2px; margin:8px 0; }
.p-currency { font-size:1.25rem; font-weight:700; color:var(--cream); }
.p-amount { font-size:2.8rem; font-weight:900; color:var(--cream); line-height:1; letter-spacing:-0.03em; }
.p-period { font-size:0.875rem; color:var(--muted); }
.p-trial { font-size:0.75rem; color:var(--emerald); height:18px; display:block; margin-bottom:12px; }
.p-divider { height:1px; background:var(--border); margin:12px 0; }
.p-features { display:flex; flex-direction:column; gap:8px; flex:1; margin-bottom:20px; }
.p-feature { display:flex; align-items:center; gap:10px; font-size:0.8125rem; color:var(--cream); }
.p-feature svg { width:14px; height:14px; flex-shrink:0; }
.p-feature-off { color:var(--muted-2); }
.p-cta {
  display:block; text-align:center; padding:13px;
  border-radius:var(--r-md); font-weight:700; font-size:0.875rem;
  transition:all var(--t-fast); margin-top:auto;
}
.p-cta-outline { border:1px solid var(--border); color:var(--cream); }
.p-cta-outline:hover { border-color:var(--border-e); background:var(--glass); }
.p-cta-green { background:var(--emerald); color:var(--ink); }
.p-cta-green:hover { background:var(--emerald-d); box-shadow:0 8px 24px rgba(16,185,129,0.3); }
.p-cta-purple { background:rgba(129,140,248,0.1); color:#818cf8; border:1px solid rgba(129,140,248,0.2); }
.p-cta-purple:hover { background:rgba(129,140,248,0.2); }
.p-guarantee {
  text-align:center; margin-top:32px; font-size:0.8125rem; color:var(--muted-2);
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.p-guarantee svg { width:14px; height:14px; stroke:var(--muted-2); fill:none; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section { padding:80px 0; }
.faq-list {
  display:flex; flex-direction:column; gap:8px; margin-top:48px;
  max-width:720px; margin-left:auto; margin-right:auto;
}
.faq-item {
  background:var(--ink-2); border:1px solid var(--border);
  border-radius:var(--r-md); overflow:hidden;
  transition:border-color var(--t-fast);
}
.faq-item:hover { border-color:var(--border-e); }
.faq-q {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:18px 20px;
  font-size:0.9375rem; font-weight:600; color:var(--cream);
  text-align:left; cursor:pointer;
}
.faq-q svg { width:18px; height:18px; stroke:var(--muted); fill:none; flex-shrink:0; transition:transform var(--t-fast); }
.faq-item.open .faq-q svg { transform:rotate(180deg); stroke:var(--emerald); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a { max-height:400px; }
.faq-a-inner { padding:0 20px 18px; font-size:0.875rem; color:var(--muted); line-height:1.75; }

/* ── DISCORD ─────────────────────────────────────────────────── */
.discord-section {
  padding:100px 0;
  background:linear-gradient(135deg,var(--ink-2) 0%,var(--ink) 100%);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.discord-inner {
  display:flex; flex-direction:column; align-items:center;
  gap:20px; text-align:center; max-width:560px;
  margin:0 auto; padding:0 24px;
}
.discord-logo { width:72px; height:auto; transition:transform var(--t-med); }
.discord-logo:hover { transform:scale(1.08); }
.discord-h { font-size:clamp(1.8rem,4vw,2.8rem); font-family:'Fraunces',serif; font-style:italic; line-height:1.1; color:var(--cream); }
.discord-h em { color:#5865F2; font-style:italic; }
.discord-sub { font-size:0.9375rem; color:var(--muted); line-height:1.65; }
.discord-cta {
  padding:15px 36px; background:#5865F2; color:white;
  border-radius:100px; font-weight:700; font-size:1rem;
  transition:all var(--t-fast);
  display:inline-flex; align-items:center; gap:8px;
}
.discord-cta:hover { background:#4752c4; transform:scale(1.04); box-shadow:0 12px 32px rgba(88,101,242,0.4); }
.discord-tagline { font-size:0.8125rem; color:var(--muted-2); }

/* ── FINAL CTA ───────────────────────────────────────────────── */
.final-section { padding:120px 0; text-align:center; position:relative; overflow:hidden; }
.final-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 60% at 50% 50%,rgba(16,185,129,0.08) 0%,transparent 70%);
  pointer-events:none;
}
.final-inner {
  position:relative; z-index:1;
  display:flex; flex-direction:column; align-items:center; gap:24px; padding:0 24px;
}
.final-h {
  font-size:clamp(2.5rem,7vw,5rem);
  font-family:'Fraunces',serif; font-style:italic;
  line-height:1.0; letter-spacing:-0.03em; color:var(--cream);
}
.final-h em { color:var(--emerald); }
.final-sub { font-size:0.9375rem; color:var(--muted); }
.final-btns { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:8px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer { padding:40px 0; border-top:1px solid var(--border); background:var(--ink-2); }
.footer-inner {
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:20px;
  max-width:1240px; margin:0 auto; padding:0 24px;
}
.footer-logo { display:flex; align-items:center; gap:8px; font-weight:700; font-size:0.9375rem; }
.footer-logo img { width:22px; height:22px; border-radius:6px; }
.footer-links { display:flex; flex-wrap:wrap; gap:20px; align-items:center; }
.footer-links a { font-size:0.8125rem; color:var(--muted); transition:color var(--t-fast); }
.footer-links a:hover { color:var(--cream); }
.footer-copy {
  font-size:0.75rem; color:var(--muted-2);
  border-top:1px solid var(--border); text-align:center;
  max-width:1240px; margin:20px auto 0; padding:20px 24px 0;
}

/* ── COOKIE ──────────────────────────────────────────────────── */
.cookie {
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%);
  background:var(--ink-3); border:1px solid var(--border);
  border-radius:var(--r-md); padding:14px 20px;
  display:flex; align-items:center; gap:16px;
  z-index:700; max-width:480px; width:calc(100% - 40px);
  box-shadow:0 16px 40px rgba(0,0,0,0.5);
  animation:cookie-slide 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
}
@keyframes cookie-slide {
  from{opacity:0;transform:translateX(-50%) translateY(20px);}
  to{opacity:1;transform:translateX(-50%) translateY(0);}
}
.cookie.hidden { display:none; }
.cookie-text { font-size:0.8125rem; color:var(--muted); line-height:1.5; flex:1; }
.cookie-text a { color:var(--emerald); text-decoration:underline; }
.cookie-accept {
  padding:8px 18px; background:var(--emerald); color:var(--ink);
  border-radius:8px; font-size:0.8125rem; font-weight:700;
  white-space:nowrap; flex-shrink:0; cursor:pointer;
}
@media(max-width:480px) {
  .cookie { flex-direction:column; align-items:stretch; }
  .cookie-accept { text-align:center; }
}

/* ── STAGGER / MAGNETIC ──────────────────────────────────────── */
[data-stagger] {
  opacity:0; transform:translateY(24px);
  transition:opacity 0.6s ease,transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
[data-stagger].visible { opacity:1; transform:translateY(0); }
[data-magnetic] { transform-style:preserve-3d; will-change:transform; }

/* ── MOBILE FINE-TUNING ──────────────────────────────────────── */
@media(max-width:640px) {
  .hero-stats { grid-template-columns:repeat(3,1fr); gap:8px; }
  .hero-h1 { font-size:clamp(2.4rem,11vw,3.5rem); }
  .demo-inner { gap:32px; }
  .demo-card { aspect-ratio:9/14; max-width:280px; }
  .week-grid { gap:4px; }
  .day-label { font-size:0.55rem; }
  .meal-chip { height:18px; }
  .sticky-cta { bottom:0; }
}
