/* ==========================================================================
   DEEN TAQWA — Editorial emerald aesthetic
   Fraunces (serif display) + Instrument Sans (body) + Amiri (Arabic)
   ========================================================================== */

:root {
  /* Core palette */
  --cream: #f5f1e8;
  --cream-deep: #ece6d6;
  --ink: #0e1612;
  --ink-soft: #2a3330;
  --ink-muted: #5a635f;
  --paper: #faf7ee;

  /* Emerald — Islamic green, not mall green */
  --emerald: #0e6b4e;
  --emerald-deep: #084a35;
  --emerald-bright: #13a374;
  --emerald-glow: rgba(14, 107, 78, 0.18);

  /* Accents */
  --gold: #c9a961;
  --terracotta: #b8593a;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, sans-serif;
  --font-ar: 'Amiri', 'Scheherazade New', serif;

  /* Rhythm */
  --section-pad: clamp(1.25rem, 3.5vw, 3rem);
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss02';
}

img, video, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
}

/* ==========================================================================
   Grain overlay — adds paper texture, kills digital feel
   ========================================================================== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245, 241, 232, 0.92), rgba(245, 241, 232, 0.6));
  z-index: -1;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.nav__mark { width: 36px; height: 36px; color: var(--emerald); }

.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }

.nav__wordmark-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav__wordmark-sub {
  font-family: var(--font-ar);
  font-size: 0.85rem;
  color: var(--emerald);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--emerald); }

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--emerald);
  transition: right 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}

.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav__cta:hover { background: var(--emerald); transform: translateY(-1px); }
.nav__cta:hover svg { transform: translateX(2px); }
.nav__cta svg { transition: transform 0.25s ease; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem 1.5rem;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.eyebrow--dark { color: var(--ink-soft); }
.eyebrow--light { color: rgba(245, 241, 232, 0.7); }

.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2.4s ease-in-out infinite;
}

.eyebrow__dot--emerald { background: var(--emerald); }
.eyebrow__dot--cream { background: var(--cream); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.1s; }
.hero__title-line:nth-child(2) { animation-delay: 0.25s; }
.hero__title-line:nth-child(3) { animation-delay: 0.4s; }

.hero__title-line--italic {
  font-style: italic;
  color: var(--emerald);
  font-variation-settings: 'WONK' 1, 'SOFT' 50;
  padding-left: 1.5em;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.9s 0.55s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.9s 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 24px -8px var(--emerald-glow);
}

.btn--primary:hover {
  background: var(--emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 32px -8px rgba(14, 107, 78, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14, 22, 18, 0.18);
}

.btn--ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn--full { width: 100%; justify-content: center; }
.btn--large { padding: 1.25rem 2.25rem; font-size: 1.05rem; }

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14, 22, 18, 0.1);
  opacity: 0;
  animation: rise 0.9s 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--emerald);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.3;
  margin-top: 0.35rem;
}

.stat__divider {
  width: 1px;
  height: 42px;
  background: rgba(14, 22, 18, 0.15);
}

/* Hero media */
.hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background: var(--ink);
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(14, 22, 18, 0.25),
    0 20px 40px -15px var(--emerald-glow),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  transform: rotate(-2deg);
  animation: rise 1.1s 0.4s cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
}

