.pricing-hero {
    background: linear-gradient(rgba(106, 61, 179, 0.75), rgba(74, 48, 120, 0.9)), url('https://cdn.goquickcare.com/images/protrain/protrain-cost-savings-hero.jpg') no-repeat center center;
    /* Consider a cost-savings themed image */
    background-size: cover;
    padding: 70px 0;
    color: var(--light-color);
    text-align: center;
}

.pricing-hero__title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    color: var(--light-color);
}

.pricing-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-family: 'Lora', serif;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.pricing-hero__features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pricing-hero__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.pricing-hero__feature-item i {
    color: var(--accent-color);
    /* Light purple accent for icons */
}

.pricing-hero__cta .btn-primary {
    font-size: 1.15rem;
    padding: 14px 32px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.pricing-hero__cta .btn-primary:hover {
    background-color: #b396f0;
    border-color: #b396f0;
}

.quick-nav {
    background-color: #f0eaff;
    /* Lighter purple for quick nav */
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    /* Navbar height */
    z-index: 1020;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quick-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav__item a {
    padding: 8px 15px;
    color: var(--primary-color);
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.quick-nav__item a:hover,
.quick-nav__item a.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
}

.content-section {
    padding: 40px 0;
    scroll-margin-top: 140px;
}

.content-section__title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.content-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.content-section__subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section__description {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Pricing Table Section */
.pricing-table-section {
    background-color: var(--bg-color);
    padding-top: 1px;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(106, 61, 179, 0.15);
}

.pricing-card__title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-card__price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-card__price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-card__feature-item {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pricing-card__feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.pricing-card__cta {
    margin-top: auto;
}

.pricing-card__cta .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.pricing-card--highlight {
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-card--highlight::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.pricing-table-section__note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    color: #555;
}

.pricing-table-section__note strong {
    color: var(--secondary-color);
}

/* Cost Savings Section */
.cost-savings-section .icon-feature {
    text-align: center;
    margin-bottom: 2rem;
}

.cost-savings-section .icon-feature__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background-color: rgba(106, 61, 179, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.cost-savings-section .icon-feature__title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cost-savings-section .icon-feature__text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Comparison Table Section */
.comparison-table-section {
    background-color: #f8f7fc;
}

.comparison-table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
}

.comparison-table thead th {
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 8px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 8px;
}

.comparison-table tbody tr {
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comparison-table tbody tr td:first-child {
    font-weight: 600;
    color: var(--secondary-color);
    border-left: 3px solid var(--accent-color);
}

.comparison-table tbody tr:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table td {
    font-size: 1rem;
}

.comparison-table .protrain-advantage {
    color: var(--primary-color);
    font-weight: bold;
}

.comparison-table .protrain-advantage i {
    margin-right: 5px;
}

.comparison-table-section__conclusion {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.comparison-table-section__conclusion a {
    font-weight: 600;
}


/* FAQ Section */
.faq-section .accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    background-color: rgba(106, 61, 179, 0.03);
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: rgba(106, 61, 179, 0.08);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 61, 179, 0.25);
}

.faq-section .accordion-body {
    font-size: 1rem;
    line-height: 1.7;
}

.faq-section .accordion-body a {
    font-weight: 500;
    text-decoration: underline;
}

.faq-section .accordion-body a:hover {
    color: var(--secondary-color);
}


/* CTA Section */
.final-cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--light-color);
    text-align: center;
}

.final-cta-section__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.final-cta-section__text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Lora', serif;
    opacity: 0.9;
}

.final-cta-section__button .btn-primary {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 35px;
}

.final-cta-section__button .btn-primary:hover {
    background-color: #f0e4ff;
    border-color: #f0e4ff;
    color: var(--secondary-color);
}

.final-cta-section__secondary-text {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.final-cta-section__secondary-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.final-cta-section__secondary-text a:hover {
    color: white;
}

@media (max-width: 991.98px) {
    .quick-nav {
        top: 60px;
    }

    .content-section {
        scroll-margin-top: 120px;
    }

    .pricing-hero__title {
        font-size: 2.2rem;
    }

    .pricing-hero__subtitle {
        font-size: 1.1rem;
    }

    .pricing-table {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .pricing-hero {
        padding: 50px 0;
    }

    .pricing-hero__title {
        font-size: 1.9rem;
    }

    .pricing-hero__subtitle {
        font-size: 1rem;
    }

    .pricing-hero__features {
        gap: 15px;
    }

    .pricing-hero__feature-item {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .pricing-hero__cta .btn-primary {
        font-size: 1.05rem;
        padding: 12px 28px;
    }

    .quick-nav__list {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 5px 0;
    }

    .quick-nav__item a {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .content-section__title {
        font-size: 1.7rem;
    }

    .content-section__description {
        font-size: 1rem;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    /* Add wrapper for better control */
    .comparison-table {
        min-width: 600px;
    }

    /* Ensure table content doesn't break too early */
    .final-cta-section__title {
        font-size: 1.9rem;
    }

    .final-cta-section__text {
        font-size: 1.05rem;
    }
}