/* pricing.css — Pricing page (new design).
   New classes are prefixed "pr-". The review styles from the old file are kept
   (scoped under .pr-page) because reviews.js builds those class names. */

.pr-page {
    --pr-navy: #10184f;
    --pr-blue: #1d62d8;
    --pr-cyan: #18b7e6;
    --pr-cyan2: #49d2e8;
    --pr-ink: #111827;
    --pr-muted: #4f5b76;
    --pr-line: var(--line, #e7eaf2);
    --pr-soft: #f6f8fc;
    --pr-shadow: var(--shadow, 0 10px 26px rgba(16, 24, 79, .06));
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--pr-ink);
    line-height: 1.55;
}
.pr-page *, .pr-page *::before, .pr-page *::after { box-sizing: border-box; }
.pr-page h1, .pr-page h2, .pr-page h3, .pr-page h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; margin: 0; color: inherit; }
.pr-page a { text-decoration: none; }

.pr-wrap { width: min(1180px, 92vw); margin: 0 auto; }
.pr-section { padding: 82px 0; }

.pr-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1d62d8; margin-bottom: 14px; }
.pr-head { text-align: center; max-width: 820px; margin: 0 auto 42px; }
.pr-head .pr-eyebrow { margin-bottom: 10px; }
.pr-head h2 { font-size: 38px; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.pr-head p { color: var(--pr-muted); font-size: 17px; margin: 0; }

.pr-page .pr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.4;
    border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.pr-page .pr-btn:hover { transform: translateY(-1px); }
.pr-page .pr-btn-primary { background: linear-gradient(90deg, #1a6fd6, #1596d9); color: #fff; box-shadow: 0 10px 28px rgba(24, 183, 230, .22); }
.pr-page .pr-btn-outline { background: #fff; border-color: #d9deea; color: var(--pr-navy); }
.pr-page .pr-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.pr-page .pr-block { width: 100%; }

/* ---------- Hero ---------- */
.pr-hero {
    background: radial-gradient(circle at 78% 20%, rgba(38, 192, 235, .18), transparent 28%),
        linear-gradient(135deg, #17226e 0%, #0e1449 62%, #090d32 100%);
    color: #fff; padding: 78px 0 74px;
}
.pr-hero .pr-eyebrow, .pr-custom .pr-eyebrow, .pr-cta-box .pr-eyebrow { color: var(--pr-cyan2); }
.pr-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pr-hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 20px; color: #fff; }
.pr-lede { font-size: 18px; line-height: 1.7; color: #e3e8fb; max-width: 680px; margin: 0 0 28px; }
.pr-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pr-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: #dbe1f8; font-size: 13px; }
.pr-meta b { display: block; color: #fff; font-size: 20px; margin-bottom: 2px; font-family: 'Plus Jakarta Sans', sans-serif; }

.pr-summary { background: #fff; border-radius: 18px; padding: 22px; color: var(--pr-ink); box-shadow: 0 28px 70px rgba(0, 0, 0, .28); }
.pr-summary h3 { font-size: 18px; margin-bottom: 8px; }
.pr-summary-item { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--pr-line); }
.pr-summary-item:first-of-type { border-top: none; }
.pr-summary-item span { color: #2a3350; font-size: 14.5px; }
.pr-summary-item b { color: var(--pr-navy); }

/* ---------- Plans ---------- */
.pr-pricing { background: var(--pr-soft); }
.pr-toggle-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.pr-page .toggle { display: inline-flex; background: #f0f3f8; border: 1px solid var(--pr-line); border-radius: 999px; padding: 5px; gap: 2px; }
.pr-page .toggle button {
    border: none; background: transparent; padding: 9px 20px; border-radius: 999px; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 800; color: #59617a; transition: background .15s ease, color .15s ease;
}
.pr-page .toggle button.active { background: #fff; color: var(--pr-navy); box-shadow: 0 4px 12px rgba(16, 24, 79, .08); }

.pr-page .pr-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.pr-plan {
    background: #fff; border: 1px solid var(--pr-line); border-radius: 18px; padding: 24px;
    box-shadow: 0 10px 26px rgba(16, 24, 79, .05); position: relative; display: flex; flex-direction: column;
}
.pr-plan.featured { border: 2px solid #2aaee8; transform: translateY(-4px); }
.pr-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #0f78c4; color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.pr-plan-name { font-size: 13px; color: #3a4666; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pr-price small { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--pr-muted); }
.pr-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 36px; font-weight: 800; color: var(--pr-navy); letter-spacing: -.03em; margin: 6px 0; }
.pr-plan-desc { font-size: 14.5px; line-height: 1.6; min-height: 64px; color: var(--pr-muted); min-height: 44px; }
.pr-features { display: grid; gap: 10px; margin: 18px 0 22px; }
.pr-feature { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: #2a3350; }
.pr-check .ic { stroke-width: 3; }
.pr-check { width: 20px; height: 20px; border-radius: 50%; background: #eaf8f3; color: #168a60; display: grid; place-items: center; flex: 0 0 20px; font-size: 11px; margin-top: 1px; }
.pr-desc { font-size: 14.5px; color: #2a3350; margin: 16px 0 22px; line-height: 1.65; }
.pr-plan .pr-btn { margin-top: auto; width: 100%; }
.pr-empty { grid-column: 1 / -1; text-align: center; color: var(--pr-muted); padding: 30px 10px; background: #fff; border: 1px dashed var(--pr-line); border-radius: 16px; margin: 0; }

/* --- Guard: home.css also styles .plan / .plan.featured / .plans (dark card etc.).
       These rules make this page ignore those and use only the styles above. --- */
.pr-page .pr-plans { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; transform: none; width: auto; max-width: none; }
.pr-page .pr-plan, .pr-page .pr-plan.featured {
    background: #fff !important; color: var(--pr-ink) !important; box-shadow: 0 10px 26px rgba(16, 24, 79, .05) !important;
    border: 1px solid var(--pr-line); margin: 0; width: auto; max-width: none; min-height: 0; text-align: left;
}
.pr-page .pr-plan.featured { border: 2px solid #2aaee8; box-shadow: 0 16px 36px rgba(42, 174, 232, .18) !important; }
.pr-page .pr-plan::before, .pr-page .pr-plan::after { content: none; }
.pr-page .pr-plan .pr-plan-name { color: #3a4666 !important; }
.pr-page .pr-plan .pr-price { color: var(--pr-navy) !important; }
.pr-page .pr-plan .pr-plan-desc { color: var(--pr-muted) !important; }
.pr-page .pr-plan .pr-price small { color: var(--pr-muted) !important; }
.pr-page .pr-plan .pr-desc, .pr-page .pr-plan .pr-feature { color: #2a3350 !important; }
.pr-page .pr-plan .pr-btn-primary { color: #fff !important; }
.pr-page .pr-plan .pr-btn-outline { color: var(--pr-navy) !important; background: #fff !important; }

/* ---------- Compare ---------- */
.pr-compare-title { font-size: 18px; margin: 0 0 14px; }
.pr-table-wrap { overflow-x: auto; border: 1px solid var(--pr-line); border-radius: 16px; margin-bottom: 34px; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pr-table th, .pr-table td { padding: 15px 16px; border-bottom: 1px solid var(--pr-line); text-align: left; font-size: 14px; vertical-align: top; color: #2a3350; }
.pr-table tr:last-child td { border-bottom: none; }
.pr-table th { background: #f8faff; color: #3a4666; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.pr-table td:first-child { font-weight: 800; color: #2f385f; }
.pr-table td.price-cell { font-weight: 800; color: var(--pr-navy); white-space: nowrap; }
.pr-table td.inc { color: #2a3350; white-space: pre-line; }


/* ---------- Documents-only cards ---------- */
.pr-bundle { margin-top: 56px; }
.pr-bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pr-bundle-card { background: #fff; border: 1px solid var(--pr-line); border-radius: 16px; padding: 24px; box-shadow: 0 10px 26px rgba(16, 24, 79, .05); }
.pr-bundle-card h3 { font-size: 24px; margin: 0 0 8px; color: var(--pr-navy); }
.pr-bundle-card p { margin: 0; color: var(--pr-muted); font-size: 14.5px; }
.pr-label { font-size: 11px; font-weight: 900; letter-spacing: .06em; color: #0f6fb0; text-transform: uppercase; margin-bottom: 10px; }

/* static compare table cells */
.pr-table td.yes { color: #136e4e; font-weight: 800; }
.pr-table td.na { color: #8a93a6; }

@media (max-width: 980px) { .pr-bundle-grid { grid-template-columns: 1fr; } }

/* ---------- Custom plan ---------- */
.pr-custom { background: var(--pr-navy); color: #fff; }
.pr-custom-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pr-custom h2 { font-size: 38px; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; color: #fff; }
.pr-custom p { color: #dbe1f8; font-size: 17px; margin: 0 0 24px; }
.pr-custom-card { position: relative; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 28px; }
.pr-custom-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(46, 230, 197, .2), transparent 70%); pointer-events: none; }
.pr-custom-card h3 { font-size: 18px; margin-bottom: 14px; color: #fff; }
.pr-custom-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.pr-custom-card li { display: flex; gap: 10px; color: #e3e8fb; font-size: 15px; }
.pr-custom-card li i { color: #2ee6c5; flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.pr-faq { background: #fbfcfe; }
.pr-faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.pr-faq-item { background: #fff; border: 1px solid var(--pr-line); border-radius: 14px; padding: 0 20px; }
.pr-faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.pr-faq-item summary::-webkit-details-marker { display: none; }
.pr-faq-item summary::after { content: "+"; font-size: 22px; color: var(--pr-blue); line-height: 1; flex: none; }
.pr-faq-item[open] summary::after { content: "–"; }
.pr-faq-item p { margin: 0; padding: 0 0 18px; color: #3a4666; font-size: 15px; }

/* ---------- Final CTA ---------- */
.pr-cta { padding: 48px 0 86px; }
.pr-cta-box { background: linear-gradient(135deg, #182367, #0d143f); color: #fff; border-radius: 22px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pr-cta-box .pr-eyebrow { color: var(--pr-cyan2); }
.pr-cta-box h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 10px; color: #fff; }
.pr-cta-box p { margin: 0; color: #dbe1f8; max-width: 640px; }
.pr-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* =====================================================
   REVIEWS — same IDs/classes as before (reviews.js builds these)
   ===================================================== */
.pr-page .reviews-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }

.pr-page .rating-card {
    position: relative; overflow: hidden; background: #fff; border-radius: 20px; padding: 30px 28px;
    box-shadow: var(--pr-shadow); border: 1px solid var(--pr-line);
}
.pr-page .rating-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--pr-blue), var(--teal, #2ee6c5));
}
.pr-page .rating-top { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.pr-page .rating-hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 130px;
    padding: 18px 20px; border-radius: 16px; background: linear-gradient(160deg, rgba(47, 107, 255, .08), rgba(46, 230, 197, .06));
}
.pr-page .rating-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--pr-navy); }
.pr-page .rating-stars { color: #f5a623; font-size: 16px; margin-top: 8px; letter-spacing: 2px; }
.pr-page .rating-count { font-size: 12px; color: var(--pr-muted); margin-top: 6px; text-align: center; }

.pr-page .rating-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.pr-page .rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--pr-muted); font-weight: 600; }
.pr-page .rating-bar-row .lbl { width: 48px; flex: none; display: flex; align-items: center; gap: 4px; color: var(--pr-ink); }
.pr-page .rating-bar-row .lbl .ic { color: #f5a623; width: 11px; height: 11px; }
.pr-page .rating-bar-row .track { flex: 1; height: 8px; border-radius: 99px; background: #eef0f8; overflow: hidden; }
.pr-page .rating-bar-row .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--pr-blue), #1da8ff); transition: width .6s ease; }
.pr-page .rating-bar-row[data-star="1"] .fill,
.pr-page .rating-bar-row .fill[data-star="1"] { background: linear-gradient(90deg, #ff8a65, #ff5252); }
.pr-page .rating-bar-row .pct { width: 34px; text-align: right; flex: none; color: var(--pr-ink); }

.pr-page #reviewsList .review-card {
    position: relative; background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: var(--pr-shadow);
    border: 1px solid var(--pr-line); margin-top: 16px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pr-page #reviewsList .review-card:hover { border-color: #b6ccff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 20, 66, .1); }
.pr-page .review-head { display: flex; align-items: center; gap: 12px; }
.pr-page .avatar {
    width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--pr-blue), #1da8ff); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none;
}
.pr-page #reviewsList .review-card:nth-child(3n+2) .avatar { background: linear-gradient(135deg, #7c5cff, #a78bfa); }
.pr-page #reviewsList .review-card:nth-child(3n+3) .avatar { background: linear-gradient(135deg, #2ee6c5, #16a394); }
.pr-page .review-who { flex: 1; }
.pr-page .review-who .name { font-weight: 700; font-size: 14.5px; color: var(--pr-ink); }
.pr-page .review-who .date { font-size: 11.5px; color: var(--pr-muted); margin-top: 2px; }
.pr-page .review-stars { color: #f5a623; font-size: 13px; background: #fff8ea; padding: 4px 10px; border-radius: 999px; flex: none; }
.pr-page .review-body { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--pr-ink); }
.pr-page .review-reply { margin-top: 16px; background: var(--bg, #f6f8fd); border-left: 3px solid var(--pr-blue); border-radius: 10px; padding: 12px 16px; position: relative; }
.pr-page .review-reply .lbl { font-size: 10.5px; font-weight: 800; color: var(--pr-blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.pr-page .review-reply .lbl::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M20 20v-7a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M20 20v-7a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-page #reviewsList .reviews-empty {
    text-align: center; padding: 40px 20px; color: var(--pr-muted); font-size: 13.5px; background: #fff;
    border-radius: 16px; border: 1px dashed var(--pr-line); margin-top: 16px;
}

.pr-page .write-review { background: var(--pr-navy); border-radius: 20px; overflow: hidden; box-shadow: var(--pr-shadow); }
.pr-page .write-review .top { padding: 26px 24px; background: linear-gradient(135deg, #0c1f5c, #08123f); text-align: center; }
.pr-page .write-review .top-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(46, 230, 197, .16); color: #2ee6c5; display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 12px; }
.pr-page .write-review .top h3 { color: #fff; font-size: 17px; }
.pr-page .write-review .top p { color: #C7CDE8; font-size: 12.5px; margin-top: 4px; }
.pr-page .write-review .body { background: #fff; padding: 30px 26px; text-align: center; }
.pr-page .field-lbl { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; color: var(--pr-ink); text-align: left; }
.pr-page .star-picker { display: flex; gap: 6px; margin-bottom: 16px; font-size: 26px; color: #d8dae0; cursor: pointer; }
.pr-page .star-picker span { transition: color .15s ease, transform .15s ease; }
.pr-page .star-picker span:hover { transform: scale(1.15); }
.pr-page .write-review .lock { width: 52px; height: 52px; border-radius: 50%; background: #eef0f8; color: var(--pr-muted); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.pr-page .write-review .body h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--pr-ink); }
.pr-page .write-review .body p { font-size: 12.5px; color: var(--pr-muted); max-width: 240px; margin: 0 auto; line-height: 1.6; }
.pr-page .write-review .body .pr-btn { margin-top: 18px; }
.pr-page .write-review .divider { margin: 16px auto 0; max-width: 160px; font-size: 11px; color: var(--pr-muted); display: flex; align-items: center; gap: 8px; }
.pr-page .write-review .divider::before, .pr-page .write-review .divider::after { content: ""; flex: 1; height: 1px; background: var(--pr-line); }
.pr-page .write-review .create-link { display: block; margin-top: 10px; color: var(--pr-blue); font-weight: 600; font-size: 13px; }

/* input styling for the review form (class kept so any existing JS still matches) */
.pr-page .sub-field {
    width: 100%; border: 1px solid #dfe4ef; border-radius: 11px; padding: 12px 13px; font: inherit; font-size: 14px;
    color: #26304f; background: #fff; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.pr-page .sub-field:focus { border-color: var(--pr-blue); box-shadow: 0 0 0 3px rgba(39, 132, 234, .14); }
.pr-page .sub-field[readonly] { background: #F0F1F8; color: var(--pr-muted); cursor: not-allowed; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .pr-hero-grid, .pr-custom-grid, .pr-page .reviews-grid { grid-template-columns: 1fr; }
    .pr-hero h1 { font-size: 42px; }
    .pr-cta-box { display: block; }
    .pr-cta-actions { margin-top: 24px; }
    .pr-page .rating-top { justify-content: center; text-align: center; }
}
@media (max-width: 620px) {
    .pr-section { padding: 62px 0; }
    .pr-hero { padding: 56px 0; }
    .pr-hero h1 { font-size: 34px; }
    .pr-head h2, .pr-custom h2 { font-size: 29px; }
    .pr-plan.featured { transform: none; }
    .pr-cta-box { padding: 34px 24px; }
    .pr-cta-box h2 { font-size: 26px; }
}

/* ---------- Icons (inline SVG — no icon font needed) ---------- */
.pr-page .ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.15em; }