/* web/landing.css — the public home page (index.html).
   Same design language as the admin panel (admin/theme.css): warm paper, one
   emerald accent, Bricolage Grotesque / DM Sans, Readex Pro for Arabic. The
   product "screenshots" are HTML/CSS mockups so they stay sharp and match the
   real panel. */

:root {
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #f5f3ee;
  --bg-tint: #efece4;
  --card: #ffffff;
  --text: #1b1915;
  --muted: #6f695e;
  --border: #e8e3d9;
  --border-strong: #d8d1c3;

  --accent: #0e8f68;
  --accent-rgb: 14, 143, 104;
  --accent-dark: #0a7053;
  --accent-soft: #e2f3ec;
  --accent-ink: #0a6b4f;
  --gold: #c98a17;
  --gold-soft: #fbf0d9;

  --ink: #15171a;
  --ink-2: #1d2024;
  --ink-text: #e9ebe6;
  --ink-muted: #9aa19a;

  --radius: 18px;
  --shadow-soft: 0 1px 2px rgba(27, 25, 21, 0.04), 0 8px 24px rgba(27, 25, 21, 0.06);
  --shadow-pop: 0 30px 60px -20px rgba(27, 25, 21, 0.35);
  --nav-h: 68px;
}

html[dir="rtl"] {
  --font-display: "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f0e;
    --bg-tint: #131513;
    --card: #171917;
    --text: #eef0ec;
    --muted: #9aa198;
    --border: #272b27;
    --border-strong: #353a34;
    --accent: #2fbf8c;
    --accent-rgb: 47, 191, 140;
    --accent-dark: #25a077;
    --accent-soft: rgba(47, 191, 140, 0.14);
    --accent-ink: #7fe0bc;
    --gold: #f0bf4c;
    --gold-soft: rgba(240, 191, 76, 0.14);
    --ink: #0a0b0a;
    --ink-2: #141614;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-pop: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  line-height: 1.3;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.3rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(var(--accent-rgb), 0.55);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--bg-tint);
}

.btn-light {
  background: #fff;
  color: #0a4d39;
}

.btn-light:hover {
  background: #eafaf3;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ───────── nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-inline-start: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.93rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.78rem/1 var(--font-body);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--text);
  color: var(--bg);
}

.link-signin {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
}

.link-signin:hover {
  color: var(--accent);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 24px 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 0.75rem;
}

/* ───────── shared section bits ───────── */
.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-ink {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(var(--accent-rgb), 0.22), transparent 60%),
    var(--ink);
  color: var(--ink-text);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.split-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0.6rem 0 0.9rem;
}

