/* ===================================================================
   MenuBurq — design system
   Warm ink + tangerine accent, Cairo type. Premium food-tech identity.
   =================================================================== */
:root {
    --ink: #1c1712;
    --ink-2: #4c453d;
    --muted: #948a7e;
    --line: #ece4d9;
    --line-2: #e0d6c8;
    --paper: #faf6f0;
    --surface: #ffffff;
    --surface-2: #f6efe6;

    --brand: #ef6820;
    --brand-strong: #d4550f;
    --brand-soft: #fdeadd;
    --brand-ink: #7a3410;

    --ok: #15803d;
    --ok-soft: #e6f4ea;

    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(28,23,18,.06), 0 1px 3px rgba(28,23,18,.05);
    --shadow: 0 4px 12px rgba(28,23,18,.06), 0 12px 32px rgba(28,23,18,.07);
    --shadow-lg: 0 20px 50px rgba(28,23,18,.14);
    --maxw: 1140px;
    --font: "Cairo", "Segoe UI", system-ui, -apple-system, Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body.mb-site {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.mb-site main { flex: 1; }

.container { max-width: var(--maxw); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }

/* ---------- Navbar ---------- */
.mb-nav {
    background: rgba(28,23,18,.92);
    backdrop-filter: saturate(140%) blur(10px);
    padding-block: 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mb-nav .navbar-brand {
    color: #fff !important;
    font-weight: 900;
    letter-spacing: -.02em;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.mb-nav .navbar-brand i { color: var(--brand); font-size: 1.35rem; }
.mb-nav .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 600;
    font-size: .96rem;
    padding-inline: 12px !important;
    transition: color .15s;
}
.mb-nav .nav-link:hover { color: #fff !important; }
.mb-nav .dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: var(--radius-sm); }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .6rem 1.35rem; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .8rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(239,104,32,.28); }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-strong); border-color: var(--brand-strong); box-shadow: 0 8px 22px rgba(239,104,32,.34); }

.btn-outline-primary { color: var(--brand-strong); border: 1.5px solid var(--brand); background: transparent; }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn-light { background: #fff; border-color: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-light:hover { background: #fff; color: var(--brand-strong); }

.btn-outline-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn-outline-secondary { border-color: var(--line-2); color: var(--ink-2); }
.btn-outline-secondary:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }

/* ---------- Cards / forms ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line-2); padding: .6rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(239,104,32,.15); }
.input-group-text { border-radius: var(--radius-sm); background: var(--surface-2); border-color: var(--line-2); color: var(--muted); }
a { color: var(--brand-strong); }

/* ---------- Footer ---------- */
.mb-footer { background: var(--ink); color: rgba(255,255,255,.62); }
.mb-footer a { color: rgba(255,255,255,.85); }

/* ===================================================================
   Landing page
   =================================================================== */
