/* ==========================================================================
   Menumento marketing site — shared styles
   Design tokens mirror the app: menumento/lib/core/constants/app_constants.dart
   ========================================================================== */

:root {
  /* Brand */
  --red: #c5162e;
  --red-dark: #a80f24;
  --red-soft: #fdecee;
  --gold: #e0a11b;

  /* Neutrals */
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1f1f1f;
  --text-soft: #5b5b5b;
  --border: #e8e5df;

  /* Accents (available, used sparingly) */
  --teal: #1f7a8c;
  --blue: #669bbc;
  --navy: #003049;

  /* Type */
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(31, 31, 31, 0.06), 0 8px 24px rgba(31, 31, 31, 0.06);
  --shadow-lg: 0 12px 40px rgba(31, 31, 31, 0.12);
  --container: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section { padding: 84px 0; }
.section--tint { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--text-soft); font-size: 1.12rem; margin: 0; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

/* -------- Store badges (Coming soon) -------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 18px;
  min-width: 200px;
  cursor: default;
  user-select: none;
}
.badge svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.badge__soon { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.72; }
.badge__store { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 34px; width: auto; border-radius: 7px; }
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__lead { font-size: 1.22rem; color: var(--text-soft); max-width: 30ch; margin-bottom: 28px; }
.hero__cta { margin-top: 8px; }
.hero__note { font-size: 0.9rem; color: var(--text-soft); margin-top: 18px; }

.hero__art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  width: 300px;
  max-width: 100%;
}
.phone__screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.phone__shot { display: block; width: 100%; }
.phone__card {
  padding: 14px 14px 18px;
}
.dish {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  margin-bottom: 12px;
}
.dish img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.dish__body { padding: 10px 12px 12px; }
.dish__name { font-weight: 700; font-size: 0.98rem; }
.dish__meta { font-size: 0.82rem; color: var(--text-soft); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.hero__badge-icon {
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}

/* ==========================================================================
   Screenshots showcase
   ========================================================================== */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.shot { margin: 0; text-align: center; }
.phone--shot {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: 30px;
}
.phone--shot .phone__screen { border: 0; background: #fff; }
.shot figcaption {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 26ch;
  margin: 0 auto;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature__icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.feature h3 { margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; }
.feature p { color: var(--text-soft); font-size: 0.96rem; margin: 0; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step__num {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 1.5rem;
  border-radius: 50%;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; }
.step p { color: var(--text-soft); margin: 0; }

/* Gallery strip */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border: 2px solid var(--red); box-shadow: var(--shadow); position: relative; }
.plan__flag {
  position: absolute; top: -13px; left: 30px;
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.plan__name { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: 8px 0 2px; }
.plan__price span { font-family: var(--font-body); font-size: 1rem; color: var(--text-soft); font-weight: 500; }
.plan__sub { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 20px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 24px; }
.plan__list li { padding: 8px 0 8px 30px; position: relative; color: var(--text); border-top: 1px solid var(--border); }
.plan__list li:first-child { border-top: 0; }
.plan__list li::before {
  content: "";
  position: absolute; left: 4px; top: 15px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.plan__foot { margin-top: auto; color: var(--text-soft); font-size: 0.86rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 26px; }
.cta-band .badges { justify-content: center; }
.cta-band .badge { background: #fff; color: var(--text); }
.cta-band .badge svg { fill: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.footer__brand { max-width: 320px; }
.footer__brand img { height: 36px; width: auto; border-radius: 7px; margin-bottom: 12px; }
.footer__brand p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }
.footer__col h4 {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-soft); margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--text); font-size: 0.96rem; }
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

/* ==========================================================================
   Legal / content pages
   ========================================================================== */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 44px;
}
.page-hero p { color: var(--text-soft); margin: 0; }
.updated { font-size: 0.9rem; color: var(--text-soft); }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 40px 0 14px;
  padding-top: 8px;
}
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: #2c2c2c; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; }
.prose .lead { font-size: 1.12rem; color: var(--text-soft); }
.callout {
  background: var(--red-soft);
  border: 1px solid #f3c9cf;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.96rem;
}
.callout strong { color: var(--red-dark); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p { color: var(--text-soft); padding: 14px 0 4px; margin: 0; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}
.contact-card .email {
  font-family: var(--font-display);
  font-size: 1.7rem;
  display: inline-block;
  margin: 8px 0 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .phone--shot { padding: 7px; border-radius: 22px; }
  .shot figcaption { font-size: 0.85rem; }
  .steps { grid-template-columns: 1fr; gap: 32px; max-width: 360px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav__links .btn { margin-top: 12px; width: 100%; }
}

@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; gap: 36px; }
  .phone--shot { max-width: 260px; padding: 10px; border-radius: 30px; }
  .shot figcaption { font-size: 0.95rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .badges { flex-direction: column; }
  .badge { width: 100%; }
  .cta-band { padding: 40px 24px; }
}