.section-head p,
.split-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-ink .split-copy > p {
  color: var(--ink-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.eyebrow-light {
  color: #9ff0cf;
  background: rgba(var(--accent-rgb), 0.18);
}

.eyebrow-gold {
  color: #8a5a07;
  background: var(--gold-soft);
}

@media (prefers-color-scheme: dark) {
  .eyebrow-gold {
    color: var(--gold);
  }
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.checks li {
  position: relative;
  padding-inline-start: 1.9rem;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat,
    var(--accent);
}

/* ───────── hero ───────── */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 120%;
  background:
    radial-gradient(45% 45% at 60% 40%, rgba(var(--accent-rgb), 0.18), transparent 70%),
    radial-gradient(30% 30% at 85% 75%, rgba(201, 138, 23, 0.14), transparent 70%);
  pointer-events: none;
}

html[dir="rtl"] .hero::before {
  inset: -20% 35% auto -10%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 800;
  margin: 1.1rem 0 1.2rem;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.6rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* hero mockup */
.hero-visual {
  position: relative;
  min-height: 460px;
}

.mock-app {
  position: absolute;
  inset: 20px 40px 40px 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
}

html[dir="rtl"] .mock-app {
  inset: 20px 0 40px 40px;
}

.mock-side {
  background: #15171a;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-side-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-side-brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2fbf8c, #0e8f68);
  flex: none;
}

.bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  display: block;
}

.w60 { width: 60%; }
.w50 { width: 50%; }
.w40 { width: 40%; }

.mock-side-item {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-side-item.is-active {
  background: rgba(47, 191, 140, 0.55);
}

.mock-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}

.mock-hero {
  border-radius: 14px;
  padding: 16px 18px;
  color: #fff;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(125deg, #0b6e50, #0e8f68 45%, #16a57a);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-label {
  font-size: 0.72rem;
  opacity: 0.85;
}

.mock-big {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  direction: ltr;
  text-align: start;
}

html[dir="rtl"] .mock-big {
  text-align: end;
}

.mock-big small {
  font-size: 0.45em;
  opacity: 0.85;
}

.mock-chip {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mock-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mock-stat span {
  font-size: 0.64rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-stat b {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.mock-stat i {
  font-style: normal;
  font-size: 0.7em;
  color: var(--muted);
}

.mock-chart {
  flex: 1;
  min-height: 90px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 6px 0;
  overflow: hidden;
}

.mock-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mock-phone {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 206px;
  border-radius: 30px;
  padding: 10px;
  background: #111;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.mock-phone > *:not(.mock-phone-cover) {
  margin-inline: 2px;
}

.mock-phone-cover {
  height: 104px;
  border-radius: 22px 22px 12px 12px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.55)),
    radial-gradient(60% 80% at 30% 20%, #e9a24b, transparent 70%),
    radial-gradient(70% 90% at 80% 70%, #8c3b1c, transparent 70%),
    #3b2416;
}

.cover-warm {
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.55)),
    radial-gradient(60% 80% at 25% 25%, #d7b98a, transparent 70%),
    radial-gradient(70% 90% at 80% 70%, #6e4b2f, transparent 70%),
    #3a2a1d;
}

.mock-phone-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #fff;
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.mock-phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-phone-tabs {
  display: flex;
  gap: 6px;
}

.mock-phone-tabs span {
  height: 18px;
  flex: 1;
  border-radius: 999px;
  background: #262626;
}

.mock-phone-tabs span.is-on {
  background: #f5f3ee;
}

.mock-dish {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #1c1c1c;
}

.mock-dish .thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex: none;
}

.t1 { background: radial-gradient(circle at 35% 35%, #f2c46d, #b8612a 70%); }
.t2 { background: radial-gradient(circle at 40% 40%, #9ed36a, #3f7a2c 70%); }
.t3 { background: radial-gradient(circle at 40% 35%, #f08a6c, #9b2d22 70%); }
.t4 { background: radial-gradient(circle at 40% 40%, #e8d6b5, #8a6a44 70%); }

.mock-dish .lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-dish .lines i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: #3a3a3a;
}

.mock-dish .lines i.w50 { width: 50%; }
.mock-dish .lines i.w40 { width: 40%; }
.mock-dish .lines i.w60 { width: 60%; }

.mock-dish b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2fbf8c;
  color: #06140e;
  font-size: 0.85rem;
  line-height: 1;
}

.mock-phone-cart {
  margin-top: 2px;
  border-radius: 14px;
  background: #2fbf8c;
  color: #06140e;
  font-weight: 700;
  font-size: 0.72rem;
  text-align: center;
  padding: 9px 6px;
}

.float-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), 0 16px 30px -12px rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
  animation: floaty 6s ease-in-out infinite;
}

.float-note b {
  display: block;
  font-weight: 700;
}

.float-note small {
  color: var(--muted);
}

.note-order {
  top: 0;
  inset-inline-end: 24px;
}

.note-points {
  bottom: 70px;
  inset-inline-start: -18px;
  animation-delay: -3s;
}

.note-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18);
}

.note-star {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ───────── strip ───────── */
.strip {
  border-block: 1px solid var(--border);
  background: var(--card);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  padding-block: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.strip-inner span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
  margin-inline-end: 1.4rem;
}

/* ───────── businesses ───────── */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.biz-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.biz-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft), 0 20px 40px -20px rgba(0, 0, 0, 0.25);
}

.biz-featured {
  grid-row: span 2;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    var(--card);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.biz-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.biz-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.biz-card p {
  color: var(--muted);
}

.biz-card ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 0.45rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  font-weight: 500;
}

.biz-card li {
  position: relative;
  padding-inline-start: 1.1rem;
}

.biz-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.biz-tables {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0.6rem 0 0.4rem;
  direction: ltr;
}

.biz-tables span {
  aspect-ratio: 1.15;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.biz-tables .is-busy {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.biz-tables .is-new {
  color: #b42318;
  background: #fde8e6;
  border-color: #f5b5ad;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.12);
}

.biz-tables .is-bill {
  color: #8a5a07;
  background: var(--gold-soft);
  border-color: rgba(201, 138, 23, 0.4);
}

@media (prefers-color-scheme: dark) {
  .biz-tables .is-new {
    color: #ffb4ab;
    background: rgba(229, 72, 77, 0.16);
    border-color: rgba(229, 72, 77, 0.4);
  }

  .biz-tables .is-bill {
    color: var(--gold);
  }
}

.biz-soon {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}

.biz-soon .biz-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.soon-badge {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a07;
}

@media (prefers-color-scheme: dark) {
  .soon-badge {
    color: var(--gold);
  }
}

/* ───────── features ───────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
}

.feat h3 {
  font-size: 1.2rem;
  margin: 0.8rem 0 0.5rem;
}

.feat p {
  color: var(--muted);
}

/* ───────── split sections ───────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-rev .split-copy {
  order: 2;
}

.split-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.store-phones {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 440px;
}

.store-phones .mock-phone-lg {
  position: absolute;
  inset-inline-start: 40px;
  bottom: 0;
  top: 0;
  width: 240px;
}

.mock-phone-lg .mock-phone-cover {
  height: 130px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.mock-grid .tile {
  border-radius: 14px;
  min-height: 90px;
}

.qr-card {
  position: absolute;
  inset-inline-end: 0;
  bottom: 40px;
  width: 160px;
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: rotate(4deg);
}

html[dir="rtl"] .qr-card {
  transform: rotate(-4deg);
}

.qr {
  width: 96px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}

.qr span {
  border-radius: 4px;
  background: var(--text);
}

.qr span:nth-child(2),
.qr span:nth-child(4),
.qr span:nth-child(8) {
  background: repeating-linear-gradient(90deg, var(--text) 0 4px, transparent 4px 7px);
}

.qr span:nth-child(5) {
  background: var(--accent);
}

.qr-card small {
  color: var(--muted);
}

/* ───────── loyalty ───────── */
.section-ink h2 {
  color: #fff;
}

.loy-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.loy-stats div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.9rem;
}

.loy-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.loy-stats span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.loy-card {
  width: min(340px, 100%);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #0b6e50, #0e8f68 50%, #c98a17 140%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transform: rotate(-3deg);
}

html[dir="rtl"] .loy-card {
  transform: rotate(3deg);
}

.loy-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.loy-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.loy-points {
  margin: 26px 0 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.loy-points b {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}

.loy-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  margin-bottom: 8px;
}

.loy-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.loy-card small {
  opacity: 0.85;
}

.coupon {
  position: absolute;
  bottom: 30px;
  inset-inline-end: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ink-2);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--ink-text);
  font-size: 0.85rem;
}

.coupon-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #9ff0cf;
}

/* ───────── AI ───────── */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ai-item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.55), rgba(15, 159, 154, 0.35) 55%, rgba(201, 138, 23, 0.55)) border-box;
  border: 1.5px solid transparent;
}

