/* Hikmah waitlist site (quran-004). Same night-sky, gold and emerald look as the app and the history video. */
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(fonts/Cairo-700-latin.woff2) format('woff2'); }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(fonts/Cairo-800-latin.woff2) format('woff2'); }
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(fonts/Cairo-700-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(fonts/Cairo-800-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Amiri; font-weight: 700; font-display: swap; src: url(fonts/Amiri-700-arabic.woff2) format('woff2'); }

:root { --ink: #060B1E; --navy: #13204A; --gold: #F2B632; --emerald: #12B886; --paper: #F6E7C1; --text: #fff; --muted: #C9D1E8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Cairo, 'Segoe UI', sans-serif; font-weight: 700; color: var(--text); line-height: 1.5;
  background: radial-gradient(ellipse at 50% 0%, var(--navy) 0%, var(--ink) 60%) fixed, var(--ink); }
.ar { font-family: Amiri, serif; color: var(--gold); }

.top { display: flex; justify-content: space-between; align-items: center; max-width: 960px; margin: 0 auto; padding: 16px; }
.brand { font-weight: 800; font-size: 22px; }
#lang { font: inherit; color: var(--text); background: transparent; border: 2px solid #ffffff44; border-radius: 30px; padding: 4px 16px; cursor: pointer; }

main { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 32px 0 48px; }
.moon { width: 120px; height: 120px; filter: drop-shadow(0 0 18px #F2B63288); }
h1 { font-size: clamp(48px, 12vw, 88px); font-weight: 800; margin: 8px 0 0; line-height: 1.1; }
.tag { font-size: 22px; color: var(--gold); margin: 6px 0 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 16px auto 28px; }
.btn, #send { display: inline-block; font: inherit; font-size: 20px; font-weight: 800; color: #fff; background: var(--emerald);
  border: 0; border-radius: 40px; padding: 14px 34px; text-decoration: none; box-shadow: 0 6px 0 #0A7D5C; cursor: pointer; }
.btn:active, #send:active { transform: translateY(3px); box-shadow: 0 3px 0 #0A7D5C; }
.soon { color: var(--muted); font-size: 15px; margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border-radius: 24px; padding: 22px; color: #fff; }
.c1 { background: linear-gradient(160deg, #12B886, #0B7A5A); }
.c2 { background: linear-gradient(160deg, #2F80ED, #1B4F9C); }
.c3 { background: linear-gradient(160deg, #D9643A, #9B2335); }
.icon { font-size: 34px; }
.card h2 { font-size: 22px; margin: 6px 0 4px; }
.card p { margin: 0; color: #ffffffdd; font-weight: 600; }

.video { text-align: center; padding: 48px 0 0; }
.video h2, .form h2 { font-size: 28px; margin: 0 0 14px; }
video { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; border-radius: 24px; background: #000; box-shadow: 0 20px 60px #000a; }

.form { max-width: 520px; margin: 48px auto; padding: 28px 22px; border-radius: 28px; background: #0B132E; border: 2px solid #2A3A6E; text-align: center; }
.form p { color: var(--muted); margin: 0 0 18px; }
form { display: grid; gap: 14px; text-align: start; }
input[type=email], input[type=text] { width: 100%; font: inherit; font-size: 18px; color: #fff; background: #060B1E; border: 2px solid #2A3A6E; border-radius: 16px; padding: 12px 16px; }
input:focus { outline: none; border-color: var(--gold); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
legend { color: var(--muted); margin-bottom: 6px; }
.consent { color: var(--muted); font-size: 15px; }
#send { width: 100%; }
#send:disabled { opacity: 0.7; }
input.trap { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.msg { min-height: 1.5em; margin: 14px 0 0; }
.msg.ok { color: var(--emerald); font-size: 20px; }
.msg.err { color: #FF8A80; }

footer { text-align: center; color: var(--muted); padding: 24px 16px 40px; font-size: 15px; }
footer a { color: var(--gold); }
.page { max-width: 720px; margin: 0 auto; padding: 16px 16px 48px; }
.page h1 { font-size: 40px; }
.page h2 { font-size: 22px; color: var(--gold); margin-top: 28px; }
.page p, .page li { color: var(--muted); font-weight: 600; }
