/* eCom Arabia + — WhatsApp ad landing page.
   Interface rules: restrained glass, capsule actions, Atropos-style depth on
   action buttons only, one shadow owner per button, gradual disclosures. */

@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/cairo-400-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cairo-600-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/cairo-800-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/cairo-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/cairo-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/cairo-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

/* ---------- Tokens ---------- */
:root {
  --bg: #eef0f3;
  --text: #202630;
  --muted: #596474;
  --glass: #ffffffa6;
  --strong: #f8fafc;
  --control: #ffffffd9;
  --line: #d3dbe4;
  --acc: #2E9AD6;
  --acc-ink: #1A6894;          /* accent text on light surfaces (≥4.5:1) */
  --acc-soft: rgba(46,154,214,.10);
  --wa: #25D366;
  --wa-ink: #072a16;           /* text on WhatsApp green (≥7:1) */
  --focus: #1A6894;
  --shadow: rgba(50,50,93,.25) 0px 6px 12px -2px, rgba(0,0,0,.3) 0px 3px 7px -3px;
  --shadow-up: rgba(50,50,93,.28) 0px 18px 30px -10px, rgba(0,0,0,.28) 0px 10px 18px -12px;
  --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px -18px rgba(16,24,40,.18);
  --r-card: 22px;
  --r-media: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1011;
    --text: #f6f7f8;
    --muted: #a4a9ad;
    --glass: #15191bf5;
    --strong: #1b1e20;
    --control: #222629;
    --line: #2b3135;
    --acc-ink: #6CC0EE;
    --acc-soft: rgba(46,154,214,.14);
    --focus: #6CC0EE;
    --card-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 30px -20px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Cairo", system-ui, sans-serif; font-weight: 400; line-height: 1.7;
  background: var(--bg); color: var(--text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* soft brand light behind the glass */
  content: ""; position: fixed; inset: -20% -10% auto; height: 80vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(46,154,214,.16), transparent 70%),
    radial-gradient(35% 45% at 10% 0%, rgba(37,211,102,.10), transparent 70%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 800; line-height: 1.3; letter-spacing: 0; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.08rem; }
.acc { color: var(--acc-ink); }
.eyebrow { font-size: .86rem; font-weight: 600; color: var(--acc-ink); }
.sub { color: var(--muted); font-size: 1.02rem; margin-top: 10px; max-width: 620px; }
section { padding: 72px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.head .sub { margin-inline: auto; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 999px; }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: background-color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .glass:hover { border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); } }

