/* ─────────────────────────────────────────────────────────────────
   Design tokens

   Dark is the default for every visitor, regardless of their system
   setting — the toggle is the only thing that switches it. That is why
   there is no prefers-color-scheme block here.
   ───────────────────────────────────────────────────────────────── */
:root {
  --bg:          #0b0e14;
  --bg-alt:      #0f131b;
  --bg-elev:     #141924;
  --text:        #e8ecf3;
  --text-muted:  #9aa5b8;
  --border:      #232a37;
  --accent:      #7c74ff;
  --accent-2:    #22d3ee;
  --accent-ink:  #0b0e14;
  --accent-soft: rgba(124, 116, 255, .14);
  --ok:          #16a34a;
  --wa:          #25d366;
  --wa-ink:      #04250f;
  --danger:      #dc2626;
  --shadow:      0 1px 2px rgba(0,0,0,.4), 0 18px 40px -18px rgba(0,0,0,.7);
  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1140px;
  --ff: "Tajawal", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg:          #ffffff;
  --bg-alt:      #f6f7f9;
  --bg-elev:     #ffffff;
  --text:        #14181f;
  --text-muted:  #5b6474;
  --border:      #e3e6ec;
  --accent:      #4f46e5;
  --accent-2:    #06b6d4;
  --accent-ink:  #ffffff;
  --accent-soft: rgba(79, 70, 229, .10);
  --wa-ink:      #04250f;
  --shadow:      0 1px 2px rgba(16,24,40,.05), 0 12px 32px -12px rgba(16,24,40,.18);
  color-scheme: light;
}

/* ─────────────────────────────────────────────────────────────────
   Arabic face. unicode-range means it is only downloaded and only
   applies when Arabic characters are actually on the page, so English
   visitors pay nothing for it and keep the Latin stack.
   ───────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
                 U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
                 U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
                 U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
                 U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal-700.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
                 U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
                 U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: var(--ff-mono); font-size: .875em; }

img, svg { max-width: 100%; }

.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 780px; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { inset-inline-start: 0; }

/* ─────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.15rem;
  font: inherit; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--btn-bg); color: var(--text);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 8px 22px -10px var(--accent);
}
.btn-primary:hover { box-shadow: 0 12px 28px -10px var(--accent); }

.btn-outline { border-color: var(--border); background: var(--bg-elev); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost { border-color: var(--border); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); }

.btn-sm    { padding: .45rem .85rem; font-size: .875rem; }
.btn-lg    { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ─────────────────────────────────────────────────────────────────
   Header
   ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
/* The brand mark is the real logo, as a transparent PNG. Two files rather
   than one recoloured by filter: the white silhouette reads on the dark
   theme, the gradient original on the light one. Both are cut from the
   supplied artwork by scripts/ in the session that added them. */
.brand-mark {
  flex: none;
  width: 40px; aspect-ratio: 400 / 295;
  background: url("../img/brand/logo-mark-white.png") center / contain no-repeat;
}
:root[data-theme="light"] .brand-mark {
  background-image: url("../img/brand/logo-mark.png");
}

/* Hero lockup: the mark sits in front of the headline, and "in front" is the
   start edge, so it lands on the right in Arabic without a special case.
   The mark itself is never mirrored — see the note on logo_mark(). */
.hero-lockup {
  display: flex; align-items: center;
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin: 0 0 1.1rem;
}
.hero-lockup h1 { margin: 0; }
.hero-mark {
  flex: none;
  width: clamp(84px, 10vw, 132px); aspect-ratio: 400 / 295;
  background: url("../img/brand/logo-mark-white.png") center / contain no-repeat;
}
:root[data-theme="light"] .hero-mark {
  background-image: url("../img/brand/logo-mark.png");
}

/* Beside three lines of wrapped headline the mark looks stranded, so on a
   phone it goes above instead. */
