/* ============================================================
   Ummah Class — pitch site
   Cream editorial premium. Forest-green ink · nūr-gold accent.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper:        #FAF8F3;
  --paper-2:      #F0EAD9;
  --paper-3:      #E6DEC9;
  --mint:         #F0F5F2;
  --white:        #FFFFFF;

  --ink:          #2C3E37;
  --ink-deep:     #1F2D27;
  --ink-soft:     #5A6B63;
  --ink-muted:    #8A9B93;

  --gold:         #C9A961;
  --gold-dark:    #9E8345;
  --gold-soft:    rgba(201,169,97,0.14);
  --gold-line:    rgba(201,169,97,0.40);

  --green-accent: #3F6553;
  --teal-300:     #6C9E87;
  --rose:         #B85C5C;
  --blue:         #3D6B7E;

  --line:         rgba(44,62,55,0.14);
  --line-soft:    rgba(44,62,55,0.08);

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-arabic:  "Amiri", "Geeza Pro", serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --shadow-card:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(44,62,55,0.05),
    0 1px 2px rgba(44,62,55,0.04),
    0 12px 28px -16px rgba(44,62,55,0.18),
    0 28px 56px -32px rgba(44,62,55,0.20);
  --shadow-slab:
    0 30px 80px -30px rgba(20,33,28,0.55),
    0 12px 28px -18px rgba(20,33,28,0.40);
  --gold-glow: 0 0 0 1px rgba(201,169,97,0.22), 0 0 40px -6px rgba(201,169,97,0.30);

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: #ECE6D7;
  background-image:
    radial-gradient(60vw 60vw at 14% 8%, rgba(201,169,97,0.18), transparent 60%),
    radial-gradient(50vw 50vw at 90% 18%, rgba(108,158,135,0.16), transparent 60%),
    radial-gradient(60vw 50vw at 50% 96%, rgba(61,107,126,0.10), transparent 60%),
    linear-gradient(160deg, #F2ECDC 0%, #ECE6D7 42%, #E6DEC9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(201,169,97,0.30); color: var(--ink-deep); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--ink-deep);
  margin: 0;
}
.h-xl  { font-size: clamp(56px, 9.5vw, 132px); }
.h-l   { font-size: clamp(42px, 6.2vw, 92px); }
.h-m   { font-size: clamp(34px, 4.4vw, 64px); }
.h-s   { font-size: clamp(26px, 3vw, 40px); }

.gold-text {
  background: linear-gradient(135deg, #C9A961 0%, #9E8345 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
}
.eyebrow .ar { font-family: var(--font-arabic); font-size: 18px; letter-spacing: 0; color: var(--gold-dark); }
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.7; }

.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }
.ar { font-family: var(--font-arabic); direction: rtl; }
.ayah { font-family: var(--font-arabic); direction: rtl; color: var(--gold-dark); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(80px, 12vh, 150px); scroll-margin-top: 90px; }
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 22px; }

/* ---------- Zellij star divider ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 22px; padding-block: 8px; opacity: 0.85; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(180px, 22vw); background: linear-gradient(90deg, transparent, var(--gold-line)); }
.divider::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.star { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink-deep); --fg: var(--paper);
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(44,62,55,0.10), inset 0 1px 0 rgba(255,255,255,0.10);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(44,62,55,0.45); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--gold { --bg: linear-gradient(135deg, #C9A961, #9E8345); --fg: var(--ink-deep); }
.btn--ghost {
  --bg: rgba(255,255,255,0.5); --fg: var(--ink);
  border-color: var(--line); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.btn--ghost:hover { background: rgba(255,255,255,0.8); }
.btn--lg { padding: 17px 30px; font-size: 15.5px; }

/* ---------- Tag pill ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-dark); border: 1px solid var(--gold-line);
}
.tag--green { background: rgba(63,101,83,0.12); color: var(--green-accent); border-color: rgba(63,101,83,0.25); }
.tag--blue  { background: rgba(61,107,126,0.12); color: var(--blue); border-color: rgba(61,107,126,0.25); }
.tag--rose  { background: rgba(184,92,92,0.12); color: var(--rose); border-color: rgba(184,92,92,0.25); }
.tag .pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(201,169,97,0.5);} 70%{ box-shadow: 0 0 0 7px rgba(201,169,97,0);} 100%{ box-shadow: 0 0 0 0 rgba(201,169,97,0);} }

/* ---------- Cards ---------- */
.card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 0.5px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.slab {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(201,169,97,0.16), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(108,158,135,0.14), transparent 55%),
    linear-gradient(160deg, #2A3B33 0%, #1F2D27 100%);
  color: #EAE5D8; border-radius: var(--r-xl); box-shadow: var(--shadow-slab);
  border: 0.5px solid rgba(201,169,97,0.16);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav.scrolled {
  background: rgba(250,248,243,0.72); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 30px -24px rgba(44,62,55,0.5);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand > span { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 23px; letter-spacing: 0.04em; color: var(--ink-deep); line-height: 1; }
.brand__sub  { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: 14.5px; color: var(--ink-soft); position: relative; transition: color 0.2s; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--gold); transition: width 0.25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(120px, 18vh, 200px) clamp(60px, 8vh, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero__title { margin: 0 0 26px; }
.hero__title .line { display: block; }
.hero__sub { font-size: clamp(17px, 1.55vw, 20px); color: var(--ink-soft); max-width: 50ch; line-height: 1.6; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__proof { display: flex; align-items: center; gap: 11px; margin-top: 30px; font-size: 13.5px; color: var(--ink-soft); }
.hero__proof .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green-accent); box-shadow: 0 0 0 0 rgba(63,101,83,0.5); animation: pulse 2.4s infinite; flex: none; }
.hero__proof b { color: var(--ink); font-weight: 600; }

/* hero product cluster */
.cluster { position: relative; min-height: 500px; }
.cluster .card, .cluster .slab { position: absolute; }
.float { will-change: transform; }

.pc-collection { inset-block-start: 0; inset-inline-end: 0; width: 322px; padding: 22px 24px; z-index: 3; }
.pc-collection .tag { margin-bottom: 16px; }
.pc-collection .amount { font-family: var(--font-display); font-size: 56px; letter-spacing: 0.01em; color: var(--ink-deep); line-height: 0.9; }
.pc-collection .meta { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.pc-collection .bar { height: 7px; border-radius: 999px; background: rgba(44,62,55,0.1); margin: 14px 0 12px; overflow: hidden; }
.pc-collection .bar > i { display:block; height: 100%; width: 91.6%; border-radius: 999px; background: linear-gradient(90deg, #C9A961, #9E8345); }
.pc-collection .row { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-muted); }
.pc-collection .row .up { color: var(--green-accent); font-weight: 600; }

.pc-hifz { inset-block-start: 158px; inset-inline-start: 0; width: 330px; padding: 20px 22px; z-index: 4; }
.pc-hifz .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.pc-hifz .head .lbl { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.pc-hifz .head .juz { font-family: var(--font-arabic); font-size: 20px; color: var(--gold-dark); }
.pc-hifz .name { font-family: var(--font-display); font-size: 28px; letter-spacing: 0.02em; color: var(--ink-deep); margin-bottom: 14px; }
.juzgrid { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.juzgrid > i { aspect-ratio: 1; border-radius: 3px; background: rgba(44,62,55,0.08); font-size: 7px; }
.juzgrid > i.done { background: linear-gradient(135deg, #C9A961, #9E8345); }
.juzgrid > i.now  { background: rgba(201,169,97,0.35); box-shadow: inset 0 0 0 1px var(--gold); }
.pc-hifz .ready { display:flex; align-items:center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--green-accent); font-weight: 600; }

.pc-ping { inset-block-end: 6px; inset-inline-end: 6px; width: 300px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; z-index: 5; }
.pc-ping .ic { width: 38px; height: 38px; border-radius: 11px; flex:none; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.pc-ping .t { font-weight: 600; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.pc-ping .s { font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }

.pc-prayer { position: absolute; inset-block-start: 26px; inset-inline-start: 0; width: auto; padding: 11px 18px; display: flex; align-items: center; gap: 12px; z-index: 6; background: rgba(31,45,39,0.92); color: #EAE5D8; border-radius: 999px; box-shadow: var(--shadow-slab); }
.pc-prayer .ic { color: var(--gold); }
.pc-prayer .nm { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.08em; }
.pc-prayer .tm { font-size: 12px; color: rgba(234,229,216,0.7); }

/* ============================================================
   PROBLEM
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.prob { padding: 30px 28px; }
.prob .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px; }
.prob h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; color: var(--ink-deep); margin: 0 0 10px; }
.prob p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ============================================================
   OWN IT FOREVER
   ============================================================ */
.own__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.own-col { padding: 34px 32px; position: relative; overflow: hidden; }
.own-col h3 { display:flex; align-items:center; gap: 10px; font-family: var(--font-display); font-size: 24px; letter-spacing: 0.03em; margin: 0 0 22px; }
.own-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.own-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.own-col li .mk { flex: none; margin-top: 2px; }
.own--rent { color: var(--ink-soft); }
.own--rent h3 { color: var(--rose); }
.own--rent li { color: var(--ink-muted); }
.own--rent .mk { color: var(--rose); }
.own--rent .struck { text-decoration: line-through; text-decoration-color: rgba(184,92,92,0.5); }
.own--own { color: #E7E2D5; }
.own--own h3 { color: var(--gold); }
.own--own .mk { color: var(--gold); }
.own--own li b { color: #fff; font-weight: 600; }
.own__punch { text-align: center; margin-top: 50px; }
.own__punch p { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); letter-spacing: 0.02em; color: var(--ink-deep); margin: 0; line-height: 1.05; }
.own__punch .gold-text { display: inline-block; }

/* ============================================================
   PORTALS
   ============================================================ */
.portal { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: 70px; }
.portal:nth-child(even) .portal__media { order: -1; }
.portal__ey { color: var(--gold-dark); }
.portal h3 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); letter-spacing: 0.02em; color: var(--ink-deep); margin: 6px 0 16px; }
.portal p { color: var(--ink-soft); font-size: 16px; margin: 0 0 22px; max-width: 46ch; }
.portal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.portal li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.portal li .mk { color: var(--gold-dark); flex: none; margin-top: 3px; }
.portal__media { position: relative; }

/* mock surface frame */
.mock { padding: 20px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; }
.mock__bar { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.mock__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock__bar .ttl { margin-left: 8px; font-family: var(--font-display); letter-spacing: 0.05em; font-size: 15px; color: var(--ink-deep); }
.mock__bar .hijri { margin-left: auto; font-size: 11px; color: var(--ink-muted); font-family: var(--font-body); }
.mock__bar .hijri .a { font-family: var(--font-arabic); color: var(--gold-dark); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: rgba(255,255,255,0.55); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 14px; }
.kpi .n { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.01em; color: var(--ink-deep); line-height: 0.95; }
.kpi .l { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-top: 6px; }
.kpi .d { font-size: 10.5px; color: var(--green-accent); font-weight: 600; margin-top: 3px; }

/* attendance heatmap */
.heat { display: grid; gap: 5px; }
.heat__row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; }
.heat__row .g { font-size: 10.5px; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.heat__cells { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.heat__cells > i { aspect-ratio: 1; border-radius: 3px; }

/* teacher attendance roster mock */
.roster { display: grid; gap: 9px; }
.roster__r { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); background: rgba(255,255,255,0.5); border: 1px solid var(--line-soft); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; color: #fff; flex: none; }
.roster__r .nm { font-size: 14px; color: var(--ink); flex: 1; }
.pmark { font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; }
.pmark.p { background: rgba(63,101,83,0.16); color: var(--green-accent); }
.pmark.l { background: rgba(201,169,97,0.18); color: var(--gold-dark); }
.pmark.a { background: rgba(184,92,92,0.16); color: var(--rose); }

/* parent child rows */
.kid { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); background: rgba(255,255,255,0.55); border: 1px solid var(--line-soft); }
.kid .av { width: 40px; height: 40px; font-size: 15px; }
.kid .info { flex: 1; }
.kid .info .n { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.kid .info .s { font-size: 11.5px; color: var(--ink-muted); }
.kid .stat { text-align: right; }
.kid .stat .v { font-family: var(--font-display); font-size: 22px; color: var(--ink-deep); line-height: 1; }
.kid .stat .k { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }

/* student timeline */
.tl { display: grid; gap: 0; }
.tl__r { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.tl__r:last-child { border-bottom: none; }
.tl__t { font-family: var(--font-body); font-size: 12px; color: var(--ink-muted); font-weight: 600; padding-top: 2px; }
.tl__b .n { font-weight: 600; font-size: 14px; color: var(--ink); }
.tl__b .m { font-size: 11.5px; color: var(--ink-muted); }
.tl__r.salah { background: linear-gradient(90deg, rgba(201,169,97,0.10), transparent); border-radius: var(--r-sm); padding-inline: 10px; margin-inline: -10px; }
.tl__r.salah .n { color: var(--gold-dark); display: flex; align-items: center; gap: 7px; }

/* ============================================================
   MOAT — speaks your dīn
   ============================================================ */
.moat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.feat { padding: 24px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(63,101,83,0.10); color: var(--green-accent); display: grid; place-items: center; margin-bottom: 16px; }
.feat h4 { font-size: 16px; font-weight: 600; color: var(--ink-deep); margin: 0 0 7px; }
.feat p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.feat .ar { font-size: 16px; color: var(--gold-dark); margin-top: 9px; }

/* ============================================================
   HIFZ slab
   ============================================================ */
.hifz { }
.hifz__slab { padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hifz__slab .eyebrow { color: var(--gold); }
.hifz__slab .eyebrow .ar { color: var(--gold); }
.hifz__slab h2 { color: #F4F0E6; }
.hifz__slab .lead { color: rgba(234,229,216,0.78); }
.hifz__slab .ayah { font-size: clamp(22px, 2.4vw, 30px); color: var(--gold); margin: 26px 0 0; line-height: 1.8; }
.hifz__slab .ayah small { display:block; font-family: var(--font-body); direction: ltr; font-size: 12px; letter-spacing: 0.06em; color: rgba(234,229,216,0.5); text-transform: uppercase; margin-top: 8px; }
.hifz__feats { display: grid; gap: 12px; margin-top: 26px; }
.hifz__feats li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: rgba(234,229,216,0.9); }
.hifz__feats .mk { color: var(--gold); flex: none; margin-top: 3px; }

.mushaf { background: rgba(13,21,17,0.5); border: 1px solid rgba(201,169,97,0.18); border-radius: var(--r-lg); padding: 24px; }
.mushaf__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.mushaf__top .nm { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; color: #F4F0E6; }
.mushaf__top .nm small { display:block; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.mushaf__top .j { font-family: var(--font-arabic); font-size: 26px; color: var(--gold); }
.mushaf__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mushaf__grid > i {
  aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.02em;
  background: rgba(234,229,216,0.06); color: rgba(234,229,216,0.4); border: 1px solid rgba(234,229,216,0.06);
}
.mushaf__grid > i.done { background: linear-gradient(135deg, rgba(201,169,97,0.85), rgba(158,131,69,0.85)); color: #1F2D27; border-color: transparent; }
.mushaf__grid > i.now { background: rgba(201,169,97,0.2); color: var(--gold); border-color: var(--gold); }
.mushaf__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.mushaf__stats .s { text-align: center; }
.mushaf__stats .v { font-family: var(--font-display); font-size: 26px; color: var(--gold); line-height: 1; }
.mushaf__stats .k { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(234,229,216,0.5); margin-top: 4px; }

/* ============================================================
   AI with adab
   ============================================================ */
.ai__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.ai__report { padding: 26px; }
.ai__report .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ai__report .hd .tag { margin: 0; }
.ai__report .doc { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.ai__report .doc p { margin: 0 0 11px; }
.ai__report .doc b { color: var(--ink); }
.ai__report .typing { border-right: 2px solid var(--gold); }
.ai__report .actions { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.ai__report .mini { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.ai__report .mini.primary { background: var(--ink-deep); color: var(--paper); }
.ai__report .mini.ghost { background: rgba(255,255,255,0.5); color: var(--ink-soft); border: 1px solid var(--line); }
.ai__points { display: grid; gap: 16px; margin-top: 26px; }
.ai__points li { list-style: none; display: flex; gap: 13px; align-items: flex-start; }
.ai__points .ic { width: 34px; height: 34px; border-radius: 10px; flex:none; background: var(--gold-soft); color: var(--gold-dark); display:grid; place-items:center; }
.ai__points b { display:block; color: var(--ink-deep); font-weight: 600; font-size: 15px; }
.ai__points span { font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================
   TRUST
   ============================================================ */
.trust__slab { padding: clamp(34px, 5vw, 60px); text-align: center; }
.trust__slab .eyebrow { color: var(--gold); justify-content: center; }
.trust__slab .eyebrow .ar { color: var(--gold); }
.trust__quote { font-family: var(--font-arabic); display: none; }
.trust__line { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 46px); letter-spacing: 0.02em; color: #F4F0E6; margin: 0 auto; max-width: 18ch; line-height: 1.06; }
.trust__line .gold-text { background: linear-gradient(135deg,#E4C679,#C9A961); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.trust__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: rgba(234,229,216,0.9); padding: 11px 18px; border-radius: 999px; background: rgba(234,229,216,0.06); border: 1px solid rgba(201,169,97,0.22); }
.badge .ic { color: var(--gold); }
.trust__note { font-size: 13.5px; color: rgba(234,229,216,0.6); margin-top: 28px; max-width: 56ch; margin-inline: auto; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.step { padding: 32px 28px; position: relative; }
.step .num { font-family: var(--font-display); font-size: 54px; color: var(--gold); line-height: 0.8; opacity: 0.85; }
.step h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; color: var(--ink-deep); margin: 16px 0 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.step p .ar { font-size: 15px; color: var(--gold-dark); }

/* ============================================================
   INVESTMENT
   ============================================================ */
.invest__card { max-width: 720px; margin-inline: auto; margin-top: 50px; padding: clamp(34px, 5vw, 56px); text-align: center; }
.invest__card .tag { margin-bottom: 22px; }
.invest__one { font-family: var(--font-display); font-size: clamp(46px, 7vw, 82px); letter-spacing: 0.02em; line-height: 0.92; text-transform: uppercase; color: var(--ink-deep); margin: 4px 0 6px; }
.invest__price { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.invest__price .cur { font-family: var(--font-body); font-weight: 600; font-size: 22px; color: var(--ink-soft); margin-top: 14px; }
.invest__price .amt { font-family: var(--font-display); font-size: clamp(64px, 9vw, 104px); letter-spacing: 0.01em; color: var(--ink-deep); line-height: 0.9; }
.invest__price .up { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink-soft); align-self: flex-end; margin-bottom: 16px; }
.invest__tagline { font-size: 16px; color: var(--ink-soft); margin: 14px 0 30px; }
.invest__incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; text-align: left; max-width: 540px; margin: 0 auto 32px; }
.invest__incl li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.invest__incl .mk { color: var(--gold-dark); flex: none; margin-top: 3px; }
.invest__foot { font-size: 12.5px; color: var(--ink-muted); margin-top: 26px; line-height: 1.55; max-width: 52ch; margin-inline: auto; border-top: 1px solid var(--line-soft); padding-top: 22px; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final { text-align: center; }
.final h2 { margin-bottom: 24px; }
.final .lead { margin: 0 auto 34px; }
.final__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final__micro { margin-top: 22px; font-size: 13px; color: var(--ink-muted); }

.footer { background:
    radial-gradient(80% 120% at 100% 0%, rgba(201,169,97,0.10), transparent 55%),
    linear-gradient(180deg, #243029, #1B2620);
  color: rgba(234,229,216,0.8); padding-block: 60px 36px; margin-top: clamp(40px,8vh,90px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand .brand__name { color: #F4F0E6; }
.footer__brand p { font-size: 13.5px; color: rgba(234,229,216,0.6); max-width: 34ch; margin: 16px 0 0; }
.footer__col h5 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 700; }
.footer__col a { display: block; font-size: 14px; color: rgba(234,229,216,0.72); margin-bottom: 11px; transition: color 0.2s; }
.footer__col a:hover { color: #F4F0E6; }
.footer__ayah { text-align: center; padding: 34px 0 26px; }
.footer__ayah .ar { font-family: var(--font-arabic); font-size: 26px; color: var(--gold); }
.footer__ayah .tr { font-size: 12.5px; color: rgba(234,229,216,0.5); margin-top: 8px; font-style: italic; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(234,229,216,0.12); padding-top: 22px; font-size: 12.5px; color: rgba(234,229,216,0.5); flex-wrap: wrap; }

/* ---------- reveal anim (progressive enhancement — visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* gold cursor orb */
.orb { position: fixed; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,0.5), transparent 70%); pointer-events: none; z-index: 9; transform: translate(-50%,-50%); mix-blend-mode: multiply; will-change: transform; opacity: 0; transition: opacity 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cluster { min-height: 0; display: grid; gap: 16px; position: static; margin-top: 28px; max-width: 460px; }
  .cluster .card, .cluster .slab, .cluster .float { position: static !important; width: 100% !important; inset: auto !important; transform: none !important; }
  .pc-prayer { width: max-content !important; }
  .ai__grid, .own__grid, .hifz__slab, .portal { grid-template-columns: 1fr; }
  .portal:nth-child(even) .portal__media { order: 0; }
  .cards-3, .moat__grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 21px; }
  .nav__inner { height: 66px; }
  .cards-3, .moat__grid, .steps, .invest__incl, .footer__top { grid-template-columns: 1fr; }
  .cluster { min-height: 0; display: grid; gap: 16px; position: static; }
  .cluster .card, .cluster .slab, .cluster .float { position: static !important; width: 100% !important; inset: auto !important; transform: none !important; }
  .pc-prayer { width: max-content !important; }
  .hero__cta .btn, .final__cta .btn { flex: 1 1 auto; justify-content: center; }
  .kpis { grid-template-columns: repeat(3,1fr); }
  .heat__cells { grid-template-columns: repeat(14,1fr); }
}

/* ---------- nav mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 110; background: rgba(250,248,243,0.97); backdrop-filter: blur(12px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.menu.open { opacity: 1; pointer-events: auto; }
.menu a { font-family: var(--font-display); font-size: 34px; letter-spacing: 0.03em; color: var(--ink-deep); }
.menu .btn { font-family: var(--font-body); font-size: 16px; }
.menu__close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--ink); padding: 10px; cursor: pointer; }
