/* Pricing content is contained in the dashboard's scrollable main pane. */
.pricing-page {
    min-width: 0;
    overflow-x: hidden;
}

.pricing-page *,
.pricing-page *::before,
.pricing-page *::after {
    box-sizing: border-box;
}

.pricing-page .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.pricing-page .hero {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #eef1f8;
}

.pricing-page .hero-content,
.pricing-page .hero-content a,
.pricing-page .hero-content img {
    display: block;
    width: 100%;
}

.pricing-page .hero-content img {
    max-width: 100%;
    height: auto;
}

.pricing-page .toggle-section,
.pricing-page .faq-section,
.pricing-page #pricing-container {
    width: 100%;
    min-width: 0;
}

.pricing-page .toggle-section {
    padding-top: 32px;
}

.pricing-page .Payment-all,
.pricing-page .toggle-buttons {
    width: 100%;
}

.pricing-page .toggle-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-page .toggle-btn {
    max-width: 100%;
    margin: 0;
    border-radius: 8px;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
}

.pricing-page .plans-row {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-page .shared-pricing-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
    border-color: #c6c4f5;
    background: #f8f7ff;
}

.pricing-page .shared-pricing-card ul {
    flex: 1;
}

.pricing-page .shared-pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.pricing-page .shared-pricing-action {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px 16px;
    border: 0;
    border-radius: 5px;
    background: #6d5ee8;
    color: #fff;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.pricing-page .shared-pricing-action:disabled {
    background: #c5c2d9;
    cursor: not-allowed;
}

.pricing-page .section-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-page .faq-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1050px) {
    .pricing-page .plans-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pricing-page .container {
        padding-left: 0;
        padding-right: 0;
    }

    .pricing-page .plans-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-page .toggle-buttons {
        justify-content: stretch;
    }

    .pricing-page .toggle-btn {
        flex: 1 1 calc(50% - 8px);
    }
}

/* Pricing page layout based on the course selector and plan cards. */
.pricing-page {
    background: #fff;
    color: #101630;
    font-family: Inter, Arial, sans-serif;
}

.pricing-page .container {
    max-width: 1112px;
}

.pricing-page .hero {
    border-radius: 0;
    background: none !important;
    text-align: center;
    overflow: visible;
}

.pricing-page .hero-overlay {
    display: none;
}

.pricing-page .hero-content {
    padding: 62px 0 0;
}

.pricing-page .hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0 0 22px;
    color: #149d64;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pricing-page .hero-eyebrow::before,
.pricing-page .hero-eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: #e4ddff;
}

.pricing-page .hero h1 {
    margin: 0;
    color: #11162e;
    font-size: clamp(32px, 3.2vw, 47px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -2.2px;
}

.pricing-page .hero h1 span {
    color: #7739f5;
}

.pricing-page .hero-description {
    margin: 18px 0 0;
    color: #636480;
    font-size: 16px;
    line-height: 1.7;
}

.pricing-page .toggle-section {
    padding-top: 43px;
}

.pricing-page .test-selector-label {
    margin: 0 0 13px;
    padding: 8px 12px;
    color: #aaa0cd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.pricing-page .toggle-buttons {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    padding: 0;
    border: 0;
}

.pricing-page .toggle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 104px;
    margin: 0;
    padding: 13px 5px;
    border: 1px solid #ded7ee;
    border-radius: 16px;
    background: #fff;
    color: #131832;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    box-shadow: none;
    transition: border-color .2s, background .2s, transform .2s;
}

.pricing-page .toggle-btn:hover {
    border-color: #8753f4;
    transform: translateY(-2px);
}

.pricing-page .toggle-btn.active {
    border-color: #7739f5;
    background: #7739f5;
    color: #fff;
    box-shadow: 0 9px 20px rgba(119, 57, 245, .18);
}

.pricing-page .test-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ded0ff;
    border-radius: 12px;
    background: #f4eeff;
    color: #30304e;
}

.pricing-page .test-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pricing-page .toggle-btn.active .test-icon {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.18);
    color: #fff;
}

.pricing-page #pricing-container {
    margin-top: 39px;
}

.pricing-page .pricing-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.pricing-page .exam-section h2 {
    margin: 0 0 6px;
    color: #121731;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    letter-spacing: -.6px;
}

.pricing-page .pricing-section-subtitle {
    margin: 0;
    color: #676783;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-page .pricing-currency {
    flex: none;
    padding: 6px 10px;
    border: 1px solid #e4dcff;
    border-radius: 6px;
    background: #fbf9ff;
    color: #9b67ed;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-page .plans-row {
    gap: 19px;
    margin-top: 19px;
}

.pricing-page .pricing-card,
.pricing-page .pricing-card.featured,
.pricing-page .shared-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 420px;
    padding: 21px 20px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 19px;
    background: #fdfbff;
    box-shadow: none;
    color: #141931;
    text-align: left;
    overflow-wrap: anywhere;
}

.pricing-page .pricing-card.featured::before {
    content: '✦ Most popular';
    position: absolute;
    right: 19px;
    top: -13px;
    padding: 5px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f5eeff;
    color: #743bf4;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-page .pricing-card .plan-type {
    display: block;
    width: auto;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    background: none;
    color: #7640f4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.35px;
    line-height: 1.4;
    text-transform: uppercase;
}

.pricing-page .pricing-card h3 {
    margin: 0 0 5px;
    color: #111630;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.4px;
}

.pricing-page .pricing-plan-description {
    margin: 0;
    color: #77728d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.pricing-page .pricing-card .price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-height: 51px;
    margin: 25px 0 0;
    color: #10172f;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.pricing-page .pricing-card .price .currency-symbol {
    font-size: 15px;
    letter-spacing: 0;
}

.pricing-page .pricing-card .price.price-tba {
    font-size: 29px;
    letter-spacing: -.5px;
}

.pricing-page .pricing-access-period {
    margin: 2px 0 0;
    color: #1e223b;
    font-size: 12px;
    font-weight: 400;
}

.pricing-page .pricing-card ul {
    flex: 1;
    width: 100%;
    margin: 15px 0 0;
    padding: 15px 0 0;
    border-top: 1px solid #e7e1f0;
    list-style: none;
    text-align: left;
}

.pricing-page .pricing-card ul li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 23px;
    color: #5d5d7b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.pricing-page .pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #13a765;
    font-size: 14px;
}

.pricing-page .pricing-card ul li.feature-excluded::before {
    content: '×';
    color: #cf4d65;
}

.pricing-page .pricing-card .checkout-button,
.pricing-page .pricing-card .shared-pricing-action {
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #7739f5;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.pricing-page .pricing-card .checkout-button:hover {
    background: #6225d9;
}

.pricing-page .pricing-card .shared-pricing-action:disabled {
    background: #c9bde3;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .pricing-page .toggle-buttons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pricing-page .hero-content {
        padding-top: 38px;
    }

    .pricing-page .hero h1 {
        letter-spacing: -1px;
    }

    .pricing-page .hero-description {
        font-size: 14px;
    }

    .pricing-page .desktop-break {
        display: none;
    }

    .pricing-page .toggle-section {
        padding-top: 33px;
    }

    .pricing-page .toggle-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-page .toggle-btn {
        min-height: 92px;
    }

    .pricing-page .pricing-section-heading {
        align-items: start;
    }

    .pricing-page .pricing-currency {
        font-size: 9px;
    }
}