@media (max-width: 620px) {
  .hero-lockup { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
}
.brand-name { display: grid; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.1; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--text-muted); }

.nav { display: flex; gap: 1.4rem; margin-inline-start: auto; }
.nav a { color: var(--text-muted); font-size: .925rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--text-muted);
  cursor: pointer; font-size: 1rem;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }

.nav-toggle { display: none; width: 38px; height: 36px; border: 1px solid var(--border);
  border-radius: 10px; background: transparent; cursor: pointer; padding: 9px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span + span { margin-top: 4px; }

/* ─────────────────────────────────────────────────────────────────
   Flash messages
   ───────────────────────────────────────────────────────────────── */
.flashes { margin-top: 1rem; display: grid; gap: .5rem; }
.flash {
  padding: .75rem 1rem; border-radius: 10px; font-size: .925rem;
  border: 1px solid var(--border); background: var(--bg-elev);
}
.flash-success { border-color: color-mix(in srgb, var(--ok) 45%, var(--border)); color: var(--ok); }
.flash-error   { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); color: var(--danger); }

/* ─────────────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -40% 0 auto 0; height: 620px; pointer-events: none;
  background:
    radial-gradient(46% 52% at 22% 32%, var(--accent-soft), transparent 70%),
    radial-gradient(38% 46% at 78% 18%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%);
  filter: blur(6px);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elev);
  font-size: .825rem; color: var(--text-muted); font-weight: 500;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}

.lede { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: var(--text-muted); max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2.25rem 0 0; }

/* ─────────────────────────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────────────────────────── */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
main > .section:nth-of-type(even) { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 640px; margin: 0 auto clamp(2.75rem, 5vw, 4rem); text-align: center; }
.section-sub { color: var(--text-muted); margin: 0; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .6rem;
}

.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ─────────────────────────────────────────────────────────────────
   Cards
   ───────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); font-size: .94rem; }

.icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); font-size: 1.15rem;
}


/* ─────────────────────────────────────────────────────────────────
   Stats
   ───────────────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; padding: 1.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elev); box-shadow: var(--shadow);
}
.stat { text-align: center; padding: .5rem; }
.stat-value {
  display: block; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--text-muted); font-size: .875rem; }

/* ─────────────────────────────────────────────────────────────────
   Steps
   ───────────────────────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.step {
  display: flex; gap: 1rem; padding: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev);
}
.step-n {
  font-family: var(--ff-mono); font-size: .9rem; font-weight: 700; color: var(--accent);
  padding-top: .15rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* ─────────────────────────────────────────────────────────────────
   About
   ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.about-grid > div > p { color: var(--text-muted); }

.checks { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-inline-start: 1.75rem; color: var(--text-muted); font-size: .94rem; }
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: .7rem; font-weight: 700;
}

.about-panel {
  padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elev); box-shadow: var(--shadow);
}
.spec { margin: 0; display: grid; gap: .1rem; }
.spec > div { display: grid; grid-template-columns: 90px 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { color: var(--text-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.spec dd { margin: 0; font-size: .92rem; font-weight: 500; }

/* ─────────────────────────────────────────────────────────────────
   Testimonials
   ───────────────────────────────────────────────────────────────── */
