/* Nurayah: Quran & Prayer Times — app pages (self-contained) */
:root {
  --bg: #08201a;
  --bg-2: #051510;
  --surface: #0e2b23;
  --surface-2: #143a30;
  --board: #051510;
  --line: #1e4238;
  --ink: #f0f4ee;
  --soft: #b4c8bd;
  --faint: #7f9a8d;
  --teal: #ebc166;
  --teal-2: #fdd275;
  --lav: #86d6b4;
  --amber: #86d6b4;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--soft); line-height: 1.6; -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 600px at 80% -10%, rgba(235, 193, 102, .14), transparent 70%),
              radial-gradient(700px 600px at -10% 40%, rgba(134, 214, 180, .10), transparent 70%),
              linear-gradient(180deg, #0b2a22 0%, var(--bg) 40%, var(--bg-2) 100%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(8, 32, 26, .75); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); letter-spacing: .16em; font-size: 15px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.by { font-size: 13px; color: var(--faint); }
.by a { color: var(--soft); font-weight: 600; }
.by a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: linear-gradient(90deg, var(--teal), var(--teal-2)); color: #2b1f00; box-shadow: 0 12px 34px rgba(235, 193, 102, .3); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 1px dashed var(--line); color: var(--soft); font-weight: 700; font-size: 14px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* hero */
.hero { padding: 80px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.app-id { display: flex; align-items: center; gap: 18px; }
.app-id img { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 0 50px rgba(235, 193, 102, .35); }
.app-id .meta { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; }
.app-id .meta span { color: var(--faint); }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; margin: 26px 0 8px; }
.hero h1 em { font-style: normal; color: var(--teal); text-shadow: 0 0 40px rgba(235, 193, 102, .35); }
.hero .lead { font-size: 19px; color: var(--soft); max-width: 520px; margin-top: 16px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--faint); }
.hero-art { position: relative; }
.hero-art img { border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .05); }

/* sections */
section { padding: 80px 0; }
.head { max-width: 640px; margin-bottom: 40px; }
.head .kicker { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 10px 0 12px; }
.head p { font-size: 17px; }

/* how to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  background: rgba(235, 193, 102, .12); color: var(--teal); font-weight: 800;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step svg { position: absolute; right: 22px; top: 24px; width: 64px; height: 44px; opacity: .9; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--surface-2); color: var(--teal); }
.feature .ico svg { width: 22px; height: 22px; }
.feature:nth-child(3n+2) .ico { color: var(--amber); }
.feature:nth-child(3n) .ico { color: var(--lav); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 15px; }

/* screenshots */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shots img { flex: 0 0 auto; width: 250px; border-radius: 22px; scroll-snap-align: start; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }

/* privacy banner */
.privacy-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  padding: 36px; border-radius: 28px; border: 1px solid rgba(235, 193, 102, .25);
  background: radial-gradient(500px 220px at 0% 0%, rgba(235, 193, 102, .14), transparent 70%), var(--surface);
}
.privacy-card .shield { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(235, 193, 102, .12); color: var(--teal); }
.privacy-card .shield svg { width: 32px; height: 32px; }
.privacy-card h2 { font-size: 26px; font-weight: 800; }
.privacy-card p { margin-top: 6px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--soft); }
footer a:hover { color: var(--ink); }

/* legal (privacy page) */
.legal { padding: 70px 0 90px; }
.legal .doc { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 48px); font-weight: 800; }
.legal .updated { margin-top: 10px; color: var(--faint); font-size: 14px; }
.legal .summary { margin: 30px 0 10px; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(235, 193, 102, .25); color: var(--ink); }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--soft); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.legal hr { margin: 60px 0; border: 0; border-top: 1px solid var(--line); }
.urdu { padding: 0; font-family: "Noto Nastaliq Urdu", serif; }
.urdu h1, .urdu h2 { font-family: inherit; font-weight: 700; line-height: 2.1; letter-spacing: 0; }
.urdu p, .urdu li { line-height: 2.5; }
.urdu ul { padding: 0 22px 0 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .privacy-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  section { padding: 60px 0; }
  .features { grid-template-columns: 1fr; }
  .shots img { width: 200px; }
}
