/* ═══════════════════════════════════════════════════════════════════════
   ezzeats.com — landing (hero)
   Structure + type lifted 1:1 from Cashfree's payment-gateway hero:
   DM Sans, pale wash, deep accent price figure — recolored mustard yellow.
   ═══════════════════════════════════════════════════════════════════════ */

:root{
  --bg-top:#FBF3DC;
  --bg-bottom:#FFFFFF;

  --ink:#0A0A0A;
  --ink-muted:rgba(0,0,0,.75);

  --mustard:#BE8A0E;
  --mustard-deep:#7A560A;
  --mustard-lit:#E0A61A;
  --mustard-badge-bd:#E8D6A6;
  --strike:rgba(122,86,10,.55);
  --divider:rgba(34,27,10,.16);

  --f:'DM Sans',Arial,sans-serif;

  --wrap:1140px;
  --pad:24px;
  --nav-h:66px;
  --pill:999px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg-bottom);color:var(--ink);
  font-family:var(--f);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
ul{list-style:none}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}

/* ── nav ────────────────────────────────────────────────────────────── */
.nav{
  position:sticky;top:0;z-index:40;
  background:var(--bg-top);
  height:var(--nav-h);
}
.nav__in{
  max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad);
  height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:inline-flex;align-items:center}
.brand__word{font-family:var(--f);font-weight:700;font-size:20px;letter-spacing:-.02em;color:var(--ink)}
.brand__word em{font-style:normal;color:var(--mustard-deep)}

.nav__links{display:flex;align-items:center;gap:32px}
.nav__links a{font-size:14px;font-weight:500;color:var(--ink);opacity:.8}
.nav__links a:hover{opacity:1}

.nav__cta{display:flex;align-items:center;gap:10px}

/* ── buttons ────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--f);font-weight:500;
  border-radius:var(--pill);white-space:nowrap;
}
.btn--primary{background:var(--ink);color:#fff;border:.8px solid var(--ink)}
.btn--primary .ar{
  display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;border-radius:50%;background:#fff;color:var(--ink);
  font-size:12px;
}
.btn--primary:hover{background:#1a1a1a}

.btn--outline{background:transparent;color:var(--ink);border:1px solid var(--ink)}
.btn--outline:hover{background:rgba(0,0,0,.04)}

.btn--sm{font-size:14px;padding:8px 8px 8px 18px}
.btn--sm.btn--outline{padding:8px 18px}
.btn--lg{font-size:15px;padding:11px 11px 11px 24px}
.btn--lg.btn--outline{padding:11px 24px}

/* ── hero ───────────────────────────────────────────────────────────── */
.hero{
  background:linear-gradient(var(--bg-top),var(--bg-bottom) 45%);
  padding-top:clamp(48px,7vw,88px);
  padding-bottom:clamp(56px,8vw,104px);
}
.hero__in{display:flex;flex-direction:column;align-items:center;text-align:center}

.tag{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:600;letter-spacing:.01em;text-transform:uppercase;
  color:var(--mustard-deep);
  border:.8px solid var(--mustard-badge-bd);
  border-radius:var(--pill);
  padding:8px 14px 8px 12px;
  margin-bottom:20px;
}
.tag__dot{width:5px;height:5px;border-radius:50%;background:var(--mustard)}

.display{
  font-family:var(--f);font-weight:500;
  font-size:clamp(2.5rem,5.4vw,3.6rem);
  line-height:1.1;letter-spacing:-.03em;
  max-width:900px;color:var(--ink);
}

.lede{
  margin-top:22px;
  font-size:clamp(1.05rem,1.5vw,1.15rem);line-height:1.6;
  color:var(--ink-muted);max-width:34rem;
}

.hero__cta{display:flex;align-items:center;gap:14px;margin-top:34px;flex-wrap:wrap;justify-content:center}

/* ── pricing card ───────────────────────────────────────────────────── */
/* A rounded, saturated gradient box — same construction as Cashfree's
   "Platform Fees" banner (a busy diagonal blend cropped into a
   border-radius:16px, overflow:hidden container), rebuilt as a pure-CSS
   gradient in mustard tones instead of their cropped raster image. */
