/* ── Pricing Page ─────────────────────────────────────────────────── */

.pricing-page-hero {
    padding: 64px 40px 48px;
    background: linear-gradient(135deg, #FEF6F3 0%, #FAE8E0 100%);
}
.pricing-page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
    line-height: 1.15;
}
.pricing-page-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 580px;
    margin: 0 0 24px;
}

/* ── 4-column tier grid ───────────────────────────────────────────── */
.pricing-page-section { padding: 64px 40px; background: #F8FAFC; }
.pricing-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 20px;
}

.pp-card {
    background: #FFFFFF;
    border: 1.5px solid #E8DDD6;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(58,92,26,0.1);
}
.pp-card-featured {
    background: linear-gradient(160deg, #3A5C1A 0%, #537A27 100%);
    border-color: #3A5C1A;
    box-shadow: 0 8px 24px rgba(58,92,26,0.2);
}
.pp-card-featured:hover {
    box-shadow: 0 14px 40px rgba(58,92,26,0.3);
}

.pp-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: #1C2E0A;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pp-tier-name {
    font-size: 1rem;
    font-weight: 700;
    color: #3A5C1A;
    margin-bottom: 4px;
}
.pp-card-featured .pp-tier-name { color: rgba(255,255,255,0.9); }

.pp-enrollment {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8;
    margin-bottom: 12px;
}
.pp-card-featured .pp-enrollment { color: rgba(255,255,255,0.6); }

.pp-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1;
}
.pp-price span { font-size: 0.95rem; font-weight: 500; color: #94A3B8; }
.pp-price-custom { font-size: 2rem; }
.pp-card-featured .pp-price { color: white; }
.pp-card-featured .pp-price span { color: rgba(255,255,255,0.6); }

.pp-best-for {
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.4;
}
.pp-card-featured .pp-best-for { color: rgba(255,255,255,0.75); }

.pp-compliance {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3A5C1A;
    background: rgba(58,92,26,0.08);
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 16px;
    display: inline-block;
}
.pp-card-featured .pp-compliance {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

.pp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 16px;
}
.pp-card-featured .pp-features { border-top-color: rgba(255,255,255,0.15); }
.pp-features li {
    font-size: 0.88rem;
    color: #444;
    padding: 6px 0;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.pp-features li:last-child { border-bottom: none; }
.pp-card-featured .pp-features li { color: rgba(255,255,255,0.88); border-bottom-color: rgba(255,255,255,0.1); }

.pp-feature-cs .cs-wrap { position: relative; display: inline-block; }
.cs-inline-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(245,158,11,0.2);
    color: #92400E;
    padding: 1px 7px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 6px;
}
.pp-card-featured .cs-inline-pill { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }

/* CTA buttons on cards */
.pp-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    background: linear-gradient(135deg, #3A5C1A 0%, #537A27 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    margin-top: auto;
}
.pp-cta:hover {
    background: linear-gradient(135deg, #2A4712 0%, #3A5C1A 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}
.pp-cta-featured {
    background: white;
    color: #3A5C1A;
}
.pp-cta-featured:hover { background: #F5EDE6; color: #2A4712; }

/* ── What's Included ──────────────────────────────────────────────── */
.pp-included-section { padding: 64px 40px; background: #F5EDE6; }
.pp-included-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}
.pp-included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.pp-included-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border: 1.5px solid #E8DDD6;
    border-radius: 12px;
    padding: 24px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pp-included-item:hover {
    border-color: #3A5C1A;
    box-shadow: 0 4px 16px rgba(58,92,26,0.1);
    transform: translateY(-2px);
}
.pp-included-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.pp-included-item strong { display: block; font-size: 1rem; color: #1C2E0A; margin-bottom: 6px; }
.pp-included-item p { font-size: 0.88rem; line-height: 1.7; color: #555; margin: 0; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.pp-faq-section {
    padding: 64px 40px;
    background: #F8FAFC;
    max-width: 720px;
    margin: 0 auto;
}
.pp-faq-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 32px;
}
.pp-faq-list { display: flex; flex-direction: column; gap: 12px; }
.pp-faq-item {
    background: white;
    border: 1.5px solid #E8DDD6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.pp-faq-item[open] { border-color: #3A5C1A; }
.pp-faq-q {
    cursor: pointer;
    padding: 18px 20px;
    font-size: 0.97rem;
    font-weight: 600;
    color: #1C2E0A;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.pp-faq-q::-webkit-details-marker { display: none; }
.pp-faq-q::after {
    content: "+";
    font-size: 1.3rem;
    color: #3A5C1A;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.15s ease;
}
.pp-faq-item[open] .pp-faq-q::after { transform: rotate(45deg); }
.pp-faq-a {
    padding: 0 20px 18px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .pricing-page-hero { padding: 32px 16px 28px; }
    .pricing-page-title { font-size: 1.75rem; }
    .pricing-page-section { padding: 40px 16px; }
    .pp-included-section { padding: 40px 16px; }
    .pp-included-grid { grid-template-columns: 1fr; }
    .pp-faq-section { padding: 40px 16px; }
    .pp-price { font-size: 2rem; }
}

/* single column below 560px */
@media (max-width: 559px) {
    .pricing-4col {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* 2×2 grid between 560px and 1100px */
@media (min-width: 560px) and (max-width: 1100px) {
    .pricing-4col {
        grid-template-columns: repeat(2, 1fr);
        max-width: 760px;
    }
}

/* ── Launch callout strip ─────────────────────────────────────────── */
.pp-launch-strip {
    max-width: 1240px;
    margin: 28px auto 0;
    background: linear-gradient(135deg, #FEF6F3 0%, #FAE8E0 100%);
    border: 1.5px solid #E8DDD6;
    border-left: 4px solid #F59E0B;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.pp-launch-strip strong { color: #1C2E0A; font-size: 1rem; display: block; margin-bottom: 4px; }
.pp-launch-strip p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #555; max-width: 720px; }
.pp-launch-cta {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: #3A5C1A;
    border: 1.5px solid #3A5C1A;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.pp-launch-cta:hover { background: #3A5C1A; color: white; }
