/* ==========================================================================
   SmartWash — Landing page.
   Follows the web application's own (Vuexy) design language: primary #7367F0
   (overridden per tenant via --brand from _LandingLayout), Public Sans / Tajawal,
   Tabler icons, white 10px cards with soft shadows, tinted "label" chips.
   Theme-aware ([data-bs-theme]), RTL-aware (logical properties), responsive.
   Scoped to body.lp — loaded only by _LandingLayout, never by the web app.
   The phone mock-ups illustrate the customer/driver mobile app (its own
   blue + amber palette, see --mb-*).
   ========================================================================== */

:root {
  --brand: #7367f0;                 /* platform primary (Vuexy) — same for every account */
  --brand-2: #8f85f3;
  --brand-3: #5e50ee;
  --brand-soft: color-mix(in srgb, var(--brand) 16%, transparent);
  --brand-softer: color-mix(in srgb, var(--brand) 8%, transparent);

  --success: #28c76f;
  --warning: #ff9f43;
  --info: #00bad1;
  --danger: #ff4c51;
  --success-soft: rgba(40, 199, 111, .16);
  --warning-soft: rgba(255, 159, 67, .16);
  --info-soft: rgba(0, 186, 209, .16);
  --danger-soft: rgba(255, 76, 81, .16);

  /* Vuexy light */
  --bg: #f8f7fa;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --ink: #444050;          /* headings */
  --text: #6d6b77;         /* body */
  --muted: #acaab1;
  --line: #e6e6e8;
  --shadow: 0 3px 12px rgba(47, 43, 61, .14);
  --shadow-lg: 0 10px 40px -8px rgba(47, 43, 61, .22);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1200px;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Tajawal", "Public Sans", system-ui, sans-serif;
  --nav-h: 72px;

  /* Mobile-app palette (used only inside the phone mock-ups) */
  --mb-blue: #3d6ff2;
  --mb-blue-2: #6b93f7;
  --mb-amber: #ffb020;
  --mb-bg: #f3f6fd;
  --mb-ink: #1b2340;
  --mb-muted: #8a93ad;
}

[dir="rtl"] { --font: var(--font-ar); }

