/* ==========================================================================
   Marketing home (/marketing) — one stylesheet, no framework.
   Written for RTL pages: logical properties wherever a side matters.
   Tokens first; every colour below comes from them.
   ========================================================================== */
:root {
    --ink: #07112b;
    --ink-2: #0c1b44;
    --navy: #142a64;
    --brand: #1e3a8a;
    --azure: #2b7de9;
    --azure-soft: #e8f1fe;
    --gold: #c9a14a;
    --gold-soft: #e9d49b;
    --gold-deep: #8d6a1f;
    --mist: #f3f6fb;
    --paper: #ffffff;
    --line: #e1e7f1;
    --text: #0f1b36;
    --muted: #55657f;
    --ok: #12805c;
    --ok-soft: #e3f5ee;
    --warn: #a15c07;
    --warn-soft: #fdf0d9;
    --bad: #b42318;
    --bad-soft: #fde8e6;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow-1: 0 1px 2px rgba(7, 17, 43, .06), 0 8px 24px rgba(7, 17, 43, .06);
    --shadow-2: 0 2px 4px rgba(7, 17, 43, .06), 0 24px 56px rgba(7, 17, 43, .14);
    --shadow-3: 0 40px 90px rgba(3, 9, 28, .45);
    --font-display: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--paper); color: var(--text);
    font-family: var(--font-body); font-size: 16px; line-height: 1.75;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.28; margin: 0; color: var(--text); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 6px; }