.lp-hero {
    background:
        radial-gradient(720px 340px at 88% -8%, rgba(239,104,32,.22), transparent 70%),
        radial-gradient(520px 300px at 10% 110%, rgba(239,104,32,.10), transparent 70%),
        linear-gradient(180deg, #241d16, #1c1712);
    color: #fff;
    padding: 84px 0 96px;
    overflow: hidden;
}
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(239,104,32,.16); color: #ffb684;
    border: 1px solid rgba(239,104,32,.3);
    padding: 7px 15px; border-radius: 999px;
    font-weight: 700; font-size: .82rem; margin-bottom: 22px;
}
.lp-hero-title { font-size: 3.1rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.lp-hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.78); margin-top: 18px; max-width: 30em; }
.lp-hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.lp-hero-stats div { display: flex; flex-direction: column; }
.lp-hero-stats strong { font-size: 1.7rem; font-weight: 900; color: #fff; }
.lp-hero-stats span { color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 600; }

/* Phone mockup */
.lp-phone {
    width: 290px; margin: 0 auto; background: #0d0b09; border-radius: 42px; padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06);
    position: relative; rotate: 2deg;
}
.lp-phone-notch { width: 130px; height: 26px; background: #0d0b09; border-radius: 0 0 16px 16px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.lp-phone-screen { background: #faf6f0; border-radius: 32px; padding: 44px 16px 18px; color: var(--ink); min-height: 400px; }
.lp-phone-header { font-weight: 900; color: var(--brand-strong); font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.lp-phone-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); font-weight: 600; }
.lp-phone-item b { color: var(--brand-strong); }
.lp-phone-cart { margin-top: 16px; background: var(--brand); color: #fff; text-align: center; padding: 13px; border-radius: 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(239,104,32,.35); }

.lp-section { padding: 76px 12px; }
.lp-h2 { font-size: 2.1rem; font-weight: 900; text-align: center; letter-spacing: -.02em; }

/* Steps */
.lp-step { text-align: center; padding: 18px; }
.lp-step-num { width: 34px; height: 34px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.lp-step i { font-size: 1.9rem; color: var(--brand); display: block; margin-bottom: 10px; }
.lp-step h3 { font-size: 1.08rem; }
.lp-step p { color: var(--muted); font-size: .92rem; }

/* Features */
.lp-features { background: var(--surface); border-block: 1px solid var(--line); padding: 76px 0; }
.lp-feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; height: 100%; transition: transform .18s, box-shadow .18s; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-feat i { font-size: 2rem; color: var(--brand); background: var(--brand-soft); width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; }
.lp-feat h3 { font-size: 1.18rem; margin-top: 16px; }
.lp-feat p { color: var(--ink-2); margin: 8px 0 0; }

/* Pricing */
.lp-pricing { padding: 84px 0; background: var(--paper); }
.lp-geo-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand-strong); padding: 5px 13px; border-radius: 999px; font-weight: 800; font-size: .84rem; }
.lp-plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; height: 100%; position: relative; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.lp-plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lp-plan-pop { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.lp-plan-tag { position: absolute; top: -14px; inset-inline-start: 28px; background: var(--brand); color: #fff; padding: 5px 15px; border-radius: 999px; font-size: .78rem; font-weight: 800; box-shadow: 0 6px 14px rgba(239,104,32,.3); }
.lp-plan-name { font-size: 1.3rem; }
.lp-plan-price { margin: 16px 0 2px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lp-plan-amount { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.lp-plan-cur { font-weight: 800; color: var(--brand-strong); }
.lp-plan-per { color: var(--muted); font-size: .9rem; }
.lp-plan-yearly { color: var(--ok); font-weight: 700; font-size: .86rem; margin-bottom: 10px; }
.lp-plan-feats { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.lp-plan-feats li { color: var(--ink-2); padding-inline-start: 28px; position: relative; font-size: .93rem; }
.lp-plan-feats li i { position: absolute; inset-inline-start: 0; top: 4px; color: var(--ok); background: var(--ok-soft); width: 19px; height: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; }

/* CTA */
.lp-cta {
    background: radial-gradient(600px 300px at 50% -30%, rgba(239,104,32,.28), transparent 70%), linear-gradient(180deg,#241d16,#1c1712);
    color: #fff; padding: 84px 0; text-align: center;
}
.lp-cta h2 { font-size: 2.2rem; font-weight: 900; }
.lp-cta p { color: rgba(255,255,255,.78); margin-bottom: 26px; }

/* ===================================================================
   Restaurant cards (showcase / directory)
   =================================================================== */
.rest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.rest-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.rest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rest-card-media { height: 138px; position: relative; display: flex; align-items: center; justify-content: center; }
.rest-card-logo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); box-shadow: var(--shadow-sm); }
.rest-card-initial { color: rgba(255,255,255,.95); font-size: 2.8rem; font-weight: 900; }
.rest-card-badge { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.95); color: #f59e0b; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.rest-card-body { padding: 16px 18px 18px; }
.rest-card-name { font-size: 1.1rem; font-weight: 800; margin: 0; }
.rest-card-cuisine { display: inline-block; color: var(--muted); font-size: .85rem; font-weight: 600; margin: 3px 0 10px; }
.rest-card-open { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-strong); font-weight: 700; font-size: .88rem; }

.explore-head { background: var(--surface); border-bottom: 1px solid var(--line); }

/* ---------- Wallet ---------- */
.wallet-badge { width: 76px; height: 76px; border-radius: 22px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 2.1rem; box-shadow: 0 12px 26px rgba(239,104,32,.3); }
.wallet-points { font-size: 3.4rem; font-weight: 900; color: var(--brand-strong); line-height: 1.05; letter-spacing: -.03em; }

@media (max-width: 991px) {
    .lp-hero-title { font-size: 2.3rem; }
    .lp-phone { margin-top: 40px; rotate: 0deg; }
    .lp-section, .lp-pricing, .lp-features { padding-block: 56px; }
}

/* ===================================================================
   Landing page — motion & polish (2026-08-01)
   =================================================================== */

/* Scroll-reveal (only active once JS marks <html class="js">) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.reveal-l { transform: translateX(-28px); }
.js .reveal.reveal-r { transform: translateX(28px); }
.js .reveal.reveal-scale { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero: animated ambient orbs + faster gradient life */
.lp-hero { position: relative; }
.lp-hero-orb { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .5; pointer-events: none; z-index: 0; }
.lp-hero-orb.o1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(239,104,32,.55), transparent 70%); top: -120px; inset-inline-end: -60px; animation: orbFloat 15s ease-in-out infinite; }
.lp-hero-orb.o2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(212,85,15,.4), transparent 70%); bottom: -120px; inset-inline-start: -40px; animation: orbFloat 19s ease-in-out infinite reverse; }
.lp-hero .container { position: relative; z-index: 1; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-26px) scale(1.12); } }

