/* ============================================================
   WERASH — landing page styles
   3 design directions via [data-theme] on <html>
   Bilingual EN / AR via [dir]
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   THEME TOKENS
   ============================================================ */
:root {
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 16px;        /* tweakable */
  --radius-sm: calc(var(--radius) * 0.55);
  --radius-lg: calc(var(--radius) * 1.6);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, .58);
}

/* Arabic typography swap */
html[dir="rtl"] {
  --font-display: 'IBM Plex Sans Arabic', 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Manrope', sans-serif;
}

/* ---- Direction 1 — MIDNIGHT GARAGE (dark premium) ---- */
html[data-theme="midnight"] {
  --bg: #0A0F0D;
  --bg-2: #0E1513;
  --bg-3: #131D1A;
  --bg-inv: #EAF3EF;
  --ink: #EAF3EF;
  --ink-2: #8FA59C;
  --ink-3: #5E726A;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.14);
  --brand: #07B3FE;
  --brand-2: #38C4FF;
  --brand-ink: #FFFFFF;
  --brand-soft: rgba(7,179,254,.14);
  --accent: #07B3FE;
  --accent-soft: rgba(7,179,254,.14);
  --card: #101816;
  --card-2: #0C1311;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(7,179,254,.26), 0 18px 60px -22px rgba(7,179,254,.4);
  --on-brand-shadow: 0 14px 36px -12px rgba(7,179,254,.55);
  color-scheme: dark;
}

/* ---- Direction 2 — TRUST LIGHT (fintech clean) ---- */
html[data-theme="trust"] {
  --bg: #FFFFFF;
  --bg-2: #F4F8F6;
  --bg-3: #FFFFFF;
  --bg-inv: #0B1512;
  --ink: #0B1512;
  --ink-2: #56655F;
  --ink-3: #8A968F;
  --line: #E5ECE8;
  --line-2: #D6E0DB;
  --brand: #07B3FE;
  --brand-2: #0A93D4;
  --brand-ink: #FFFFFF;
  --brand-soft: #E3F5FF;
  --accent: #07B3FE;
  --accent-soft: #E3F5FF;
  --card: #FFFFFF;
  --card-2: #F4F8F6;
  --shadow: 0 22px 50px -30px rgba(11,21,18,.28);
  --glow: 0 1px 0 rgba(11,21,18,.04), 0 22px 50px -30px rgba(11,21,18,.22);
  --on-brand-shadow: 0 14px 30px -12px rgba(7,179,254,.45);
  color-scheme: light;
}

/* ---- Direction 3 — BOLD SAUDI (warm sand editorial) ---- */
html[data-theme="sand"] {
  --bg: #F3EEE3;
  --bg-2: #ECE5D6;
  --bg-3: #FBF8F1;
  --bg-inv: #16241C;
  --ink: #16241C;
  --ink-2: #6A6253;
  --ink-3: #948B78;
  --line: #DBD2BF;
  --line-2: #CFC4AC;
  --brand: #07B3FE;
  --brand-2: #0A93D4;
  --brand-ink: #FFFFFF;
  --brand-soft: #DCEEF8;
  --accent: #07B3FE;
  --accent-soft: #DCEEF8;
  --card: #FBF8F1;
  --card-2: #ECE5D6;
  --shadow: 0 22px 50px -30px rgba(22,36,28,.3);
  --glow: 0 1px 0 rgba(22,36,28,.04), 0 22px 50px -30px rgba(22,36,28,.25);
  --on-brand-shadow: 0 14px 30px -12px rgba(7,179,254,.4);
  color-scheme: light;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.18; }

section { position: relative; }

/* eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
html[data-theme="sand"] .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
html[dir="rtl"] .eyebrow { letter-spacing: .02em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--on-brand-shadow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
html[data-theme="sand"] .btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* pill / chip */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}

/* ============================================================
   EXPLORATION STRIP (design direction switcher)
   ============================================================ */
