/* ==========================================================================
   ذوق — صفحة المنتج (Landing) — داكنة وسينمائية. تُحمَّل بعد base.css و app.css.
   كل الأصناف تبدأ بـ ld- حتى لا تتعارض مع نظام التطبيق.
   ========================================================================== */
body.ld { background: #0b0b0c; }
.ld-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--saffron); letter-spacing: .02em; padding: 6px 14px; border-radius: 999px; background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .25); }
.ld-eyebrow svg { width: 15px; height: 15px; }
.ld-h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -.02em; }
.ld-h2 em { font-style: normal; background: linear-gradient(90deg, #ffd27a, var(--saffron), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; }
.ld-sec { padding: 96px 0; position: relative; }
.ld-sec-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
.ld-sec-head.center { align-items: center; text-align: center; }
.ld-sec-head.center .ld-lead { margin-inline: auto; }

/* ---------------------------------------------------------------- Nav */
.ld-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.ld-nav.scrolled { background: rgba(11, 11, 12, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.ld-nav-in { display: flex; align-items: center; gap: 18px; height: 76px; }
.ld-logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.ld-logo .tb-name { font-size: 24px; }
.ld-links { display: flex; gap: 4px; margin-inline-start: 20px; }
.ld-links a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; }
.ld-links a:hover { color: var(--saffron); }
.ld-nav-cta { display: flex; gap: 8px; margin-inline-start: auto; align-items: center; }
.ld-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.ld-back:hover { color: var(--text); }
.ld-back svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- Hero */
.ld-hero { position: relative; min-height: 100vh; padding: 130px 0 80px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.ld-hero-bg { position: absolute; inset: 0; z-index: -2; background: #0b0b0c center / cover no-repeat; transform: scale(1.06); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.ld-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(270deg, rgba(11, 11, 12, .96) 0%, rgba(11, 11, 12, .82) 38%, rgba(11, 11, 12, .35) 70%, rgba(11, 11, 12, .65) 100%),
  linear-gradient(0deg, #0b0b0c 0%, transparent 35%); }
.ld-hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(245, 165, 36, .22), transparent 65%); filter: blur(10px); }
.ld-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ld-hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 800; }
.ld-hero h1 span { display: block; background: linear-gradient(90deg, #ffe0a3, var(--saffron) 45%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-hero .ld-lead { font-size: 18px; color: var(--text-2); }
.ld-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ld-hero-cta .btn-xl svg { width: 22px; height: 22px; }
.ld-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.ld-proof div { display: flex; flex-direction: column; }
.ld-proof b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ld-proof small { color: var(--muted); font-size: 13px; }
.ld-by { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--muted); font-size: 13px; text-decoration: none; }
.ld-by img { width: 22px; height: 22px; object-fit: contain; }

/* Floating mockups */
.ld-stage { position: relative; height: 600px; min-width: 0; }
.mk { position: absolute; border-radius: 26px; background: rgba(22, 22, 24, .9); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
.mk-float { animation: floaty 7s ease-in-out infinite; }
.mk-float.d2 { animation-delay: -2.5s; } .mk-float.d3 { animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.mk-pos { top: 30px; left: 0; width: 470px; padding: 14px; }
.mk-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.mk-bar .tb-mark { width: 30px; height: 30px; border-radius: 10px; } .mk-bar .tb-mark svg { width: 17px; height: 17px; }
.mk-bar b { font-size: 14px; } .mk-bar small { color: var(--muted); font-size: 11px; margin-inline-start: auto; direction: ltr; font-weight: 800; color: var(--saffron); }
.mk-cats { display: flex; gap: 6px; margin-bottom: 10px; overflow: hidden; }
.mk-cats span { padding: 5px 10px; border-radius: 10px; background: var(--surface-2); font-size: 11px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.mk-cats span.on { background: var(--saffron); color: #1a1206; }
.mk-pos-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.mk-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mk-dish { border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.mk-dish .dish-img { width: 100%; height: 64px; border-radius: 0; }
.mk-dish div { padding: 6px 8px; font-size: 11px; display: flex; flex-direction: column; }
.mk-dish b { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-dish span { color: var(--saffron); font-weight: 800; }
.mk-cart { border-radius: 14px; background: var(--bg-2); padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.mk-cart .ln { display: flex; justify-content: space-between; gap: 6px; color: var(--text-2); }
.mk-cart .tot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; }
.mk-cart .tot b { color: var(--saffron); }
.mk-cart .pay { margin-top: 6px; text-align: center; padding: 8px; border-radius: 10px; background: var(--saffron); color: #1a1206; font-weight: 800; font-size: 12px; }
.mk-kds { bottom: 30px; right: 0; width: 260px; }
.mk-kds .ticket { border-radius: 0; border: 0; border-top: 5px solid var(--lv); }
.mk-kds .tk-items li { cursor: default; padding: 6px; }
.mk-kds .tk-items span { font-size: 13px; }
.mk-phone { top: 0; right: 40px; width: 200px; border-radius: 34px; padding: 10px; background: #050505; border: 2px solid #2b2b2e; }
.mk-phone-in { border-radius: 26px; overflow: hidden; background: #f7f2e8; color: #1b1a17; }
.mk-ph-hero { height: 92px; background: center / cover; position: relative; }
.mk-ph-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6)); }
.mk-ph-hero b { position: absolute; bottom: 8px; right: 10px; z-index: 1; color: #fff; font-size: 13px; }
.mk-ph-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.mk-ph-row { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: #fff; }
.mk-ph-row .dish-img { width: 34px; height: 34px; border-radius: 9px; }
.mk-ph-row b { font-size: 11px; display: block; }
.mk-ph-row span { color: #c47b00; font-weight: 800; }
.mk-ph-btn { margin-top: 4px; text-align: center; padding: 9px; border-radius: 12px; background: #1b1a17; color: #f5a524; font-weight: 800; }
.mk-toast { position: absolute; bottom: 200px; left: 30px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #222226; border: 1px solid rgba(245, 165, 36, .5); box-shadow: var(--glow); font-size: 13px; z-index: 3; }
.mk-toast .t-icon { background: var(--saffron); color: #1a1206; }

/* ---------------------------------------------------------------- Order journey strip */
.ld-journey { border-block: 1px solid var(--line); background: linear-gradient(180deg, #111112, #0b0b0c); padding: 64px 0; }
.jr-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jr-track::before { content: ""; position: absolute; top: 38px; right: 12%; left: 12%; height: 2px; background: linear-gradient(90deg, var(--mint), var(--saffron), var(--ember)); opacity: .5; }
.jr-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.jr-ic { width: 76px; height: 76px; border-radius: 26px; display: grid; place-items: center; background: #19191b; border: 1px solid var(--line-2); color: var(--saffron); position: relative; z-index: 1; box-shadow: 0 0 0 8px #0e0e0f; }
.jr-ic svg { width: 32px; height: 32px; }
.jr-step.on .jr-ic { background: var(--saffron); color: #1a1206; box-shadow: 0 0 0 8px #0e0e0f, 0 0 40px rgba(245, 165, 36, .6); }
.jr-time { font-size: 13px; font-weight: 800; color: var(--saffron); direction: ltr; font-variant-numeric: tabular-nums; }
.jr-step h4 { margin: 0; font-size: 19px; }
.jr-step p { margin: 0; color: var(--muted); font-size: 14px; max-width: 240px; }

/* ---------------------------------------------------------------- Bento features */
.ld-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.bn { position: relative; border-radius: 28px; background: #151517; border: 1px solid var(--line); padding: 26px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-width: 0; isolation: isolate; }
.bn h3 { font-size: 21px; margin: 0; }
.bn p { color: var(--muted); margin: 0; font-size: 14.5px; }
.bn-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(245, 165, 36, .12); color: var(--saffron); margin-bottom: 6px; }
.bn-ic svg { width: 24px; height: 24px; }
.bn.w2 { grid-column: span 2; } .bn.w3 { grid-column: span 3; } .bn.w4 { grid-column: span 4; } .bn.h2 { grid-row: span 2; }
.bn.photo { justify-content: flex-end; min-height: 280px; }
.bn.photo .bn-bg { position: absolute; inset: 0; z-index: -2; background: center / cover; transition: transform .6s ease; }
.bn.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 11, 12, .96) 15%, rgba(11, 11, 12, .45) 60%, rgba(11, 11, 12, .2)); }
.bn.photo:hover .bn-bg { transform: scale(1.06); }
.bn.glow { border-color: rgba(245, 165, 36, .35); background: radial-gradient(400px 200px at 100% 0%, rgba(245, 165, 36, .14), transparent 70%), #151517; }
.bn-mini { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.bn-kpis { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bn-kpis div { padding: 12px; border-radius: 16px; background: var(--surface-2); }
.bn-kpis small { display: block; color: var(--muted); font-size: 12px; }
.bn-kpis b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bn-tables { margin-top: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bn-tables i { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #4a4741; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: var(--muted); }
.bn-tables i.o { border: 1.5px solid var(--saffron); color: var(--saffron); background: rgba(245, 165, 36, .1); }
.bn-tables i.b { border: 1.5px solid var(--ember); color: #ff7a3d; background: rgba(232, 89, 12, .14); }
.bn-tables i.r { border: 1.5px solid var(--sky); color: var(--sky); background: rgba(96, 165, 250, .1); }
.bn-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.bn-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: rgba(245, 165, 36, .3); }
.bn-bars i.hi { background: var(--saffron); box-shadow: 0 0 20px rgba(245, 165, 36, .5); }

/* ---------------------------------------------------------------- Roles */
.ld-roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rl { position: relative; padding: 22px; border-radius: 24px; background: #151517; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-width: 0; }
.rl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 120px at 100% 0%, color-mix(in srgb, var(--rc) 20%, transparent), transparent 70%); pointer-events: none; }
.rl-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--rc); }
.rl h4 { margin: 0; font-size: 17px; }
.rl small { color: var(--rc); font-weight: 800; font-size: 12px; }
.rl ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.rl li { display: flex; gap: 6px; align-items: flex-start; }
.rl li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rc); margin-top: 9px; flex-shrink: 0; }

/* ---------------------------------------------------------------- Live numbers band */
.ld-band { padding: 40px 0; }
.ld-band-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-radius: 28px; padding: 28px; background: linear-gradient(120deg, rgba(245, 165, 36, .12), rgba(232, 89, 12, .08) 60%, rgba(52, 211, 153, .06)); border: 1px solid rgba(245, 165, 36, .2); }
.ld-band-in div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ld-band-in b { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ld-band-in small { color: var(--text-2); font-size: 13.5px; }

/* ---------------------------------------------------------------- CTA */
.ld-cta { position: relative; border-radius: 34px; overflow: hidden; padding: 70px 40px; text-align: center; isolation: isolate; }
.ld-cta-bg { position: absolute; inset: 0; z-index: -2; background: center / cover; }
.ld-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 0%, rgba(245, 165, 36, .25), transparent 70%), rgba(11, 11, 12, .82); }
.ld-cta h2 { font-size: clamp(30px, 4.6vw, 56px); margin: 0 0 12px; letter-spacing: -.02em; }
.ld-cta p { color: var(--text-2); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.ld-cta .ld-hero-cta { justify-content: center; }

/* ---------------------------------------------------------------- Footer */
.ld-foot { padding: 40px 0 50px; border-top: 1px solid var(--line); margin-top: 80px; color: var(--muted); font-size: 13.5px; }
.ld-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ld-foot a { color: var(--text-2); text-decoration: none; }
.ld-foot a:hover { color: var(--saffron); }
.ld-foot .ld-by { margin: 0; }
.ld-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1150px) {
  .ld-hero-in { grid-template-columns: minmax(0, 1fr); }
  .ld-stage { height: 560px; max-width: 640px; width: 100%; margin-inline: auto; }
  .ld-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn.w2, .bn.w3, .bn.w4 { grid-column: span 1; } .bn.wide-md { grid-column: span 2; }
  .bn.h2 { grid-row: auto; }
}
@media (max-width: 860px) {
  .ld-links { display: none; }
  .jr-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .jr-track::before { display: none; }
  .ld-band-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ld-nav-in { height: 64px; gap: 8px; }
  .ld-nav-cta .btn-ghost, .ld-back span { display: none; }
  .ld-logo .tb-name small { display: none; }
  .ld-hero { padding: 96px 0 50px; min-height: 0; }
  .ld-hero-cta .btn { flex: 1 1 100%; }
  .ld-proof { gap: 18px; } .ld-proof b { font-size: 24px; }
  .ld-stage { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .mk { position: relative; inset: auto !important; width: 100% !important; animation: none; }
  .mk-phone { display: none; }
  .mk-toast { position: relative; inset: auto; order: -1; }
  .mk-pos-in { grid-template-columns: minmax(0, 1fr); }
  .ld-sec { padding: 64px 0; }
  .ld-bento { grid-template-columns: minmax(0, 1fr); }
  .bn.wide-md { grid-column: span 1; }
  .ld-roles { grid-template-columns: minmax(0, 1fr); }
  .jr-track { grid-template-columns: minmax(0, 1fr); }
  .ld-band-in { padding: 20px; gap: 14px; }
  .ld-band-in b { font-size: 21px; overflow-wrap: anywhere; }
  .ld-cta { padding: 48px 20px; border-radius: 26px; }
}
