/* Pricing page - dedicated styles. Reuses tokens from scanraise.css. */

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px 80px; }

.pricing-hero { text-align: center; padding: 64px 0 32px; }
.pricing-hero h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; }
.pricing-hero .sub { font-size: 18px; color: var(--text-secondary); margin: 0; }

.pricing-box {
    max-width: 520px;
    margin: 0 auto 64px;
    background: white;
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.pricing-box .price { font-size: 64px; font-weight: 800; color: var(--accent); line-height: 1; }
.pricing-box .price-label { font-size: 16px; color: var(--text-secondary); margin: 8px 0 28px; }
.pricing-box .includes {
    margin: 0 auto 28px;
    padding: 0;
    list-style: none;
    text-align: left;
    max-width: 380px;
}
.pricing-box .includes li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.pricing-box .includes .check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    width: 16px;
}

.cta-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cta-primary:hover { opacity: 0.9; }

/* Donor cost breakdown */
.pricing-breakdown {
    background: var(--bg-muted);
    border-radius: 16px;
    padding: 40px;
    margin: 0 auto 64px;
    max-width: 720px;
}
.pricing-breakdown h2 {
    text-align: center;
    font-size: 28px;
    margin: 0 0 12px;
}
.pricing-breakdown > p {
    text-align: center;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.breakdown-table {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 8px 24px;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.breakdown-row:last-child { border-bottom: 0; }
.breakdown-label { color: var(--text-secondary); font-size: 14px; }
.breakdown-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.breakdown-total {
    border-top: 2px solid var(--accent);
    margin-top: 4px;
    padding-top: 16px;
}
.breakdown-total .breakdown-label,
.breakdown-total .breakdown-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.cover-fees-note {
    margin: 24px auto 0;
    max-width: 560px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Comparison table */
.pricing-compare { margin: 0 auto 64px; }
.pricing-compare h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.pricing-compare .compare-lead {
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 28px;
    max-width: 640px;
    line-height: 1.6;
}
.pricing-compare table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.pricing-compare th,
.pricing-compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.pricing-compare tbody tr:last-child td { border-bottom: 0; }
.pricing-compare th { background: var(--bg-muted); font-weight: 700; }
.pricing-compare th.us-col { color: var(--accent); }
.pricing-compare td.us-val { color: var(--accent); font-weight: 700; }
.pricing-compare .compare-footnote {
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    margin: 16px auto 0;
}

/* FAQ */
.pricing-faq { max-width: 720px; margin: 0 auto 64px; }
.pricing-faq h2 { text-align: center; font-size: 28px; margin: 0 0 28px; }
.pricing-faq .faq {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 18px 22px;
}
.pricing-faq .faq summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 28px;
}
.pricing-faq .faq summary::-webkit-details-marker { display: none; }
.pricing-faq .faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    line-height: 1;
    color: var(--accent);
    font-weight: 400;
}
.pricing-faq .faq[open] summary::after { content: "-"; }
.pricing-faq .faq .answer {
    margin-top: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* Bottom CTA */
.pricing-cta {
    text-align: center;
    background: var(--bg-muted);
    border-radius: 16px;
    padding: 48px 24px;
    margin: 0 auto;
}
.pricing-cta h2 { font-size: 28px; margin: 0 0 12px; }
.pricing-cta p { color: var(--text-secondary); margin: 0 0 24px; }

/* Mobile */
@media (max-width: 640px) {
    .pricing-hero h1 { font-size: 32px; }
    .pricing-box { padding: 28px 20px; }
    .pricing-box .price { font-size: 48px; }
    .pricing-breakdown { padding: 28px 18px; }
    .breakdown-table { padding: 8px 16px; }
    .pricing-compare th,
    .pricing-compare td { padding: 10px 12px; font-size: 13px; }
}
