/* MasjidAlert website — same Emerald & Gold look as the app */
:root {
  --bg: #081912;
  --bg-2: #0A1F17;
  --card: #0F2B1F;
  --card-2: #0E261D;
  --hero-1: #0F2B1F; --hero-2: #123325; --hero-3: #153B2B;
  --line: rgba(197, 160, 89, .35);
  --line-soft: rgba(197, 160, 89, .2);
  --gold: #FFDF78;
  --gold-2: #C5A059;
  --gold-3: #ECC968;
  --text: #FDF8EE;
  --text-2: #F5E09A;
  --muted: rgba(226, 212, 183, .78);
  --green: #34D399;
  --radius: 16px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: 'Cinzel', Georgia, serif; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.ar { font-family: 'Amiri Quran', 'Amiri', serif; direction: rtl; }
/* Qur'anic text: gold leaf gradient, generous line height for the tashkeel */
.quran {
  font-weight: 400; line-height: 2.1; letter-spacing: 0;
  background: linear-gradient(180deg, #FFF1B8 0%, #FFDF78 45%, #C5A059 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(197, 160, 89, .25));
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-2); font-size: 22px; margin-bottom: 6px; }
.ornament span { height: 1px; width: min(160px, 25vw); background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* arabesque backdrop, like the app canvas */
.arabesque {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, .07) 1.2px, transparent 1.6px),
    radial-gradient(circle at 0 0, rgba(212, 175, 55, .05) 1px, transparent 1.4px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* top band + header */
.band { background: #05120D; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); text-align: center; padding: 7px 16px; }
.band b { color: var(--gold); font-weight: 600; }
.tag { display: inline-block; font: 700 10px/1 'Cinzel', serif; letter-spacing: .12em; color: var(--gold); border: 1px solid var(--line); background: var(--card-2); border-radius: 99px; padding: 6px 12px; text-transform: uppercase; }
header.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 25, 18, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); }
.brand span { font: 700 19px/1 'Cinzel', serif; letter-spacing: .06em; }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); font-size: 14px; font-weight: 500; }
nav.links a:hover, nav.links a.on { color: var(--gold); text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--gold); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
@media (max-width: 900px) {
  nav.links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  nav.links.open { display: flex; }
  nav.links a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-btn { display: block; }
  header.top .btn { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; padding: 12px 22px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-gold { background: var(--gold-2); color: #081912; border-color: var(--gold); }
.btn-line { background: transparent; color: var(--gold); border-color: var(--line); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 1px solid #444; border-radius: 12px; padding: 9px 18px; }
.store:hover { text-decoration: none; }
.store small { display: block; font-size: 10px; letter-spacing: .06em; color: #bbb; text-transform: uppercase; }
.store strong { display: block; font-size: 18px; line-height: 1.1; }
.store svg { width: 26px; height: 26px; }
.store.soon { opacity: .75; }

/* sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(26px, 4vw, 38px); }
.head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: block; font: 700 12px/1 'Cinzel', serif; letter-spacing: .18em; color: var(--gold-2); margin-bottom: 14px; text-transform: uppercase; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 17px; color: var(--gold); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(197, 160, 89, .12); border: 1px solid var(--line); color: var(--gold); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* hero */
.hero { padding: 72px 0 56px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.checks span::before { content: '✓'; color: var(--gold); margin-right: 6px; font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { text-align: center; } .hero .lead { margin: 0 auto; } .hero .ctas, .checks { justify-content: center; } }

/* phone mock-ups (drawn from the app's Emerald theme) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 38px; padding: 10px; background: linear-gradient(145deg, #1d2a24, #050b08); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(197, 160, 89, .25); }
.screen { border-radius: 30px; overflow: hidden; background: var(--bg); padding: 16px 13px 12px; font-size: 12px; line-height: 1.35; min-height: 560px; position: relative; }
.screen .notch { width: 90px; height: 20px; background: #050b08; border-radius: 0 0 12px 12px; margin: -16px auto 10px; }
.s-row { display: flex; justify-content: space-between; align-items: center; }
.s-brand { font: 700 15px/1 'Cinzel', serif; letter-spacing: .06em; }
.s-pill { border: 1px solid rgba(197, 160, 89, .4); background: var(--card-2); color: var(--gold); border-radius: 99px; padding: 3px 9px; font-size: 10px; font-weight: 600; }
.s-hero { margin-top: 10px; border-radius: 14px; border: 2px solid var(--gold-2); background: linear-gradient(135deg, var(--hero-1), var(--hero-2), var(--hero-3)); padding: 12px; }
.s-label { font: 700 8px/1.4 'Cinzel', serif; letter-spacing: .12em; color: var(--gold); }
.s-big { font: 800 24px/1.1 'Cinzel', serif; letter-spacing: .06em; }
.s-count { font: 900 19px/1 ui-monospace, Menlo, monospace; color: var(--gold); letter-spacing: .05em; }
.s-div { height: 1px; background: rgba(197, 160, 89, .3); margin: 9px 0 7px; }
.s-table { margin-top: 10px; border-radius: 14px; border: 1px solid rgba(197, 160, 89, .4); background: var(--card); overflow: hidden; }
.s-table div { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 6px 10px; border-top: 1px solid rgba(197, 160, 89, .2); }
.s-table div:first-child { background: #0D241A; border-top: 0; font: 700 8px/1.6 'Cinzel', serif; letter-spacing: .1em; color: var(--gold); }
.s-table span:nth-child(2) { text-align: center; } .s-table span:nth-child(3) { text-align: right; }
.s-table .on { background: rgba(236, 201, 104, .16); color: var(--gold); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold-3); }
.s-table .past { opacity: .45; }
.s-foot { margin-top: 10px; border-radius: 12px; background: #0D241A; border: 1px solid rgba(197, 160, 89, .3); padding: 8px 10px; font: 700 9px/1.5 'Cinzel', serif; color: var(--gold); letter-spacing: .05em; }
.s-foot small { display: block; font: 600 10px/1.4 'Inter', sans-serif; color: var(--gold-2); letter-spacing: 0; }
.s-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 9px 6px 11px; background: #0A1F17; border-top: 1px solid rgba(197, 160, 89, .35); font-size: 9px; color: var(--muted); }
.s-tabs b { color: var(--gold); font-weight: 600; }
.s-h { font: 700 17px/1.2 'Inter', sans-serif; color: #fff; }
.s-badge { background: #F0BE50; color: #071325; border-radius: 99px; padding: 2px 8px; font-size: 10px; font-weight: 700; }
.s-chips { display: flex; gap: 5px; margin: 10px 0; }
.s-chips span { border: 1px solid rgba(197, 160, 89, .35); background: var(--card-2); color: var(--text-2); border-radius: 99px; padding: 3px 9px; font-size: 10px; }
.s-chips span.on { background: var(--gold-2); border-color: var(--gold); color: #081912; font-weight: 700; }
.s-card { border-radius: 14px; border: 1px solid rgba(197, 160, 89, .35); background: var(--card); padding: 10px; margin-bottom: 8px; }
.s-card.jan { border: 2px solid var(--gold-2); background: linear-gradient(180deg, #0F2B1F, #0D261B, #081912); }
.s-card .ar { text-align: center; color: var(--gold); font-weight: 400; font-size: 16px; line-height: 1.5; border-bottom: 1px solid rgba(197, 160, 89, .35); padding-bottom: 5px; margin-bottom: 7px; }
.s-cat { border-radius: 99px; padding: 1px 7px; font-size: 9px; font-weight: 700; border: 1px solid; }
.s-meta { font-size: 9px; color: var(--muted); }
.s-title { font-weight: 700; font-size: 12px; margin: 6px 0 2px; }
.s-body { font-size: 10.5px; color: var(--text-2); opacity: .9; }
.s-bar { height: 5px; border-radius: 9px; background: #081912; margin-top: 4px; overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 62%; background: #16A34A; border-radius: 9px; }
.sample { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }

/* ayah band */
.ayah { text-align: center; padding: 40px 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.ayah .ar { font-size: clamp(28px, 4.4vw, 46px); }
.ayah p { color: var(--muted); font-style: italic; margin: 6px 0 0; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(26px, 3.8vw, 36px); }
.list { list-style: none; padding: 0; margin: 18px 0 0; }
.list li { padding: 10px 0 10px 30px; position: relative; color: var(--text-2); border-bottom: 1px solid var(--line-soft); }
.list li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(197, 160, 89, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { border: 1px solid var(--line); background: var(--card-2); color: var(--text-2); border-radius: 99px; padding: 6px 13px; font-size: 13px; }

.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: #081912; font: 800 15px/1 'Cinzel', serif; }
.step h3 { font-size: 16px; margin: 4px 0 4px; color: var(--gold); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.stores-list { display: grid; gap: 10px; margin-top: 26px; }
.stores-list div { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--card-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.stores-list small { display: block; color: var(--muted); }
.stores-list em { font-style: normal; font-size: 12px; color: var(--gold); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }

.cta { text-align: center; }
.cta .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 26px 0 12px; }
.note { font-size: 13px; color: var(--muted); }

/* page header for inner pages */
.page-head { padding: 64px 0 36px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 5vw, 46px); }
.page-head p { color: var(--muted); }

/* long-form text (privacy, terms) */
.prose { max-width: 800px; margin: 0 auto; padding: 0 20px 80px; }
.prose h2 { font-size: 22px; color: var(--gold); margin: 44px 0 14px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.prose h3 { font-size: 16px; color: var(--text-2); margin: 22px 0 8px; }
.prose p, .prose li { color: #E9DFC9; font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line-soft); vertical-align: top; color: #E9DFC9; }
.prose th { background: var(--card-2); color: var(--gold); font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .05em; }
.prose .summary { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; }
.prose .summary h3 { color: var(--gold); margin-top: 0; }

/* footer */
footer.site { background: #05120D; border-top: 1px solid var(--line-soft); padding: 56px 0 28px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }
footer.site h4 { font: 700 12px/1 'Cinzel', serif; letter-spacing: .14em; color: var(--gold-2); margin: 6px 0 14px; text-transform: uppercase; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 9px; }
footer.site li a { color: var(--muted); }
footer.site li a:hover { color: var(--gold); }
footer.site .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-soft); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: 13px; }
footer.site .bism { text-align: left; direction: ltr; font-size: 28px; line-height: 1.8; margin-bottom: 8px; display: inline-block; }
.prose section { padding: 0; }
section[id] { scroll-margin-top: 72px; }

/* TV teaser on the home page: a TV-shaped frame keeps the screenshot at 16:9 */
.tv-frame { display: block; position: relative; padding-bottom: 26px; }
.tv-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 8px solid #141a17; border-radius: 12px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .9), 0 0 0 1px rgba(197, 160, 89, .3); }
.tv-stand { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 0 0 10px 10px; background: linear-gradient(#1b2420, #0b100e); }
.tv-frame:hover img { box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .9), 0 0 0 2px var(--gold-2); }
