  :root {
    --night: #111C27;
    --navy: #1A2A3A;
    --surface: #243447;
    --gold: #C9A94E;
    --gold-soft: #E3CB86;
    --cream: #F5F0E8;
    --sage: #7A9B8E;
    --peach: #E8A87C;
    --line: rgba(201, 169, 78, 0.22);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', 'Helvetica Neue', sans-serif;
    --nav-h: 76px;
  }
  html[lang="ar"] { --serif: 'Amiri', serif; --sans: 'Tajawal', sans-serif; }
  html[lang="ar"] body * { letter-spacing: 0 !important; }
  html[lang="ar"] em { font-style: normal; }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
  @media (max-width: 900px), (max-height: 620px) { html { scroll-snap-type: y proximity; } }
  body {
    background: var(--night); color: var(--cream); font-family: var(--sans); font-weight: 300;
    line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  img { display: block; max-width: 100%; }

  body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

  /* ---------- PAGES ---------- */
  .page {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--nav-h) + 24px) 0 48px;
    scroll-snap-align: start; overflow: hidden;
  }

  /* ---------- NAV ---------- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
    display: flex; align-items: center; transition: background .4s, border-color .4s;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled { background: rgba(17, 28, 39, .82); backdrop-filter: blur(14px); border-color: var(--line); }
  nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .brand { display: flex; align-items: center; gap: 10px; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; letter-spacing: .04em; }
  .brand img { width: 34px; height: 34px; }
  .nav-right { display: flex; align-items: center; gap: 26px; }
  .nav-links { display: flex; gap: 26px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
  .nav-links a { opacity: .75; transition: opacity .25s, color .25s; }
  .nav-links a:hover { opacity: 1; color: var(--gold-soft); }
  .lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
  .lang button {
    font-family: 'Jost', sans-serif; font-size: .74rem; font-weight: 500; letter-spacing: .06em;
    padding: 5px 10px; border-radius: 999px; color: rgba(245,240,232,.7); transition: background .25s, color .25s;
  }
  .lang button[lang="ar"] { font-family: 'Tajawal', sans-serif; font-size: .82rem; padding: 3px 11px; }
  .lang button[aria-pressed="true"] { background: var(--gold); color: var(--night); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 500;
    font-size: .95rem; letter-spacing: .04em; cursor: pointer; border: 1px solid var(--gold);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .3s;
    position: relative; overflow: hidden; white-space: nowrap;
  }
  .btn-gold { background: var(--gold); color: var(--night); }
  .btn-gold::after {
    content: ''; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transition: transform .7s;
  }
  .btn-gold:hover::after { transform: translateX(120%); }
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(201,169,78,.6); }
  .btn-ghost { color: var(--gold-soft); background: transparent; }
  .btn-ghost:hover { background: rgba(201,169,78,.1); transform: translateY(-2px); }
  .btn-sm { padding: 9px 18px; font-size: .78rem; }
  [dir="rtl"] .arrow { transform: scaleX(-1); }

  /* ---------- DOTS ---------- */
  .dots { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
  .dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); position: relative; transition: background .3s, transform .3s; }
  .dots button[aria-current="true"] { background: var(--gold); transform: scale(1.3); }

  /* ---------- HERO (page 1) ---------- */
  .hero { text-align: center; }
  .hero-glow {
    position: absolute; inset: -20%; pointer-events: none;
    background:
      radial-gradient(40% 35% at 50% 40%, rgba(201,169,78,.16), transparent 70%),
      radial-gradient(35% 40% at 15% 80%, rgba(122,155,142,.14), transparent 70%),
      radial-gradient(30% 30% at 88% 18%, rgba(232,168,124,.10), transparent 70%);
  }
  .stars { position: absolute; inset: 0; pointer-events: none; }
  .stars span {
    position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--gold-soft);
    animation: twinkle var(--d, 4s) ease-in-out infinite; animation-delay: var(--delay, 0s); opacity: 0;
  }
  @keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1); } }
  .hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
  .rings { width: min(270px, 62vw, 27vh * 1.45); aspect-ratio: 320 / 220; margin-bottom: 10px; overflow: visible; }
  .deco { font-family: 'Amiri', serif; font-style: italic; color: var(--gold-soft); font-size: 1.25rem; opacity: .85; }
  html[lang="ar"] .deco { font-family: 'Cormorant Garamond', serif; letter-spacing: .06em !important; }
  .eyebrow {
    font-size: .76rem; letter-spacing: .36em; text-transform: uppercase; color: var(--sage);
    display: inline-flex; align-items: center; gap: 14px; margin-top: 4px;
  }
  html[lang="ar"] .eyebrow { font-size: .95rem; }
  .eyebrow::before, .eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--line); }
  h1 {
    font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
    font-size: clamp(2.3rem, min(8vw, 8.4vh), 6.2rem); margin: 12px 0 14px; max-width: 14ch;
  }
  html[lang="ar"] h1 { line-height: 1.25; font-size: clamp(2.1rem, min(7vw, 6.8vh), 5rem); }
  h1 em { font-style: italic; color: var(--gold); }
  h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
  h1 .line > span { display: inline-block; }
  .lede { max-width: 580px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(245,240,232,.78); }
  html[lang="ar"] .lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.75; }
  .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
  .hero.page { padding-bottom: 36px; }
  @media (max-height: 760px) {
    .deco { display: none; }
    .lede { font-size: .98rem; line-height: 1.5; max-width: 620px; }
    .hero-cta { margin-top: 18px; }
    .hero-cta .btn { padding: 11px 22px; }
    .scroll-cue { display: none; }
  }
  .scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
  .scroll-cue::after { content: ''; position: absolute; top: -20px; left: 0; width: 1px; height: 20px; background: var(--cream); animation: drip 2.2s ease-in-out infinite; }
  @keyframes drip { to { top: 50px; } }

  /* ---------- SHARED TYPE ---------- */
  .section-head { max-width: 680px; margin-bottom: 52px; }
  .section-head.center { margin-inline: auto; text-align: center; }
  .kicker { font-size: .76rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
  html[lang="ar"] .kicker { font-size: .95rem; }
  h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; margin-top: 12px; }
  html[lang="ar"] h2 { line-height: 1.45; }
  h2 em { color: var(--gold); }
  .section-head p { margin-top: 16px; color: rgba(245,240,232,.72); font-size: 1.06rem; }

  /* ---------- PAGE 2: HOW ---------- */
  .marquee { position: absolute; top: var(--nav-h); left: 0; right: 0; border-block: 1px solid var(--line); padding: 14px 0; overflow: hidden; background: rgba(26,42,58,.5); direction: ltr; }
  .marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
  .marquee span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(245,240,232,.62); padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
  html[lang="ar"] .marquee span { font-style: normal; font-size: 1.15rem; }
  .marquee span::after { content: '✦'; font-style: normal; font-size: .75rem; color: var(--gold); }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .how { padding-top: calc(var(--nav-h) + 90px); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
  .steps::before {
    content: ''; position: absolute; top: 46px; left: 14%; right: 14%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5;
    transform: scaleX(var(--line-progress, 1));
  }
  .step { position: relative; padding: 0 10px; text-align: center; }
  .step-num {
    width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
    font-family: 'Cormorant Garamond', serif; font-size: 2.3rem; color: var(--gold); background: var(--night);
    border: 1px solid var(--line); position: relative;
  }
  .step-num::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(201,169,78,.35); animation: spin 26s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 8px; }
  .step p { color: rgba(245,240,232,.7); max-width: 300px; margin-inline: auto; }

  /* ---------- PAGE 3: SHOWCASE ---------- */
  .showcase { background: linear-gradient(180deg, var(--night), var(--navy) 50%, var(--night)); }
  .showcase-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
  .phone {
    width: min(300px, 74vw); height: min(600px, 76vh); margin-inline: auto; border-radius: 44px; padding: 12px;
    background: linear-gradient(145deg, #2c3e52, #0d151e); position: relative;
    box-shadow: 0 50px 100px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(201,169,78,.25), inset 0 0 0 1px rgba(255,255,255,.05);
  }
  .phone::before { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #05090d; z-index: 2; }
  .screen { height: 100%; border-radius: 34px; background: var(--navy); padding: 52px 18px 18px; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .score-ring { width: 130px; height: 130px; position: relative; flex-shrink: 0; }
  .score-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
  .score-ring .track { stroke: var(--surface); }
  .score-ring .fill { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 402; }
  .score-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: var(--gold); direction: ltr; }
  .score-label { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); margin-top: -4px; }
  .mini-stats { display: flex; gap: 10px; width: 100%; }
  .mini-stats div { flex: 1; background: var(--surface); border-radius: 14px; padding: 8px; text-align: center; }
  .mini-stats b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500; }
  .mini-stats small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,240,232,.6); }
  .bars { width: 100%; display: flex; flex-direction: column; gap: 8px; }
  .bar-row { display: grid; grid-template-columns: 70px 1fr 30px; align-items: center; gap: 8px; font-size: .66rem; color: rgba(245,240,232,.75); }
  .bar { height: 6px; border-radius: 4px; background: var(--surface); overflow: hidden; }
  .bar i { display: block; height: 100%; width: var(--w); background: var(--gold); border-radius: 4px; transform-origin: left; transform: scaleX(0); }
  [dir="rtl"] .bar i { transform-origin: right; }
  .bar-row span:last-child { text-align: end; color: var(--sage); direction: ltr; }
  .bubble { align-self: flex-start; background: var(--surface); padding: 8px 12px; border-radius: 14px 14px 14px 4px; font-size: .72rem; max-width: 85%; }
  .bubble.me { align-self: flex-end; background: var(--gold); color: var(--night); border-radius: 14px 14px 4px 14px; }
  [dir="rtl"] .bubble { border-radius: 14px 14px 4px 14px; }
  [dir="rtl"] .bubble.me { border-radius: 14px 14px 14px 4px; }

  .features { display: flex; flex-direction: column; gap: 22px; }
  .feature { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; padding-bottom: 0; }
  .feature-icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
  .feature p { color: rgba(245,240,232,.7); margin-top: 4px; font-size: .97rem; }

  /* ---------- PAGE 4: NUMBERS + QUOTE ---------- */
  .numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
  .numbers div { padding: 36px 16px; text-align: center; border-inline-end: 1px solid var(--line); }
  .numbers div:last-child { border-inline-end: 0; }
  .numbers b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold); line-height: 1; }
  .numbers span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,240,232,.65); margin-top: 10px; display: block; }
  html[lang="ar"] .numbers span { font-size: .95rem; }
  .quote { text-align: center; margin-top: clamp(60px, 10vh, 110px); }
  .quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.8vw, 2.9rem); line-height: 1.3; max-width: 900px; margin-inline: auto; }
  html[lang="ar"] .quote blockquote { font-style: normal; line-height: 1.7; }
  .quote blockquote .w { display: inline-block; opacity: .15; }
  .quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); }
  html[lang="ar"] .quote cite { font-size: .95rem; }

  /* ---------- PAGE 5: DOWNLOAD ---------- */
  .download { padding-bottom: 0; }
  .download .wrap.main { flex: 1; display: flex; align-items: center; }
  .download-card {
    width: 100%; position: relative; border-radius: 36px; padding: clamp(46px, 7vw, 80px) clamp(22px, 6vw, 80px); text-align: center; overflow: hidden;
    background: radial-gradient(70% 90% at 50% 0%, rgba(201,169,78,.2), transparent 70%), var(--navy);
    border: 1px solid var(--line);
  }
  .halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(201,169,78,.16); left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
  .halo.big { width: 760px; height: 760px; border-color: rgba(201,169,78,.08); }
  .download-card h2, .download-card > p, .download-card .kicker { position: relative; }
  .download-card > p { max-width: 540px; margin: 16px auto 0; color: rgba(245,240,232,.75); }
  .stores { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
  .store {
    display: flex; align-items: center; gap: 14px; padding: 13px 24px 13px 20px; min-width: 214px;
    border-radius: 18px; background: rgba(17,28,39,.75); border: 1px solid rgba(245,240,232,.18); text-align: start;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; position: relative;
  }
  .store:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -18px rgba(201,169,78,.55); }
  .store svg { width: 30px; height: 30px; flex-shrink: 0; }
  .store small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
  .store strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.15; }
  .store.web { background: var(--gold); color: var(--night); border-color: var(--gold); }
  .store.web:hover { box-shadow: 0 18px 44px -14px rgba(201,169,78,.85); }
  .store.soon { cursor: default; }
  .store.soon:hover { transform: none; border-color: rgba(245,240,232,.18); box-shadow: none; }
  .store .tag {
    position: absolute; top: -10px; inset-inline-end: 14px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
    background: var(--peach); color: var(--night); padding: 3px 9px; border-radius: 999px; font-weight: 500;
  }
  .download-card > .langs { position: relative; margin-top: 28px; font-size: .85rem; color: var(--sage); }
  footer { padding: 26px 0 30px; border-top: 1px solid var(--line); margin-top: 40px; }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: .85rem; color: rgba(245,240,232,.55); }
  footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
  footer a:hover { color: var(--gold-soft); }

  .js .reveal { opacity: 0; transform: translateY(36px); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1000px) { .nav-links { display: none; } }
  @media (max-width: 900px) {
    .dots { display: none; }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps::before { display: none; }
    .step-num { width: 70px; height: 70px; font-size: 1.8rem; margin-bottom: 14px; }
    .showcase-grid { grid-template-columns: 1fr; gap: 50px; }
    .phone { height: 560px; }
    .numbers { grid-template-columns: repeat(2, 1fr); }
    .numbers div:nth-child(2) { border-inline-end: 0; }
    .numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  }
  @media (max-width: 560px) {
    :root { --nav-h: 64px; }
    .brand span, .nav-right > .btn { display: none; }
    .hero-cta .btn, .store { width: 100%; }
    .lang button { padding: 5px 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .quote blockquote .w { opacity: 1; }
    .bar i { transform: scaleX(1); }
  }

  .plans-link { position: relative; display: inline-block; margin-top: 14px; color: var(--gold-soft); font-size: .95rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s, border-color .25s; }
  .plans-link:hover { color: var(--gold); border-color: var(--gold); }