.hero__phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.hero__phone-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 40%, var(--emerald-glow), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.hero__caption {
  max-width: 260px;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-left: 1rem;
  border-left: 1px solid var(--ink);
  opacity: 0;
  animation: rise 1s 1s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.hero__caption-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

.hero__caption-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero__caption .ar {
  font-family: var(--font-ar);
  font-size: 1.1rem;
  color: var(--emerald);
}

.hero__caption-meaning {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-style: italic;
}

/* Marquee */
.marquee {
  margin-top: 2rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(14, 22, 18, 0.12);
  border-bottom: 1px solid rgba(14, 22, 18, 0.12);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: slide 60s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.marquee__track span::after {
  content: '✦';
  margin-left: 4rem;
  color: var(--emerald);
  font-style: normal;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   QUOTE / AYAH
   ========================================================================== */
.quote {
  padding: var(--section-pad) 2rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.quote__ar {
  font-family: var(--font-ar);
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.6;
  color: var(--emerald-deep);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.quote__tr {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  color: var(--ink);
  max-width: 28em;
  margin: 0 auto 1rem;
  font-weight: 300;
  line-height: 1.4;
}

.quote__cite {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-head {
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head__kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-head__num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--emerald);
  font-variation-settings: 'WONK' 1;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.section-head__title--italic {
  font-style: italic;
  color: var(--emerald);
  font-variation-settings: 'WONK' 1, 'SOFT' 50;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how {
  padding: var(--section-pad) 2rem;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.3rem;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald) 15%, var(--emerald) 85%, transparent);
  opacity: 0.25;
}

.step {
  padding-top: 1rem;
  position: relative;
}

.step__num {
  display: inline-flex;
  width: 4.5rem; height: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  font-style: italic;
  font-variation-settings: 'WONK' 1;
  position: relative;
  z-index: 2;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-variation-settings: 'opsz' 144;
}

.step__body {
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 28em;
}

/* ==========================================================================
   FEATURE BLOCKS
   ========================================================================== */
.feature {
  padding: var(--section-pad) 2rem;
  overflow: hidden;
}

.feature--light { background: var(--paper); }

.feature--dark {
  background: var(--emerald-deep);
  color: var(--cream);
  position: relative;
}

.feature--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(19, 163, 116, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.08), transparent 50%);
  pointer-events: none;
}

.feature__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}

.feature__grid--reverse .feature__copy { order: 2; }
.feature__grid--reverse .feature__media { order: 1; }

.feature__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.feature__title--light { color: var(--cream); }

.feature__title em {
  color: var(--emerald);
  font-variation-settings: 'WONK' 1, 'SOFT' 50;
}

.feature__title--light em { color: var(--gold); }

.feature__body {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  max-width: 32em;
  line-height: 1.6;
}

.feature__body--light { color: rgba(245, 241, 232, 0.75); }

.feature__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.feature__list-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: 0.6em;
  flex-shrink: 0;
}

/* Feature media */
.feature__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature__media img {
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(14, 22, 18, 0.25);
  max-height: 640px;
  width: auto;
}

.feature__media--verify {
  transform: rotate(2deg);
}

.feature__media--hero img {
  max-height: 680px;
}

/* Dhikr display */
.dhikr-display {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(245, 241, 232, 0.15);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  max-width: 32em;
}

.dhikr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}

.dhikr-row:last-child { border-bottom: none; }

.dhikr-ar {
  font-family: var(--font-ar);
  font-size: 1.6rem;
  color: var(--cream);
}

.dhikr-tr {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(245, 241, 232, 0.75);
  font-size: 1rem;
}

.dhikr-count {
  font-family: var(--font-body);
  font-style: normal;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: rgba(19, 163, 116, 0.2);
  color: var(--emerald-bright);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   LEARNING
   ========================================================================== */
.learning {
  padding: var(--section-pad) 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.learning__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1.25rem;
}

.learning__card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.learning__phone {
  background: linear-gradient(160deg, var(--cream-deep), var(--paper));
  border-radius: 28px;
  padding: 2rem 1.5rem 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.learning__phone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 107, 78, 0.08), transparent 60%);
}

.learning__phone img {
  max-height: 100%;
  width: auto;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 40px -15px rgba(14, 22, 18, 0.15);
  transform: translateY(8%);
  position: relative;
  z-index: 1;
}

.learning__card:hover .learning__phone {
  transform: translateY(-6px);
}

.learning__card figcaption {
  text-align: left;
  padding: 0 0.5rem;
}

.learning__card-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--emerald);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
  font-variation-settings: 'WONK' 1;
}

.learning__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 144;
}