.explore-strip {
  position: sticky; top: 0; z-index: 80;
  background: #0a0a0a; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.explore-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 28px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.explore-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dir-pills { display: flex; gap: 6px; background: rgba(255,255,255,.06); padding: 4px; border-radius: 999px; }
.dir-pill {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.65); transition: all .25s var(--ease); display: flex; align-items: center; gap: 7px;
}
.dir-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.dir-pill[data-d="midnight"] .dot { background: #07B3FE; box-shadow: 0 0 8px #07B3FE; }
.dir-pill[data-d="trust"] .dot { background: #FFFFFF; }
.dir-pill[data-d="sand"] .dot { background: #E4D6B0; }
.dir-pill.active { background: #fff; color: #0a0a0a; }
.dir-pill:not(.active):hover { color: #fff; background: rgba(255,255,255,.08); }
.explore-note { margin-inline-start: auto; font-size: 12px; color: rgba(255,255,255,.4); }
@media (max-width: 720px){ .explore-note { display: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 41px; z-index: 70;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s;
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 26px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink);
  box-shadow: var(--on-brand-shadow);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand-name span { color: var(--brand); }
html[data-theme="sand"] .brand-name span { color: var(--accent); }

/* real logo image lockup */
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo.light { display: none; }
html[data-theme="midnight"] .brand-logo.dark { display: none; }
html[data-theme="midnight"] .brand-logo.light { display: block; }
.footer .brand-logo { height: 38px; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang-toggle {
  display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; font-family: var(--font-display);
}
.lang-toggle button { padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.lang-toggle button.active { background: var(--ink); color: var(--bg); }

@media (max-width: 920px){ .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 76px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 600; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
}
html[data-theme="sand"] .hero-badge { background: var(--accent-soft); color: var(--brand); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.hero-badge .flag { font-size: 15px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); }
html[data-theme="sand"] .hero h1 .hl { color: var(--accent); position: relative; }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 30em; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* app store badges */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 18px; border-radius: var(--radius-sm);
  background: var(--bg-inv); color: var(--bg);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-small { font-size: 10.5px; opacity: .75; line-height: 1.1; display: block; font-weight: 500; }
.store-badge .sb-big { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.1; }

/* hero trust row */
.hero-trust { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
html[data-theme="sand"] .hero-trust .ht svg { color: var(--accent); }

@media (max-width: 940px){
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.phone {
  position: relative; width: 286px; height: 588px; border-radius: 42px;
  background: var(--bg-inv); padding: 11px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  flex: none;
}
html[data-theme="midnight"] .phone { box-shadow: var(--glow), 0 40px 80px -30px rgba(0,0,0,.9); }
.phone::before { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: var(--bg-inv); border-radius: 999px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--bg-2); position: relative; display: flex; flex-direction: column;
}
.phone-2 { position: absolute; transform: rotate(-8deg) translate(-58px, 30px) scale(.86); z-index: 1; opacity: .96; }
.phone-1 { z-index: 3; }
@media (max-width: 480px){ .phone-2 { display: none; } .phone { transform: scale(.92); } }

/* abstract app screen content */
.scr { padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 12px; height: 100%; font-family: var(--font-body); }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 8px; }
.scr-hello { font-size: 11px; color: var(--ink-3); }
.scr-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.scr-av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); border: 1px solid var(--line); }
.scr-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 13px;
  box-shadow: 0 6px 18px -12px rgba(0,0,0,.3);
}
.scr-map { height: 116px; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 30%, var(--brand-soft), transparent 45%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px),
    var(--card-2);
}
.scr-pin { position: absolute; top: 42%; left: 56%; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--brand); transform: rotate(-45deg); box-shadow: 0 6px 14px -4px var(--brand); }
.scr-pin::after { content:""; position: absolute; inset: 7px; background: var(--card); border-radius: 50%; }
.scr-row { display: flex; align-items: center; gap: 10px; }
.scr-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.scr-ico svg { width: 18px; height: 18px; color: var(--brand); }
.scr-line { height: 8px; border-radius: 5px; background: var(--line-2); }
.scr-line.sh { background: var(--brand); opacity: .8; }
.scr-tag { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: inline-block; }
html[data-theme="midnight"] .scr-tag { color: var(--accent); }
.scr-big { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.scr-btn { margin-top: auto; background: var(--brand); color: var(--brand-ink); text-align: center; padding: 12px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.scr-prog { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.scr-prog i { display: block; height: 100%; width: 62%; background: var(--brand); border-radius: 999px; }

/* floating chip on hero */
.float-chip {
  position: absolute; z-index: 6; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
}
.float-chip svg { width: 22px; height: 22px; flex: none; }
.fc-1 { top: 46px; inset-inline-end: -6px; }
.fc-2 { bottom: 70px; inset-inline-start: -18px; }
.float-chip .fc-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.fc-1 .fc-ico { background: var(--brand-soft); color: var(--brand); }
.fc-2 .fc-ico { background: var(--accent-soft); color: var(--accent); }
.float-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
@media (max-width: 480px){ .float-chip { display: none; } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trustbar-inner { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; justify-content: center; padding: 22px 28px; max-width: var(--maxw); margin: 0 auto; }
.tb-item { display: flex; align-items: center; gap: 11px; }
.tb-num { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.tb-num .u { color: var(--brand); }
html[data-theme="sand"] .tb-num .u { color: var(--accent); }
.tb-lbl { font-size: 13.5px; color: var(--ink-2); font-weight: 500; max-width: 12em; line-height: 1.3; }
.tb-div { width: 1px; height: 34px; background: var(--line-2); }
@media (max-width: 700px){ .tb-div { display: none; } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 16px; }
.sec-head p { font-size: 18px; color: var(--ink-2); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg-2); }
.audience-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin: 0 auto 50px; }
.audience-tabs button { padding: 10px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .3s var(--ease); }
.audience-tabs button.active { background: var(--brand); color: var(--brand-ink); box-shadow: var(--on-brand-shadow); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--glow);
  overflow: hidden;
}
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--ink); opacity: .07; }
.step-ico { width: 54px; height: 54px; border-radius: 15px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 20px; }
.step-ico svg { width: 27px; height: 27px; color: var(--brand); }
html[data-theme="sand"] .step-ico { background: var(--accent-soft); }
html[data-theme="sand"] .step-ico svg { color: var(--brand); }
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid .svc:first-child { grid-column: span 2; }
.svc {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
}
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 26px; }
.svc-ico svg { width: 28px; height: 28px; color: var(--brand); }
html[data-theme="sand"] .svc-ico { background: var(--accent-soft); }
.svc h3 { font-size: 22px; margin-bottom: 8px; }
.svc p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.svc-arrow { position: absolute; top: 30px; inset-inline-end: 30px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: all .3s; }
.svc:hover .svc-arrow { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.svc:hover .svc-arrow svg { transform: translateX(2px); }
html[dir="rtl"] .svc:hover .svc-arrow svg { transform: scaleX(-1) translateX(2px); }
html[dir="rtl"] .svc-arrow svg { transform: scaleX(-1); }
@media (max-width: 880px){ .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid .svc:first-child { grid-column: span 2; } }
@media (max-width: 560px){ .svc-grid { grid-template-columns: 1fr; } .svc-grid .svc:first-child { grid-column: span 1; } }

/* ============================================================
   WHY WERASH
   ============================================================ */
.why { background: var(--bg-2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feat-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--brand-soft); color: var(--brand); }
.feat-ico.amber { background: var(--accent-soft); color: var(--accent); }
.feat-ico svg { width: 25px; height: 25px; }
.feat h3 { font-size: 19px; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 880px){ .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .why-grid { grid-template-columns: 1fr; } }

/* escrow highlight band */
.escrow {
  margin-top: 26px; padding: 38px; border-radius: var(--radius-lg);
  background: var(--bg-inv); color: var(--bg);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.escrow h3 { color: var(--bg); font-size: 27px; margin-bottom: 10px; }
.escrow p { color: color-mix(in srgb, var(--bg) 72%, var(--bg-inv)); font-size: 16px; max-width: 36em; }
.escrow-flow { display: flex; align-items: center; gap: 14px; }
.ef-node { text-align: center; }
.ef-dot { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand); margin: 0 auto 8px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.ef-dot svg { width: 26px; height: 26px; }
.ef-node span { font-size: 11.5px; font-weight: 600; color: color-mix(in srgb, var(--bg) 70%, var(--bg-inv)); display: block; }
.ef-arrow { color: var(--brand); opacity: .6; }
html[dir="rtl"] .ef-arrow svg { transform: scaleX(-1); }
@media (max-width: 800px){ .escrow { grid-template-columns: 1fr; } .escrow-flow { flex-wrap: wrap; justify-content: center; } }

/* ============================================================
   SPLIT — owners vs workshops
   ============================================================ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  padding: 44px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.split-card.owners { background: var(--card); }
.split-card.shops { background: var(--bg-inv); color: var(--bg); }
.split-card.shops .sc-eyebrow { color: var(--brand); }
.split-card.shops p { color: color-mix(in srgb, var(--bg) 72%, var(--bg-inv)); }
.split-card.shops .sc-feat { color: color-mix(in srgb, var(--bg) 88%, var(--bg-inv)); border-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.sc-eyebrow { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
html[dir="rtl"] .sc-eyebrow { letter-spacing: .02em; }
.split-card h3 { font-size: 30px; margin: 14px 0 12px; }
.split-card > p { font-size: 16px; color: var(--ink-2); margin-bottom: 26px; }
.sc-feats { display: flex; flex-direction: column; gap: 2px; margin-bottom: 30px; }
.sc-feat { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 500; }
.sc-feat:last-child { border-bottom: none; }
.sc-feat .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.split-card.shops .sc-feat .ck { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.sc-feat .ck svg { width: 14px; height: 14px; }
@media (max-width: 820px){ .split-grid { grid-template-columns: 1fr; } .split-card { padding: 34px; } }

/* ============================================================
   APP SHOWCASE
   ============================================================ */
.showcase { background: var(--bg-2); overflow: hidden; }
.showcase-stage { display: flex; gap: 26px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.shot {
  width: 240px; height: 500px; border-radius: 36px; padding: 9px;
  background: var(--bg-inv); box-shadow: var(--shadow); flex: none;
}
.shot.tall { height: 540px; }
.shot-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--card-2); }
.shot image-slot { width: 100%; height: 100%; }
.shot-cap { text-align: center; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.shot-cap small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.shot-wrap { display: flex; flex-direction: column; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: start; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq-q .fq-plus { width: 26px; height: 26px; flex: none; position: relative; border-radius: 50%; border: 1px solid var(--line-2); transition: all .3s; }
.faq-item.open .fq-plus { background: var(--brand); border-color: var(--brand); }
.faq-q .fq-plus::before, .faq-q .fq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; background: var(--ink-2); transform: translate(-50%,-50%); transition: all .3s; }
.faq-q .fq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .fq-plus::before, .faq-item.open .fq-plus::after { background: var(--brand-ink); }
.faq-item.open .fq-plus::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 820px){ .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { padding: 0 0 96px; }
.cta-box {
  background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg);
  padding: 64px; text-align: center; position: relative; overflow: hidden;
}
html[data-theme="sand"] .cta-box { background: var(--brand); color: var(--brand-ink); }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 50px); margin-bottom: 16px; }
.cta-box p { font-size: 19px; opacity: .85; max-width: 32em; margin: 0 auto 32px; }
.cta-box .store-badges { justify-content: center; }
.cta-box .store-badge { background: var(--brand-ink); color: var(--brand); }
.cta-deco { position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--brand-ink) 8%, transparent); pointer-events: none; }
.cd1 { width: 320px; height: 320px; top: -120px; inset-inline-start: -80px; }
.cd2 { width: 220px; height: 220px; bottom: -100px; inset-inline-end: -40px; }
@media (max-width: 600px){ .cta-box { padding: 44px 26px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.foot-brand p { color: var(--ink-2); font-size: 15px; margin: 18px 0 22px; max-width: 28em; }
.foot-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 7px 0; transition: color .2s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom p { font-size: 13.5px; color: var(--ink-3); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: all .25s; }
.foot-social a:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.foot-social svg { width: 18px; height: 18px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* RTL helpers */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .store-badge .sb-small, html[dir="rtl"] .store-badge .sb-big { text-align: start; }
