/* English Boss — Homepage Pricing visual refresh (24.1)
 * Dedicated homepage-only stylesheet.
 * Baseline: ec5ba8339a076b53e63d6f8ba0c88ec4ff103f4a
 * No Paddle/billing behavior lives here.
 */

.eb-section--pricing {
    position: relative;
    overflow: hidden;
    padding: 84px 0 92px;
    background: #0638ed;
    color: #fff;
}

.eb-section--pricing::before,
.eb-section--pricing::after {
    content: "";
    position: absolute;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, .16);
    pointer-events: none;
}

.eb-section--pricing::before {
    top: 54px;
    left: 0;
    box-shadow:
        46px 0 0 rgba(255, 255, 255, .10),
        92px 46px 0 rgba(255, 255, 255, .16);
}

.eb-section--pricing::after {
    top: 86px;
    right: 34px;
    box-shadow:
        -46px 46px 0 rgba(255, 255, 255, .12),
        0 92px 0 rgba(255, 255, 255, .10);
}

.eb-pricing-v2 {
    position: relative;
    z-index: 1;
}

.eb-pricing-v2__heading {
    max-width: 980px;
    margin: 0 auto 44px;
    text-align: center;
}

.eb-pricing-v2__kicker {
    display: inline-block;
    margin: 0 0 22px;
    padding: 0 0 7px;
    border-bottom: 2px solid #b8fad8;
    color: #b8fad8;
    font-family: "Barlow", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
}

.eb-pricing-v2__title {
    margin: 0;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.eb-pricing-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.eb-pricing-v2__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(184, 250, 216, .8);
    border-radius: 30px;
    background: #0037f0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 42px rgba(0, 22, 124, .12);
}

.eb-pricing-v2__visual {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background: #b8fad8;
    color: #0037f0;
}

.eb-pricing-v2__visual-copy {
    position: relative;
    z-index: 2;
    width: 58%;
    padding: 28px 10px 24px 28px;
}

.eb-pricing-v2__category-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: #0037f0;
    color: #b8fad8;
}

