/*
 * Wave C (v2 "Renkli Alanlar"): /paket-sec. The education list/detail/checkout sections
 * (old §2-4) went with the educations (Faz I, 2026-09-27); the remaining section numbers are kept.
 * Builds on custom.css (tokens, .bm-chip) and custom-inner.css. Every rule is scoped under .wc-page.
 */

/* 1. Shared ------------------------------------------------------------------------------------- */
.bm-inner.wc-page {
    font-size: 17px;
    line-height: 1.6;
}
.wc-page .wc-section {
    padding: var(--bm-page-first-y) 0 var(--bm-section-y);
}
/* the testimonials band sits mid-page: full section rhythm on both sides */
.wc-page .wc-section.bm-section--soft {
    padding-top: var(--bm-section-y);
}
.wc-page .bm-page-title {
    max-width: 820px;
    overflow-wrap: anywhere;
}
.wc-page .bm-page-head .bm-crumb span[aria-current] {
    color: var(--bm-muted);
}
.wc-page .bm-h2,
.wc-page .bm-section-head h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
}
.wc-page .bm-h3,
.wc-page .bm-card__title {
    font-weight: 700;
}
/* 5. /paket-sec --------------------------------------------------------------------------------- */
/* K5: the per-student monthly price leads, the yearly total follows, and each card carries a
   capacity mark in its plan-order tint (--c/--t from .bm-d-*), so the row reads as a scale.
   The featured card's solid brand band sits above the card (36px reserved by the grid). */
.wc-plans .wc-plan-grid {
    gap: 48px 24px;
    padding-top: 36px;
}
.wc-plans .bm-plan {
    padding: 28px;
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-card);
}
.wc-plans .bm-plan:hover,
.wc-plans .bm-plan:focus-within {
    border-color: var(--c, var(--bm-brand));
}
.wc-plans .bm-plan--featured,
.wc-plans .bm-plan--featured:hover,
.wc-plans .bm-plan--featured:focus-within {
    padding: 27px;
    background: #fff;
    border: 2px solid var(--bm-brand);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.wc-plans .wc-plan__band {
    position: absolute;
    top: -36px;
    left: -2px;
    right: -2px;
    display: flex;
    flex: none;
    align-items: center;
    height: 36px;
    margin: 0;
    padding: 0 27px;
    border-radius: var(--bm-radius-card) var(--bm-radius-card) 0 0;
    background: var(--bm-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.wc-plans .wc-plan__head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wc-plans .wc-plan__mark {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--t, var(--bm-brand-tint));
    color: var(--c, var(--bm-brand));
}
.wc-plans .wc-plan__mark .bm-icon {
    width: 24px;
    height: 24px;
}
.wc-plans .bm-plan--featured .wc-plan__mark {
    background: var(--bm-brand);
    color: #fff;
}
.wc-plans .wc-plan__sub {
    margin: 2px 0 0;
    color: var(--bm-muted);
    font-size: 15px;
    line-height: 1.4;
}
.wc-plans .wc-plan__price {
    display: flex;
    flex-direction: column;
    margin: 24px 0 0;
    color: var(--bm-ink);
    line-height: 1.1;
}
.wc-plans .wc-plan__price strong {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.wc-plans .wc-plan__price span {
    margin-top: 6px;
    color: var(--bm-muted);
    font-size: 15px;
    font-weight: 500;
}
.wc-plans .wc-plan__year {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--bm-border);
    color: var(--bm-ink);
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.wc-plans .wc-plan__year small {
    color: var(--bm-muted);
    font-size: 15px;
    font-weight: 500;
}
.wc-plans .wc-plan__save {
    align-self: flex-start;
    min-height: 32px;
    margin: 12px 0 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--t, var(--bm-brand-tint));
    color: var(--bm-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}
.wc-plans .wc-plan__save strong {
    font-weight: 800;
}
.wc-plans .wc-plan__save--none {
    visibility: hidden;
}
.wc-plans .bm-plan__note {
    margin: 8px 0 0;
    color: var(--bm-muted);
    font-size: 14px;
    font-weight: 500;
}
.wc-plans .bm-plan .bm-button {
    margin-top: 20px;
}
.wc-plans .bm-plan__features {
    margin-top: 20px;
    padding-top: 20px;
}
.wc-plans .bm-plan__features li {
    margin-bottom: 10px;
}
.wc-plans .bm-plan__features .bm-icon {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--bm-brand);
}
.wc-plans .bm-plan__features .wc-plan__support {
    margin: 12px -10px 0;
    padding: 6px 10px;
    border-radius: 8px;
}
.wc-plans .bm-plan__features .wc-plan__support.is-unlimited {
    background: var(--bm-brand-tint);
}
.wc-plans .bm-plan__features .wc-plan__support.is-limited,
.wc-plans .bm-plan__features .wc-plan__support.is-limited strong,
.wc-plans .bm-plan__features .wc-plan__support.is-limited .bm-icon {
    color: var(--bm-muted);
    font-weight: 500;
}
.wc-plans .bm-plan__cta-note {
    margin-top: 16px;
}

/* Comparison table: sticky first column, the table scrolls inside its own box on narrow screens. */
.wc-plans .wc-compare {
    margin-top: 72px;
}
.wc-plans .wc-compare__title {
    margin: 0 0 24px;
}
.wc-plans .wc-compare__scroll {
    position: relative; /* containing block for the sticky/positioned cells, keeps the page at 390 */
    overflow-x: auto;
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-card);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.wc-plans .wc-compare__scroll:focus-visible {
    outline: 2px solid var(--bm-brand);
    outline-offset: 2px;
}
.wc-plans .wc-compare__table {
    width: 100%;
    min-width: 860px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--bm-text);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.wc-plans .wc-compare__table th,
.wc-plans .wc-compare__table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bm-border);
    text-align: center;
    vertical-align: middle;
}
.wc-plans .wc-compare__table tbody tr:last-child > * {
    border-bottom: 0;
}
.wc-plans .wc-compare__table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 210px;
    background: #fff;
    border-right: 1px solid var(--bm-border);
    color: var(--bm-ink);
    font-weight: 600;
    text-align: left;
}
.wc-plans .wc-compare__table thead th {
    padding-top: 18px;
    padding-bottom: 18px;
    background: var(--bm-soft);
    color: var(--bm-ink);
    font-weight: 700;
    white-space: nowrap;
}
.wc-plans .wc-compare__table thead th:first-child {
    background: var(--bm-soft);
}
.wc-plans .wc-compare__table .is-featured {
    background: var(--bm-brand-tint);
}
.wc-plans .wc-compare__table thead th.is-featured {
    box-shadow: inset 0 3px 0 var(--bm-brand);
}
.wc-plans .wc-compare__plan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wc-plans .wc-compare__tag {
    display: block;
    margin-top: 4px;
    color: var(--bm-brand);
    font-size: 13px;
    font-weight: 700;
}
.wc-plans .wc-compare__table td strong {
    color: var(--bm-ink);
    font-weight: 700;
}
.wc-plans .wc-compare__yes .bm-icon {
    width: 20px;
    height: 20px;
    color: var(--bm-brand);
    vertical-align: middle;
}
.wc-plans .wc-compare__table td.is-unlimited {
    color: var(--bm-brand);
    font-weight: 700;
}
.wc-plans .wc-compare__table td.is-limited {
    color: var(--bm-muted);
}

