.wg-plans-page-body {
    background: #ffffff;
}

.wg-plans-page,
.wg-plans-page * {
    box-sizing: border-box;
}

.wg-plans-page {
    color: #17233d;
    overflow: hidden;
}

.wg-plans-eyebrow {
    display: inline-block;
    color: #048ce2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.4;
}

.wg-plans-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(118deg, rgba(8, 23, 50, .98) 0%, rgba(13, 50, 91, .97) 58%, rgba(4, 140, 226, .92) 100%);
}

.wg-plans-hero::after {
    content: '';
    position: absolute;
    right: -7%;
    bottom: -185px;
    width: 540px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.wg-plans-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.wg-plans-hero__glow--one {
    top: -110px;
    right: 12%;
    width: 330px;
    height: 330px;
    background: rgba(86, 196, 255, .18);
}

.wg-plans-hero__glow--two {
    left: 6%;
    bottom: -180px;
    width: 360px;
    height: 360px;
    background: rgba(4, 140, 226, .13);
}

.wg-plans-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 74px;
    padding-bottom: 76px;
    text-align: center;
}

.wg-plans-hero .wg-plans-eyebrow {
    color: #79ccff;
}

.wg-plans-hero h1 {
    max-width: 750px;
    margin: 14px auto 18px;
    color: #ffffff;
    font-size: clamp(38px, 5.2vw, 62px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.wg-plans-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 300;
}

.wg-plans-hero__details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.wg-plans-hero__details span {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 5px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .87);
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.wg-plans-catalog {
    padding: 82px 0 94px;
    background:
        linear-gradient(180deg, #f7fbfe 0, #ffffff 270px);
}

.wg-plans-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.wg-plans-heading h2,
.wg-plans-payment h2,
.wg-plans-help h2 {
    margin: 10px 0 13px;
    color: #17233d;
    font-size: clamp(29px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: -.028em;
    line-height: 1.15;
}

.wg-plans-heading p {
    margin: 0;
    color: #65748b;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 300;
}

.wg-plans-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 440px);
    margin: 0 auto 46px;
    padding: 6px;
    border: 1px solid #dce7f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(22, 49, 79, .08);
}

.wg-plans-switch__button {
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #52627a;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.wg-plans-switch__button:hover {
    color: #048ce2;
}

.wg-plans-switch__button.is-active {
    background: #048ce2;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(4, 140, 226, .25);
}

.wg-plans-switch__button:focus-visible,
.wg-plan-card__action a:focus-visible,
.wg-plans-help__content > a:focus-visible {
    outline: 3px solid rgba(4, 140, 226, .28);
    outline-offset: 3px;
}

.wg-plans-panel[hidden] {
    display: none !important;
}

.wg-plans-panel__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5edf3;
}

.wg-plans-panel__intro > div {
    flex: 1 1 auto;
}

.wg-plans-panel__intro span {
    display: block;
    margin-bottom: 6px;
    color: #048ce2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.wg-plans-panel__intro h3 {
    margin: 0;
    color: #1e2a40;
    font-size: 23px;
    font-weight: 780;
    letter-spacing: -.02em;
}

.wg-plans-panel__intro p {
    flex: 0 1 460px;
    margin: 0;
    color: #65748b;
    line-height: 1.65;
}

.wg-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.wg-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 22px 22px;
    overflow: hidden;
    border: 1px solid #dfe8ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(21, 50, 78, .065);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.wg-plan-card:hover {
    transform: translateY(-5px);
    border-color: #bdddf2;
    box-shadow: 0 22px 48px rgba(21, 50, 78, .12);
}

.wg-plan-card--recommended {
    border-color: #79c9f8;
    box-shadow: 0 18px 48px rgba(4, 140, 226, .15);
}

.wg-plan-card__accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #048ce2, #54c5f3);
    opacity: .35;
}

.wg-plan-card--recommended .wg-plan-card__accent {
    height: 5px;
    opacity: 1;
}

.wg-plan-card__label-row {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wg-plan-card__type {
    color: #758298;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.wg-plan-card__recommended {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #eaf7ff;
    color: #047cc7;
    font-size: 10px;
    font-weight: 400;
}

.wg-plan-card__header h4 {
    margin: 15px 0 5px;
    color: #1b273c;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.wg-plan-card__header p {
    margin: 0;
    color: #76849a;
    font-size: 12px;
}

.wg-plan-card__price {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 19px;
}

.wg-plan-card__price strong {
    color: #17233d;
    font-size: clamp(29px, 2.5vw, 36px);
    font-weight: 830;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.wg-plan-card--recommended .wg-plan-card__price strong {
    color: #048ce2;
}

.wg-plan-card__price span {
    margin-top: 5px;
    color: #8591a3;
    font-size: 11px;
}

.wg-plan-card__divider {
    height: 1px;
    margin: 21px 0 17px;
    background: #e7edf2;
}

.wg-plan-card__includes {
    margin: 0 0 12px;
    color: #34435a;
    font-size: 12px;
    font-weight: 800;
}

.wg-plan-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.wg-plan-card__features li {
    position: relative;
    min-height: 18px;
    padding-left: 22px;
    color: #4e5d73;
    font-size: 11px;
    line-height: 1.45;
}

.wg-plan-card__features li::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e8f7ff;
}

.wg-plan-card__features li::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 5px;
    height: 3px;
    border-bottom: 1.5px solid #048ce2;
    border-left: 1.5px solid #048ce2;
    transform: rotate(-45deg);
}

.wg-plan-card__features li.is-muted {
    color: #8d98a8;
}

.wg-plan-card__features li.is-muted::before {
    background: #f0f3f6;
}

