/* ───────────────────────────────────────────────────────────────
   BenMeal Landing — Production Styles (Yön B + Soyut Hero)
   ─────────────────────────────────────────────────────────────── */

/* Design tokens — loaded separately via css/tokens.css */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Section reveal (motion-safe, JS-gated) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: -0.2px;
  cursor: pointer; border: none; border-radius: 14px; padding: 13px 22px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: 0 6px 20px rgba(46, 74, 96, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 74, 96, 0.34); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }

/* Store badges */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 14px; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 6px 18px rgba(24, 32, 42, 0.18);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(24, 32, 42, 0.26); }
.store-badge.coming-soon { opacity: 0.6; pointer-events: none; }
.store-badge.coming-soon:hover { transform: none; box-shadow: 0 6px 18px rgba(24, 32, 42, 0.18); }
/* prominence on dark surfaces */
.hero .store-badge { border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
.hero .store-badge:hover { border-color: rgba(255, 255, 255, 0.5); }
.footer .store-badge { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
.footer .store-badge:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.52); }
.store-badge .glyph { flex-shrink: 0; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .txt small { font-size: 10px; font-weight: 500; opacity: .78; letter-spacing: .2px; }
.store-badge .txt span { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }

/* ── Nav (Yön B — dark) ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 26, 34, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(13, 18, 24, 0.92); border-bottom-color: rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.6px; color: #fff; }
.bm-logo { height: 32px; width: auto; display: block; }
.foot-brand .bm-logo { height: 30px; }
.nav-login {
  background: rgba(255, 255, 255, 0.10); color: #fff;
  border-color: rgba(255, 255, 255, 0.22); box-shadow: none;
}
.nav-login:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.42); transform: translateY(-2px); }
.nav-login svg { margin-right: -2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.74); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 19px; font-size: 14px; }

/* ── Hero (Yön B — dark split) ── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #2E4A60 0%, #1B2A38 55%, #131C26 100%);
  padding: 80px 0 96px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(120, 160, 195, 0.5), transparent 70%); top: -160px; right: -120px; opacity: .6; }
.blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(80, 120, 150, 0.45), transparent 70%); bottom: -140px; left: -120px; opacity: .6; }
.leaf { position: absolute; opacity: .4; }
.hero-inner { position: relative; z-index: 1; display: flex; gap: 56px; align-items: center; }
.hero-copy { flex: 1; min-width: 0; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #BFD6E6; background: rgba(255, 255, 255, 0.10);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-copy .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; line-height: 1.04;
  letter-spacing: -1.6px; color: #fff; margin-bottom: 22px;
  text-wrap: balance; min-height: 2.1em;
}
.hero h1 .hl { color: #9FC2DC; }
.hero h1 .h1-main, .hero h1 .hl { display: inline; transition: opacity .42s var(--ease), filter .42s var(--ease); }
.hero h1.swapping .h1-main, .hero h1.swapping .hl { opacity: 0; filter: blur(3px); }
.hero .lead {
  font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, 0.74);
  max-width: 520px; margin-bottom: 30px; text-wrap: pretty;
}
.hero-actions { display: flex; flex-direction: column; gap: 18px; }
.web-note { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.web-note b { color: #9FC2DC; font-weight: 700; }
.web-note .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(229, 57, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); } }
.hero-art { flex-shrink: 0; position: relative; }

/* ── Hero visual — abstract composition ── */
.hero-visual { position: relative; width: 440px; height: 460px; flex-shrink: 0; }
.hv-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; z-index: 0; opacity: .5; }
.hv-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 286px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 26px; padding: 24px 24px 22px; box-shadow: var(--shadow-lg); z-index: 2;
}
.hv-core .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); }
.hv-core .big { font-size: 30px; font-weight: 800; letter-spacing: -1.2px; color: var(--ink); margin: 7px 0 3px; line-height: 1.05; }
.hv-core .sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.hv-week { display: flex; gap: 6px; align-items: flex-end; }
.hv-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hv-day small { font-size: 9px; font-weight: 600; color: var(--ink-muted); letter-spacing: .2px; }
.hv-day .bar { width: 100%; border-radius: 7px; background: var(--primary-tint); height: 30px; }
.hv-day.f .bar { background: linear-gradient(180deg, var(--primary), var(--primary-deep)); }
.hv-day.today .bar { background: linear-gradient(180deg, var(--primary), var(--primary-deep)); box-shadow: 0 0 0 3px rgba(74, 104, 128, 0.18); }
.hv-day.today small { color: var(--primary); font-weight: 800; }

