/* ============================================================
   Hayya — hayyapp.com
   Design tokens mirror the iOS app's DesignSystem.swift
   ============================================================ */

:root {
  --bg:            #070F1C;
  --bg-deep:       #050B15;
  --card:          #0D1B2E;
  --card-2:        #111E30;
  --gold:          #D4A853;
  --gold-bright:   #F0C040;
  --teal:          #1E8A7A;
  --flame-orange:  #FF6B00;
  --flame-gold:    #FFD700;
  --text:          #F2F2F2;
  --text-sub:      #8FA6BC;
  --text-muted:    #6B849A;
  --border:        #1E3A5F;

  --radius-sm:  8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-arabic: "Amiri", "Geeza Pro", serif;

  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(212, 168, 83, 0.35); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

img, svg { display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Ambient background ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(212, 168, 83, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 35% at 88% 28%, rgba(30, 138, 122, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 40% at 8% 70%, rgba(255, 107, 0, 0.05), transparent 65%),
    var(--bg);
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(240,192,64,.7), transparent 100%),
    radial-gradient(1px 1px at 28% 64%, rgba(242,242,242,.45), transparent 100%),
    radial-gradient(1.4px 1.4px at 41% 12%, rgba(212,168,83,.6), transparent 100%),
    radial-gradient(1px 1px at 57% 48%, rgba(242,242,242,.3), transparent 100%),
    radial-gradient(1.3px 1.3px at 68% 19%, rgba(240,192,64,.55), transparent 100%),
    radial-gradient(1px 1px at 79% 73%, rgba(242,242,242,.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 38%, rgba(212,168,83,.5), transparent 100%),
    radial-gradient(1px 1px at 7% 86%, rgba(242,242,242,.35), transparent 100%),
    radial-gradient(1.2px 1.2px at 94% 88%, rgba(240,192,64,.45), transparent 100%),
    radial-gradient(1px 1px at 50% 92%, rgba(242,242,242,.3), transparent 100%);
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: .55; }
  to   { opacity: 1; }
}

/* ---------- Nav ---------- */

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 15, 28, 0.78);
  border-bottom: 1px solid rgba(30, 58, 95, 0.55);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--text); }

.brand .flame-mark { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.nav-links a { color: var(--text-sub); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: #1A1205;
  box-shadow: 0 0 24px rgba(212, 168, 83, 0.35);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(240, 192, 64, 0.5);
  color: #1A1205;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(13, 27, 46, 0.6);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.08);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero .arabic {
  font-family: var(--font-arabic);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 12px;
  direction: rtl;
}

h1.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

h1.display .gold {
  background: linear-gradient(110deg, var(--gold) 10%, var(--gold-bright) 50%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 19px;
  color: var(--text-sub);
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 920px) { .hero-ctas { justify-content: center; } }

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Phone mockup ---------- */

.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: 10% 18%;
  background: radial-gradient(ellipse at center, rgba(212,168,83,0.22), transparent 65%);
  filter: blur(30px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #16263C, #0A1424);
  border: 1px solid rgba(30, 58, 95, 0.9);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 168, 83, 0.12);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.screen {
  background: var(--bg);
  border-radius: 34px;
  padding: 22px 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, 0.5);
}

.scr-greeting { font-size: 12px; color: var(--text-muted); }
.scr-name { font-size: 17px; font-weight: 700; margin-bottom: 14px; }

.scr-flame-card {
  background: linear-gradient(150deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.scr-flame-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.6));
  animation: flicker 2.4s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(255,107,0,.6)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255,215,0,.7)); }
}

.scr-streak-num { font-size: 21px; font-weight: 800; color: var(--gold-bright); line-height: 1.1; }
.scr-streak-lbl { font-size: 11px; color: var(--text-muted); }