.wg-plan-card__features li.is-muted::after {
    top: 8px;
    left: 5px;
    width: 5px;
    height: 0;
    border: 0;
    border-top: 1.5px solid #9ca7b5;
    transform: none;
}

.wg-plan-card__action {
    margin-top: auto;
    padding-top: 4px;
}

.wg-plan-card__action a {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border: 1px solid #9bcff0;
    border-radius: 8px;
    background: #ffffff;
    color: #047cc7;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.wg-plan-card__action a:hover {
    border-color: #048ce2;
    background: #f0f9ff;
    color: #0474b9;
    transform: translateY(-1px);
}

.wg-plan-card--recommended .wg-plan-card__action a {
    border-color: #048ce2;
    background: #048ce2;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(4, 140, 226, .2);
}

.wg-plan-card--recommended .wg-plan-card__action a:hover {
    border-color: #037ac5;
    background: #037ac5;
    color: #ffffff;
}

.wg-plan-card__action small {
    display: block;
    margin-top: 9px;
    color: #8a96a8;
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

.wg-plans-empty {
    padding: 42px 24px;
    border: 1px dashed #c8d9e6;
    border-radius: 14px;
    background: #ffffff;
    color: #65748b;
    text-align: center;
}

.wg-plans-payment {
    padding: 88px 0;
    background: #0f1d31;
}

.wg-plans-payment__box {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.wg-plans-payment .wg-plans-eyebrow {
    color: #68c8ff;
}

.wg-plans-payment h2 {
    color: #ffffff;
}

.wg-plans-payment__heading > p {
    max-width: 560px;
    margin: 0;
    color: #aebbd0;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
}

.wg-plans-payment__methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.wg-plans-payment__methods span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.wg-plans-payment__heading small {
    display: block;
    margin-top: 11px;
    color: #959595;
    font-size: 7.8px;
}

.wg-plans-payment__steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wg-plans-payment__steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 17px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
}

.wg-plans-payment__steps > li > span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #048ce2;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.wg-plans-payment__steps h3 {
    margin: 1px 0 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 750;
}

.wg-plans-payment__steps p {
    margin: 0;
    color: #9eacc0;
    font-size: 12px;
    line-height: 1.6;
}

.wg-plans-help {
    padding: 72px 0;
    background: #f7fafc;
}

.wg-plans-help__content {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto;
    gap: 42px;
    align-items: center;
    padding: 38px 42px;
    border: 1px solid #dfe8ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(21, 50, 78, .055);
}

.wg-plans-help h2 {
    margin-bottom: 0;
    font-size: clamp(25px, 2.6vw, 14px);
}

.wg-plans-help__content > p {
    margin: 0;
    color: #66748a;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    text-align: justify;
}

.wg-plans-help__content > a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 8px;
    background: #048ce2;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(4, 140, 226, .2);
}

.wg-plans-help__content > a:hover {
    background: #037ac5;
    color: #ffffff;
}

@media (max-width: 1199px) {
    .wg-plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .wg-plan-card {
        padding: 28px;
    }

    .wg-plans-help__content {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    }

    .wg-plans-help__content > a {
        width: max-content;
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    .wg-plans-hero {
        min-height: 0;
    }

    .wg-plans-hero__content {
        padding-top: 58px;
        padding-bottom: 60px;
    }

    .wg-plans-hero h1 {
        margin-top: 11px;
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .wg-plans-hero p {
        font-size: 15px;
        line-height: 1.65;
        font-weight: 300;
    }

    .wg-plans-hero__details {
        gap: 7px;
        margin-top: 24px;
    }

    .wg-plans-hero__details span {
        padding: 8px 11px;
        font-size: 10px;
    }

    .wg-plans-catalog {
        padding: 62px 0 68px;
    }

    .wg-plans-heading {
        margin-bottom: 25px;
    }

    .wg-plans-heading h2 {
        font-size: 30px;
    }

    .wg-plans-switch {
        margin-bottom: 34px;
    }

    .wg-plans-panel__intro {
        display: block;
        margin-bottom: 20px;
    }

    .wg-plans-panel__intro h3 {
        font-size: 21px;
    }

    .wg-plans-panel__intro p {
        margin-top: 11px;
        font-size: 13px;
    }

    .wg-plans-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .wg-plan-card,
    .wg-plan-card--recommended {
        padding: 25px 22px 22px;
        box-shadow: 0 12px 32px rgba(21, 50, 78, .075);
    }

    .wg-plan-card:hover {
        transform: none;
    }

    .wg-plan-card__price strong {
        font-size: 34px;
    }

    .wg-plan-card__features li {
        font-size: 12px;
    }

    .wg-plans-payment {
        padding: 66px 0;
    }

    .wg-plans-payment__box {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .wg-plans-payment h2 {
        font-size: 31px;
    }

    .wg-plans-payment__steps li {
        padding: 17px;
    }

    .wg-plans-help {
        padding: 54px 0;
    }

    .wg-plans-help__content {
        display: block;
        padding: 28px 24px;
    }

    .wg-plans-help__content > p {
        margin-top: 17px;
    }

    .wg-plans-help__content > a {
        width: 100%;
        margin-top: 22px;
    }
}

@media (max-width: 479px) {
    .wg-plans-switch {
        padding: 5px;
        border-radius: 12px;
    }

    .wg-plans-switch__button {
        min-height: 45px;
        padding: 9px 7px;
        font-size: 12px;
    }

    .wg-plan-card__label-row {
        align-items: flex-start;
    }

    .wg-plans-payment__methods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-plans-payment__methods span {
        justify-content: center;
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-plan-card,
    .wg-plan-card__action a,
    .wg-plans-switch__button {
        transition: none;
    }
}