.eb-pricing-v2__category-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.eb-pricing-v2__card h3 {
    margin: 0;
    color: #0037f0;
    font-family: "Archivo", sans-serif;
    font-size: clamp(1.75rem, 2.3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.eb-pricing-v2__tagline {
    margin: 12px 0 0;
    color: #0037f0;
    font-family: "Barlow", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
}

.eb-pricing-v2__photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 49%;
    overflow: hidden;
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.eb-pricing-v2__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 42%;
}

.eb-pricing-v2__card--teacher .eb-pricing-v2__photo img {
    object-position: 68% 38%;
}

.eb-pricing-v2__card--school .eb-pricing-v2__photo img {
    object-position: 70% 48%;
}

.eb-pricing-v2__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.eb-pricing-v2__price-block {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.eb-pricing-v2__price-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 12px;
    color: #b8fad8;
}

.eb-pricing-v2__price-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.eb-pricing-v2__price-copy {
    min-width: 0;
}

.eb-pricing-v2__price {
    margin: 1px 0 0;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 1.05rem;
    line-height: 1.22;
}

.eb-pricing-v2__price strong {
    font-family: "Archivo", sans-serif;
    font-size: clamp(1.65rem, 2.1vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -.025em;
}

.eb-pricing-v2__note {
    margin: 7px 0 0;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.35;
    opacity: .96;
}

.eb-pricing-v2__separator {
    height: 1px;
    margin: 2px 0;
    background: rgba(255, 255, 255, .18);
}

.eb-pricing-v2__benefits {
    display: grid;
    gap: 16px;
    margin-top: 2px;
}

.eb-pricing-v2__benefit {
    position: relative;
    margin: 0;
    padding-left: 38px;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: .97rem;
    line-height: 1.4;
}

.eb-pricing-v2__benefit::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #b8fad8;
    color: #0037f0;
    font-size: .85rem;
    font-weight: 800;
}

.eb-pricing-v2__school-intro {
    margin-top: 0;
}

.eb-pricing-v2__tiers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.eb-pricing-v2__tier {
    min-width: 0;
    min-height: 96px;
    padding: 13px 7px;
    border-radius: 10px;
    background: #fff;
    color: #0037f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.eb-pricing-v2__tier strong {
    font-family: "Archivo", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.15;
}

.eb-pricing-v2__tier span {
    font-family: "Barlow", sans-serif;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.18;
}

.eb-pricing-v2__cta {
    width: 100%;
    min-height: 56px;
    margin-top: auto;
    padding-left: 24px;
    padding-right: 58px;
    position: relative;
    justify-content: flex-start;
    border-radius: 10px;
    font-family: "Barlow", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.eb-pricing-v2__cta::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-52%);
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.eb-pricing-v2__cta.eb-button--mint {
    background: #b8fad8;
    border-color: #b8fad8;
    color: #0037f0;
}

.eb-pricing-v2__cta.eb-button--outline-blue {
    background: #fff;
    border-color: #fff;
    color: #0037f0;
}

.eb-pricing-v2__cta.eb-button--blue {
    background: transparent;
    border-color: rgba(255, 255, 255, .92);
    color: #fff;
}

.eb-pricing-v2__cta:focus-visible,
.eb-pricing-v2__footnote a:focus-visible {
    outline: 3px solid #b8fad8;
    outline-offset: 4px;
}

.eb-pricing-v2__footnote {
    max-width: 900px;
    margin: 20px auto 0;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: .88rem;
    line-height: 1.45;
    text-align: center;
    opacity: .94;
}

.eb-pricing-v2__footnote a {
    color: #fff;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (max-width: 1040px) {
    .eb-pricing-v2__grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .eb-pricing-v2__visual-copy {
        width: 56%;
    }

    .eb-pricing-v2__photo {
        width: 50%;
    }

    .eb-pricing-v2__tiers {
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .eb-section--pricing {
        padding: 62px 0 68px;
    }

    .eb-section--pricing::before,
    .eb-section--pricing::after {
        width: 32px;
        height: 32px;
    }

    .eb-section--pricing::before {
        top: 36px;
        box-shadow:
            32px 0 0 rgba(255, 255, 255, .10),
            64px 32px 0 rgba(255, 255, 255, .14);
    }

    .eb-section--pricing::after {
        top: 60px;
        right: 10px;
        box-shadow:
            -32px 32px 0 rgba(255, 255, 255, .10),
            0 64px 0 rgba(255, 255, 255, .08);
    }

    .eb-pricing-v2__heading {
        margin-bottom: 34px;
        padding: 0 8px;
    }

    .eb-pricing-v2__kicker {
        margin-bottom: 17px;
        font-size: .92rem;
    }

    .eb-pricing-v2__title {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .eb-pricing-v2__grid {
        gap: 22px;
    }

    .eb-pricing-v2__card {
        border-radius: 24px;
    }

    .eb-pricing-v2__visual {
        min-height: 205px;
    }

    .eb-pricing-v2__visual-copy {
        width: 60%;
        padding: 22px 8px 20px 22px;
    }

    .eb-pricing-v2__category-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }

    .eb-pricing-v2__category-icon svg {
        width: 26px;
        height: 26px;
    }

    .eb-pricing-v2__card h3 {
        font-size: 1.72rem;
    }

    .eb-pricing-v2__tagline {
        margin-top: 9px;
        font-size: .95rem;
    }

    .eb-pricing-v2__photo {
        width: 49%;
        clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%);
    }

    .eb-pricing-v2__body {
        gap: 17px;
        padding: 22px;
    }

    .eb-pricing-v2__price-block {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 13px;
    }

    .eb-pricing-v2__price-icon {
        width: 48px;
        height: 48px;
    }

    .eb-pricing-v2__price-icon svg {
        width: 27px;
        height: 27px;
    }

    .eb-pricing-v2__price strong {
        font-size: 1.55rem;
    }

    .eb-pricing-v2__note,
    .eb-pricing-v2__benefit {
        font-size: .92rem;
    }

    .eb-pricing-v2__tiers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eb-pricing-v2__tier {
        min-height: 88px;
    }

    .eb-pricing-v2__cta {
        min-height: 54px;
    }

    .eb-pricing-v2__footnote {
        margin-top: 24px;
        padding: 0 6px;
        font-size: .82rem;
    }
}

@media (max-width: 360px) {
    .eb-pricing-v2__visual {
        min-height: 194px;
    }

    .eb-pricing-v2__visual-copy {
        width: 61%;
        padding-left: 19px;
    }

    .eb-pricing-v2__card h3 {
        font-size: 1.55rem;
    }

    .eb-pricing-v2__tagline {
        font-size: .88rem;
    }

    .eb-pricing-v2__body {
        padding: 19px;
    }

    .eb-pricing-v2__price-block {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 11px;
    }

    .eb-pricing-v2__price-icon {
        width: 44px;
        height: 44px;
    }

    .eb-pricing-v2__price strong {
        font-size: 1.42rem;
    }
}
