.pricing-page { background: #fbfaf7; }
html:has(.pricing-page) { overflow-x: hidden; }
.pricing-page .navbar.scrolled { background: rgba(255,255,255,.98); }
.pricing-page .navbar.scrolled .logo-text-en { color: #063e35; }
.pricing-page .navbar.scrolled .logo-text-ar { color: #a87c1f; }
.pricing-hero { position: relative; overflow: hidden; padding: 170px 0 116px; color: #fff; text-align: center; background: linear-gradient(145deg, #063e35 0%, #0b5c4f 62%, #0d6b5e 100%); }
.pricing-pattern { position: absolute; inset: 0; opacity: .13; background-image: url("islamic-pattern.png"); background-size: 520px; mix-blend-mode: screen; }
.pricing-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 174px;
  height: 128px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: #fbfaf7 url("sanad.png") center 14px / 128px auto no-repeat;
  box-shadow: 0 -10px 24px rgba(3, 33, 29, .08);
}
.pricing-hero-inner { position: relative; z-index: 1; max-width: 980px; }
.pricing-eyebrow, .cta-kicker { display: inline-flex; align-items: center; gap: 10px; color: #eac46c; font-size: .76rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.pricing-eyebrow::before, .pricing-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.pricing-hero h1 { margin: 18px 0 6px; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.9rem); font-weight: 400; line-height: 1; letter-spacing: -3px; }
.pricing-hero h1 em, .pricing-cta h2 em { color: #eac46c; font-weight: 400; }
.pricing-hero-lead { color: #d9f1eb; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
.pricing-hero-copy { max-width: 720px; margin: 22px auto 32px; color: rgba(255,255,255,.72); line-height: 1.8; }
.pricing-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pricing-trust span { padding: 7px 13px; color: #dff8f2; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .76rem; font-weight: 600; }
.pricing-trust span::before { content: "\2726"; margin-right: 7px; color: #eac46c; }
.pricing-plans-section, .comparison-section { position: relative; isolation: isolate; overflow: hidden; }
.pricing-plans-section::before, .comparison-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("islamic-pattern.png");
  background-size: 520px;
  background-repeat: repeat;
  opacity: .025;
  filter: sepia(1) saturate(1.2) hue-rotate(110deg);
  pointer-events: none;
}
.pricing-plans-section { padding: 90px 0 100px; }
.session-picker { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 980px; margin: 0 auto; padding: 20px 24px; background: #fff; border: 1px solid #e4eee9; border-radius: 18px; box-shadow: 0 18px 50px rgba(6,62,53,.08); }
.session-picker-logo { width: 74px; height: 62px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(6,62,53,.12)); }
.picker-label { display: block; color: #063e35; font-weight: 700; }
.session-picker p, .session-helper { color: #76827d; font-size: .78rem; }
.session-switcher { display: grid; gap: 8px; justify-items: center; }
.session-picker .quran-discount-note { margin: 0; padding: 7px 13px; color: #7a5a13; background: #fff5d8; border: 1px solid #ead184; border-radius: 999px; font-size: .72rem; font-weight: 800; text-align: center; }
.session-toggle { display: flex; padding: 5px; background: #edf6f3; border-radius: 999px; }
.session-option { padding: 10px 20px; color: #52716a; background: transparent; border-radius: 999px; font-size: .78rem; font-weight: 700; transition: .25s ease; }
.session-option.active { color: #fff; background: #0d6b5e; box-shadow: 0 6px 16px rgba(13,107,94,.24); }
.session-helper { margin: 14px auto 58px; text-align: center; }
.plans-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.plans-heading h2, .section-heading-centered h2 { color: #15342d; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.7rem); font-weight: 400; line-height: 1.1; }
.plans-heading h2 span, .section-heading-centered h2 span { color: #0d6b5e; }
.plans-heading > p { max-width: 460px; color: #71807b; text-align: right; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; overflow: hidden; background: #fff; border: 1px solid #e5ece9; border-radius: 18px; box-shadow: 0 10px 32px rgba(12,57,49,.05); transition: transform .25s ease, box-shadow .25s ease; }
.pricing-card:hover { transform: translateY(-7px); box-shadow: 0 18px 46px rgba(12,57,49,.12); }
.pricing-card.featured { color: #fff; background: #0b5c4f; border-color: #0b5c4f; transform: translateY(-8px); box-shadow: 0 20px 44px rgba(11,92,79,.22); }
.pricing-card.featured:hover { transform: translateY(-14px); }
.pricing-card.advanced { border-top: 4px solid #d4a940; }
.popular-badge, .value-badge { position: absolute; top: 18px; right: -28px; width: 125px; padding: 4px 0; color: #063e35; background: #eac46c; transform: rotate(42deg); text-align: center; font-size: .58rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.value-badge { color: #fff; background: #c8982a; }
.plan-number { color: #c8982a; font-family: var(--font-display); font-size: .8rem; }
.plan-top h3 { margin: 6px 0; color: #15342d; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.featured .plan-top h3 { color: #fff; }
.plan-top p { min-height: 44px; color: #7a8984; font-size: .76rem; line-height: 1.5; }
.featured .plan-top p { color: rgba(255,255,255,.65); }
.plan-price { display: flex; align-items: start; margin: 24px 0 4px; color: #0d6b5e; }
.featured .plan-price { color: #eac46c; }
.plan-price .currency { margin-top: 8px; font-weight: 700; }
.plan-price strong { font-family: var(--font-display); font-size: 3.6rem; font-weight: 400; line-height: 1; }
.plan-price span:last-child { align-self: end; margin: 0 0 7px 5px; color: #87938f; font-size: .65rem; }
.featured .plan-price span:last-child { color: rgba(255,255,255,.58); }
.plan-sessions { padding-bottom: 18px; color: #6d7a76; border-bottom: 1px solid #e9efed; font-size: .68rem; }
.featured .plan-sessions { color: #bcd8d2; border-color: rgba(255,255,255,.14); }
.plan-features { display: grid; gap: 11px; margin: 20px 0; }
.plan-features li { position: relative; padding-left: 20px; color: #53655f; font-size: .73rem; line-height: 1.5; }
.plan-features li::before { content: "\2713"; position: absolute; left: 0; color: #0d8b76; font-weight: 800; }
.featured .plan-features li { color: rgba(255,255,255,.78); }
.featured .plan-features li::before { color: #eac46c; }
.best-for { margin-top: auto; min-height: 70px; padding: 13px; color: #76827f; background: #f6f8f7; border-radius: 10px; font-size: .64rem; line-height: 1.55; }
.featured .best-for { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.plan-btn { display: block; margin-top: 16px; padding: 11px; color: #0d6b5e; border: 1px solid #b7d7cf; border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 700; }
.plan-btn:hover { color: #fff; background: #0d6b5e; }
.featured .plan-btn { color: #063e35; background: #eac46c; border-color: #eac46c; }
.plans-note { margin-top: 30px; color: #82908b; text-align: center; font-size: .75rem; }
.plans-note::before { content: "\2726"; margin-right: 8px; color: #c8982a; }
.savings-section { padding: 100px 0; background: #eef5f2; }
.section-heading-centered { max-width: 670px; margin: 0 auto 45px; text-align: center; }
.section-heading-centered p { margin-top: 12px; color: #72827d; }
.savings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.savings-grid.referral-only { grid-template-columns: minmax(0, 584px); justify-content: center; }
.saving-card { position: relative; padding: 40px; overflow: hidden; background: #fff; border: 1px solid #dfeae6; border-radius: 20px; }
.saving-card.referral { color: #fff; background: #093f36; border-color: #093f36; }
.saving-icon { position: absolute; top: 22px; right: 24px; color: #d5e9e4; font-family: var(--font-display); font-size: 5rem; line-height: 1; }
.referral .saving-icon { color: rgba(255,255,255,.08); }
.saving-kicker { color: #c8982a; font-size: .68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.saving-card h3 { max-width: 380px; margin: 12px 0 22px; color: #163b32; font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 1.2; }
.saving-card.referral h3 { color: #fff; }
.saving-card.referral p { color: rgba(255,255,255,.68); font-size: .8rem; }
.extra-prices { display: flex; gap: 12px; margin-bottom: 22px; }
.extra-prices p { flex: 1; padding: 15px; background: #f4f8f6; border-radius: 12px; }
.extra-prices strong, .extra-prices span { display: block; }
.extra-prices strong { color: #0d6b5e; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.extra-prices span, .saving-card small { color: #7a8984; font-size: .65rem; }
.referral-meter { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 23px 0 16px; }
.referral-meter span { height: 7px; background: #d4a940; border-radius: 99px; }
.referral small { color: rgba(255,255,255,.52); }
.comparison-section { padding: 100px 0; background: rgba(255,255,255,.96); }
.comparison-wrap { overflow-x: auto; border: 1px solid #e0eae6; border-radius: 18px; box-shadow: 0 12px 36px rgba(12,57,49,.06); }
.comparison-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; }
.comparison-wrap th, .comparison-wrap td { padding: 16px 20px; border-bottom: 1px solid #e8efec; text-align: center; font-size: .76rem; }
.comparison-wrap thead th { color: #fff; background: #0b5c4f; font-size: .72rem; letter-spacing: .5px; text-transform: uppercase; }
.comparison-wrap thead th:first-child { text-align: left; }
.comparison-wrap tbody th { color: #415c55; background: #f7faf9; text-align: left; font-weight: 600; }
.comparison-wrap tbody td { color: #0d6b5e; font-weight: 700; }
.comparison-wrap tr:last-child th, .comparison-wrap tr:last-child td { border-bottom: 0; }
.pricing-cta { position: relative; overflow: hidden; padding: 110px 0; color: #fff; text-align: center; background: linear-gradient(145deg,#063e35,#0b5c4f); }
.pricing-cta::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: url("islamic-pattern.png"); background-size: 500px; }
.pricing-cta .container { position: relative; z-index: 1; max-width: 980px; }
.cta-medallion { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; color: #eac46c; border: 1px solid rgba(234,196,108,.5); border-radius: 50%; font-family: var(--font-display); font-size: 1.8rem; }
.pricing-cta h2 { margin: 12px 0 18px; font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; line-height: 1; }
.cta-lead { max-width: 700px; margin: 0 auto; color: #e4f4f0; font-size: 1rem; font-weight: 600; }
.cta-body { max-width: 760px; margin: 18px auto 30px; color: rgba(255,255,255,.62); font-size: .82rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cta-actions a { padding: 13px 20px; color: #e6f4f0; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.cta-actions a:hover { background: rgba(255,255,255,.08); }
.cta-actions .cta-primary { color: #063e35; background: #eac46c; border-color: #eac46c; }
.cta-reassurance { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.5); font-size: .62rem; }
.cta-reassurance i { width: 3px; height: 3px; background: #d4a940; border-radius: 50%; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } .pricing-card.featured { transform: none; } .pricing-card.featured:hover { transform: translateY(-7px); } }
@media (max-width: 768px) {
  .pricing-hero { padding: 135px 0 98px; } .pricing-hero h1 { letter-spacing: -1.5px; }
  .pricing-hero::after { bottom: -30px; width: 146px; height: 110px; background-size: 108px auto; background-position: center 13px; }
  .session-picker, .plans-heading { align-items: stretch; flex-direction: column; } .session-picker-logo { align-self: center; width: 88px; height: 72px; } .session-toggle { align-self: stretch; } .session-option { flex: 1; padding: 9px 8px; font-size: .64rem; } .plans-heading > p { text-align: left; }
  .pricing-grid, .savings-grid { grid-template-columns: 1fr; } .pricing-card { padding: 28px; }
  .saving-card { padding: 30px 24px; } .extra-prices { flex-direction: column; }
  .pricing-cta { padding: 85px 0; } .cta-actions { flex-direction: column; } .cta-actions a { width: 100%; }
}