.quote {
  padding: 1.6rem; margin: 0;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev);
}
.quote blockquote { margin: 0 0 1.25rem; font-size: .98rem; line-height: 1.7; }
.quote blockquote::before { content: "“"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote figcaption { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.avatar {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 50%; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
}

/* ─────────────────────────────────────────────────────────────────
   Pricing
   ───────────────────────────────────────────────────────────────── */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .checks { flex: 1; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.badge {
  position: absolute; top: -11px; inset-inline-start: 1.6rem;
  padding: .2rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
}
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin: .25rem 0 .5rem; }
.price span { font-weight: 500; }

/* ─────────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: .75rem; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev); padding: 0 1.25rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 1.05rem;
  padding-inline: 0 2rem;
  font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%;
  font-size: 1.3rem; font-weight: 400; color: var(--accent); transition: rotate .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 1.15rem; color: var(--text-muted); font-size: .94rem; }

/* ─────────────────────────────────────────────────────────────────
   Contact
   ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-grid > div > p { color: var(--text-muted); }

.form { display: grid; gap: 1rem; }
.form:hover { transform: none; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: var(--text);
  padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .7; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─────────────────────────────────────────────────────────────────
   Final CTA
   ───────────────────────────────────────────────────────────────── */
.cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(60% 100% at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg-alt);
}
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-inner p { color: var(--text-muted); }
.cta-inner .hero-actions { justify-content: center; }

.error-page { min-height: 58vh; display: grid; place-items: center; }

/* ─────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem; padding-bottom: 2.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin: .75rem 0 0; max-width: 34ch; }
.footer-col { display: grid; align-content: start; gap: .55rem; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin: 0 0 .3rem; }
.footer-col a { color: var(--text); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between;
  padding-block: 1.25rem; border-top: 1px solid var(--border);
}
.footer-bottom p { margin: 0; }

/* ─────────────────────────────────────────────────────────────────
   Reveal animation
   ───────────────────────────────────────────────────────────────── */
/* Hidden only once JS has confirmed it can reveal them again, so the page is
   fully readable without JavaScript or if the observer never fires. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease var(--d, 0ms), transform .55s ease var(--d, 0ms); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─────────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    display: none; flex-direction: column; gap: 0;
    padding: .5rem 24px 1.25rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}


/* ─────────────────────────────────────────────────────────────────
   Registration & WhatsApp buttons
   ───────────────────────────────────────────────────────────────── */
.btn-arrow { transition: translate .18s ease; }
.btn:hover .btn-arrow { translate: 3px 0; }

.btn-wa { background: var(--wa); color: var(--wa-ink); border-color: transparent;
  box-shadow: 0 8px 22px -12px var(--wa); font-weight: 700; }
.btn-wa:hover { box-shadow: 0 12px 26px -12px var(--wa); }

/* Floating WhatsApp button */
.fab-wa {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab-wa:hover { transform: scale(1.07); text-decoration: none;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .85); }

/* Sticky conversion bar — mobile only, where the header CTA is hidden */
.cta-bar {
  position: fixed; inset: auto 0 0 0; z-index: 55; display: none;
  align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--border);
}
.cta-bar strong { display: block; font-size: .9rem; }
.cta-bar .btn { flex: none; }

/* ─────────────────────────────────────────────────────────────────
   Hero additions
   ───────────────────────────────────────────────────────────────── */
.hero-note { margin: 1rem 0 0; }


/* ─────────────────────────────────────────────────────────────────
   Steps (funnel)
   ───────────────────────────────────────────────────────────────── */
/* 230px keeps all four steps on one row inside the 1092px content width
   (4 x 230 + 3 x 20 gap = 1020). Cards stretch so the row reads as one band. */
.steps-flow { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps-flow .step { height: 100%; }
.steps-flow .step { flex-direction: column; gap: .75rem; }
.steps-flow .step-n {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border-radius: 12px; background: var(--accent-soft); font-size: .85rem;
}
.step-body .btn { margin-top: 1rem; }
.step-hint { margin: .6rem 0 0; }

.funnel-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 2rem; padding: 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: var(--radius); background: var(--accent-soft);
}
.funnel-cta h3 { margin: 0 0 .2rem; }
.funnel-cta p { margin: 0; }

/* ─────────────────────────────────────────────────────────────────
   Services (the two products)
   ───────────────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.service {
  display: flex; flex-direction: column;
  padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elev); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 14px; background: var(--accent-soft); font-size: 1.5rem;
}
.service h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.service-tagline { font-weight: 600; color: var(--accent); margin-bottom: .9rem; }
.service > p { color: var(--text-muted); font-size: .95rem; }
.service .checks { flex: 1; }
.service-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ─────────────────────────────────────────────────────────────────
   Pricing switch
   ───────────────────────────────────────────────────────────────── */