.ai-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-item h3::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.95rem;
}

.ai-item p {
  color: var(--muted);
}

/* ───────── trust ───────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.trust h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.trust p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ───────── pricing ───────── */
.plan-toggle {
  display: flex;
  width: max-content;
  margin: 0 auto 32px;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
}

.plan-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.92rem var(--font-body);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.plan-toggle button.is-active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  font-size: 1.4rem;
}

.price-desc {
  color: var(--muted);
  margin-top: 0.35rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 1.4rem;
  direction: ltr;
}

html[dir="rtl"] .price {
  justify-content: flex-end;
}

.price b {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-ask b {
  font-size: 2.4rem;
}

html[dir="rtl"] .price-ask {
  direction: rtl;
  justify-content: flex-start;
}

.price-cur {
  font-weight: 700;
  color: var(--muted);
}

.price-period {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.price-card .checks {
  margin-bottom: 1.8rem;
}

.price-card .btn {
  margin-top: auto;
}

.price-gold {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, var(--accent), #0f9f9a 55%, var(--gold)) border-box;
  box-shadow: 0 24px 50px -24px rgba(var(--accent-rgb), 0.5);
}

.gold-badge {
  position: absolute;
  top: -12px;
  inset-inline-end: 24px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #3a2507;
  background: linear-gradient(135deg, #fde68a, #f0b43c);
}

/* ───────── FAQ ───────── */
.faq-wrap {
  max-width: 780px;
}

.faq-wrap .section-head {
  margin-bottom: 28px;
}

.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* ───────── CTA band ───────── */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 48px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(60% 120% at 0% 100%, rgba(0, 0, 0, 0.22), transparent 60%),
    linear-gradient(125deg, #0b6e50, #0e8f68 50%, #16a57a);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

.cta-band p {
  opacity: 0.88;
  margin-top: 0.5rem;
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-actions .btn {
  direction: ltr;
}

/* ───────── footer ───────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.3rem;
  margin-inline-start: auto;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text);
}

.footer small {
  color: var(--muted);
}

/* ───────── scroll reveal ───────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ───────── responsive ───────── */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .split-rev .split-copy {
    order: 0;
  }

  .biz-grid,
  .feat-grid,
  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .biz-featured {
    grid-row: auto;
    grid-column: span 2;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 68px 0;
  }

  .link-signin,
  .nav-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .mock-app {
    inset: 30px 60px 60px 0;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  html[dir="rtl"] .mock-app {
    inset: 30px 0 60px 60px;
  }

  .mock-side-brand .bar {
    display: none;
  }

  .mock-main {
    padding: 12px;
  }

  .mock-stat:nth-child(3) {
    display: none;
  }

  .mock-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-phone {
    width: 150px;
    padding: 8px;
    border-radius: 26px;
  }

  .mock-phone-cover {
    height: 84px;
  }

  .mock-phone-title {
    font-size: 0.78rem;
  }

  .mock-dish .thumb {
    width: 34px;
    height: 34px;
  }

  .mock-big {
    font-size: 1.35rem;
  }

  .mock-hero {
    padding: 12px 14px;
  }

  .note-order {
    inset-inline-end: 0;
  }

  .note-points {
    inset-inline-start: 0;
    bottom: 20px;
  }

  .biz-grid,
  .feat-grid,
  .ai-grid,
  .price-grid,
  .trust-grid,
  .loy-stats {
    grid-template-columns: 1fr;
  }

  .biz-featured {
    grid-column: auto;
  }

  .strip-inner span + span::before {
    display: none;
  }

  .strip-inner {
    gap: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .store-phones {
    height: 400px;
  }

  .store-phones .mock-phone-lg {
    inset-inline-start: 0;
    width: 210px;
  }

  .cta-band {
    padding: 32px 22px;
  }

  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }

  .footer-links {
    margin-inline-start: 0;
    width: 100%;
  }

  .plan-toggle button {
    padding: 0.55rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float-note {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
