/* Najma promo page. Builds on style.css (fonts, colours). */
:root {
  --night-2: #1b1f55;
  --asr: #ffd23f;
}

body.home { background: var(--paper); }

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 18px 16px;
}
.nav .wrap { max-width: 1120px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav .brand { color: var(--paper); }
.nav .navlinks .tab { color: var(--paper); }

/* ---------- hero ---------- */
.hero-home {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, #343b8f 0%, var(--night) 45%, var(--night-2) 100%);
  color: var(--paper);
  padding: 120px 16px 0;
}
.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.hero-copy { padding-bottom: 96px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
}
.hero-home h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  line-height: 0.98;
  margin: 22px 0 18px;
}
.hero-home h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: #dfe2ff; max-width: 34em; margin: 0 0 28px; }
.fineprint { margin-top: 14px; font-size: 14px; color: #b9bdf0; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 10px 20px 10px 16px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0, 0, 0, 0.45); }
.store:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: 0.8; line-height: 1.2; }
.store strong { display: block; font-size: 19px; line-height: 1.2; }
.store.soon {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  cursor: default;
}
.store.soon:hover { transform: none; }
.light .store.soon { border-color: var(--ink); color: var(--ink); }

/* phone */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 16;
  border-radius: 40px;
  border: 10px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 30px; }
.hero-home .phone { margin-bottom: -60px; transform: rotate(-4deg); animation: float 6s ease-in-out infinite; }
[dir='rtl'] .hero-home .phone { transform: rotate(4deg); animation-name: float-rtl; }

.chip {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 8px 14px;
  font-weight: 800;
  box-shadow: 0 5px 0 var(--ink);
  white-space: nowrap;
}
.chip.one { top: 18%; inset-inline-start: -4%; background: var(--gold); animation: bob 4s ease-in-out infinite; }
.chip.two { top: 52%; inset-inline-end: -6%; background: var(--dhuhr); animation: bob 5s ease-in-out -1.5s infinite; }

.twinkle { position: absolute; color: var(--gold); animation: twinkle 3s ease-in-out infinite; pointer-events: none; }
.twinkle.w { color: #fff; }

@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
@keyframes float-rtl { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- sections ---------- */
section.block { padding: 110px 16px 40px; }
section.block .wrap { max-width: 1120px; }
.kicker { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; color: #6b6f9a; }
[lang='ar'] .kicker { letter-spacing: 0; }
h2.big { font-size: clamp(32px, 5vw, 50px); line-height: 1.05; margin: 8px 0 14px; display: block; }
h2.big::before { content: none; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step {
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 6px 0 var(--ink);
  background: var(--paper);
}
.step:nth-child(1) { background: #efe9ff; }
.step:nth-child(2) { background: #e3fff0; }
.step:nth-child(3) { background: #fff6cc; }
.step .num {
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px;
}
.step h3 { font-size: 22px; margin: 16px 0 6px; }
.step p { margin: 0; color: #3b3c45; }
.pill { display: inline-block; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 1px 10px; font-weight: 700; font-size: 14px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 0;
}
.feature + .feature { border-top: 2px dashed #e4e2d8; }
.feature.flip .phone-stage { order: -1; }
.feature h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.08; margin: 10px 0 12px; }
.feature p { font-size: 18px; color: #3b3c45; margin: 0 0 12px; }
.feature ul { list-style: none; padding: 0; margin: 16px 0 0; }
.feature li { margin: 10px 0; padding-inline-start: 30px; position: relative; font-weight: 600; }
.feature li::before {
  content: '★';
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  color: #e0b400;
  font-size: 20px;
}
.feature .phone { width: min(300px, 72vw); box-shadow: 0 6px 0 var(--ink), 0 24px 50px rgba(17, 17, 17, 0.18); }
.blob {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* family + privacy */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.card-lite {
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 6px 0 var(--ink);
}
.card-lite h3 { font-size: 24px; margin: 6px 0 8px; }
.card-lite p { margin: 0; color: #3b3c45; }
.card-lite .emoji { font-size: 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badges span { border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 14px; background: var(--paper); }

/* final call to action */
.cta {
  margin: 90px 16px 0;
  border-radius: 36px;
  background: var(--night);
  color: var(--paper);
  border: 2.5px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta .wrap { max-width: 720px; }
.cta h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; display: block; margin: 14px 0 10px; }
.cta h2::before { content: none; }
.cta p { color: #dfe2ff; margin: 0 0 26px; }
.cta .stores { justify-content: center; }
.cta-star { width: 88px; height: 88px; }

footer.home-foot { padding: 36px 16px 44px; text-align: center; font-size: 14px; color: var(--muted); }
footer.home-foot p { margin: 6px 0; }
footer.home-foot a { margin: 0 6px; }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .hero-home { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .hero-copy { padding-bottom: 20px; }
  .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .chip.one { inset-inline-start: 2%; }
  .chip.two { inset-inline-end: 2%; }
  .steps-grid, .cards { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 50px 0; text-align: center; }
  .feature.flip .phone-stage { order: 0; }
  .feature ul { display: inline-block; text-align: start; }
  section.block { padding-top: 90px; }
  .cta { margin-inline: 12px; }
}
@media (max-width: 420px) {
  .store { min-width: 0; width: 100%; justify-content: center; }
  .chip { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-home .phone, [dir='rtl'] .hero-home .phone, .chip, .twinkle { animation: none; }
}

/* intention: the why behind Najma */
.intention { padding: 90px 16px 20px; text-align: center; }
.intention .wrap { max-width: 820px; }
.intention blockquote {
  margin: 18px 0 8px;
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.9; /* room for the full vowel marks */
  color: var(--night);
}
.intention .source { font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.intention .translation { font-size: 19px; font-style: italic; color: #3b3c45; margin: 0 0 22px; }
.intention p.body { font-size: 18px; color: #3b3c45; max-width: 40em; margin: 0 auto; }
.intention .rule { width: 72px; height: 6px; border-radius: 6px; background: var(--gold); border: 2px solid var(--ink); margin: 0 auto; }

.verse {
  font-family: 'Rubik', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.6;
  color: var(--gold);
  margin: 6px 0 0;
}
.verse-ref { font-size: 14px; color: #b9bdf0; margin: 4px 0 18px; }
.hero-verse { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.hero-home .verse-ref { margin: 4px 0 0; }
.hero-home .verse-ref + h1 { margin-top: 18px; }
html[lang='en'] .hero-verse { text-align: left; }
@media (max-width: 860px) { html[lang='en'] .hero-verse { text-align: center; } }
html[lang='ar'] .hero-home h1 { font-size: clamp(40px, 6vw, 66px); }