/* Hero highlight word */
.lp-grad { background: linear-gradient(120deg, #ffb684, var(--brand) 55%, #ffd0ab); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Trust chips */
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp-trust span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.9); padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.lp-trust span i { color: #ffb684; }

/* Phone: gentle float + live order toast + pulsing cart */
.lp-phone { animation: phoneFloat 6s ease-in-out infinite; z-index: 1; }
@keyframes phoneFloat { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-14px); } }
.lp-phone-item { animation: itemIn .5s both; }
.lp-phone-item:nth-child(2) { animation-delay: .15s; }
.lp-phone-item:nth-child(3) { animation-delay: .3s; }
.lp-phone-item:nth-child(4) { animation-delay: .45s; }
@keyframes itemIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lp-phone-cart { animation: cartPulse 2.4s ease-in-out infinite; }
@keyframes cartPulse { 0%,100% { box-shadow: 0 8px 20px rgba(239,104,32,.35); } 50% { box-shadow: 0 8px 30px rgba(239,104,32,.65); } }
.lp-order-toast {
    position: absolute; inset-inline-end: -22px; top: 96px; z-index: 3;
    background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: .85rem; white-space: nowrap;
    animation: toastLoop 5s ease-in-out infinite;
}
.lp-order-toast i { color: #fff; background: var(--ok); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.lp-order-toast small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
@keyframes toastLoop {
    0%, 12% { opacity: 0; transform: translateY(10px) scale(.9); }
    18%, 82% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100% { opacity: 0; transform: translateY(-6px) scale(.96); }
}

/* Marquee social-proof strip */
.lp-marquee { background: var(--ink); overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(255,255,255,.06); }
.lp-marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 26s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
.lp-marquee span { color: rgba(255,255,255,.65); font-weight: 800; font-size: 1.02rem; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .01em; }
.lp-marquee span i { color: var(--brand); font-size: .7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .lp-marquee-track { animation-direction: reverse; }

/* Shine sweep on primary/light CTAs */
.btn-light, .btn-primary { position: relative; overflow: hidden; }
.btn-light::after, .btn-primary::after {
    content: ""; position: absolute; top: 0; inset-inline-start: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg);
    transition: inset-inline-start .6s ease;
}
.btn-light:hover::after, .btn-primary:hover::after { inset-inline-start: 140%; }

/* Section eyebrow + subtitle helpers */
.lp-eyebrow-c { display: inline-flex; align-items: center; gap: 7px; background: var(--brand-soft); color: var(--brand-strong); padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; margin-bottom: 12px; }
.lp-h2-wrap { text-align: center; margin-bottom: 8px; }

/* Step connector line + hover */
.lp-step { transition: transform .18s; border-radius: var(--radius-lg); }
.lp-step:hover { transform: translateY(-4px); }
.lp-step i { transition: transform .25s; }
.lp-step:hover i { transform: scale(1.15) rotate(-6deg); }

/* Feature icon spring on hover */
.lp-feat i { transition: transform .25s, background .2s; }
.lp-feat:hover i { transform: rotate(-6deg) scale(1.08); }

/* Popular plan subtle breathing glow */
.lp-plan-pop { animation: planGlow 3.4s ease-in-out infinite; }
@keyframes planGlow { 0%,100% { box-shadow: 0 4px 12px rgba(28,23,18,.06), 0 12px 32px rgba(28,23,18,.07); } 50% { box-shadow: 0 8px 26px rgba(239,104,32,.28); } }

/* Count-up numbers keep width stable */
.lp-hero-stats strong { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .lp-hero-orb, .lp-phone, .lp-phone-item, .lp-phone-cart, .lp-order-toast, .lp-marquee-track, .lp-plan-pop { animation: none !important; }
    .btn-light::after, .btn-primary::after { display: none; }
}