.scr-next {
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.scr-next-lbl { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.scr-next-name { font-size: 15px; font-weight: 700; }
.scr-next-time { font-size: 13px; color: var(--text-sub); }

.scr-prayer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid rgba(30, 58, 95, 0.6);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  margin-bottom: 7px;
  font-size: 13.5px;
}
.scr-prayer .nm { font-weight: 600; }
.scr-prayer .tm { color: var(--text-muted); font-size: 12.5px; }

.tick {
  width: 19px; height: 19px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.tick.done { background: rgba(30, 138, 122, 0.25); color: #4ECCB8; border: 1px solid rgba(78, 204, 184, .5); }
.tick.todo { border: 1.5px dashed var(--text-muted); color: transparent; }

.scr-quest {
  margin-top: 11px;
  font-size: 11.5px;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.07);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  text-align: center;
  font-weight: 600;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h2.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.sec-sub { color: var(--text-sub); font-size: 18px; }

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: linear-gradient(160deg, var(--card), rgba(13, 27, 46, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}

.pillar .ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  margin-bottom: 18px;
  font-size: 22px;
}

.pillar h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--text-sub); font-size: 15.5px; }

/* ---------- Feature grid ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease;
}
.feat:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 30px rgba(212,168,83,.08);
}

.feat .emoji { font-size: 26px; margin-bottom: 14px; }
.feat h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 7px; }
.feat h3 .ar { font-family: var(--font-arabic); color: var(--gold); font-weight: 400; font-size: 16px; margin-left: 6px; }
.feat p { color: var(--text-sub); font-size: 15px; }

.feat .soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(30, 138, 122, 0.5);
  border-radius: 100px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ---------- Journey (levels) ---------- */

.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
@media (max-width: 880px) { .journey { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.level {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  position: relative;
}

.level .num {
  width: 34px; height: 34px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.45);
  color: var(--gold-bright);
}

.level.final {
  border-color: rgba(240, 192, 64, 0.6);
  background: linear-gradient(170deg, rgba(212, 168, 83, 0.12), var(--card));
  box-shadow: 0 0 36px rgba(212, 168, 83, 0.14);
}

.level .ar { font-family: var(--font-arabic); font-size: 21px; color: var(--gold); margin-bottom: 4px; }
.level h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.level .en { font-size: 13px; color: var(--text-muted); }

/* ---------- Salah Lock banner ---------- */

.lock-banner {
  background:
    radial-gradient(ellipse 60% 100% at 80% 0%, rgba(30, 138, 122, 0.16), transparent 60%),
    linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .lock-banner { grid-template-columns: 1fr; padding: 40px 28px; } }

.lock-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 14px;
}
.lock-banner p { color: var(--text-sub); margin-bottom: 10px; }

.lock-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lock-app {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 15, 28, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.lock-app .pad { margin-left: auto; font-size: 16px; }
.lock-app .appdot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, #233852, #16263C); border: 1px solid var(--border); }

.lock-msg {
  text-align: center;
  font-size: 13.5px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- Privacy section ---------- */

.privacy-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.45), rgba(7, 15, 28, 0));
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

.priv {
  text-align: center;
  padding: 28px 20px;
}
.priv .ico { font-size: 30px; margin-bottom: 14px; }
.priv h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.priv p { font-size: 15px; color: var(--text-sub); }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border-color: rgba(240, 192, 64, 0.65);
  background: linear-gradient(170deg, rgba(212, 168, 83, 0.1), var(--card));
  box-shadow: 0 0 50px rgba(212, 168, 83, 0.15);
}

.plan .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  color: #1A1205;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.plan .price { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1.1; }
.plan .price span { font-size: 16px; color: var(--text-muted); font-family: var(--font-body); font-weight: 500; }
.plan .alt { font-size: 14px; color: var(--text-sub); margin: 6px 0 20px; }

.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-sub);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M4 8.5l2.5 2.5L12 5.5" stroke="%23F0C040" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/10px no-repeat;
  border: 1px solid rgba(212, 168, 83, 0.4);
}
.plan li strong { color: var(--text); font-weight: 600; }

.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }

details .ans {
  padding: 0 24px 22px;
  color: var(--text-sub);
  font-size: 15.5px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  padding: 110px 0 120px;
  position: relative;
}

.final-cta .arabic {
  font-family: var(--font-arabic);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 18px;
  direction: rtl;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  max-width: 18ch;
  margin: 0 auto 20px;
}

