/* Pricing page. Plan cards and the monthly/yearly toggle are in aafia.css. */

/* ---------- Hero + plans ---------- */
.p-hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.p-hero-glow { position: absolute; width: 760px; height: 760px; left: 50%; top: -480px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(224, 20, 44, .13), rgba(224, 20, 44, 0) 65%); }
.p-hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.p-hero .sec-head { gap: 18px; }
.p-hero .eyebrow { margin: 0; }
.p-hero h1 { font-size: 62px; margin: 0; max-width: 820px; animation-delay: .06s; }
.p-hero .lead { animation-delay: .12s; }
.p-compare { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
@media (max-width: 900px) { .p-hero h1 { font-size: 42px; } .p-hero { padding: 48px 0 72px; } }

/* ---------- Plan finder ---------- */
.finder-sec { padding: 0 0 96px; }
.finder { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; box-shadow: 0 30px 60px -48px rgba(26, 36, 51, .6); }
.finder-qs { flex: 3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.finder-qs .h2 { font-size: 34px; margin-bottom: 0; }
.finder fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.finder legend { font-weight: 700; font-size: 16px; margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: center; flex: 1 1 90px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s; }
.opt:hover { border-color: var(--navy); }
.opt[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.finder-rec { flex: 2 1 320px; min-width: 0; background: var(--navy-deep); color: #fff; border-radius: 22px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.finder-ecg { position: absolute; inset-inline: 0; bottom: 10px; width: 100%; height: 70px; opacity: .7; }
.rec-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-light); }
html[lang="ar"] .rec-label { letter-spacing: 0; }
.finder-rec > .stack { margin-top: 10px; position: relative; }
.rec { display: flex; flex-direction: column; gap: 14px; }
.rec > b { font-size: 36px; letter-spacing: -0.03em; }
.rec-price { font-size: 18px; font-weight: 700; color: #DCE3EC; }
.rec ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--on-dark-2); }
.rec li { display: flex; gap: 10px; }
.rec li svg { flex-shrink: 0; margin-top: 2px; }
.bill-only:not(.on) { display: none; }
.rec-ctas { margin-top: auto; padding: 28px 0 50px; display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
@media (max-width: 560px) { .finder { padding: 24px; } .finder-rec { padding: 24px; } }

/* ---------- Included in every plan ---------- */
.incl .wrap { display: flex; flex-direction: column; gap: 40px; }
.incl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.incl-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.incl-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.incl-card b { font-size: 17px; color: #fff; }
.incl-card span:last-child { font-size: 15px; line-height: 1.55; color: var(--on-dark); }

/* ---------- Comparison table ---------- */
.cmp-sec .wrap { display: flex; flex-direction: column; gap: 32px; }
.cmp-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cmp-head-row .h2 { margin-bottom: 0; }
.cmp-tools { display: flex; gap: 8px; }
.cmp-tools .pill { border: 1px solid var(--line-2); }
.cmp-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid #EEF1F4; text-align: center; vertical-align: middle; }
.cmp th:first-child, .cmp td:first-child { width: 44%; text-align: start; }
.cmp thead th { position: sticky; top: 62px; z-index: 5; background: #fff; border-bottom: 2px solid var(--line); }
.cmp thead th:first-child { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-3); border-start-start-radius: 22px; }
.cmp thead th:last-child { border-start-end-radius: 22px; }
.cmp thead b { display: block; font-size: 16px; }
.cmp thead th > span, .cmp thead .stack span { font-size: 13px; font-weight: 500; color: var(--slate-2); }
.cmp-r th { font-size: 15px; font-weight: 600; color: var(--navy); }
.cmp-r:hover { background: #FAFBFC; }
.cmp tr.cmp-gh > th { padding: 0; } /* beats the first-column padding rules, incl. the phone one */
.grp { display: flex; align-items: center; gap: 10px; width: 100%; padding: 18px 16px; min-height: 44px; background: var(--ground); border: 0; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); cursor: pointer; text-align: start; }
html[lang="ar"] .grp { letter-spacing: 0; font-size: 14px; }
.grp:hover { color: var(--red-hover); }
.grp .cnt { margin-inline-start: auto; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--slate-3); }
.yes { width: 28px; height: 28px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.dash { color: #C2C9D3; font-weight: 700; }
.txt { font-size: 14px; font-weight: 700; color: var(--navy); }
.cmp tfoot td { border-bottom: 0; padding: 18px 16px; }
@media (max-width: 640px) {
  .cmp th, .cmp td { padding: 12px 6px; font-size: 13px; }
  .cmp th:first-child, .cmp td:first-child { width: 34%; padding-inline-start: 12px; }
  .cmp thead th { top: 0; }
  .cmp thead b { font-size: 13px; }
  .cmp-r th { font-size: 13px; }
  .grp { padding: 16px 12px; }
  .btn-xs { padding: 0 8px; font-size: 13px; }
}

/* ---------- Billing FAQ ---------- */
.p-faqs { padding: 0 0 104px; scroll-margin-top: 90px; }
.p-faqs .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.p-faqs-head { flex: 1 1 300px; min-width: 0; }
.p-faqs-head .lead { font-size: 16px; }
.p-faqs-head .lead a, .faq-a a { font-weight: 700; }
.p-faqs-list { flex: 2 1 520px; min-width: 0; }

/* ---------- CTA ---------- */
.p-cta { padding: 0 24px 96px; }
.p-cta-box { position: relative; overflow: hidden; max-width: 1152px; margin: 0 auto; border-radius: 30px; padding: 64px 32px; text-align: center; color: #fff; background: var(--navy-deep); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.p-cta-box > * { position: relative; }
.p-cta-glow {
  position: absolute !important; width: 700px; height: 700px; left: 50%; top: -380px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(224, 20, 44, .35), rgba(224, 20, 44, 0) 62%);
}
.p-cta-ecg { position: absolute !important; left: 0; right: 0; bottom: 14px; width: 100%; height: 80px; }
.p-cta-box .h2 { color: #fff; max-width: 720px; margin: 0; }
.p-cta-box .lead { color: var(--on-dark); text-align: center; }
.p-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 40px; }
@media (max-width: 480px) { .p-cta { padding: 0 16px 72px; } .p-cta-box { padding: 48px 20px; } }
