/* www.nouralmuslim.com — "Midnight Iznik" design system
   Night-sky navy and gold taken from the app, Iznik glaze colours for tiles,
   8-point star geometry, mihrab arches.  Logical properties throughout (RTL-ready). */

@font-face { font-family: "Amiri"; src: url(/assets/fonts/amiri-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amiri"; src: url(/assets/fonts/amiri-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Amiri Quran"; src: url(/assets/fonts/amiri-quran.woff2) format("woff2"); font-display: block; }

:root {
  --night: #070d22; --night-2: #0b1430; --night-3: #121d45;
  --bg: var(--night); --bg-2: var(--night-2); --surface: rgba(255,255,255,.045); --surface-2: rgba(255,255,255,.08);
  --ink: #eef1fb; --muted: #a9b3d3; --faint: #6f7ba3;
  --line: rgba(232,196,104,.16); --line-2: rgba(255,255,255,.09);
  --gold: #e8c468; --gold-2: #f6dc8e; --gold-3: #b5832a; --gold-ink: #1a1405;
  --blue: #2f55c4; --red: #b5424f; --teal: #17847c; --navy: #1b2a66;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  --glow: 0 0 0 1px rgba(232,196,104,.25), 0 20px 60px -20px rgba(232,196,104,.35);
  --r: 22px; --r-sm: 14px;
  --f-display: "Amiri", "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  --f-quran: "Amiri Quran", "Amiri", "Noto Naskh Arabic", serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --hdr: 72px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f2e6; --bg-2: #efe6d1; --surface: #fffdf7; --surface-2: #fff;
  --ink: #131c3b; --muted: #4f5a7b; --faint: #7d859f;
  --line: rgba(154,107,18,.22); --line-2: rgba(19,28,59,.1);
  --gold: #9a6b12; --gold-2: #b98419; --gold-3: #7b520a;
  --shadow: 0 30px 70px -35px rgba(40,30,10,.45);
  --glow: 0 0 0 1px rgba(154,107,18,.25), 0 20px 50px -25px rgba(154,107,18,.45);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f2e6; --bg-2: #efe6d1; --surface: #fffdf7; --surface-2: #fff;
    --ink: #131c3b; --muted: #4f5a7b; --faint: #7d859f;
    --line: rgba(154,107,18,.22); --line-2: rgba(19,28,59,.1);
    --gold: #9a6b12; --gold-2: #b98419; --gold-3: #7b520a;
    --shadow: 0 30px 70px -35px rgba(40,30,10,.45);
    --glow: 0 0 0 1px rgba(154,107,18,.25), 0 20px 50px -25px rgba(154,107,18,.45);
    color-scheme: light;
  }
}
/* bands that stay night-coloured in both themes (hero, day, privacy, CTA) */
.night, .hdr, .ftr, .floaty, .lang-menu {
  --bg: var(--night); --bg-2: var(--night-2); --surface: rgba(255,255,255,.05); --surface-2: rgba(255,255,255,.09);
  --ink: #eef1fb; --muted: #a9b3d3; --faint: #7480a8;
  --line: rgba(232,196,104,.18); --line-2: rgba(255,255,255,.1);
  --gold: #e8c468; --gold-2: #f6dc8e; --gold-3: #b5832a;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: "Amiri", var(--f-body); font-size: 19px; line-height: 1.8; }
html[lang="ur"] body { line-height: 2; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.45; letter-spacing: 0; }
html:is([lang="zh-Hans"],[lang="ja"],[lang="ko"],[lang="hi"],[lang="bn"]) :is(h1,h2,h3) { font-family: var(--f-body); font-weight: 800; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; flex: none; }
.ic-xs { width: 14px; height: 14px; flex: none; }
.ic-li { width: 18px; height: 18px; flex: none; color: var(--gold); }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.up { transform: rotate(-90deg); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
:root[data-theme="light"] .stars { opacity: .0; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .stars { opacity: 0; } }
main, .ftr { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 15.5px; text-decoration: none;
  color: var(--gold-ink); background: linear-gradient(135deg, #f6dc8e, #e2b04f 55%, #c79236); box-shadow: 0 10px 30px -12px rgba(226,176,79,.7), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); border: 0; cursor: pointer; font-family: var(--f-body); }
.btn:hover { color: var(--gold-ink); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(226,176,79,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.big { padding: 17px 28px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--gold-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.hdr.scrolled { background: rgba(7,13,34,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(232,196,104,.35)); transition: transform 1.2s var(--ease); }
.brand:hover .logo-mark { transform: rotate(45deg); }
.brand-t { display: flex; flex-direction: column; line-height: 1.05; }
.brand-t b { font: 700 20px/1.1 var(--f-display); letter-spacing: .01em; }
.brand-t small { font: 400 14px/1.2 "Amiri", serif; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; font-family: var(--f-body); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--surface); }
.hdr-tools { display: flex; align-items: center; gap: 8px; }
.theme-btn, .burger { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; } :root[data-theme="light"] .theme-btn .i-moon { display: none; }
.burger { display: none; gap: 4px; align-content: center; justify-items: center; }
.burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; display: block; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* language menu */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--ink); font: 550 14px var(--f-body); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { border-color: var(--gold); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: min(520px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; padding: 14px; border-radius: 18px;
  background: rgba(11,20,48,.97); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(20px); animation: pop .25s var(--ease); }
.lang-title { margin: 2px 6px 10px; font: 600 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lang-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
.lang-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 15px; }
.lang-list a small { color: var(--faint); font: 600 11px var(--f-body); }
.lang-list a:hover { background: var(--surface-2); }
.lang-list a[aria-current] { background: linear-gradient(135deg, rgba(246,220,142,.2), rgba(181,131,42,.15)); box-shadow: inset 0 0 0 1px var(--line); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- section scaffolding ---------- */
section { position: relative; padding-block: clamp(72px, 10vw, 130px); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 650 12.5px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.ic-k { width: 14px; height: 14px; animation: spin 14s linear infinite; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .ic-li { margin-top: 4px; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.fine { font-size: 14px; color: var(--faint); }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--hdr) + 40px); padding-bottom: 90px; overflow: hidden;
  background: radial-gradient(1200px 700px at 75% 20%, rgba(47,85,196,.28), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(181,66,79,.16), transparent 60%), linear-gradient(180deg, #050a1c, var(--night) 60%, var(--night-2)); }
.hero-pattern, .cta-pattern { position: absolute; inset: 0; background: url(/assets/img/pattern.svg) center/160px repeat; opacity: .07;
  -webkit-mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); animation: drift 120s linear infinite; }
@keyframes drift { to { background-position: 1600px 800px; } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(232,196,104,.07); color: var(--gold-2); font: 600 13px var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.hero h1, .page-hero h1 { font-size: clamp(46px, 7.4vw, 96px); margin: 22px 0 22px; line-height: 1.02; }
html[dir="rtl"] .hero h1 { line-height: 1.3; }
.hero h1 span { display: block; }
.glow-text { background: linear-gradient(100deg, #fff6d6 0%, #f6dc8e 25%, #e2b04f 50%, #f6dc8e 75%, #fff6d6 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; filter: drop-shadow(0 0 30px rgba(232,196,104,.25)); }
@keyframes shine { to { background-position: -200% center; } }
.hero-sub { font-size: clamp(17.5px, 1.7vw, 21px); color: var(--muted); max-width: 600px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.center-stores { justify-content: center; }
.store { position: relative; display: inline-block; border-radius: 10px; transition: transform .3s var(--ease), filter .3s; }
.store img { height: 52px; width: auto; }
.store:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 20px rgba(0,0,0,.45)); }
.store .soon { position: absolute; top: -9px; inset-inline-end: -8px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 700 10.5px/1.6 var(--f-body); letter-spacing: .04em; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.35); display: none; }
.store.is-soon .soon { display: block; }
.store.is-soon { cursor: default; }
.small-stores .store img { height: 40px; }
.pills { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.pills li { display: inline-flex; gap: 7px; align-items: center; }
.tour-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.play-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(232,196,104,.12); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.play-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; transform-style: preserve-3d; }
.rosette { position: absolute; width: min(620px, 120%); aspect-ratio: 1; background: url(/assets/img/rosette.svg) center/contain no-repeat; opacity: .55; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arch { position: absolute; width: min(400px, 82%); height: 92%; color: var(--gold); opacity: .55; filter: drop-shadow(0 0 18px rgba(232,196,104,.35)); }
.arch-svg { width: 100%; height: 100%; }
.arch::before { content: ""; position: absolute; inset: 6% 6% 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: radial-gradient(closest-side at 50% 30%, rgba(246,220,142,.22), transparent); }
.phone { position: relative; margin: 0; width: 280px; aspect-ratio: 384/796; border-radius: 42px; padding: 9px; background: linear-gradient(145deg, #2a3358, #0d1430 40%, #1c2550); box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06), var(--shadow), 0 0 70px -20px rgba(47,85,196,.6); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #0a1230; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 20px; background: #03050d; z-index: 2; }
.phone-hero { width: clamp(240px, 24vw, 300px); animation: float 7s ease-in-out infinite; z-index: 2; }
@keyframes float { 50% { transform: translateY(-14px); } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 14px; font: 600 13.5px var(--f-body); color: var(--ink);
  background: rgba(16,26,64,.72); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); white-space: nowrap; }
.chip .ic-sm { color: var(--gold); }
.chip-a { top: 3%; inset-inline-start: -10%; animation: float 6s ease-in-out infinite .5s; }
.chip-b { top: 46%; inset-inline-end: -4%; animation: float 7.5s ease-in-out infinite 1s; }
.chip-c { bottom: 10%; inset-inline-start: 4%; animation: float 6.5s ease-in-out infinite 1.6s; }
.moon { position: absolute; top: 15%; inset-inline-end: 7%; width: 90px; height: 90px; border-radius: 50%; box-shadow: inset -22px 10px 0 0 #f6dc8e; filter: drop-shadow(0 0 30px rgba(246,220,142,.55)); opacity: .9; z-index: 1; animation: float 10s ease-in-out infinite; }
html[dir="rtl"] .moon { box-shadow: inset 22px 10px 0 0 #f6dc8e; }
.lanterns { position: absolute; inset: var(--hdr) 0 auto 0; height: 0; z-index: 1; }
.lantern { position: absolute; top: 0; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
.lantern-svg { width: 46px; height: auto; filter: drop-shadow(0 0 20px rgba(255,215,122,.5)); }
.lantern.l1 { inset-inline-start: 6%; top: -10px; }
.lantern.l2 { inset-inline-start: 46%; top: -40px; animation-delay: -2s; transform: scale(.75); }
.lantern.l2 .lantern-svg { width: 34px; }
.lantern.l3 { inset-inline-end: 30%; top: -20px; animation-delay: -4s; }
.lantern.l3 .lantern-svg { width: 38px; }
@keyframes sway { 0%,100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.lantern-glow { animation: flicker 3s ease-in-out infinite; }
@keyframes flicker { 0%,100% { opacity: .85; } 45% { opacity: .6; } 55% { opacity: .95; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line); z-index: 2; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: .3; } }

/* ---------- stats ---------- */
.stats { padding-block: 0; margin-top: -1px; background: linear-gradient(180deg, var(--night-2), var(--bg)); }
:root[data-theme="light"] .stats { background: linear-gradient(180deg, var(--night-2) 0 50%, var(--bg) 50%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; translate: 0 -40px; box-shadow: var(--shadow); }
.stat { background: linear-gradient(160deg, #0f1a42, #0a1230); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; color: #eef1fb; }
.stat b { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--f-display); color: #f6dc8e; font-variant-numeric: tabular-nums; }
.stat span { color: #a9b3d3; font-size: 14.5px; line-height: 1.4; }

/* ---------- Mushaf showcase ---------- */
.lit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.mushaf-card { margin: 0; perspective: 1200px; }
.mushaf-frame { position: relative; padding: 34px 30px 22px; border-radius: 18px; color: #1c1a12;
  background: radial-gradient(circle at 50% 40%, #fbf5e2, #efe2bd); box-shadow: 0 0 0 8px #13306b, 0 0 0 10px #d6b25e, 0 0 0 16px #0d1f4d, 0 0 0 17px #d6b25e, var(--shadow), 0 0 120px -30px rgba(232,196,104,.5);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform 1s var(--ease); }
html[dir="rtl"] .mushaf-frame { transform: rotateY(8deg) rotateX(4deg); }
.mushaf-card:hover .mushaf-frame { transform: none; }
.mushaf-frame::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(19,48,107,.35); border-radius: 12px; pointer-events: none; background: url(/assets/img/border.svg) center/40px repeat; opacity: .14; }
.mushaf-head { text-align: center; margin-bottom: 14px; position: relative; }
.mushaf-head span { display: inline-block; padding: 4px 34px; font: 400 24px/1.6 var(--f-quran); color: #13306b; border-radius: 10px; background: linear-gradient(90deg, transparent, rgba(214,178,94,.35), transparent); }
.mushaf-text { font: 400 clamp(23px, 2.5vw, 31px)/2.35 var(--f-quran); text-align: justify; text-align-last: center; margin: 0; position: relative; }
.mushaf-text .w { padding: 0 2px; border-radius: 8px; transition: background .25s, color .25s, box-shadow .25s; }
.mushaf-text .w.on { background: rgba(47,85,196,.18); color: #0d2a7a; box-shadow: 0 0 0 2px rgba(47,85,196,.12); }
.mushaf-text .w.done { color: #2d2a1e; }
.mushaf-text .ayah-end { color: #9a6b12; font-size: .9em; }
.mushaf-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(19,48,107,.15); font: 600 13px var(--f-body); color: #4b4a3f; direction: ltr; }
html[dir="rtl"] .mushaf-bar { direction: rtl; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.eq i, .tv-eq i { width: 3px; background: #2f55c4; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 16px; } }
.lit-copy .ticks { margin-top: 10px; }

/* ---------- feature tiles (Iznik glaze) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.tiles .tile:first-child { grid-column: span 2; }
.tiles .tile:first-child h3 { font-size: 28px; }
.tiles .tile:first-child p { font-size: 16.5px; max-width: 46ch; }
.tile { --t1: #1c2a63; --t2: #0f1840; position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: var(--r); color: #f3f5fd; min-height: 230px;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(160deg, var(--t1), var(--t2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25), 0 22px 40px -24px rgba(0,0,0,.7);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 60px -25px rgba(0,0,0,.75), 0 0 0 1px rgba(246,220,142,.5); }
.tone-gold { --t1: #c99a3e; --t2: #8a6216; color: #1d1404; }
.tone-blue { --t1: #3e63d6; --t2: #1b3590; }
.tone-red { --t1: #c4525f; --t2: #7c2533; }
.tone-teal { --t1: #23978e; --t2: #0d5a55; }
.tone-navy { --t1: #26357a; --t2: #111a47; }
.tile-glaze { position: absolute; inset: 0; background: url(/assets/img/pattern.svg) center/120px; opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.tile::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1.1s var(--ease); pointer-events: none; }
.tile:hover::after { transform: translateX(60%); }
.tile-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: #2a1d02;
  background: radial-gradient(circle at 35% 30%, #fff1c2, #e6b955 60%, #a77521); box-shadow: 0 6px 16px -4px rgba(0,0,0,.5), inset 0 -2px 4px rgba(0,0,0,.2); transform: translateZ(30px); }
.tile-n { position: absolute; top: 20px; inset-inline-end: 22px; font: 700 15px var(--f-display); opacity: .55; }
.tile h3 { font-size: 22px; margin-bottom: 8px; transform: translateZ(20px); }
.tile p { font-size: 15px; line-height: 1.55; opacity: .88; margin: 0; }
.features .center { margin-top: 40px; }

/* ---------- spotlights ---------- */
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.spot.alt .spot-copy { order: 2; }
.spot::before { content: ""; position: absolute; inset: 10% auto auto 50%; width: 600px; height: 600px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,85,196,.12), transparent); pointer-events: none; }
.phones { display: flex; justify-content: center; align-items: center; position: relative; min-height: 520px; }
.phone-sm { width: clamp(210px, 20vw, 250px); }
.phones .phone-back { margin-inline-start: -70px; transform: translateY(50px) rotate(4deg) scale(.92); z-index: 0; filter: brightness(.85); }
html[dir="rtl"] .phones .phone-back { transform: translateY(50px) rotate(-4deg) scale(.92); }
.phones .phone:first-child { z-index: 1; transform: rotate(-3deg); }
.spot-strata .spot-art { position: relative; display: grid; place-items: center; min-height: 540px; }
.spot-strata .phone-back { position: absolute; inset-inline-end: 0; top: 0; opacity: .5; transform: rotate(6deg) scale(.85); filter: blur(1px); }
.strata-demo { position: relative; z-index: 2; width: min(460px, 100%); padding: 22px; border-radius: 24px; background: linear-gradient(170deg, rgba(23,36,86,.95), rgba(10,18,48,.97)); color: #eef1fb;
  border: 1px solid rgba(232,196,104,.25); box-shadow: var(--shadow), 0 0 80px -30px rgba(232,196,104,.5); }
.sd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sd-logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f6dc8e, #c79236); color: #1a1405; }
.sd-dev { margin-inline-start: auto; display: inline-flex; gap: 6px; align-items: center; font: 600 12px var(--f-body); color: #7fe0b5; padding: 4px 10px; border-radius: 999px; background: rgba(46,230,166,.1); }
.sd-q { margin-inline-start: auto; width: fit-content; max-width: 85%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: #2f55c4; color: #fff; font-size: 15.5px; }
html[dir="rtl"] .sd-q { border-radius: 18px 18px 18px 4px; }
.sd-typing { display: flex; align-items: center; gap: 5px; margin: 16px 0 0; color: #a9b3d3; font-size: 13.5px; }
.sd-typing i { width: 7px; height: 7px; border-radius: 50%; background: #e8c468; animation: dot 1.2s infinite; }
.sd-typing i:nth-child(2) { animation-delay: .15s; } .sd-typing i:nth-child(3) { animation-delay: .3s; }
.sd-typing span { margin-inline-start: 6px; }
@keyframes dot { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.sd-a { margin-top: 14px; padding: 16px; border-radius: 4px 18px 18px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
html[dir="rtl"] .sd-a { border-radius: 18px 4px 18px 18px; }
.sd-label { display: flex; align-items: center; gap: 6px; font: 700 12px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #e8c468; margin-bottom: 8px; }
.sd-ar { font: 400 23px/2 "Amiri", serif; color: #fff6d6; margin: 0 0 6px; text-align: center; }
.sd-tr { font-size: 15.5px; color: #d9def0; margin-bottom: 10px; }
.sd-ref { display: inline-block; padding: 3px 11px; border-radius: 999px; font: 700 12.5px var(--f-body); color: #1a1405; background: #e8c468; }
.sd-note { margin: 12px 0 0; font-size: 13px; color: #8f9abf; }
.js .strata-demo .sd-a, .js .strata-demo .sd-typing { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .strata-demo.st-typing .sd-typing, .js .strata-demo.st-answer .sd-a { opacity: 1; transform: none; }
.js .strata-demo.st-answer .sd-typing { display: none; }
.devices { position: relative; min-height: 460px; display: grid; place-items: center; padding-bottom: 50px; }
.tv { position: relative; width: min(520px, 100%); }
.tv-screen { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #050a1c; border: 10px solid #121a35; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08), 0 0 90px -30px rgba(47,85,196,.7); display: grid; grid-template-columns: 1fr 1fr; }
.tv-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tv-side { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 10px; background: radial-gradient(circle at 50% 30%, #17245a, #070d22); color: #eef1fb; text-align: center; }
.tv-k { font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #a9b3d3; }
.tv-time { font: 700 clamp(30px, 4vw, 46px)/1 var(--f-display); color: #f6dc8e; font-variant-numeric: tabular-nums; }
.tv-hijri { font-size: 12px; color: #a9b3d3; }
.tv-eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; margin-top: 8px; }
.tv-eq i { background: #e8c468; animation-duration: 1.2s; }
.tv-eq i:nth-child(2) { animation-delay: -.2s; } .tv-eq i:nth-child(3) { animation-delay: -.5s; } .tv-eq i:nth-child(4) { animation-delay: -.7s; } .tv-eq i:nth-child(5) { animation-delay: -.9s; }
.tv-stand { width: 34%; height: 18px; margin: 0 auto; background: linear-gradient(#1a2347, #0b1129); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.watch { position: absolute; inset-inline-start: -2%; bottom: 0; width: 120px; aspect-ratio: .85; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #2a3358, #0d1430); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.watch::before, .watch::after { content: ""; position: absolute; left: 22%; right: 22%; height: 30px; background: #18214a; z-index: -1; }
.watch::before { top: -24px; border-radius: 10px 10px 0 0; } .watch::after { bottom: -24px; border-radius: 0 0 10px 10px; }
.watch-face { position: relative; height: 100%; border-radius: 26px; background: #03050d; display: grid; place-items: center; }
.watch-face svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(232,196,104,.15); stroke-width: 7; }
.ring { fill: none; stroke: #e8c468; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; animation: ring 8s ease-in-out infinite; }
@keyframes ring { 50% { stroke-dashoffset: 60; } }
.watch-moon { color: #f6dc8e; }
.phone-xs { position: absolute; width: 120px; inset-inline-end: -4%; bottom: -60px; border-radius: 24px; padding: 6px; animation: float 7s ease-in-out infinite 1s; }
.phone-xs img { border-radius: 19px; }
.phone-xs::before { width: 40px; height: 12px; top: 11px; }

/* ---------- a day with Nour ---------- */
.day { background: radial-gradient(900px 400px at 50% 0%, rgba(232,196,104,.12), transparent 70%), linear-gradient(180deg, var(--night), #0d1638 50%, var(--night)); overflow: hidden; }
.sunpath { position: relative; height: 160px; margin: -10px 0 -60px; }
.sunpath svg { width: 100%; height: 100%; overflow: visible; }
.sunpath path { fill: none; stroke: rgba(232,196,104,.35); stroke-width: 1.5; stroke-dasharray: 4 7; }
.sun-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle, #fff6d6, #f6dc8e 50%, #e2b04f); box-shadow: 0 0 30px 10px rgba(246,220,142,.45); }
.day-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.day-item { padding: 22px 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.day-item b { display: block; font: 700 21px var(--f-display); color: var(--gold-2); margin: 10px 0 6px; }
.day-item p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.day-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,196,104,.12); color: var(--gold); }

/* ---------- tour ---------- */
.tour-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 6vw, 100px); align-items: center; }
.chapters { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.chap { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 16px var(--f-body); text-align: start; cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.chap:hover { transform: translateX(4px); border-color: var(--line); }
html[dir="rtl"] .chap:hover { transform: translateX(-4px); }
.chap.on { border-color: var(--gold); background: linear-gradient(135deg, rgba(246,220,142,.14), rgba(181,131,42,.06)); }
.chap-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font: 700 14px var(--f-display); flex: none; }
.chap.on .chap-n { background: var(--gold); color: var(--gold-ink); }
.phone-video { width: clamp(250px, 26vw, 320px); }
.vid-toggle { position: absolute; z-index: 3; bottom: 22px; inset-inline-end: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(7,13,34,.75); color: #f6dc8e; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(232,196,104,.35); }
.vid-toggle .i-pause { display: none; } .vid-toggle.playing .i-pause { display: block; } .vid-toggle.playing .i-play { display: none; }

/* ---------- gallery ---------- */
.gallery { overflow: hidden; }
.gal-wrap { position: relative; }
.gal { list-style: none; margin: 0; padding: 20px max(20px, calc((100vw - 1200px) / 2)) 30px; display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.shot { flex: none; scroll-snap-align: center; text-align: center; }
.phone-gal { width: 230px; transition: transform .6s var(--ease); }
.shot:hover .phone-gal { transform: translateY(-10px) rotate(-1.5deg); }
.shot p { margin: 16px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.gal-btn { position: absolute; top: 45%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,13,34,.8); color: #f6dc8e; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(10px); transition: transform .3s; }
.gal-btn:hover { transform: scale(1.08); }
.gal-btn.prev { inset-inline-start: 18px; } .gal-btn.next { inset-inline-end: 18px; }
.gal-btn.prev .ic { transform: scaleX(-1); }
html[dir="rtl"] .gal-btn.prev .ic { transform: none; } html[dir="rtl"] .gal-btn.next .ic { transform: scaleX(-1); }

/* ---------- privacy band ---------- */
.privacy-band { background: radial-gradient(700px 500px at 20% 50%, rgba(23,132,124,.2), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); }
.pb-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.shield-art { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.shield-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(232,196,104,.35); animation: spin 40s linear infinite; }
.shield-ring.r2 { inset: 16%; border-style: solid; border-color: rgba(23,132,124,.5); animation-direction: reverse; animation-duration: 28s; }
.shield-ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #e8c468; box-shadow: 0 0 20px #e8c468; }
.ic-shield { width: 38%; height: 38%; color: #e8c468; filter: drop-shadow(0 0 30px rgba(232,196,104,.6)); stroke-width: 1.2; }
.pb-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pb-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-weight: 600; }
.pb-list .ic { color: #e8c468; }

/* ---------- compare ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15.5px; }
th, td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font: 700 13px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
html[dir="rtl"] thead th { letter-spacing: 0; font-size: 15px; }
tbody th { font-weight: 650; }
td { color: var(--muted); }
td.nour { color: var(--ink); font-weight: 600; background: linear-gradient(90deg, rgba(232,196,104,.07), transparent); }
td.nour .ic-li { display: inline-block; vertical-align: -3px; margin-inline-end: 8px; }
.nour-h { color: var(--gold) !important; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }

/* ---------- platforms ---------- */
.plat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plat-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); font-weight: 650; transition: transform .4s var(--ease), border-color .4s; }
.plat-list li:hover { transform: translateY(-6px); border-color: var(--line); }
.plat-list .ic { width: 34px; height: 34px; color: var(--gold); }
.req { text-align: center; margin-top: 24px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); transition: border-color .3s; }
.faq[open] { border-color: var(--line); box-shadow: var(--glow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.ic-chev { width: 18px; height: 18px; color: var(--gold); transition: transform .35s var(--ease); flex: none; }
.faq[open] .ic-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-sec .center { margin-top: 30px; }

/* ---------- donate / CTA ---------- */
.donate-card { display: flex; gap: clamp(20px, 4vw, 50px); align-items: flex-start; padding: clamp(28px, 5vw, 56px); border-radius: 30px; background: linear-gradient(135deg, rgba(181,66,79,.12), rgba(47,85,196,.1)), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.donate-card .sec-head { margin-bottom: 14px; }
.donate-ic { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, #c4525f, #7c2533); color: #ffe4e8; box-shadow: 0 16px 40px -16px rgba(196,82,95,.8); animation: beat 2.4s ease-in-out infinite; }
.donate-ic .ic { width: 36px; height: 36px; }
@keyframes beat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.08); } 24% { transform: scale(1); } 36% { transform: scale(1.05); } }
.cta { overflow: hidden; background: radial-gradient(800px 500px at 50% 100%, rgba(232,196,104,.18), transparent 70%), linear-gradient(180deg, var(--night-2), #050a1c); }
.cta-pattern { -webkit-mask-image: radial-gradient(closest-side at 50% 60%, #000, transparent); mask-image: radial-gradient(closest-side at 50% 60%, #000, transparent); opacity: .1; }
.cta h2 { font-size: clamp(34px, 5vw, 60px); max-width: 820px; margin-inline: auto; }
.cta-logo { width: 110px; margin: 0 auto 26px; }
.cta-logo .logo-mark { width: 110px; height: 110px; animation: spin 60s linear infinite; }

/* ---------- inner pages ---------- */
.page-hero { padding-top: calc(var(--hdr) + 80px); padding-bottom: 80px; overflow: hidden; background: radial-gradient(900px 500px at 80% 0%, rgba(47,85,196,.3), transparent 60%), linear-gradient(180deg, #050a1c, var(--night-2)); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 900px; }
.page-hero .hero-pattern { -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.page-body { padding-block: clamp(50px, 7vw, 90px); }
.features-page { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-block: 60px 90px; align-items: start; }
.fnav { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 2px; max-height: calc(100vh - 120px); overflow: auto; }
.fnav a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; }
.fnav a:hover, .fnav a.on { background: var(--surface); color: var(--ink); }
.fnav a.on { box-shadow: inset 3px 0 0 var(--gold); }
html[dir="rtl"] .fnav a.on { box-shadow: inset -3px 0 0 var(--gold); }
.fcards { display: grid; gap: 20px; }
.fcard { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.fcard h2, .legal-card h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 3vw, 34px); }
.fc-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 35% 30%, #fff1c2, #e6b955 60%, #a77521); color: #2a1d02; }
.prose { max-width: 72ch; }
.prose.big p { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.about-art { position: relative; display: grid; place-items: center; min-height: 480px; margin: 0; }
.about-art .rosette { width: 130%; opacity: .35; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); }
.value h3 { font-size: 22px; margin-top: 16px; }
.value p { color: var(--muted); margin: 0; font-size: 15.5px; }
.value-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(232,196,104,.12); color: var(--gold); }
.company { text-align: center; padding: 40px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.press-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.release h2 { font-size: clamp(24px, 2.6vw, 32px); }
.press-side { display: grid; gap: 20px; position: sticky; top: calc(var(--hdr) + 20px); }
.press-side h3 { font-size: 22px; }
.mini-stats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13.5px; color: var(--muted); }
.mini-stats b { display: block; color: var(--gold); font: 700 22px var(--f-display); }
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.ccard { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.ccard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--glow); color: var(--ink); }
.ccard h2 { font-size: 23px; margin: 10px 0 0; }
.ccard p { color: var(--muted); font-size: 15px; flex: 1; margin: 0; }
.cc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(232,196,104,.12); color: var(--gold); }
.cc-mail { display: inline-flex; gap: 6px; align-items: center; color: var(--gold); font: 600 13.5px var(--f-body); direction: ltr; }
.howto { display: flex; gap: 10px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.howto .ic-sm { color: #c4525f; }
.legal-sum { display: grid; gap: 22px; }
.legal-card .btn { margin-top: 22px; }
.legal-text h2 { font-size: 28px; margin-top: 1.8em; }
.legal-text h3 { font-size: 21px; margin-top: 1.4em; }
.legal-text p, .legal-text li { color: var(--ink); }
.legal-text ul { padding-inline-start: 1.3em; }
.legal-text li { margin-bottom: .45em; }
.legal-text .toc { padding: 22px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); columns: 2; column-gap: 30px; }
.legal-text .toc li { break-inside: avoid; }
.legal-text table { min-width: 0; margin: 1em 0; font-size: 15px; }
.legal-text td { color: var(--ink); }

/* ---------- footer ---------- */
.ftr { background: linear-gradient(180deg, #050a1c, #03060f); padding-top: 70px; }
.ftr-border { position: absolute; top: 0; left: 0; right: 0; height: 18px; background: url(/assets/img/border.svg) center/36px 18px repeat-x; opacity: .45; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.ftr-brand p { color: var(--muted); margin: 16px 0 0; max-width: 340px; }
.ftr-stores .stores { margin: 22px 0 0; }
.ftr h2 { font: 700 13px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
html[dir="rtl"] .ftr h2 { letter-spacing: 0; font-size: 15px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr ul a { color: var(--muted); text-decoration: none; font-size: 15px; }
.ftr ul a:hover { color: var(--ink); }
.ftr-mail { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--gold); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 22px 120px; border-top: 1px solid var(--line-2); color: var(--faint); font-size: 14px; }
.ftr-bottom p { margin: 0; }
.ftr-bottom a { color: var(--muted); }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); }

/* ---------- floating news ---------- */
.floaty { position: fixed; z-index: 40; bottom: 18px; inset-inline-start: 18px; display: flex; align-items: flex-end; gap: 10px; max-width: min(460px, calc(100vw - 36px));
  transform: translateY(140%); transition: transform .8s var(--ease); }
.floaty.show { transform: none; }
.fl-toggle { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(232,196,104,.4); background: radial-gradient(circle at 35% 30%, #22336f, #0b1430); color: #f6dc8e; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(0,0,0,.7), 0 0 30px -6px rgba(232,196,104,.45); }
.fl-toggle .fl-x { display: none; }
.floaty:not(.min) .fl-toggle .fl-x { display: block; } .floaty:not(.min) .fl-toggle .fl-moon { display: none; }
.fl-body { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 20px; background: rgba(9,16,42,.86); border: 1px solid rgba(232,196,104,.28); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.75); transform-origin: bottom left; transition: opacity .45s var(--ease), transform .45s var(--ease); }
html[dir="rtl"] .fl-body { transform-origin: bottom right; }
.floaty.min .fl-body { opacity: 0; transform: scale(.85) translateY(10px); pointer-events: none; visibility: hidden; }
.fl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font: 600 12px var(--f-body); }
.fl-live { display: inline-flex; align-items: center; gap: 7px; color: #f6dc8e; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .fl-live { letter-spacing: 0; font-size: 14px; }
.fl-live i { width: 8px; height: 8px; border-radius: 50%; background: #2ee6a6; box-shadow: 0 0 0 0 rgba(46,230,166,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(46,230,166,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,166,0); } }
.fl-hijri { color: #a9b3d3; text-align: end; }
.fl-news { list-style: none; margin: 0 0 12px; padding: 0; position: relative; min-height: 48px; }
.fl-news li { font-size: 14.5px; line-height: 1.45; color: #eef1fb; }
.js .fl-news li { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .fl-news li.on { opacity: 1; transform: none; position: relative; }
html:not(.js) .fl-news li + li { display: none; }
html:not(.js) .floaty { transform: none; }
.fl-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.fl-stores .store img { height: 34px; width: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr-dl { display: none; }
  .nav.open { display: flex; position: fixed; inset: var(--hdr) 0 auto 0; flex-direction: column; gap: 2px; padding: 16px 20px 24px; background: rgba(7,13,34,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); animation: pop .3s var(--ease); max-height: calc(100vh - var(--hdr)); overflow: auto; }
  .nav.open a { font-size: 18px; padding: 13px 14px; }
  .day-list { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .values, .ccards { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .lit-grid, .spot-grid, .tour-grid, .pb-grid, .about-grid, .press-grid, .features-page { grid-template-columns: 1fr; }
  .spot.alt .spot-copy { order: 0; }
  .hero { padding-top: calc(var(--hdr) + 30px); }
  .hero-art { min-height: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-list { grid-template-columns: repeat(2, 1fr); }
  .phone-video { margin-inline: auto; }
  .fnav { position: static; display: flex; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .fnav a { white-space: nowrap; }
  .press-side { position: static; }
  .sunpath { display: none; }
  .mushaf-frame, html[dir="rtl"] .mushaf-frame { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .brand-t small { display: none; }
  .brand-t b { font-size: 18px; white-space: nowrap; }
  .hdr-in { gap: 10px; }
  .moon { top: 9%; inset-inline-end: 4%; opacity: .55; }
  .lantern.l2 { display: none; }
  .lang summary { padding: 0 10px; }
  .lang-cur { display: none; }
  .hero-art { min-height: 470px; }
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip-a { inset-inline-start: 0; } .chip-b { inset-inline-end: 0; }
  .moon { width: 54px; height: 54px; box-shadow: inset -13px 6px 0 0 #f6dc8e; }
  html[dir="rtl"] .moon { box-shadow: inset 13px 6px 0 0 #f6dc8e; }
  .day-list, .values, .ccards, .pb-list { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tiles .tile:first-child { grid-column: auto; }
  .phones { min-height: 430px; }
  .phone-sm { width: 190px; }
  .phones .phone-back { margin-inline-start: -90px; }
  .donate-card { flex-direction: column; }
  .ftr-grid { grid-template-columns: 1fr; }
  .gal-btn { display: none; }
  .phone-gal { width: 200px; }
  .store img { height: 46px; }
  .floaty { inset-inline: 10px; bottom: 10px; max-width: none; }
  .fl-news li { font-size: 13.5px; }
  .legal-text .toc { columns: 1; }
  .watch { width: 90px; }
  .phone-xs { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print {
  .hdr, .floaty, .stars, .ftr-border, .lanterns, .hero-art { display: none !important; }
  body, .night { background: #fff !important; color: #000 !important; }
}

/* ---------------------------------------------------------------- photography (2026-10-27) */
.photo { position: absolute; inset: 0; z-index: 0; background: center/cover no-repeat; pointer-events: none; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,28,.72), rgba(5,10,28,.55) 45%, var(--night-2)); }
.night > .wrap { position: relative; z-index: 1; }
.hero .photo { animation: kenburns 40s ease-in-out infinite alternate; }
.hero .photo::after { background: linear-gradient(90deg, rgba(5,10,28,.92) 0%, rgba(5,10,28,.7) 45%, rgba(5,10,28,.35) 100%), linear-gradient(180deg, transparent 60%, var(--night-2)); }
[dir="rtl"] .hero .photo::after { background: linear-gradient(270deg, rgba(5,10,28,.92) 0%, rgba(5,10,28,.7) 45%, rgba(5,10,28,.35) 100%), linear-gradient(180deg, transparent 60%, var(--night-2)); }
.page-hero .photo::after { background: linear-gradient(180deg, rgba(5,10,28,.8), rgba(5,10,28,.62) 55%, var(--night-2)); }
.photo.dim { opacity: .28; }
.photo.dim::after { background: linear-gradient(180deg, var(--night-2), transparent 30%, transparent 70%, var(--night)); }
.cta .photo::after { background: radial-gradient(closest-side at 50% 55%, rgba(5,10,28,.55), rgba(5,10,28,.85)), linear-gradient(180deg, var(--night-2), transparent 25%); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.ph-night-courtyard { background-image: url(/assets/img/art/night-courtyard-1600.webp); }
.ph-night-arcade { background-image: url(/assets/img/art/night-arcade-1600.webp); }
.ph-sunset-terrace { background-image: url(/assets/img/art/sunset-terrace-1600.webp); }
.ph-golden-courtyard { background-image: url(/assets/img/art/golden-courtyard-1600.webp); }
.ph-day-courtyard { background-image: url(/assets/img/art/day-courtyard-1600.webp); }
.ph-lantern-sunset { background-image: url(/assets/img/art/lantern-sunset-1600.webp); }
.ph-sunset-water { background-image: url(/assets/img/art/sunset-water-1600.webp); }
@media (max-width: 800px) {
  .ph-night-courtyard { background-image: url(/assets/img/art/night-courtyard-800.webp); }
  .ph-night-arcade { background-image: url(/assets/img/art/night-arcade-800.webp); }
  .ph-sunset-terrace { background-image: url(/assets/img/art/sunset-terrace-800.webp); }
  .ph-golden-courtyard { background-image: url(/assets/img/art/golden-courtyard-800.webp); }
  .ph-day-courtyard { background-image: url(/assets/img/art/day-courtyard-800.webp); }
  .ph-lantern-sunset { background-image: url(/assets/img/art/lantern-sunset-800.webp); }
  .ph-sunset-water { background-image: url(/assets/img/art/sunset-water-800.webp); }
  .hero .photo::after, [dir="rtl"] .hero .photo::after { background: linear-gradient(180deg, rgba(5,10,28,.78), rgba(5,10,28,.7) 50%, var(--night-2)); }
}
.tile-band { position: absolute; inset: 0; background: url(/assets/img/art/tile-420.webp) center/210px repeat; opacity: .07; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.stats-grid { position: relative; z-index: 1; }

/* real app logo */
img.logo-mark { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; filter: drop-shadow(0 4px 14px rgba(232,196,104,.35)); }
.brand:hover img.logo-mark { transform: scale(1.06) rotate(-3deg); }
.cta-logo { width: 128px; }
.cta-logo img.logo-mark { width: 128px; height: 128px; border-radius: 30px; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(232,196,104,.35)); }

/* editorial art */
.art-img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-art .art-img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .9; }
.about-art .phone-sm { position: relative; z-index: 1; }
.art-fig { margin: 0 0 22px; }
.art-fig .art-img { aspect-ratio: 4/3; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero .photo, .cta-logo img.logo-mark { animation: none; } }