[data-bs-theme="dark"] {
  --bg: #25293c;
  --bg-alt: #2f3349;
  --surface: #2f3349;
  --ink: #cfcde4;
  --text: #acabc1;
  --muted: #76778e;
  --line: #44485e;
  --shadow: 0 3px 12px rgba(15, 20, 34, .38);
  --shadow-lg: 0 10px 40px -8px rgba(10, 12, 24, .6);
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body.lp {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; }
.lp h1, .lp h2, .lp h3, .lp h4, .lp h5 { color: var(--ink); margin: 0; font-weight: 700; line-height: 1.25; }
.lp p { margin: 0; }
.lp-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.lp .icon-base { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.scaleX-n1-rtl { }
[dir="rtl"] .scaleX-n1-rtl { transform: scaleX(-1); }

/* ---------------- buttons & chips ---------------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--brand); color: #fff !important; box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--brand) 70%, transparent); }
.lp-btn-primary:hover { background: var(--brand-3); }
.lp-btn-label { background: var(--brand-soft); color: var(--brand) !important; }
.lp-btn-label:hover { background: var(--brand); color: #fff !important; }
.lp-btn-outline { border-color: var(--line); color: var(--ink) !important; background: var(--surface); }
.lp-btn-outline:hover { border-color: var(--brand); color: var(--brand) !important; }
.lp-btn-white { background: #fff; color: var(--brand) !important; }
.lp-btn-ghost-white { border-color: rgba(255,255,255,.55); color: #fff !important; }
.lp-btn-ghost-white:hover { background: rgba(255,255,255,.12); }
.lp-btn-lg { height: 50px; padding: 0 26px; font-size: 1rem; }

.lp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px;
  font-size: .8125rem; font-weight: 600; background: var(--brand-soft); color: var(--brand);
}
.lp-label { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 4px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.lp-label.s { background: var(--success-soft); color: var(--success); }
.lp-label.w { background: var(--warning-soft); color: var(--warning); }
.lp-label.i { background: var(--info-soft); color: var(--info); }
.lp-label.p { background: var(--brand-soft); color: var(--brand); }
.lp-label.d { background: var(--danger-soft); color: var(--danger); }

/* ---------------- header ---------------- */
.lp-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.lp-header.scrolled { box-shadow: 0 4px 18px -10px rgba(47, 43, 61, .35); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.lp-header > .lp-container { height: 100%; display: flex; align-items: center; gap: 22px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.lp-logo img { height: 34px; max-width: 160px; object-fit: contain; }
.lp-logo .lp-mark { display: inline-flex; flex: 0 0 auto; }
.lp-logo .lp-mark img { height: 34px; width: 34px; max-width: none; display: block; }
.lp-logo .lp-word { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; white-space: nowrap; }
.lp-logo .lp-word span { color: var(--brand); }
.lp-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.lp-nav a { padding: 8px 11px; border-radius: 6px; font-weight: 500; color: var(--ink); font-size: .9375rem; white-space: nowrap; }
.lp-nav a:hover, .lp-nav a.active { color: var(--brand); background: var(--brand-softer); }
.lp-header-actions { display: flex; align-items: center; gap: 10px; }
.lp-iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.1rem;
}
.lp-iconbtn:hover { background: var(--brand-softer); color: var(--brand); }
.lp-burger { display: none; }

.lp-drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.lp-drawer-bg { position: absolute; inset: 0; background: rgba(47, 43, 61, .5); opacity: 0; transition: opacity .2s ease; }
.lp-drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(320px, 86vw); background: var(--surface);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%);
  transition: transform .25s ease; box-shadow: var(--shadow-lg); overflow-y: auto;
}
[dir="rtl"] .lp-drawer-panel { transform: translateX(-100%); }
.lp-drawer-panel > a:not(.lp-btn) { padding: 12px 10px; border-radius: 6px; color: var(--ink); font-weight: 500; }
.lp-drawer-panel > a:not(.lp-btn):hover { background: var(--brand-softer); color: var(--brand); }
.lp-drawer-panel .lp-btn { margin-top: 10px; }
.lp-drawer.open { pointer-events: auto; }
.lp-drawer.open .lp-drawer-bg { opacity: 1; }
.lp-drawer.open .lp-drawer-panel { transform: none; }

/* ---------------- sections ---------------- */
.lp-section { padding: 96px 0; }
.lp-section-alt { background: var(--bg-alt); }
.lp-head { max-width: 720px; margin: 0 auto 52px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); letter-spacing: -0.02em; }
.lp-h2 em { font-style: normal; color: var(--brand); }
.lp-lead { font-size: 1.05rem; color: var(--text); max-width: 640px; }

/* ---------------- hero ---------------- */
.lp-hero { position: relative; padding: 56px 0 80px; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(520px 320px at 78% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(420px 260px at 12% 10%, color-mix(in srgb, var(--info) 14%, transparent), transparent 70%);
}
.lp-hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); letter-spacing: -0.03em; line-height: 1.12; margin: 18px 0; }
.lp-hero h1 em { font-style: normal; color: var(--brand); }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.lp-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.lp-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-trust i { color: var(--success); }
.lp-hero-visual { position: relative; padding-bottom: 30px; }
.lp-hero-visual .bw { margin-inline-end: 196px; }
.lp-hero-visual .bw-grid2 { grid-template-columns: 1fr; }
.lp-hero-visual .bw-chart { height: 64px; }
.lp-hero-visual .bw-kpi .ic { display: none; }
.lp-hero-visual .ph { position: absolute; inset-inline-end: 0; bottom: -10px; width: 214px; }
.lp-toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-lg); font-size: .8rem; color: var(--ink); font-weight: 600; z-index: 3;
}
.lp-toast small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.lp-toast .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 1rem; }
.lp-toast.t1 { top: -14px; inset-inline-start: -18px; }
.lp-toast.t2 { bottom: -8px; inset-inline-start: 8%; }

/* ---------------- trust strip ---------------- */
.lp-strip { padding: 8px 0 40px; }
.lp-strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.lp-strip-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.lp-strip-item + .lp-strip-item { border-inline-start: 1px solid var(--line); }
.lp-strip-item .ic { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 1.35rem; flex: 0 0 auto; }
.lp-strip-item b { display: block; color: var(--ink); font-size: 1rem; }
.lp-strip-item span { font-size: .85rem; }

/* tinted icon squares */
.ic.p { background: var(--brand-soft); color: var(--brand); }
.ic.s { background: var(--success-soft); color: var(--success); }
.ic.w { background: var(--warning-soft); color: var(--warning); }
.ic.i { background: var(--info-soft); color: var(--info); }
.ic.d { background: var(--danger-soft); color: var(--danger); }