.final-cta p { color: var(--text-sub); font-size: 18px; margin-bottom: 36px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--text-sub); }
.foot-links a:hover { color: var(--gold-bright); }

.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text);
}
.foot-brand .flame-mark { width: 20px; height: 20px; }

/* ============================================================
   Subpages (privacy / support / 404)
   ============================================================ */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.page .kicker { margin-bottom: 10px; }

.page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.page .updated { color: var(--text-muted); font-size: 14.5px; margin-bottom: 44px; }

.page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 44px 0 14px;
  color: var(--text);
}

.page h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 10px; }

.page p, .page li { color: var(--text-sub); font-size: 16px; }
.page p { margin-bottom: 14px; }
.page ul { margin: 0 0 16px 22px; }
.page li { margin-bottom: 8px; }
.page strong { color: var(--text); font-weight: 600; }

.callout {
  background: rgba(212, 168, 83, 0.07);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); }

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 36px 0;
}
@media (max-width: 640px) { .support-cards { grid-template-columns: 1fr; } }

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.support-card .ico { font-size: 26px; margin-bottom: 12px; }
.support-card h3 { margin-top: 0; }
.support-card p { font-size: 15px; margin-bottom: 12px; }

.center-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.center-404 .arabic { font-family: var(--font-arabic); font-size: 30px; color: var(--gold); margin-bottom: 16px; }
.center-404 h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); font-weight: 600; margin-bottom: 14px; }
.center-404 p { color: var(--text-sub); margin-bottom: 30px; }

/* ---------- Real screenshot in phone frame ---------- */

.screen.shot {
  padding: 0;
  border: none;
  background: transparent;
}
.screen.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 33px;
}

/* ---------- Spotlight (Salah Log) ---------- */

.spotlight {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .spotlight { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .spotlight-copy { display: flex; flex-direction: column; align-items: center; }
}

.spotlight-media { display: flex; justify-content: center; }
.spotlight-copy .sec-sub { margin-bottom: 26px; }

.log-list {
  list-style: none;
  width: 100%;
  max-width: 540px;
  text-align: left;
  margin: 0 0 32px;
}
.log-list li {
  position: relative;
  padding: 11px 0 11px 32px;
  font-size: 16px;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(30, 58, 95, 0.35);
}
.log-list li:last-child { border-bottom: none; }
.log-list li strong { color: var(--text); font-weight: 600; }
.log-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M4 8.5l2.5 2.5L12 5.5" stroke="%23F0C040" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/11px no-repeat;
  border: 1px solid rgba(212, 168, 83, 0.4);
}

/* ---------- Screenshot gallery (horizontal scroll) ---------- */

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 28px;
  padding-inline: max(24px, calc((100% - var(--max-w)) / 2 + 24px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  width: 232px;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5);
  background: var(--bg-deep);
}
.shot img { width: 100%; height: auto; display: block; }

@media (max-width: 520px) { .shot { width: 200px; } }

/* ---------- Language switcher ---------- */

.lang {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.lang-link {
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
}
.lang-link.active { background: rgba(212, 168, 83, 0.16); color: var(--gold-bright); }
.lang-link:hover { color: var(--text); }
.lang-link + .lang-link { border-inline-start: 1px solid var(--border); }

@media (max-width: 720px) {
  .nav-links a.lang-link { display: inline-flex; }
}

/* ---------- RTL / Arabic ---------- */

[dir="rtl"] {
  --font-body: "Noto Sans Arabic", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Amiri", "Noto Kufi Arabic", "Fraunces", serif;
}
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .lede,
[dir="rtl"] .sec-sub,
[dir="rtl"] .pillar p,
[dir="rtl"] .feat p { line-height: 1.85; }
[dir="rtl"] .hero .arabic,
[dir="rtl"] .final-cta .arabic,
[dir="rtl"] .level .ar { direction: rtl; }
[dir="rtl"] .feat h3 .ar { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .plan li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .plan li::before { left: auto; right: 0; }
[dir="rtl"] .log-list li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .log-list li::before { left: auto; right: 0; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .kicker { letter-spacing: 0.04em; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