/* ---------- Header (no navigation: single goal) ---------- */
.top { position: sticky; top: 12px; z-index: 40; padding: 0 12px; }
.top .bar {
  max-width: 1140px; margin: 0 auto; height: 62px; padding: 0 10px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; user-select: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand b { font-size: 1.12rem; font-weight: 800; direction: ltr; unicode-bidi: isolate; }

/* ---------- Action buttons (Atropos-style) ----------
   The <a> is the stationary hit area; .face moves. One shadow owner: .face. */
.btn {
  position: relative; display: inline-flex; text-decoration: none; cursor: pointer;
  border-radius: 999px; perspective: 700px; -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}
.btn .face {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 26px; border-radius: 999px; overflow: hidden;
  font-weight: 800; font-size: 1.05rem; line-height: 1.2; white-space: nowrap;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .2s ease;
}
.btn .face * { cursor: pointer; }
.btn .hl { /* moving highlight */
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(255,255,255,.45), transparent 55%);
  transition: opacity .25s ease;
}
.btn.is-tilting .face { transition: transform .08s linear, box-shadow .3s ease; box-shadow: var(--shadow-up); }
.btn.is-tilting .hl { opacity: 1; }
.btn:active .face { filter: brightness(.96); }
.btn-wa .face { background: var(--wa); color: var(--wa-ink); }
.btn-wa .face svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn-sm .face { padding: 9px 16px; font-size: .92rem; gap: 7px; }
.btn-sm .face svg { width: 18px; height: 18px; }
.btn-lg .face { padding: 17px 34px; font-size: 1.15rem; }
.btn-ghost .face { background: var(--control); color: var(--text); border: 1px solid var(--line); }
.cta-note { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.cta-note b { color: var(--text); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 40px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero .copy { text-align: center; }
.hero .copy .sub { margin-inline: auto; }
.hero h1 { margin-top: 10px; }
.hero .sub { font-size: 1.12rem; }
.hero .cta { margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.stat { padding: 14px 10px; text-align: center; border-radius: 18px; }
.stat b { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: var(--acc-ink); }
.stat span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hero-shots { position: relative; height: 470px; }
.hero-shots figure {
  position: absolute; width: 62%; border-radius: var(--r-media); overflow: hidden; padding: 6px;
}
.hero-shots figure img { border-radius: 12px; }
.hero-shots .s1 { top: 0; inset-inline-start: 0; transform: rotate(-3deg); z-index: 2; }
.hero-shots .s2 { top: 90px; inset-inline-end: 0; transform: rotate(3deg); z-index: 1; }
.hero-shots .s3 { bottom: 0; inset-inline-start: 14%; transform: rotate(-1deg); z-index: 3; width: 56%; }
.hero-chip {
  position: absolute; z-index: 4; inset-inline-end: 4%; bottom: 22px; max-width: 250px;
  padding: 12px 14px; font-size: .84rem; line-height: 1.55;
}
.hero-chip b { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 4px; direction: ltr; text-align: end; }

/* ---------- Proof strip under the first CTA ---------- */
.strip { padding: 10px 0 24px; }
.strip .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { display: block; padding: 18px 18px 14px; text-decoration: none; }
.quote q { display: block; font-size: .95rem; line-height: 1.7; }
.who { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: .86rem; line-height: 1.2; }
.who span { display: block; font-size: .76rem; color: var(--muted); direction: ltr; text-align: end; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit { padding: 22px 20px; }
.benefit .ic {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc-soft); color: var(--acc-ink); margin-bottom: 12px;
}
.benefit .ic svg { width: 22px; height: 22px; }
.benefit p { color: var(--muted); font-size: .9rem; margin-top: 4px; }

.tracks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.track { padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; background: var(--control); border: 1px solid var(--line); }
.track::before { content: "✓ "; color: var(--acc-ink); }

/* ---------- Results ---------- */
.shots { columns: 3 260px; column-gap: 14px; }
.shot { break-inside: avoid; margin-bottom: 14px; padding: 6px; border-radius: var(--r-media); }
.shot img { border-radius: 12px; width: 100%; }
.more-wrap { text-align: center; margin-top: 18px; }
.is-collapsed .extra { display: none; }
.more { /* plain disclosure control: no tilt, no action shadow */
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--acc-ink); cursor: pointer;
  background: var(--control); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
}
.more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.mid-cta { text-align: center; margin-top: 34px; }
.mid-cta p { font-weight: 600; margin-bottom: 14px; }

/* ---------- Reviews ---------- */
.reviews { columns: 3 280px; column-gap: 14px; }
.review { display: block; break-inside: avoid; margin-bottom: 14px; padding: 18px; text-decoration: none; }
.review p { font-size: .93rem; line-height: 1.75; }
.review .who { margin-top: 0; margin-bottom: 10px; }
.review .ig { margin-inline-start: auto; color: var(--muted); }
.review .ig svg { width: 16px; height: 16px; display: block; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 22px 20px; }
.step::before {
  counter-increment: s; content: counter(s, arabic-indic);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--acc); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Mentor ---------- */
.mentor { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 24px; }
.mentor img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cred { padding: 10px 14px; border-radius: 16px; background: var(--control); border: 1px solid var(--line); }
.cred b { display: block; font-size: 1.15rem; color: var(--acc-ink); line-height: 1.2; }
.cred span { font-size: .8rem; color: var(--muted); }
.mentor q { display: block; margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* ---------- Offer ---------- */
.offer { max-width: 640px; margin: 0 auto; padding: 30px 26px; text-align: center; }
.price { margin-top: 6px; font-size: 2.5rem; font-weight: 800; line-height: 1.2; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: .9rem; }
.incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; text-align: start; margin: 22px 0 24px; }
.incl li { font-size: .93rem; }
.incl li::before { content: "✓ "; color: var(--acc-ink); font-weight: 800; }

/* ---------- FAQ (disclosures: no tilt) ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .34s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 16px; color: var(--muted); font-size: .95rem; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 18px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 40px 24px; }
.final .sub { margin-inline: auto; }
.final .btn { margin-top: 22px; }

footer { padding: 26px 0 110px; text-align: center; font-size: .82rem; color: var(--muted); }
footer a { color: var(--muted); margin: 0 8px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky {
  position: fixed; inset-inline: 10px; bottom: 10px; z-index: 50; padding: 8px;
  border-radius: 999px; display: none; transform: translateY(140%); transition: transform .35s ease;
}
.sticky.show { transform: none; }
.sticky .btn { width: 100%; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- Cookie bar ---------- */
#cookieBar {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 22px; font-size: .85rem;
}
#cookieBar[hidden] { display: none; }
#cookieOk { font: inherit; font-weight: 800; cursor: pointer; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px;
  background: var(--text); color: var(--bg); box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-shots { height: 380px; max-width: 520px; margin: 0 auto; width: 100%; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .strip .row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 52px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .mentor { grid-template-columns: 1fr; text-align: center; }
  .mentor img { margin: 0 auto; width: 180px; height: 180px; }
  .creds { justify-content: center; }
  .incl { grid-template-columns: 1fr; }
  .sticky { display: block; }
  .hero .btn, .final .btn, .mid-cta .btn, .offer .btn { width: 100%; }
  .hero .btn .face, .final .btn .face, .mid-cta .btn .face, .offer .btn .face { white-space: normal; text-align: center; }
  .hero-shots { height: 320px; }
  .hero-chip { display: none; }
}
@media (max-width: 420px) {
  .benefits { grid-template-columns: 1fr; }
  .shots { columns: 2 140px; }
}

/* ---------- Reduced motion / transparency ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn .face, .sticky, .faq summary .chev, .more svg { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--strong); }
}
