/* ===== Pricing Page ===== */

.pricing-page {
    min-height: 100vh;
    background: #f4f6f9;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem 5rem;
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Glow blobs ── */
.pp-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

.pp-glow--tl {
    top: -80px;
    left: -120px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0,168,150,0.08) 0%, transparent 65%);
    filter: blur(40px);
}

.pp-glow--br {
    bottom: -80px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0,168,150,0.06) 0%, transparent 65%);
    filter: blur(40px);
}

/* ── Watermark ── */
.pp-watermark {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 16vw, 200px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(0,0,0,0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ── Header ── */
.pp-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.pp-tag {
    display: inline-block;
    border: 1px solid rgba(0,168,150,0.4);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(0,168,150,0.06);
    margin-bottom: 1rem;
}

.pp-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.pp-sub {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ── Toggle row ── */
.pp-toggle-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.pp-tl {
    font-size: 0.92rem;
    font-weight: 500;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.pp-tl--active {
    color: #0f172a;
    font-weight: 600;
}

.pp-save-chip {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: rgba(0,168,150,0.12);
    color: #00A896;
    border: 1px solid rgba(0,168,150,0.3);
    border-radius: 999px;
    padding: 2px 9px;
}

.pp-toggle {
    width: 46px;
    height: 26px;
    background: #cbd5e1;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}

.pp-toggle.active { background: #00A896; }

.pp-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.25s;
}

.pp-toggle.active .pp-thumb { transform: translateX(20px); }

/* ── Cards grid ── */
.pp-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1120px;
    align-items: start;
}

/* ── Single card ── */
.pp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.pp-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

/* Featured card */
.pp-card--featured {
    background: #f0fdfb;
    border: 1.5px solid #00A896;
    box-shadow: 0 4px 24px rgba(0,168,150,0.12);
}

.pp-card--featured:hover {
    box-shadow: 0 12px 40px rgba(0,168,150,0.2);
}

/* ── Badge ── */
.pp-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid;
}

.pp-badge--neutral {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.pp-badge--featured {
    background: rgba(0,168,150,0.08);
    color: #00A896;
    border-color: rgba(0,168,150,0.35);
}

/* ── Price block ── */
.pp-price-block { display: flex; flex-direction: column; gap: 6px; }

.pp-price-row {
    display: flex;
    align-items: flex-end;
    gap: 0;
    line-height: 1;
}

.pp-dollar {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.pp-amount {
    font-size: 3.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: all 0.15s;
}

.pp-cadence {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 7px;
    margin-left: 4px;
}

.pp-tagline {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

/* ── Divider ── */
.pp-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0;
}

.pp-card--featured .pp-divider {
    border-color: rgba(0,168,150,0.2);
}

/* ── CTA ── */
.pp-cta {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.01em;
}

.pp-cta--primary {
    background: #00A896;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,168,150,0.3);
}

.pp-cta--primary:hover {
    background: #008a7c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,168,150,0.4);
}

.pp-cta--neutral {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.pp-cta--neutral:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.pp-cta--outline {
    background: transparent;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    font-weight: 700;
}

.pp-cta--outline:hover {
    border-color: #00A896;
    color: #00A896;
    transform: translateY(-1px);
}

/* ── Features ── */
.pp-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.pp-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
}

.pp-features li.off {
    color: #94a3b8;
}

.pp-ic {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.pp-ic--on  { background: rgba(0,168,150,0.1); color: #00A896; }
.pp-ic--off { background: #f1f5f9; color: #cbd5e1; }

/* Annual savings note */
.pp-annual-note {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 4px;
    display: none;
}

.pp-annual-note.visible { display: block; }

/* Footnote */
.pp-footnote {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    font-size: 0.84rem;
    color: #94a3b8;
}

.pp-footnote strong { color: #0f172a; }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .pp-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 680px;
    }
}

@media (max-width: 580px) {
    .pricing-page { padding: 5rem 1.25rem 4rem; }

    .pp-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pp-amount { font-size: 2.8rem; }
}