/* ---------------- cards / grids ---------------- */
.lp-grid { display: grid; gap: 24px; }
.lp-grid.g-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid.g-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-card .ic { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.lp-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-card p { font-size: .92rem; }

/* ---------------- pricing ---------------- */
.lp-billing {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.lp-billing button {
  border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; padding: 8px 18px;
  border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s ease, color .2s ease;
}
.lp-billing button.active { background: var(--brand); color: #fff; }
.lp-billing .save { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.lp-billing button.active .save { background: rgba(255,255,255,.22); color: #fff; }
.lp-pricing { display: grid; gap: 24px; align-items: stretch; margin-top: 8px; }
.lp-pricing.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-pricing.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.lp-pricing.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
.lp-price-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.lp-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-price-card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }
.lp-price-card.trial { background: linear-gradient(180deg, var(--brand-softer), var(--surface) 55%); }
.lp-price-card .ribbon {
  position: absolute; top: -13px; inset-inline-start: 22px; display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
}
.lp-price-card .ribbon.trial { background: var(--success); }
.lp-price-card h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.lp-price-card .desc { font-size: .9rem; min-height: 2.7em; margin-bottom: 14px; }
.lp-price-card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; padding: 12px 0 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.lp-price-card .amt { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; direction: ltr; unicode-bidi: isolate; }
.lp-price-card .per { color: var(--muted); font-size: .9rem; }
.lp-price-card .pill { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.lp-price-card .ccy { margin-inline-start: auto; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); }
.lp-price-card .meta, .lp-price-card .feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.lp-price-card .meta { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.lp-price-card .feats { flex: 1; margin-bottom: 22px; }
.lp-price-card li { display: flex; gap: 10px; align-items: flex-start; }
.lp-price-card li i { font-size: 1.1rem; flex: 0 0 auto; margin-top: 1px; color: var(--success); }
.lp-price-card .meta li i { color: var(--brand); }
.lp-price-card .lp-btn { width: 100%; }
.lp-pricing-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 26px 0 0; }
@media (max-width: 1199px) { .lp-pricing.cols-4, .lp-pricing.cols-3 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 600px) {
  .lp-pricing.cols-4, .lp-pricing.cols-3, .lp-pricing.cols-2 { grid-template-columns: 1fr; }
  .lp-billing { display: flex; width: 100%; } .lp-billing button { flex: 1; justify-content: center; padding-inline: 10px; }
}

/* ---------------- workflow ---------------- */
.lp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.lp-flow::before {
  content: ""; position: absolute; top: 34px; inset-inline: 12%; border-top: 2px dashed color-mix(in srgb, var(--brand) 40%, transparent); z-index: 0;
}
.lp-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.lp-step .num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow); color: var(--brand); font-size: 1.6rem; position: relative;
}
.lp-step .num::after {
  counter-increment: step; content: counter(step); position: absolute; top: -4px; inset-inline-end: -4px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center; font-family: var(--font);
}
.lp-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lp-step p { font-size: .9rem; }
.lp-ops { margin-top: 56px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 28px; }
.lp-ops h3 { font-size: 1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.lp-ops-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lp-op { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; }
.lp-op .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 1rem; flex: 0 0 auto; }
.lp-op b { display: block; color: var(--ink); font-size: .9rem; }

/* ---------------- split sections ---------------- */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-split.rev > :first-child { order: 2; }
.lp-split-media { display: grid; place-items: center; position: relative; }
.lp-split h2 { margin: 14px 0; }
.lp-check { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.lp-check li { display: flex; gap: 14px; }
.lp-check li > .ck {
  width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--brand-soft); color: var(--brand); font-size: 1rem;
}
.lp-check b { display: block; color: var(--ink); font-weight: 600; }
.lp-check span { font-size: .92rem; }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.lp-pills span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 6px; font-size: .85rem; font-weight: 500;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
}
.lp-pills span i { color: var(--brand); }
.lp-split-media .lp-duo { display: flex; gap: 18px; align-items: flex-end; }
.lp-split-media .lp-duo .ph:nth-child(2) { transform: translateY(-34px); }

/* ---------------- apps showcase ---------------- */
.lp-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; }
.lp-app { text-align: center; }
.lp-app .ph { margin: 0 auto 22px; }
.lp-app h3 { font-size: 1.05rem; margin-bottom: 4px; }
.lp-app p { font-size: .9rem; }
.lp-app:nth-child(2) .ph { transform: translateY(-26px); }
.lp-avail { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 44px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.lp-avail span { display: inline-flex; align-items: center; gap: 8px; }
.lp-avail i { color: var(--brand); }

/* ---------------- AI band ---------------- */
.lp-ai {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 36px 40px;
  border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); margin-top: 28px;
}
.lp-ai h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.lp-chat { background: var(--bg); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; font-size: .86rem; }
.lp-msg { max-width: 86%; padding: 9px 13px; border-radius: 10px; }
.lp-msg.me { justify-self: end; background: var(--brand); color: #fff; border-end-end-radius: 3px; }
.lp-msg.ai { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border-end-start-radius: 3px; }

/* ---------------- CTA ---------------- */
.lp-cta { padding: 20px 0 96px; }
.lp-cta-box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 62%, #000) 100%);
  box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--brand) 70%, transparent);
}
.lp-cta-box::before, .lp-cta-box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.lp-cta-box::before { width: 320px; height: 320px; top: -140px; inset-inline-start: -90px; }
.lp-cta-box::after { width: 240px; height: 240px; bottom: -120px; inset-inline-end: -60px; }
.lp-cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); position: relative; }
.lp-cta-box p { color: rgba(255,255,255,.85); margin: 12px auto 28px; max-width: 560px; position: relative; }
.lp-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------------- footer ---------------- */
.lp-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 26px; font-size: .92rem; }
.lp-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot-brand p { margin-top: 14px; max-width: 320px; }
.lp-foot-col h4 { font-size: .95rem; margin-bottom: 14px; }
.lp-foot-col a { display: block; padding: 4px 0; color: var(--text); }
.lp-foot-col a:hover { color: var(--brand); }
.lp-foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.lp-foot-bottom .links { display: flex; gap: 18px; }
.lp-foot-bottom a:hover { color: var(--brand); }