.skip-link {
    position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 16px/1 var(--font-body); cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn i { font-size: 14px; }
.btn-gold { background: var(--gold); color: #1d1503; box-shadow: 0 10px 28px rgba(201, 161, 74, .42); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 161, 74, .5); background: #d3ab55; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn-navy { background: var(--brand); color: #fff; }
.btn-navy:hover { background: var(--navy); transform: translateY(-2px); }
.btn-line { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:active { transform: none; filter: brightness(.94); }
/* A card button that is not a link (registration closed): it must not look or behave clickable. */
.btn[aria-disabled="true"] { background: var(--mist); color: var(--muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- section scaffolding ---------- */
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 88px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 14px/1 var(--font-body); color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.2px; max-width: 780px; text-wrap: balance; }
.sec-lead { color: var(--muted); font-size: 18px; max-width: 680px; margin-top: 16px; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-title, .sec-head.center .sec-lead { margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.on-dark .sec-title { color: #fff; }
.on-dark .sec-lead { color: rgba(255, 255, 255, .72); }
.on-dark .eyebrow { color: var(--gold-soft); }

/* ---------- reveal on scroll (only when JS has marked the page) ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.in { opacity: 1; transform: none; }
.js-ready .reveal[data-d="1"] { transition-delay: .08s; }
.js-ready .reveal[data-d="2"] { transition-delay: .16s; }
.js-ready .reveal[data-d="3"] { transition-delay: .24s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 56px 0 72px;
    background:
        radial-gradient(900px 520px at 12% 18%, rgba(43, 125, 233, .32), transparent 62%),
        radial-gradient(700px 420px at 92% 6%, rgba(201, 161, 74, .20), transparent 60%),
        linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 55%, var(--navy) 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { max-width: 640px; }
/* One focal point: the heading. No letter-spacing on Arabic (it breaks the joins); 3 lines on desktop. */
.hero h1 { text-wrap: balance; color: #fff; font-size: clamp(29px, 3.3vw, 46px); font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.hero h1 .mark {
    background: linear-gradient(100deg, var(--gold-soft), var(--gold) 60%, #f0d58c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    white-space: nowrap; /* the gold phrase is one idea: it never breaks across two lines */
}
.hero .lead { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: rgba(255, 255, 255, .86); max-width: 560px; text-wrap: pretty; }
/* The action group: button, then its one reassurance line, then the quiet text link. One column, one left edge, equal rhythm. */
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note i { color: #3dd9a0; font-size: 13px; }

.hero-stage { position: relative; }
.hero-stage .frame { box-shadow: var(--shadow-3); }


/* ==========================================================================
   FRAMES — a browser window around a real screen of the product
   ========================================================================== */
.frame { background: #0e1a3a; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: #15244d; direction: ltr; }
.frame-bar .dots { display: flex; gap: 7px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.frame-bar .url {
    flex: 1; max-width: 340px; margin-inline: auto; display: flex; align-items: center; gap: 8px; justify-content: center;
    background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); border-radius: 8px; padding: 5px 12px;
    font: 500 12px/1.4 'Tajawal', sans-serif; direction: ltr;
}
.frame-bar .url i { font-size: 10px; color: #3dd9a0; }
.shot { display: block; width: 100%; height: auto; background: #f4f7fc; }
.shot[hidden] { display: none; }
.shot-box { aspect-ratio: 16 / 10; background: #f4f7fc; }
.shot-box .shot { height: 100%; object-fit: cover; object-position: top center; }

/* ==========================================================================
   WHY / pillars
   ========================================================================== */
.pillars { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.pillar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.pillar .p-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; background: var(--azure-soft); color: var(--brand); }
.pillar:nth-child(3n+2) .p-ic { background: #f8efd6; color: var(--gold-deep); }
.pillar:nth-child(3n) .p-ic { background: var(--ok-soft); color: var(--ok); }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Journey
   ========================================================================== */
.journey { counter-reset: step; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); position: relative; }
.step { position: relative; padding: 0 0 36px; padding-inline-start: 74px; }
.step:last-child { padding-bottom: 0; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; inset-inline-start: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
    background: var(--ink); color: var(--gold-soft); font: 700 20px var(--font-display); display: grid; place-items: center;
    box-shadow: 0 0 0 6px var(--paper);
}
.step::after { content: ''; position: absolute; inset-inline-start: 25px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 20px; margin-bottom: 6px; padding-top: 10px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 520px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--mist); }
.faq-wrap { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: #cfd9ea; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 600 17px/1.5 var(--font-display); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--azure-soft); color: var(--brand); display: grid; place-items: center; font: 500 20px/1 var(--font-body); transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #1d1503; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 740px; }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.final { background: radial-gradient(700px 400px at 15% 100%, rgba(201, 161, 74, .22), transparent 60%), linear-gradient(135deg, var(--ink), var(--navy)); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.final .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.final h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); max-width: 680px; text-wrap: balance; }
.final p { color: rgba(255, 255, 255, .75); margin-top: 12px; font-size: 17px; }
.final .acts { display: flex; flex-wrap: wrap; gap: 14px; }

.site-footer { background: #050c20; color: rgba(255, 255, 255, .72); padding: 72px 0 28px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.site-footer li { padding: 5px 0; font-size: 14.5px; }
.site-footer a { color: rgba(255, 255, 255, .7); transition: color .2s; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-brand .footer-brand { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 16px; }
.foot-brand .footer-brand img { height: 38px; width: auto; }
.foot-brand p { font-size: 14.5px; max-width: 360px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--gold); color: #1d1503; transform: translateY(-3px); }
.copyright { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .45); }

.scroll-top {
    position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 50; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); color: var(--gold-soft); display: none; place-items: center; box-shadow: 0 10px 28px rgba(7, 17, 43, .4); border: 1px solid rgba(255, 255, 255, .14);
}
.scroll-top.show { display: grid; }

/* ==========================================================================
   MKT-1 additions: hero call to action
   ========================================================================== */
/* The one registration button. Reserved on purpose: a solid gold pill, dark label (7.5:1), a soft static shadow. No pulsing loop (WCAG 2.2.2 and it shouts);
   the signal is colour + size + position, the arrow nudges only on hover or focus. States: default, hover, focus-visible, active (see .btn:active). It is a link, so no disabled or loading state. */
.btn-hero {
    min-height: 56px; padding: 0 36px; font-size: 18px; font-weight: 700; gap: 14px; white-space: nowrap;
    box-shadow: 0 10px 28px rgba(201, 161, 74, .36);
}
.btn-hero:hover { box-shadow: 0 14px 34px rgba(201, 161, 74, .46); }
.btn-hero i { font-size: 15px; transition: transform .2s var(--ease); }
.btn-hero:hover i, .btn-hero:focus-visible i { transform: translateX(-5px); }
.btn-hero:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 999px; }
/* The quiet secondary: a text link, a 44px-high target, clearly below the button in weight. */
.hero-how a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; margin-inline-start: -4px; font-size: 15px; color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .5); }
.hero-how a:hover { text-decoration-color: var(--gold-soft); }
.hero-how i { font-size: 11px; margin-inline-start: 6px; }
.hero-actions .hero-how { margin-top: -6px; }
.how-sec { background: var(--mist); }
.how-sec .step::before { box-shadow: 0 0 0 6px var(--mist); }
.final .acts { align-items: center; }
.final-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .35); padding: 10px 6px; }
.final-link:hover { color: #fff; text-decoration-color: var(--gold-soft); }

.journey-note { max-width: 880px; margin: 22px auto 0; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.journey-note i { color: var(--gold-deep); margin-top: 5px; }

/* ==========================================================================
   Breakpoints (mobile first)
   (The plans are no longer on this page: they live on /pricing, ACT-6c. The activity chooser's own grid is at the end of this file.)
   ========================================================================== */
@media (min-width: 640px) {
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .hero { padding: 72px 0 88px; }
    /* The picture stays fully inside the viewport at every width (it used to bleed 56px off the edge at 1024). */
    .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5.4fr); gap: 48px; }
    .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
    .journey-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .step { padding: 0; padding-top: 72px; }
    .step::before { inset-inline-start: 0; }
    .step::after { inset-inline-start: 52px; inset-inline-end: -28px; top: 25px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
    .step h3 { padding-top: 0; }
    .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
@media (min-width: 1280px) {
    .hero-stage .frame { transform: perspective(2400px) rotateY(4deg); transform-origin: center right; }
}
@media (max-width: 979.98px) {
    .hero-stage { margin-top: 8px; }
    .section { padding: 80px 0; }
}
@media (max-width: 480px) {
    .hero-actions { align-items: stretch; }
    .hero-cta .btn-hero { width: 100%; padding: 0 24px; }
    .final .acts .btn-hero { width: 100%; padding: 0 24px; }
    .hero-how a { justify-content: center; margin-inline-start: 0; width: 100%; }
    .hero-note { justify-content: center; }
    .final .acts { width: 100%; }
    .final .acts .btn { width: 100%; }
}
/* ---------- ACT-6c: the activity chooser right after the hero. One card per activity, all the same size, in ONE row while they fit (at least 280px each, so three cards share a wide screen) and stacked on a phone.
   Generic names, colours only from the variables above; no activity is named here and no number of cards is assumed (auto-fit: the row wraps instead of squeezing when there are many). ---------- */
.chooser { background: var(--paper); scroll-margin-top: 72px; }
.chooser .sec-head { margin-bottom: 28px; }
.chooser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: stretch; }
.chooser-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.chooser-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0;
    background: linear-gradient(135deg, var(--azure-soft), var(--mist)); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 30px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chooser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.chooser-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: #f8efd6; color: var(--gold-deep); flex: none; }
.chooser-card[data-activity="establishment"] .chooser-ic { background: var(--azure-soft); color: var(--brand); }
.chooser-body { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.chooser-title { font: 700 clamp(22px, 2.2vw, 28px)/1.3 var(--font-display); margin: 0; color: var(--ink); }
.chooser-lead { color: var(--muted); font-size: 16.5px; margin: 0; }
.chooser-act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
.chooser-act .btn { max-width: 100%; height: auto; min-height: 48px; padding: 12px 22px; line-height: 1.35; text-align: center; white-space: normal; }   /* a catalog row's own button text may be long: it wraps inside the pill instead of running out of it (.btn-hero says nowrap for the hero's short label) */
.chooser-note { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 759.98px) {
    .chooser-grid { gap: 18px; }
    .chooser-card { padding: 26px 22px; }
    .chooser-act .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .js-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .btn, .pillar, .chooser-card { transition: none; }
    .btn-hero i { transition: none; }
    .btn-hero:hover i, .btn-hero:focus-visible i { transform: none; }
    .btn:hover, .btn:active { transform: none; }
}