﻿/* =====================================================
   SchoolEdge Workbook Pricing Page
   ===================================================== */

.workbook-pricing-page {
    background-color: #ffffff;
    color: #172033;
}


/* Page header */

.pricing-hero {
    margin-top:4%;
}

.pricing-eyebrow,
.section-eyebrow {
    display: inline-block;
    color: #1977cc;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* Pricing cards */

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
   /* box-shadow: 0 12px 35px rgba(20, 45, 75, 0.07);*/
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        border-color: rgba(25, 119, 204, 0.35);
        box-shadow: 0 20px 50px rgba(20, 45, 75, 0.12);
    }

.pricing-card-featured {
    border: 2px solid #1977cc;
    /*box-shadow: 0 18px 50px rgba(25, 119, 204, 0.16);*/
}

.popular-badge {
    background-color: #1977cc;
    color: #ffffff;
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.pricing-card-header {
    padding: 30px 30px 24px;
    border-bottom: 1px solid #edf1f5;
}

.pricing-card-body {
    flex: 1;
    padding: 26px 30px;
}

.pricing-card-footer {
    padding: 0 30px 30px;
}

.plan-label {
    display: inline-block;
    padding: 6px 12px;
    background-color: #edf6ff;
    border-radius: 50rem;
    color: #1977cc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 5px;
    color: #13233b;
}

    .pricing-amount .currency {
        padding-top: 9px;
        color: #66758a;
        font-size: 0.85rem;
        font-weight: 700;
    }

    .pricing-amount .amount {
        font-size: clamp(2rem, 4vw, 2.65rem);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.04em;
    }

.pricing-contact {
    margin-bottom: 7px;
    color: #13233b;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.billing-period {
    color: #718096;
    font-size: 0.9rem;
}

.pricing-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pricing-feature-list li {
        position: relative;
        margin-bottom: 14px;
        padding-left: 28px;
        color: #42526a;
        line-height: 1.5;
    }

        .pricing-feature-list li:last-child {
            margin-bottom: 0;
        }

        .pricing-feature-list li::before {
            position: absolute;
            top: 1px;
            left: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 19px;
            height: 19px;
            background-color: #e9f6ef;
            border-radius: 50%;
            color: #198754;
            content: "✓";
            font-size: 0.7rem;
            font-weight: 800;
        }


/* Included features */

.included-section {
    /*background-color: #f7faff;*/
}

.included-item {
    display: flex;
    gap: 13px;
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 14px;
}

.included-check {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #e8f3ff;
    border-radius: 50%;
    color: #1977cc;
    font-size: 0.85rem;
    font-weight: 800;
}


/* Optional services */

.professional-services {
    background-color: #ffffff;
}

.service-card {
    padding: 27px;
    background-color: #ffffff;
    border: 1px solid #e4eaf1;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(19, 35, 59, 0.05);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    background-color: #edf6ff;
    border-radius: 12px;
    color: #1977cc;
    font-size: 0.78rem;
    font-weight: 800;
}

.professional-services-note {
    padding: 20px 22px;
    background-color: #f7faff;
    border: 1px solid #dceaf7;
    border-radius: 14px;
    color: #46566c;
    font-size: 0.93rem;
    line-height: 1.65;
}

.note-icon {
    display: inline-flex;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #1977cc;
    border-radius: 50%;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
}


/* Enterprise callout */

.enterprise-callout {
    background-color: #ffffff;
}

.enterprise-callout-inner {
    padding: 42px;
    background: linear-gradient( 135deg, #1977cc 0%, #125ca3 100% );
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(25, 119, 204, 0.22);
    color: #ffffff;
}

.enterprise-label {
    display: inline-block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.enterprise-callout-inner p {
    color: rgba(255, 255, 255, 0.85);
}


/* FAQ */

.pricing-faq {
   /* background-color: #f8fafc;*/
}

.pricing-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 14px;
    background-color: #ffffff;
    border: 1px solid #e3e9f0;
    border-radius: 12px;
}

.pricing-accordion .accordion-button {
    padding: 20px 22px;
    background-color: #ffffff;
    color: #172033;
    font-weight: 700;
    box-shadow: none;
}

    .pricing-accordion .accordion-button:not(.collapsed) {
        background-color: #f3f8fd;
        color: #1977cc;
    }

    .pricing-accordion .accordion-button:focus {
        border-color: transparent;
        box-shadow: none;
    }

.pricing-accordion .accordion-body {
    padding: 5px 22px 22px;
    color: #5e6c80;
    line-height: 1.7;
}


/* Final CTA */

.pricing-final-cta {
    background-color: #ffffff;
}


/* Button refinements */

.workbook-pricing-page .btn {
    border-radius: 10px;
    font-weight: 600;
}

.workbook-pricing-page .btn-primary {
    background-color: #1977cc;
    border-color: #1977cc;
}

    .workbook-pricing-page .btn-primary:hover,
    .workbook-pricing-page .btn-primary:focus {
        background-color: #1468b5;
        border-color: #1468b5;
    }

.workbook-pricing-page .btn-outline-primary {
    border-color: #1977cc;
    color: #1977cc;
}

    .workbook-pricing-page .btn-outline-primary:hover,
    .workbook-pricing-page .btn-outline-primary:focus {
        background-color: #1977cc;
        border-color: #1977cc;
        color: #ffffff;
    }


/* Responsive adjustments */

@media (min-width: 992px) {
    .pricing-card-featured {
        transform: translateY(-10px);
    }

        .pricing-card-featured:hover {
            transform: translateY(-15px);
        }
}

@media (max-width: 767.98px) {
    .pricing-card-header,
    .pricing-card-body {
        padding-right: 24px;
        padding-left: 24px;
    }

    .pricing-card-footer {
        padding-right: 24px;
        padding-left: 24px;
    }

    .enterprise-callout-inner {
        padding: 30px 24px;
    }
}