.price{
  margin-top:clamp(36px,6vw,56px);
  width:100%;max-width:640px;
  display:flex;flex-direction:column;align-items:center;
  padding:18px clamp(20px,5vw,44px) 16px;
  border-radius:16px;
  background:
    radial-gradient(120% 180% at 45% 35%,rgba(224,166,26,.55) 0%,rgba(243,216,137,.4) 32%,rgba(243,216,137,0) 62%),
    linear-gradient(115deg,#FDF3E1 0%,#FBE9C6 26%,#F6DE95 48%,#FBE9C6 72%,#FDF3E1 100%);
}
/* Figure + label sit on one row, bottom-aligned, like the reference card —
   that's what keeps the card short instead of stacking them. */
.price__top{
  display:flex;align-items:flex-end;justify-content:center;gap:18px;
  width:100%;
  padding-bottom:12px;
  border-bottom:1px solid rgba(34,20,4,.22);
  flex-wrap:wrap;
}
.price__figure{
  display:flex;align-items:flex-end;gap:10px;
}
.price__zero{
  font-family:var(--f);font-weight:600;color:var(--mustard-deep);
  font-size:clamp(2.2rem,4.6vw,2.9rem);line-height:1;letter-spacing:-.02em;
}
.price__was{
  font-family:var(--f);font-weight:500;color:var(--strike);
  font-size:clamp(.95rem,1.6vw,1.15rem);
  text-decoration:line-through;
  padding-bottom:4px;
}
.price__was i{font-style:normal;font-size:.68em}

.price__label{
  font-size:14px;font-weight:500;line-height:1.35;color:var(--ink-muted);
  text-align:left;padding-bottom:3px;
}

.trust{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:12px}
.trust li{
  display:flex;align-items:center;gap:8px;
  font-size:13px;font-weight:500;color:var(--mustard-deep);
}
.trust svg{width:16px;height:16px;flex:none}
.trust svg path{fill:none;stroke:var(--mustard);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ── food court diorama ────────────────────────────────────────────── */
/* A real alpha-transparent cutout (flood-fill matted, not mix-blend-mode)
   so it composites cleanly with no white-box artifacts, and sits directly
   on the hero wash under the pricing card. */
.fc{
  width:100%;max-width:980px;
  margin-top:clamp(40px,7vw,72px);
}
/* The reveal wipes left→right, echoing the scene's own left-to-right story
   (scan → cook → handover) instead of a generic fade. .fc__frame carries
   the clip-path so the drop-shadow filter can stay on the img itself,
   which would otherwise get clipped along with the image. Static by
   default (no JS / motion-reduced) — .is-in is added by main.js once the
   figure scrolls into view. */
.fc__frame{
  display:block;
  clip-path:inset(0 100% 0 0);
  opacity:0;
  transform:translateY(16px) scale(.98);
  transition:clip-path 1.05s cubic-bezier(.16,.8,.24,1),
             opacity .7s ease-out,
             transform 1.05s cubic-bezier(.16,.8,.24,1);
}
.fc.is-in .fc__frame{
  clip-path:inset(0 0 0 0);
  opacity:1;
  transform:translateY(0) scale(1);
}
.fc img{
  display:block;width:100%;height:auto;
  filter:drop-shadow(0 18px 30px rgba(34,20,4,.18));
}

.fc__cap{
  margin-top:18px;
  display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;
  opacity:0;transform:translateY(8px);
  transition:opacity .6s ease-out .55s,transform .6s ease-out .55s;
}
.fc.is-in .fc__cap{opacity:1;transform:translateY(0)}
.fc__cap b{
  font-family:var(--f);font-weight:600;font-size:16px;color:var(--mustard-deep);
}
.fc__cap span{
  font-size:14px;color:var(--ink-muted);max-width:34rem;line-height:1.55;
}

@media (prefers-reduced-motion:reduce){
  .fc__frame,.fc__cap{transition:none;opacity:1;transform:none;clip-path:inset(0 0 0 0)}
}

/* ── how it works ───────────────────────────────────────────────────── */
.how{padding-block:clamp(56px,9vw,112px)}
.how__head{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  margin-inline:auto;margin-bottom:clamp(36px,6vw,56px);
}
.how__head .tag{margin-bottom:18px}
.how__title{
  font-family:var(--f);font-weight:500;
  font-size:clamp(1.9rem,3.6vw,2.6rem);
  line-height:1.16;letter-spacing:-.025em;color:var(--ink);
  max-width:620px;
}
.how__title em{font-style:normal;color:var(--mustard)}

.how__grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(16px,2.4vw,24px);
}
.how__panel img{
  display:block;width:100%;height:auto;
  border-radius:16px;
}
.how__panel figcaption{
  margin-top:12px;
  font-size:14px;line-height:1.5;color:var(--ink-muted);
  text-align:center;
}

/* ── generic section heading ───────────────────────────────────────── */
.sec{padding-block:clamp(56px,9vw,112px)}
.sec__head{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  margin-inline:auto;margin-bottom:clamp(40px,6vw,64px);
}
.sec__head .tag{margin-bottom:18px}
.sec__title{
  font-family:var(--f);font-weight:500;
  font-size:clamp(1.9rem,3.6vw,2.6rem);
  line-height:1.16;letter-spacing:-.025em;color:var(--ink);
  max-width:620px;
}
.sec__title em{font-style:normal;color:var(--mustard)}
.sec__title--light{color:#fff}
.sec__title--light em{color:var(--mustard-lit,#E0A61A)}
.sec__lede{
  margin-top:16px;
  font-size:clamp(1rem,1.3vw,1.1rem);line-height:1.6;
  color:var(--ink-muted);max-width:32rem;
}
.sec__lede--light{color:rgba(255,255,255,.72)}

/* ── image placeholder slot ────────────────────────────────────────── */
/* Reserves the exact spot + aspect ratio a generated image will drop
   into later. data-prompt carries the description to hand the image
   generator — read it via devtools or the HTML source, not rendered. */
.img-slot{
  aspect-ratio:var(--ar,1/1);
  width:100%;
  border:1.5px dashed var(--mustard-badge-bd);
  border-radius:16px;
  background:rgba(224,166,26,.05);
  display:flex;align-items:center;justify-content:center;
  padding:16px;
}
.img-slot__label{
  font-size:12px;font-weight:600;letter-spacing:.02em;text-align:center;
  color:var(--mustard-deep);opacity:.75;
}
.img-slot--dark{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
}
.img-slot--dark .img-slot__label{color:rgba(255,255,255,.55)}

/* ── features grid ──────────────────────────────────────────────────── */
/* A compact icon-row list, not photo-topped cards — six small feature
   shots don't need a full-width square each; a fixed-size icon tile next
   to the text reads modern (Stripe/Linear-style) and stays short on
   mobile, where a full-bleed square placeholder per card used to eat the
   whole screen. */
.feat-grid{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:28px 32px;
}
.feat-card{
  display:flex;gap:16px;align-items:flex-start;text-align:left;
}
.feat-card__icon{
  flex:none;width:40px;height:40px;
  margin-top:2px;
}
.feat-card__body h3{font-family:var(--f);font-weight:600;font-size:16px;color:var(--ink);margin-bottom:5px}
.feat-card__body p{font-size:13.5px;line-height:1.6;color:var(--ink-muted)}

/* ── who it's for ───────────────────────────────────────────────────── */
.who__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,28px)}
.who__card{display:flex;flex-direction:column}
.who__img{
  width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;
  border-radius:14px;margin-bottom:16px;
}
.who__k{
  font-family:var(--f);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--mustard-deep);margin-bottom:8px;
}
.who__card h3{font-family:var(--f);font-weight:600;font-size:19px;line-height:1.3;color:var(--ink);margin-bottom:10px}
.who__card p:not(.who__k){font-size:14.5px;line-height:1.6;color:var(--ink-muted)}

/* ── analytics (dark band) ─────────────────────────────────────────── */
.analytics{background:#17130A}
.tag--dark{color:#F5D98A;border-color:rgba(245,217,138,.3)}
.tag--dark .tag__dot{background:#F5D98A}
.analytics__img{
  display:block;width:100%;height:auto;
  border-radius:16px;
  box-shadow:0 20px 34px rgba(0,0,0,.4);
}

.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:clamp(16px,2.4vw,24px);
  margin-top:clamp(32px,5vw,48px);
}
.stat{text-align:center}
.stat b{
  display:block;font-family:var(--f);font-weight:700;font-size:clamp(2rem,4vw,2.6rem);
  color:var(--mustard-lit,#E0A61A);line-height:1;margin-bottom:8px;
}
.stat span{display:block;font-size:13px;font-weight:600;color:#fff}
.stat span i{display:block;font-style:normal;font-weight:400;font-size:12px;color:rgba(255,255,255,.5);margin-top:3px}

/* ── faq ─────────────────────────────────────────────────────────────── */
.faq{max-width:760px;margin-inline:auto;display:flex;flex-direction:column;gap:10px}
.faq details{
  border:1px solid var(--divider);border-radius:14px;
  padding:18px 22px;
}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-family:var(--f);font-weight:600;font-size:15.5px;color:var(--ink);
  cursor:pointer;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq__ico{
  flex:none;width:20px;height:20px;position:relative;
}
.faq__ico::before,.faq__ico::after{
  content:"";position:absolute;top:50%;left:50%;background:var(--mustard-deep);
  transform:translate(-50%,-50%);transition:transform .25s ease;
}
.faq__ico::before{width:12px;height:1.6px}
.faq__ico::after{width:1.6px;height:12px}
.faq details[open] .faq__ico::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}
.faq p{margin-top:12px;font-size:14.5px;line-height:1.6;color:var(--ink-muted)}

/* ── go live steps ──────────────────────────────────────────────────── */
/* Numbered circle badges on a connecting hairline — reads as a process,
   not just three stacked paragraphs. */
.live{
  list-style:none;position:relative;
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,28px);
  max-width:900px;margin-inline:auto;
}
.live::before{
  content:"";position:absolute;top:19px;left:calc(100%/6);right:calc(100%/6);
  height:1px;background:var(--divider);z-index:0;
}
.live>li{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center}
.live__n{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--bg-bottom);border:1.5px solid var(--mustard);
  font-family:var(--f);font-weight:700;font-size:13px;color:var(--mustard-deep);
  margin-bottom:14px;position:relative;z-index:1;
}
.live h3{font-family:var(--f);font-weight:600;font-size:17px;color:var(--ink);margin-bottom:8px}
.live p:not(.live__n){font-size:14px;line-height:1.6;color:var(--ink-muted);max-width:24rem;margin-inline:auto}

/* ── final cta band ─────────────────────────────────────────────────── */
.final{
  background:#17130A;border-radius:24px;
  margin:clamp(48px,7vw,80px) var(--pad) 0;
  padding:clamp(36px,5vw,56px);
}
.final__in{
  max-width:none;padding-inline:0;
  display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(24px,4vw,40px);
  align-items:center;
}
.final__in p{color:rgba(255,255,255,.72);margin:14px 0 24px;font-size:15px}

/* A real, scannable QR code (generated, not AI-rendered — a fake-looking
   code here would undermine the "scan this" promise the whole page is
   making), framed in a plain white card like a printed table-stand. */
.qr-card{
  max-width:220px;margin-inline:auto;
  background:#fff;border-radius:16px;
  padding:16px 16px 14px;
  box-shadow:0 20px 34px rgba(0,0,0,.35);
}
.qr-card img{display:block;width:100%;height:auto;border-radius:4px}
.qr-card p{
  margin-top:10px;text-align:center;
  font-family:var(--f);font-size:14px;font-weight:600;color:var(--ink);
}
.qr-card p em{font-style:normal;color:var(--mustard-deep)}

/* ── footer ─────────────────────────────────────────────────────────── */
.foot{padding-block:clamp(48px,7vw,72px) 28px}
.foot__in{
  display:flex;flex-wrap:wrap;gap:clamp(32px,5vw,64px);justify-content:space-between;
  padding-bottom:clamp(32px,5vw,48px);border-bottom:1px solid var(--divider);
}
.foot__brand{max-width:320px}
.foot__brand p{margin-top:12px;font-size:14px;line-height:1.6;color:var(--ink-muted)}
.foot__cols{display:flex;gap:clamp(32px,5vw,64px)}
.foot__cols h4{font-family:var(--f);font-weight:600;font-size:13px;color:var(--ink);margin-bottom:14px}
.foot__cols a{display:block;font-size:14px;color:var(--ink-muted);margin-bottom:10px}
.foot__cols a:hover{color:var(--mustard-deep)}
.foot__base{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
  padding-top:24px;font-size:13px;color:var(--ink-muted);
}
.foot__base .mono{font-family:var(--m,monospace);font-size:12px}

/* ── scroll-reveal (generic) ───────────────────────────────────────── */
/* Same one-time technique as the food-court figure — fade + rise, no
   loop, triggered once by IntersectionObserver in main.js. Grid children
   stagger via nth-child transition-delay. */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease-out,transform .7s ease-out}
.reveal.is-in{opacity:1;transform:translateY(0)}
.feat-card.reveal,.who__card.reveal,.stat.reveal,.live>li.reveal{transition-delay:0s}
.feat-grid .reveal:nth-child(2){transition-delay:.08s}
.feat-grid .reveal:nth-child(3){transition-delay:.16s}
.feat-grid .reveal:nth-child(4){transition-delay:.24s}
.feat-grid .reveal:nth-child(5){transition-delay:.32s}
.feat-grid .reveal:nth-child(6){transition-delay:.4s}
.who__grid .reveal:nth-child(2){transition-delay:.1s}
.who__grid .reveal:nth-child(3){transition-delay:.2s}
.stats .reveal:nth-child(2){transition-delay:.08s}
.stats .reveal:nth-child(3){transition-delay:.16s}
.stats .reveal:nth-child(4){transition-delay:.24s}
.live>li.reveal:nth-child(2){transition-delay:.1s}
.live>li.reveal:nth-child(3){transition-delay:.2s}

@media (prefers-reduced-motion:reduce){
  .reveal{transition:none;opacity:1;transform:none}
}

/* ── themed scrollbar ───────────────────────────────────────────────── */
html{scrollbar-width:thin;scrollbar-color:var(--mustard) var(--bg-top)}
::-webkit-scrollbar{width:12px}
::-webkit-scrollbar-track{background:var(--bg-top)}
::-webkit-scrollbar-thumb{
  background:var(--mustard);border-radius:8px;
  border:3px solid var(--bg-top);background-clip:padding-box;
}
::-webkit-scrollbar-thumb:hover{background:var(--mustard-deep)}

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width:860px){
  .nav__links{display:none}
}
@media (max-width:900px){
  .who__grid{grid-template-columns:1fr}
  .who__img{max-width:420px;margin-inline:auto;display:block}
  .stats{grid-template-columns:repeat(2,1fr)}
  .final__in{grid-template-columns:1fr;text-align:center}
  .qr-card{margin-top:24px}
}
@media (max-width:640px){
  .nav__in{padding-inline:16px}
  .wrap{padding-inline:16px}
  .btn--lg{font-size:14px}
  .price__figure{gap:10px}
  .trust{gap:16px 22px}

  .sec{padding-block:clamp(44px,10vw,64px)}
  .how__grid{grid-template-columns:1fr}
  .feat-grid{grid-template-columns:1fr;gap:22px}
  .who__img{max-width:320px}

  .live{grid-template-columns:1fr;gap:24px;max-width:320px}
  .live::before{display:none}
  .live>li{flex-direction:row;text-align:left;gap:14px;align-items:flex-start}
  .live__n{margin-bottom:0;flex:none}
  .live__body p{margin-inline:0}

  .foot__cols{flex-wrap:wrap;gap:28px}
}