/* Trust line: facts already on the site, some only when every plan row carries them. */
.wc-plans .wc-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: var(--bm-ink);
    font-size: 15px;
    font-weight: 600;
}
.wc-plans .wc-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wc-plans .wc-trust .bm-icon {
    width: 20px;
    height: 20px;
    color: var(--bm-brand);
}

/* How it goes: three steps of the real demo flow in one compact strip. */
.wc-plans .wc-how {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px 40px;
    margin-top: 56px;
    padding: 24px 28px;
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius-card);
    background: var(--bm-soft);
}
.wc-plans .wc-how__title {
    margin: 0;
    color: var(--bm-ink);
    font-size: 20px;
    font-weight: 700;
}
.wc-plans .wc-how__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wc-plans .wc-how__steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.wc-plans .wc-how__steps li > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--bm-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.wc-plans .wc-how__steps a {
    color: var(--bm-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wc-plans .wc-how__steps a:hover {
    color: var(--bm-brand-dark);
}
.wc-plans .wc-how__steps small {
    color: var(--bm-muted);
    font-size: 14px;
    font-weight: 500;
}
.wc-plans .wc-how__n {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bm-border);
    color: var(--bm-brand);
    font-size: 15px;
    font-weight: 700;
}
.wc-plans .wc-banner {
    border-radius: var(--bm-radius-band);
}
.wc-plans .bm-banner__title {
    font-weight: 700;
}

/* 7. Responsive --------------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .wc-plans .bm-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wc-plans .wc-how {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 991.98px) {
    .wc-plans .bm-plan-grid {
        max-width: none;
    }
    .wc-plans .wc-compare {
        margin-top: 56px;
    }
}
@media (max-width: 767.98px) {
    .wc-plans .bm-plan-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-top: 0;
    }
    /* stacked: the band moves into the card's flow */
    .wc-plans .wc-plan__band {
        position: static;
        margin: -22px -22px 20px;
        padding: 0 22px;
    }
    .wc-plans .bm-plan--featured,
    .wc-plans .bm-plan--featured:hover,
    .wc-plans .bm-plan--featured:focus-within {
        border-radius: var(--bm-radius-card);
        overflow: hidden;
    }
    .wc-plans .wc-plan__save--none {
        display: none;
    }
    .wc-plans .wc-how__steps {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 639.98px) {
    .bm-inner.wc-page {
        font-size: 16px;
    }
    .wc-page .bm-page-title {
        font-size: 32px;
    }
    .wc-plans .bm-plan {
        padding: 22px;
    }
    .wc-plans .bm-plan--featured,
    .wc-plans .bm-plan--featured:hover,
    .wc-plans .bm-plan--featured:focus-within {
        padding: 21px;
    }
    .wc-plans .wc-plan__band {
        margin: -21px -21px 18px;
        padding: 0 21px;
    }
    .wc-plans .wc-plan__price strong {
        font-size: 38px;
    }
    .wc-plans .wc-compare__table {
        min-width: 760px;
        font-size: 14px;
    }
    .wc-plans .wc-compare__table th,
    .wc-plans .wc-compare__table td {
        padding: 12px;
    }
    .wc-plans .wc-compare__table th:first-child {
        width: 150px;
        min-width: 150px;
        white-space: normal;
    }
    .wc-plans .wc-how {
        padding: 20px;
    }
}

/* 8. .bm-inner link colour (custom-inner.css §1) outranks .bm-btn--primary: keep button text white. */
.wc-page .bm-btn--primary,
.wc-page .bm-btn--primary:hover,
.wc-page .bm-btn--primary:focus-visible {
    color: #fff;
}
.wc-page .bm-btn--outline:hover,
.wc-page .bm-btn--outline:focus-visible {
    color: #fff;
}