.learning__card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.progress {
  background: var(--paper);
  padding: var(--section-pad) 2rem;
}

.progress__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.progress__viz {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 480px;
}

.streak-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--cream-deep);
}

.streak-cell.l1 { background: rgba(14, 107, 78, 0.25); }
.streak-cell.l2 { background: rgba(14, 107, 78, 0.5); }
.streak-cell.l3 { background: rgba(14, 107, 78, 0.75); }
.streak-cell.l4 { background: var(--emerald); }

.streak-legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.streak-sq {
  width: 12px; height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.streak-sq--l0 { background: var(--cream-deep); }
.streak-sq--l1 { background: rgba(14, 107, 78, 0.25); }
.streak-sq--l2 { background: rgba(14, 107, 78, 0.5); }
.streak-sq--l3 { background: rgba(14, 107, 78, 0.75); }
.streak-sq--l4 { background: var(--emerald); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  padding: var(--section-pad) 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 1.5rem 1.5rem;
  border: 1px solid rgba(14, 22, 18, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 107, 78, 0.3);
}

.price-card--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: scale(1.04);
  box-shadow: 0 30px 60px -20px rgba(14, 22, 18, 0.3);
}

.price-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.price-card__ribbon {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--emerald);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-weight: 600;
}

.price-card__label {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.price-card--featured .price-card__label { color: rgba(245, 241, 232, 0.65); }

.price-card__amt {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

.price-card--featured .price-card__amt { color: var(--cream); }

.price-card__currency {
  font-size: 0.5em;
  vertical-align: top;
  color: var(--emerald);
  margin-right: 0.1em;
}

.price-card--featured .price-card__currency { color: var(--emerald-bright); }

.price-card__per {
  font-size: 0.3em;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-style: normal;
  margin-left: 0.1em;
}

.price-card--featured .price-card__per { color: rgba(245, 241, 232, 0.55); }

.price-card__desc {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.price-card--featured .price-card__desc { color: rgba(245, 241, 232, 0.7); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  background: var(--emerald-deep);
  color: var(--cream);
  padding: var(--section-pad) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(19, 163, 116, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(201, 169, 97, 0.12), transparent 50%);
  pointer-events: none;
}

.final-cta__inner {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.final-cta__ar {
  font-family: var(--font-ar);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.5;
  opacity: 0.95;
}

.final-cta__meaning {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(245, 241, 232, 0.7);
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
}

.final-cta__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.final-cta__title em {
  color: var(--gold);
  font-variation-settings: 'WONK' 1, 'SOFT' 50;
}

.final-cta__sub {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 1.75rem 2rem;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__mark { color: var(--emerald-bright); }

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
}

.footer__tag {
  font-size: 0.82rem;
  color: rgba(245, 241, 232, 0.55);
  font-style: italic;
  font-family: var(--font-display);
  margin-top: 2px;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.9rem;
}

.footer__nav a {
  color: rgba(245, 241, 232, 0.7);
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--emerald-bright); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(245, 241, 232, 0.45);
  text-align: right;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { order: -1; }
  .hero__phone { max-width: 280px; transform: rotate(0); }
  .hero__stats { flex-wrap: wrap; gap: 1rem; }
  .stat__divider { display: none; }

  .feature__grid,
  .feature__grid--reverse,
  .progress__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .feature__grid--reverse .feature__copy,
  .feature__grid--reverse .feature__media { order: unset; }

  .steps,
  .learning__cards,
  .pricing__cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before { display: none; }

  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }

  .nav__links { display: none; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__nav { flex-wrap: wrap; }
  .footer__copy { text-align: center; }

  .hero__title-line--italic { padding-left: 0; }
}

@media (max-width: 560px) {
  .nav { padding: 0.75rem 1.25rem; }
  .hero { padding: 1.25rem 1.25rem 1.75rem; }
  .feature, .how, .learning, .progress, .pricing, .final-cta { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .dhikr-ar { font-size: 1.3rem; }
}
