/* Al-Quran by Macwap: the green of the Prophet's Mosque, gold, night sky, eight-point stars */
:root {
  --night: #04170f;
  --deep: #072a1c;
  --green: #0d4a33;
  --emerald: #138a5b;
  --dome: #1fa36c;
  --dome-hi: #4fd39a;
  --gold: #d9b45a;
  --gold-hi: #f4dc97;
  --cream: #fbf6ea;
  --paper: #f4ecd8;
  --ink: #10261d;
  --sub: #4d6358;
  --line: rgba(217, 180, 90, .28);
  --radius: 22px;
  --shadow: 0 30px 60px -25px rgba(3, 30, 20, .55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Hind Siliguri", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.ar { font-family: "Amiri", serif; direction: rtl; }
.bn { font-family: "Hind Siliguri", sans-serif; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.solid { background: rgba(4, 23, 15, .82); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px #000; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.15rem; letter-spacing: .2px; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(217, 180, 90, .45)); }
.brand small { display: block; font-size: .72rem; color: var(--gold-hi); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-top: -4px; }
.links { display: flex; gap: 28px; align-items: center; }
.links a { color: rgba(255, 255, 255, .78); font-size: .95rem; position: relative; transition: color .25s; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.links a:not(.btn):hover { color: #fff; }
.links a:not(.btn):hover::after { transform: scaleX(1); }
.menu { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.menu span { display: block; height: 2px; width: 24px; margin: 5px auto; background: currentColor; transition: transform .3s, opacity .3s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #b98a2f); color: #2a1d02; box-shadow: 0 12px 30px -12px rgba(217, 180, 90, .8); }
.btn-gold:hover { box-shadow: 0 18px 40px -12px rgba(217, 180, 90, .95); }
.btn-ghost { border: 1px solid rgba(244, 220, 151, .5); color: var(--gold-hi); }
.btn-ghost:hover { background: rgba(244, 220, 151, .1); }
.play-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #000; color: #fff; border-radius: 14px; padding: 10px 22px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .9);
}
.play-badge:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -16px rgba(19, 138, 91, .7); }
.play-badge svg { width: 30px; height: 30px; }
.play-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.play-badge small { font-size: .7rem; letter-spacing: .6px; text-transform: uppercase; opacity: .85; }
.play-badge b { font-size: 1.32rem; font-weight: 600; letter-spacing: .2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 50% 108%, rgba(31, 163, 108, .55), transparent 70%),
    radial-gradient(700px 400px at 85% 10%, rgba(217, 180, 90, .14), transparent 70%),
    linear-gradient(180deg, #020b07 0%, var(--night) 38%, var(--deep) 78%, var(--green) 100%);
  display: flex; flex-direction: column;
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pattern {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f4dc97' stroke-width='1.2'%3E%3Cpath d='M60 10 74 46 110 60 74 74 60 110 46 74 10 60 46 46Z'/%3E%3Crect x='32' y='32' width='56' height='56' transform='rotate(45 60 60)'/%3E%3Crect x='32' y='32' width='56' height='56'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
  animation: drift 90s linear infinite;
}
@keyframes drift { to { background-position: 1200px 600px; } }
.moon {
  position: absolute; top: 16%; right: 9%; width: 110px; height: 110px; border-radius: 50%;
  box-shadow: 22px -12px 0 0 var(--gold-hi);
  filter: drop-shadow(0 0 30px rgba(244, 220, 151, .55));
  animation: float 9s ease-in-out infinite;
}
.hero-in {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 120px 0 40px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); font-size: .85rem; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.bism { text-align: left; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-hi); margin: 14px 0 6px; text-shadow: 0 0 24px rgba(244, 220, 151, .35); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; font-weight: 700; letter-spacing: -1px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 40%, var(--dome-hi) 70%, var(--gold-hi));
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.hero p.lead { margin: 22px 0 32px; font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.trust b { display: block; font-size: 1.5rem; color: var(--gold-hi); font-weight: 600; }

/* the phones in the hero */
.stage { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 10px;
  background: linear-gradient(145deg, #2b3a33, #0b1310 60%, #1b2621);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 1px rgba(217, 180, 90, .25);
}
.phone .screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #f6f1e4; position: relative; }
/* the screenshot fills the screen, its status bar and navigation bar cut off */
.phone .screen img { position: absolute; left: 0; top: -4.6%; width: 100%; height: 112.5%; max-width: none; object-fit: cover; object-position: center top; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.p1 { left: 8%; top: 20px; transform: rotate(-7deg); animation: bob1 7s ease-in-out infinite; z-index: 1; }
.p2 { right: 4%; top: 70px; transform: rotate(6deg); animation: bob2 8s ease-in-out infinite; z-index: 2; }
@keyframes bob1 { 50% { transform: rotate(-7deg) translateY(-16px); } }
@keyframes bob2 { 50% { transform: rotate(6deg) translateY(14px); } }
@keyframes float { 50% { transform: translateY(-14px); } }
.glow { position: absolute; inset: 15% 10%; background: radial-gradient(circle, rgba(31, 163, 108, .5), transparent 65%); filter: blur(30px); }

/* the mosque at the foot of the hero */
.masjid { position: relative; z-index: 1; width: 100%; margin-top: -40px; line-height: 0; }
.masjid img, .masjid svg { width: 100%; max-width: none; height: auto; }
.masjid .dome { animation: domeGlow 5s ease-in-out infinite; }
@keyframes domeGlow { 50% { filter: drop-shadow(0 0 22px rgba(79, 211, 154, .75)); } }
.masjid .light { animation: flicker 3.5s ease-in-out infinite; }
.masjid .light:nth-child(2n) { animation-delay: 1.2s; }
.masjid .light:nth-child(3n) { animation-delay: 2.1s; }
@keyframes flicker { 50% { opacity: .45; } }

/* ---------- sections ---------- */
section { position: relative; padding: 110px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.head .eyebrow { color: var(--emerald); justify-content: center; }
.head .eyebrow::before, .head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin: 14px 0; letter-spacing: -.5px; }
.head p { color: var(--sub); font-size: 1.07rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 18px auto 0; }
.ornament::before, .ornament::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* marquee of what is inside */
.ribbon { background: var(--green); color: var(--gold-hi); padding: 18px 0; overflow: hidden; border-block: 1px solid var(--line); }
.ribbon .track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; font-size: 1.02rem; white-space: nowrap; }
.ribbon .track span::before { content: "✦"; margin-right: 46px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* feature cards, each under an arch */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border-radius: 160px 160px var(--radius) var(--radius);
  padding: 74px 28px 32px; text-align: center; border: 1px solid rgba(13, 74, 51, .1);
  box-shadow: 0 20px 40px -30px rgba(13, 74, 51, .5);
  transition: transform .4s, box-shadow .4s, border-color .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 10px 10px auto; height: 140px; border-radius: 150px 150px 0 0;
  border: 1px dashed var(--line); border-bottom: 0; pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(13, 74, 51, .6); border-color: var(--gold); }
.card .ic {
  width: 74px; height: 74px; margin: -38px auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem;
  background: radial-gradient(circle at 30% 30%, #fff, var(--paper)); border: 1px solid var(--line);
  box-shadow: 0 10px 24px -12px rgba(217, 180, 90, .9);
  transition: transform .5s;
}
.card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.card p { color: var(--sub); font-size: .97rem; }

/* show and tell rows */
.show { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 120px; }
.row:last-child { margin-bottom: 0; }
.row.flip .txt { order: 2; }
.row .txt h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 10px 0 16px; letter-spacing: -.4px; }
.row .txt p { color: var(--sub); font-size: 1.05rem; margin-bottom: 18px; }
.row .txt .eyebrow { color: var(--emerald); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: "✦"; color: var(--gold); flex: none; margin-top: 1px; }
.shots { position: relative; display: flex; justify-content: center; gap: 22px; }
.shots .phone { position: relative; width: 250px; }
.shots .phone + .phone { margin-top: 70px; }
.arch-bg { position: absolute; inset: -30px 8% -10px; border-radius: 300px 300px 30px 30px; background: linear-gradient(180deg, rgba(19, 138, 91, .14), rgba(217, 180, 90, .12)); border: 1px solid var(--line); z-index: -1; }
.notify-shot { width: min(420px, 100%); margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 672 / 635; background: #c8c8c8; }
.notify-shot img { width: 107.15%; max-width: none; margin-left: -3.57%; margin-top: -49.1%; }

/* the verse band */
.verse {
  text-align: center; color: #fff; padding: 120px 0;
  background:
    radial-gradient(800px 300px at 50% 0, rgba(217, 180, 90, .18), transparent 70%),
    linear-gradient(180deg, var(--green), var(--night));
  overflow: hidden;
}
.verse .pattern { opacity: .06; }
.verse .ar { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--gold-hi); line-height: 1.8; text-shadow: 0 0 30px rgba(244, 220, 151, .3); }
.verse p { font-size: 1.15rem; color: rgba(255, 255, 255, .8); margin-top: 14px; }
.verse small { display: block; margin-top: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }

/* counts */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -60px; position: relative; z-index: 3; }
.stat { background: #fff; border-radius: 20px; padding: 26px; text-align: center; border: 1px solid var(--line); box-shadow: 0 20px 40px -26px rgba(13, 74, 51, .5); }
.stat b { display: block; font-size: 2.3rem; color: var(--green); line-height: 1.1; }
.stat span { color: var(--sub); font-size: .92rem; }

/* download */
.download { text-align: center; color: #fff; background: linear-gradient(180deg, var(--deep), var(--night)); overflow: hidden; padding-bottom: 0; }
.download h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.1; margin: 14px 0; }
.download p { color: rgba(255, 255, 255, .75); max-width: 36em; margin: 0 auto 34px; font-size: 1.08rem; }
.download .masjid { margin-top: 60px; }

/* footer */
footer { background: var(--night); color: rgba(255, 255, 255, .65); padding: 50px 0 30px; font-size: .93rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer nav a:hover { color: var(--gold-hi); }
footer .copy { width: 100%; text-align: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- the other pages (privacy, terms, support) ---------- */
.page-hero { position: relative; color: #fff; text-align: center; padding: 150px 0 90px; overflow: hidden; background: linear-gradient(180deg, #020b07, var(--deep) 70%, var(--green)); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0; }
.page-hero p { color: rgba(255, 255, 255, .72); }
.doc { padding: 70px 0 100px; }
.doc .wrap { max-width: 820px; }
.doc .box { background: #fff; border-radius: 26px; padding: clamp(26px, 5vw, 56px); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(13, 74, 51, .6); margin-top: -70px; position: relative; z-index: 2; }
.doc h2 { font-size: 1.4rem; margin: 34px 0 10px; color: var(--green); display: flex; gap: 10px; align-items: center; }
.doc h2::before { content: "✦"; color: var(--gold); font-size: 1rem; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #2f453b; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc a { color: var(--emerald); font-weight: 500; border-bottom: 1px solid rgba(19, 138, 91, .3); }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(13, 74, 51, .1); vertical-align: top; }
.doc th { color: var(--green); font-weight: 600; background: var(--cream); }
.doc .updated { display: inline-block; background: var(--cream); border: 1px solid var(--line); color: var(--sub); border-radius: 99px; padding: 4px 14px; font-size: .85rem; margin-bottom: 24px; }
.faq details { border: 1px solid rgba(13, 74, 51, .12); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; background: var(--cream); transition: border-color .3s; }
.faq details[open] { border-color: var(--gold); background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }
.contact-card { display: flex; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--green), var(--deep)); color: #fff; border-radius: 20px; padding: 24px; margin: 20px 0; }
.contact-card .ic { font-size: 2rem; }
.contact-card a { color: var(--gold-hi); border: 0; font-size: 1.15rem; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .bism { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .trust { justify-content: center; }
  .eyebrow { justify-content: center; }
  .stage { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone { width: 210px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 50px; }
  .row.flip .txt { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .moon { width: 70px; height: 70px; right: 6%; top: 12%; }
}
@media (max-width: 720px) {
  .links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: rgba(4, 23, 15, .97);
    padding: 10px 16px 22px; transform: translateY(-140%); visibility: hidden; transition: transform .4s, visibility .4s; backdrop-filter: blur(10px);
  }
  .links a { padding: 14px 0; width: 100%; text-align: center; }
  .links a.btn { margin-top: 8px; justify-content: center; }
  .nav.open .links { transform: none; visibility: visible; }
  .hero .eyebrow::before { display: none; }
  .moon { width: 54px; height: 54px; top: 84px; right: 5%; opacity: .85; }
  .nav.open .menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu span:nth-child(2) { opacity: 0; }
  .nav.open .menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: block; }
  section { padding: 80px 0; }
  .grid { grid-template-columns: 1fr; }
  .stage { height: 420px; }
  .phone { width: 180px; border-radius: 34px; padding: 8px; }
  .phone .screen { border-radius: 27px; }
  .phone::before { top: 14px; width: 56px; height: 16px; }
  .p1 { left: 2%; } .p2 { right: 2%; }
  .shots { gap: 12px; }
  .shots .phone { width: 46%; }
  .shots .phone + .phone { margin-top: 40px; }
  .row { margin-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