/* Floating meal chips */
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 15px; padding: 8px 14px 8px 8px; box-shadow: var(--shadow-md); z-index: 3;
}
.hv-chip .em { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.hv-chip .nm { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; white-space: nowrap; }
.hv-chip .ty { font-size: 10.5px; color: var(--ink-muted); margin-top: 1px; }
.hv-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.hv-chip { transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.hv-chip:hover { animation-play-state: paused; z-index: 6; box-shadow: var(--shadow-lg); }
.hv-chip.c1 { top: 8px; left: -26px; --r: -5deg; animation-delay: 0s; }
.hv-chip.c2 { top: 128px; right: -46px; --r: 4deg; animation-delay: .9s; }
.hv-chip.c3 { bottom: 52px; left: -40px; --r: 3deg; animation-delay: 1.8s; }
.hv-badge {
  position: absolute; bottom: 14px; right: -14px; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; border-radius: 13px; padding: 10px 15px;
  font-size: 13px; font-weight: 700; letter-spacing: -0.2px;
  box-shadow: 0 8px 22px rgba(46, 74, 96, 0.35);
  --r: -3deg; animation-delay: 1.3s;
}
.hv-badge svg { flex-shrink: 0; }
.hv-chip, .hv-badge {
  transform: rotate(var(--r));
  animation-name: floaty; animation-duration: 6s;
  animation-timing-function: var(--ease); animation-iteration-count: infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-9px) rotate(var(--r)); } }
.hero-visual .bar { transform-origin: bottom; }
.js .hero-visual.anim-bars .bar { animation: growbar .7s var(--ease) backwards; }
@keyframes growbar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.anim-bars .hv-day:nth-child(1) .bar { animation-delay: .10s; }
.anim-bars .hv-day:nth-child(2) .bar { animation-delay: .18s; }
.anim-bars .hv-day:nth-child(3) .bar { animation-delay: .26s; }
.anim-bars .hv-day:nth-child(4) .bar { animation-delay: .34s; }
.anim-bars .hv-day:nth-child(5) .bar { animation-delay: .42s; }
.anim-bars .hv-day:nth-child(6) .bar { animation-delay: .50s; }
.anim-bars .hv-day:nth-child(7) .bar { animation-delay: .58s; }
@media (prefers-reduced-motion: reduce) {
  .hv-chip, .hv-badge { animation: none; }
  .hero-visual .bar { animation: none !important; }
  .hero h1 .h1-main, .hero h1 .hl { transition: none; }
}

/* ── Stats strip ── */
.stats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 54px; }
.stat { text-align: center; padding: 0 22px; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -1px; color: #9FC2DC; }
.stat small { font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.stat-div { width: 1px; background: rgba(255, 255, 255, 0.12); align-self: stretch; }

/* ── Section shells ── */
section { position: relative; }
.section-pad { padding: 96px 0; }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
.sec-head p { font-size: 17px; color: var(--ink-sub); text-wrap: pretty; }

/* Features */
.features { background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(74, 104, 128, 0.3); }
.feat-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 9px; color: var(--ink); }
.feat-card p { font-size: 14.5px; color: var(--ink-sub); text-wrap: pretty; }

/* How it works */
.how { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; text-align: center; padding: 8px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--surface-alt);
  border: 2px solid var(--primary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; box-shadow: var(--shadow-md);
  position: relative; z-index: 2;
}
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--ink-sub); max-width: 280px; margin: 0 auto; text-wrap: pretty; }
.steps-line {
  position: absolute; top: 32px; left: 16.66%; right: 16.66%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-radius: 32px; padding: 60px 56px; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-inner .blob { filter: blur(50px); }
.cta-inner .cb1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%); top: -160px; right: -80px; opacity: 1; }
.cta-grid { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text { flex: 1; min-width: 280px; }
.cta-text .tag { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 12px; }
.cta-text h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.cta-text p { font-size: 16px; color: rgba(255, 255, 255, 0.78); max-width: 440px; text-wrap: pretty; }
.signup { display: flex; gap: 10px; flex-wrap: wrap; min-width: 300px; }
.signup input {
  flex: 1; min-width: 200px; font-family: inherit; font-size: 15px;
  padding: 15px 18px; border-radius: 14px; border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); outline: none;
}
.signup input::placeholder { color: var(--ink-muted); }
.signup input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18); }
.signup .btn { background: var(--ink); color: #fff; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.signup .btn:hover { transform: translateY(-2px); }
.signup-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; width: 100%; }
.signup-ok { display: none; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.14); padding: 15px 20px; border-radius: 14px; }
.signup-ok.show { display: flex; }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; font-family: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink);
}
.faq-q .pm {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; font-size: 15.5px; color: var(--ink-sub); max-width: 660px; text-wrap: pretty; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand .brand { color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.55); max-width: 280px; margin-bottom: 22px; text-wrap: pretty; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); margin-bottom: 12px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.foot-bottom .socials { display: flex; gap: 12px; }
.foot-bottom .socials a {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7); transition: background .2s, color .2s;
}
.foot-bottom .socials a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { align-items: center; }
  .badges { justify-content: center; }
  .hero-art { order: 0; }
  .hero-visual { width: 100%; max-width: 440px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps-line { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section-pad { padding: 64px 0; }
  .cta-inner { padding: 40px 26px; }
  .cta-grid { flex-direction: column; align-items: stretch; }
  .signup { min-width: 0; }
  .stats { gap: 6px; margin-top: 40px; }
  .stat { padding: 0 12px; }
  .stat b { font-size: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
}