/* ==========================================================================
   Web-app browser mock-up (Vuexy look)
   ========================================================================== */
.bw { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.bw-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bw-bar i:nth-child(2) { background: #febc2e; }
.bw-bar i:nth-child(3) { background: #28c840; }
.bw-bar span { margin-inline-start: 12px; flex: 1; max-width: 240px; height: 18px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); }
.bw-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.bw-side { border-inline-end: 1px solid var(--line); padding: 12px 10px; display: grid; align-content: start; gap: 4px; font-size: .68rem; color: var(--ink); }
.bw-side .lg { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .78rem; margin: 2px 4px 10px; }
.bw-side .lg img { width: 18px; height: 18px; }
.bw-side a { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; }
.bw-side a.on { background: linear-gradient(72deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #fff)); color: #fff; box-shadow: 0 2px 6px color-mix(in srgb, var(--brand) 45%, transparent); }
.bw-main { padding: 14px; display: grid; gap: 12px; align-content: start; background: var(--bg); min-width: 0; }
.bw-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--surface); border-radius: 8px; padding: 7px 10px; box-shadow: var(--shadow); font-size: .66rem; color: var(--muted); }
.bw-top .br { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.bw-top .av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--info)); }
.bw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bw-kpi { background: var(--surface); border-radius: 8px; padding: 10px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; min-width: 0; }
.bw-kpi .ic { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-size: .85rem; flex: 0 0 auto; }
.bw-kpi b { display: block; color: var(--ink); font-size: .82rem; line-height: 1.2; white-space: nowrap; }
.bw-kpi small { font-size: .6rem; color: var(--muted); white-space: nowrap; }
.bw-grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.bw-card { background: var(--surface); border-radius: 8px; padding: 10px 12px; box-shadow: var(--shadow); min-width: 0; }
.bw-card h6 { margin: 0 0 8px; font-size: .68rem; color: var(--ink); font-weight: 700; }
.bw-chart { height: 86px; display: flex; align-items: flex-end; gap: 6px; }
.bw-chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--brand-soft); }
.bw-chart span.on { background: var(--brand); }
.bw-donut { width: 74px; height: 74px; border-radius: 50%; margin: 4px auto 0;
  background: conic-gradient(var(--brand) 0 46%, var(--success) 46% 72%, var(--warning) 72% 88%, var(--info) 88% 100%);
  -webkit-mask: radial-gradient(circle 24px, transparent 98%, #000 100%); mask: radial-gradient(circle 24px, transparent 98%, #000 100%); }
.bw-rows { display: grid; gap: 7px; }
.bw-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 8px; align-items: center; font-size: .64rem; color: var(--ink); }
.bw-row .ln { height: 6px; border-radius: 3px; background: var(--line); }
.bw-row .lp-label { font-size: .58rem; padding: 1px 6px; }

/* ==========================================================================
   Mobile-app phone mock-up (the app's own blue + amber design)
   ========================================================================== */
.ph {
  width: 236px; flex: 0 0 auto; border-radius: 34px; padding: 8px; background: #11131c;
  box-shadow: 0 30px 60px -24px rgba(17, 19, 28, .55), inset 0 0 0 2px #2b2f3d; position: relative; z-index: 2;
}
.ph::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; border-radius: 10px; background: #11131c; z-index: 3; }
.ph-scr {
  border-radius: 27px; overflow: hidden; background: var(--mb-bg); height: 470px; position: relative;
  font-family: "Public Sans", system-ui, sans-serif; color: var(--mb-ink); font-size: 10px; line-height: 1.35;
  display: flex; flex-direction: column;
}
[dir="rtl"] .ph-scr { font-family: var(--font-ar); }
.ph-sb { display: flex; justify-content: space-between; padding: 12px 18px 4px; font-size: 9px; font-weight: 700; }
.ph-body { padding: 6px 12px 70px; display: grid; gap: 9px; align-content: start; flex: 1; overflow: hidden; }
.ph-hello { display: flex; align-items: center; gap: 8px; }
.ph-hello .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--mb-blue-2), var(--mb-blue)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.ph-hello b { display: block; font-size: 10.5px; }
.ph-hello small { color: var(--mb-muted); font-size: 8.5px; }
.ph-hello .bell { margin-inline-start: auto; width: 26px; height: 26px; border-radius: 9px; background: #fff; display: grid; place-items: center; color: var(--mb-ink); box-shadow: 0 3px 10px rgba(27,35,64,.06); }
.ph-search { display: flex; align-items: center; gap: 6px; }
.ph-search div { flex: 1; height: 30px; border-radius: 10px; background: #fff; border: 1px solid #e5eaf6; display: flex; align-items: center; padding: 0 10px; color: var(--mb-muted); font-size: 9px; gap: 6px; }
.ph-search span { width: 30px; height: 30px; border-radius: 10px; background: var(--mb-amber); color: #fff; display: grid; place-items: center; }
.ph-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 10.5px; }
.ph-h small { color: var(--mb-muted); font-weight: 500; font-size: 8.5px; }
.ph-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-cats div { background: #fff; border-radius: 10px; border: 1px solid #e5eaf6; padding: 7px 2px 5px; text-align: center; font-size: 7.5px; color: var(--mb-ink); }
.ph-cats div.on { border-color: var(--mb-blue); box-shadow: 0 0 0 2px rgba(61,111,242,.12); }
.ph-cats .t { display: grid; place-items: center; margin: 0 auto 3px; width: 22px; height: 22px; border-radius: 7px; background: rgba(61,111,242,.1); color: var(--mb-blue); font-size: 12px; }
.ph-promo {
  border-radius: 14px; padding: 12px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--mb-blue-2), var(--mb-blue));
}
.ph-promo::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgba(255,255,255,.12); inset-inline-end: -30px; top: -26px; }
.ph-promo b { display: block; font-size: 11.5px; max-width: 70%; }
.ph-promo small { opacity: .85; font-size: 8.5px; }
.ph-promo span { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 6px; background: var(--mb-amber); color: #1b2340; font-weight: 700; font-size: 8.5px; }
.ph-card { background: #fff; border-radius: 12px; padding: 9px 10px; box-shadow: 0 4px 14px rgba(27,35,64,.06); display: flex; align-items: center; gap: 8px; }
.ph-card .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(61,111,242,.1); color: var(--mb-blue); font-size: 12px; flex: 0 0 auto; }
.ph-card b { display: block; font-size: 9.5px; }
.ph-card small { color: var(--mb-muted); font-size: 8px; }
.ph-card .pill { margin-inline-start: auto; padding: 2px 7px; border-radius: 20px; font-size: 7.5px; font-weight: 700; white-space: nowrap; }
.pill.am { background: rgba(255,176,32,.16); color: #c27c00; }
.pill.gr { background: rgba(40,199,111,.15); color: #1f9d57; }
.pill.bl { background: rgba(61,111,242,.12); color: var(--mb-blue); }
.ph-nav {
  position: absolute; inset-inline: 10px; bottom: 10px; height: 46px; border-radius: 16px; z-index: 2;
  background: var(--mb-blue); display: flex; justify-content: space-around; align-items: center; color: rgba(255,255,255,.65);
  box-shadow: 0 10px 22px -8px rgba(61,111,242,.7); font-size: 14px;
}
.ph-nav .on { color: #fff; }
.ph-nav .fab { width: 34px; height: 34px; border-radius: 12px; background: var(--mb-amber); color: #1b2340; display: grid; place-items: center; transform: translateY(-12px); box-shadow: 0 6px 14px rgba(255,176,32,.5); }
.ph-title { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 11px; padding: 2px 0 4px; }
.ph-title .b { width: 24px; height: 24px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 11px; box-shadow: 0 3px 10px rgba(27,35,64,.06); }
.ph-ring { width: 96px; height: 96px; border-radius: 50%; margin: 4px auto 0; position: relative;
  background: conic-gradient(var(--mb-blue) 0 68%, #e3e9f8 68% 100%); display: grid; place-items: center; }
.ph-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--mb-bg); }
.ph-ring .c { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--mb-blue); font-size: 22px; box-shadow: 0 4px 14px rgba(27,35,64,.08); }
.ph-center { text-align: center; color: var(--mb-muted); font-size: 9px; }
.ph-center b { display: block; color: var(--mb-ink); font-size: 11px; margin-bottom: 2px; }
.ph-info { background: rgba(61,111,242,.08); border-radius: 12px; padding: 9px 10px; display: grid; gap: 5px; font-size: 8.5px; }
.ph-info div { display: flex; justify-content: space-between; gap: 6px; }
.ph-info span { color: var(--mb-muted); }
.ph-info b { font-weight: 700; text-align: end; }
.ph-steps { display: flex; align-items: center; gap: 0; padding: 2px 4px; }
.ph-steps i { width: 14px; height: 14px; border-radius: 50%; background: #e3e9f8; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-size: 8px; }
.ph-steps i.done { background: var(--mb-blue); }
.ph-steps i.now { background: var(--mb-amber); box-shadow: 0 0 0 3px rgba(255,176,32,.25); }
.ph-steps em { flex: 1; height: 2px; background: #e3e9f8; }
.ph-steps em.done { background: var(--mb-blue); }
.ph-btn { height: 32px; border-radius: 10px; background: linear-gradient(90deg, var(--mb-blue-2), var(--mb-blue)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 9.5px; }
.ph-btn.am { background: var(--mb-amber); color: #1b2340; }
.ph-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-kpi { background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: 0 4px 14px rgba(27,35,64,.06); }
.ph-kpi b { display: block; font-size: 14px; color: var(--mb-blue); }
.ph-kpi small { color: var(--mb-muted); font-size: 8px; }
.ph-driver { border-radius: 14px; padding: 10px; color: #fff; background: linear-gradient(135deg, var(--mb-blue-2), var(--mb-blue)); display: flex; align-items: center; gap: 8px; }
.ph-driver .av { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 700; }
.ph-driver b { display: block; font-size: 10px; }
.ph-driver small { opacity: .8; font-size: 8px; }
.ph-driver span { margin-inline-start: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--mb-blue); display: grid; place-items: center; font-size: 11px; }
.ph-map { height: 86px; border-radius: 12px; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 40%, #fff 40% 46%, transparent 46%),
    linear-gradient(35deg, transparent 60%, #fff 60% 64%, transparent 64%),
    #e7ecf3; }
.ph-map::after { content: ""; position: absolute; left: 24%; top: 22%; width: 52%; height: 46%; border: 2px dashed var(--mb-blue); border-color: var(--mb-blue) transparent transparent var(--mb-blue); border-radius: 30px 0 0 0; }
.ph-map i { position: absolute; left: 70%; top: 54%; color: var(--mb-blue); font-size: 16px; }
.ph-splash { flex: 1; display: grid; place-items: center; align-content: center; gap: 10px; color: #fff; text-align: center;
  background: radial-gradient(circle at 30% 20%, var(--mb-blue-2), var(--mb-blue) 60%, #2a55d6); }
.ph-splash .logo { width: 64px; height: 64px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); margin: 0 auto; }
.ph-splash .logo img { width: 44px; height: 44px; }
.ph-splash b { font-size: 16px; letter-spacing: -.01em; }
.ph-splash small { opacity: .85; }
.ph-splash .dots { display: flex; gap: 5px; justify-content: center; margin-top: 18px; }
.ph-splash .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.ph-splash .dots i:first-child { width: 18px; border-radius: 4px; background: var(--mb-amber); }

/* ---------------- animation ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.lp-float { animation: lpFloat 6s ease-in-out infinite; }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------- responsive ---------------- */
@media (max-width: 1199px) {
  .lp-nav, .lp-desktop-only { display: none !important; }
  .lp-burger { display: inline-grid; }
  .lp-header-actions { margin-inline-start: auto; }
  .lp-ops-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .lp-nav, .lp-desktop-only { display: none !important; }
  .lp-burger { display: inline-grid; }
  .lp-header-actions { margin-inline-start: auto; }
  .lp-hero-grid, .lp-split, .lp-ai { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 32px; }
  .lp-hero-visual { max-width: 640px; margin: 10px auto 0; width: 100%; }
  .lp-split.rev > :first-child { order: 0; }
  .lp-grid.g-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-grid.g-3 { grid-template-columns: repeat(2, 1fr); }
  .lp-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-strip-item:nth-child(3) { border-inline-start: 0; }
  .lp-strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-flow { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .lp-flow::before { display: none; }
  .lp-apps { grid-template-columns: 1fr 1fr; }
  .lp-app:nth-child(3) { grid-column: 1 / -1; }
  .lp-app:nth-child(2) .ph { transform: none; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
  .lp-section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body.lp { font-size: 14.5px; }
  .lp-container { padding-inline: 16px; }
  .lp-section { padding: 60px 0; }
  .lp-head { margin-bottom: 36px; }
  .lp-grid.g-4, .lp-grid.g-3, .lp-strip-grid, .lp-flow, .lp-apps, .lp-ops-row { grid-template-columns: 1fr; }
  .lp-strip-item + .lp-strip-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .lp-hero-cta .lp-btn { flex: 1 1 100%; }
  .lp-hero-visual .bw { margin-inline-end: 0; }
  .lp-hero-visual .ph { position: relative; inset: auto; margin: -60px auto 0; }
  .lp-toast.t1 { inset-inline-start: 0; top: -18px; }
  .lp-toast.t2 { display: none; }
  .bw-body { grid-template-columns: 1fr; }
  .bw-side { display: none; }
  .bw-grid2 { grid-template-columns: 1fr; }
  .bw-kpi .ic { display: none; }
  .lp-split-media .lp-duo .ph:nth-child(2) { display: none; }
  .lp-app:nth-child(3) { grid-column: auto; }
  .lp-ai { padding: 24px 20px; }
  .lp-ops { padding: 22px 18px; }
  .lp-cta-box { padding: 42px 22px; }
  .lp-foot-grid { grid-template-columns: 1fr; }
  .lp-foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-float { animation: none; }
  .lp-btn, .lp-card { transition: none; }
}

/* ---------------- app download (direct APK) ---------------- */
.lp-download {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center; margin-top: 40px;
  padding: 28px 32px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow);
}
.lp-download-info { display: flex; gap: 18px; align-items: flex-start; }
.lp-download-info .ic {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.6rem;
}
.lp-download-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.lp-download-info p { margin: 0; }
.lp-download-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font-size: .88rem; color: var(--ink); font-weight: 500; }
.lp-download-meta li { display: inline-flex; align-items: center; gap: 6px; }
.lp-download-meta i { color: var(--brand); }
.lp-download-action { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 240px; }
.lp-download-action .lp-btn { width: 100%; }
.lp-download-status { margin: 0; font-size: .84rem; max-width: 280px; }
.lp-download-help { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; font-size: .92rem; }
.lp-download-help summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); list-style: none; }
.lp-download-help summary::-webkit-details-marker { display: none; }
.lp-download-help ol { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.lp-btn.is-busy { pointer-events: none; opacity: .85; }
.lp-spin { animation: lp-spin 1s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) { .lp-download { grid-template-columns: 1fr; } .lp-download-action { min-width: 0; } .lp-download-status { max-width: none; } }
@media (max-width: 600px) { .lp-download { padding: 22px 18px; } .lp-download-info { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .lp-spin { animation: none; } }