.switch {
  display: inline-flex; gap: .25rem; margin: 0 auto 2rem; padding: .3rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elev);
}
.section .switch { display: flex; width: fit-content; }
.switch-btn {
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--text-muted);
  padding: .55rem 1.15rem; border: 0; border-radius: 999px; background: transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.switch-btn:hover { color: var(--text); }
.switch-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
}
.plan-for { margin: 0 0 .2rem; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.pricing-note { text-align: center; margin: 2rem 0 0; }

/* Without JS both panels simply stack — nothing is hidden. */
.js [data-plans-panel] { display: none; }
.js [data-plans-panel].active { display: grid; }

/* ─────────────────────────────────────────────────────────────────
   Contact channels
   ───────────────────────────────────────────────────────────────── */
.contact-channels { display: grid; gap: .75rem; margin-top: 1.5rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}
.channel:hover { text-decoration: none; transform: translateX(3px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.channel span span { display: block; }
.channel-icon {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-soft); font-size: 1.15rem;
}
.channel-wa:hover { border-color: var(--wa); }

/* Join: the broker step and the "I registered" form, side by side. */
.proof-rule { max-width: 760px; margin: 0 auto 1.75rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, #f59e0b 55%, transparent);
  background: color-mix(in srgb, #f59e0b 10%, transparent); }
.proof-rule p { margin: .35rem 0 0; font-size: .95rem; }
.talk-done .btn { margin-block: .5rem; }
.join-steps { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.join-step h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.join-step .form { margin-top: 1rem; }

/* Contact: the ways to reach us come first, side by side; "Message us" opens
   to a choice between WhatsApp and writing here. */
.contact-intro { max-width: 640px; }
.contact-choices { display: grid; gap: 1rem; margin-top: 1.75rem; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.choice > summary { list-style: none; cursor: pointer; }
.choice > summary::-webkit-details-marker { display: none; }
.choice[open] > summary { border-color: var(--wa); }
.choice-options { display: grid; gap: .6rem; margin-top: .75rem; }
.choice-options .btn { justify-content: center; }
.channel-wa .channel-icon { background: color-mix(in srgb, var(--wa) 18%, transparent); }

/* ─────────────────────────────────────────────────────────────────
   Forms: side-by-side fields, select, date/time
   ───────────────────────────────────────────────────────────────── */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form h3 { margin-bottom: .25rem; }
.field select {
  font: inherit; font-size: .95rem; color: var(--text);
  padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[type="date"], .field input[type="time"] { min-height: 44px; }
.booking-external { display: grid; gap: 1rem; align-content: start; }

/* ─────────────────────────────────────────────────────────────────
   Footer additions
   ───────────────────────────────────────────────────────────────── */
.footer-contacts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
}
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip-wa:hover { border-color: var(--wa); color: var(--wa); }

.risk-notice {
  margin-bottom: 1.5rem; padding: 1.1rem 1.25rem;
  border: 1px solid var(--border); border-inline-start: 3px solid #f59e0b;
  border-radius: 10px; background: var(--bg-alt);
  font-size: .8rem; line-height: 1.7; color: var(--text-muted);
}
.risk-notice strong { color: var(--text); }

/* ─────────────────────────────────────────────────────────────────
   Responsive additions
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .cta-bar { display: flex; }
  body { padding-bottom: 76px; }          /* clear the sticky bar */
  .fab-wa { bottom: 88px; }               /* sit above the sticky bar */
  .field-row { grid-template-columns: 1fr; }
  .funnel-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .funnel-cta .btn { width: 100%; }
  .service-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .switch { width: 100%; }
  .switch-btn { flex: 1; padding-inline: .5rem; font-size: .85rem; }
  .cta-bar > div { display: none; }
  .cta-bar .btn { width: 100%; }
}

/* The closing note is a sentence, not a heading — keep it readable at body
   weight while the button beside it stays the emphasis. */
.funnel-note { margin: 0; flex: 1 1 320px; font-size: .94rem; line-height: 1.6; }


/* ─────────────────────────────────────────────────────────────────
   Results gallery

   The card is a fixed 4:5 window and the image fills it. A screenshot
   cropped to 4:5 (1080 x 1350 is ideal) is shown whole; anything else is
   cropped to fit, anchored bottom-start, because the result line in a chat
   screenshot is always the last message. Cropping here rather than in the
   file means a screenshot can be dropped in at whatever size it was taken.
   ───────────────────────────────────────────────────────────────── */
.results {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.75rem;
  /* Capped rather than 1fr: a phone screenshot blown up to the full
     container width looks like a mistake, and with one entry in the list
     that is exactly what 1fr would do. Centred so a short row sits in the
     middle instead of hugging the start edge. */
  grid-template-columns: repeat(auto-fit, minmax(230px, 320px));
  justify-content: center;
}
.result { margin: 0; }

.result-shot {
  margin: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-elev); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.result-shot:hover { transform: translateY(-3px); border-color: var(--accent); }

/* The whole card is a link to the full-size image. A screenshot too small
   to read is not evidence, and this needs no JavaScript, which matters
   under a script-src 'self' policy. */
.result-link { display: block; color: inherit; }
.result-link:hover { text-decoration: none; }
.result-zoom {
  position: absolute; inset-block-start: .6rem; inset-inline-end: .6rem;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; font-size: .95rem; line-height: 1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid var(--border); color: var(--text);
  opacity: 0; transition: opacity .2s ease;
}
.result-shot { position: relative; }
.result-link:hover .result-zoom,
.result-link:focus-visible .result-zoom { opacity: 1; }

.result-shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: left bottom;
  background: var(--bg-alt);
}

.result-meta { display: grid; gap: .3rem; padding: .95rem 1.15rem 1.15rem; }
.result-pair {
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .08em;
  color: var(--text-muted);
}
.result-outcome { font-weight: 700; font-size: .98rem; }
.result-target,
.result-partial,
.result-summary   { color: var(--ok); }
.result-breakeven { color: var(--text-muted); }
.result-stop      { color: var(--danger); }
.result-date { display: block; }

.results-source { text-align: center; margin: 1.75rem 0 0; }

/* The shared funnel box pushes its contents apart to seat a note beside the
   button. Here there is no note, so centre the button instead of stranding
   it against one edge. */
.results-cta { justify-content: center; }

/* The risk line. Quiet, but it never leaves the page -- it is the sentence
   that makes every screenshot above it a statement of fact rather than an
   implied promise. */
.results-note {
  text-align: center; max-width: 62ch; margin: 1.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .results { gap: 1.25rem; grid-template-columns: minmax(0, 320px); }
}

/* ─────────────────────────────────────────────────────────────────
   Decorative chart art

   Fills the empty half of a wide section. Purely ornamental: aria-hidden
   in the markup, and nothing here may ever sit on top of a control.
   ───────────────────────────────────────────────────────────────── */
.chart-art { position: absolute; z-index: 0; pointer-events: none; user-select: none; }

/* Both copies are full-bleed backgrounds, anchored to the bottom of their
   section and running off both edges. An earlier version floated the chart
   in the empty half of the hero: it read as a stray drawing someone had
   dropped in the corner, and in Arabic — where it moves to the other side —
   its edge landed mid-page as a visible rectangle. Edge to edge there is no
   edge to see, and it behaves as texture rather than as a picture. */
.hero-art {
  inset: auto 0 0 0;
  width: 100%; height: clamp(230px, 32vw, 440px);
  opacity: .2;
}

/* Closing band: one wide line across the bottom, under centred content. */
.cta { position: relative; overflow: hidden; }
.cta-art {
  inset: auto 0 -1px 0;
  width: 100%; height: clamp(150px, 20vw, 260px);
  opacity: .15;
}
.cta-inner { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────────
   Right-to-left
   Layout mirrors on its own through logical properties above. What
   remains is the handful of things that are directional by meaning
   rather than by box model.
   ───────────────────────────────────────────────────────────────── */
[dir="rtl"] body { line-height: 1.85; }

/* An arrow points the way the reader is going. */
[dir="rtl"] .btn-arrow { display: inline-block; scale: -1 1; }
[dir="rtl"] .btn:hover .btn-arrow { translate: -3px 0; }
[dir="rtl"] .channel:hover { transform: translateX(-3px); }

/* Latin fragments inside Arabic text: prices, phone numbers, codes. */
[dir="rtl"] .price,
[dir="rtl"] .stat-value,
[dir="rtl"] code { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .price { display: inline-block; }

/* The opening quotation mark belongs on the right in Arabic. */
[dir="rtl"] .quote blockquote::before { content: "”"; margin-inline-end: .1em; margin-inline-start: 0; }

.lang-switch {
  padding: .4rem .7rem; border: 1px solid var(--border); border-radius: 8px;
  font-size: .82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap;
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }

@media (max-width: 760px) {
  .lang-switch { padding: .35rem .55rem; font-size: .78rem; }
}

/* ─────────────────────────────────────────────────────────────────
   The offer: a week for registering, a month for a $100 first deposit.
   Two tiles, same size, the better one outlined — the choice is visible
   at a glance and the condition sits right above each number.
   ───────────────────────────────────────────────────────────────── */
.offer {
  display: grid; gap: 1.5rem; max-width: 820px; margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.offer-tile {
  position: relative; text-align: center; padding: 2.25rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elev);
}
.offer-best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.offer-when { margin: 0 0 .4rem; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.offer-what {
  margin: 0 0 .75rem; font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer-tile .muted { margin: 0 0 1.4rem; font-size: .94rem; }
.offer-tile .btn { margin-top: auto; }           /* buttons line up at the bottom of both boxes */

/* The offer as the first screen (home, Start free): centred, the tiles are the hero. */
.hero-offer .hero-inner { max-width: 880px; margin-inline: auto; text-align: center; }
.hero.hero-offer { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero-offer .offer { margin-top: 2rem; }
.hero-offer .lede { margin-inline: auto; }
.hero-offer .offer-tile { background: color-mix(in srgb, var(--bg-elev) 88%, transparent); backdrop-filter: blur(6px); }
.offer-tile .badge { inset-inline-start: auto; left: 50%; right: auto; translate: -50% 0; white-space: nowrap; }

/* Phones: both tiles side by side, so the week AND the month are on the first
   screen. The detail line goes; the condition above each number stays. */
@media (max-width: 520px) {
  .offer { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .offer-tile { padding: 1.6rem .7rem 1.1rem; }
  .offer-tile .muted { display: none; }
  .offer-when { font-size: .78rem; line-height: 1.5; }
  .offer-what { font-size: 1.55rem; margin: 0 0 .9rem; }
  .offer-tile { min-width: 0; }                  /* two columns must never push past the screen */
  .offer-tile .btn { padding: .65rem .5rem; font-size: .82rem; white-space: normal; line-height: 1.35; }
  .offer-tile .btn-arrow { display: none; }
}

/* Phone: country picker above, then the dial code fixed in front of the number. */
.phone { display: grid; gap: .5rem; }
.phone-number {
  display: flex; align-items: stretch; overflow: hidden;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
}
.phone-number:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.phone-prefix {
  display: grid; place-items: center; padding-inline: .85rem; font-weight: 600;
  color: var(--text-muted); background: var(--bg-alt); border-inline-end: 1px solid var(--border);
}
.field .phone-number input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
