.pricing-page {
    --pricing-border: #dce5f0;
    --pricing-border-soft: #e8eef5;
    --pricing-header: #eef3f8;
    --pricing-muted: #6f7f94;
    --pricing-strong: #172236;
    position: relative;
    background:
        radial-gradient(circle at 12% 0, rgba(37, 99, 235, .055), transparent 27%),
        radial-gradient(circle at 88% 0, rgba(8, 145, 178, .045), transparent 25%),
        #fff;
}

.pricing-hero {
    position: relative;
    padding: 126px 0 72px;
    text-align: center;
}

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

.pricing-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .055em;
}

.pricing-hero__eyebrow span {
    width: 6px;
    height: 6px;
    background: #5b87ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(91, 135, 255, .1);
}

.pricing-hero h1 {
    margin: 0;
    color: var(--pricing-strong);
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -.045em;
}

.pricing-hero > .container > p:last-child {
    max-width: 620px;
    margin: 16px auto 0;
    color: #637289;
    font-size: 15px;
    line-height: 1.8;
}

.pricing-catalog {
    position: relative;
    z-index: 1;
    padding-bottom: 96px;
}

.pricing-catalog > .container {
    max-width: 1320px;
}

.pricing-tabs {
    display: flex;
    gap: 34px;
    border-bottom: 1px solid var(--pricing-border);
}

.pricing-tab {
    position: relative;
    min-height: 48px;
    padding: 0 1px;
    color: #8795a9;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s ease;
}

.pricing-tab::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    content: '';
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
}

.pricing-tab:hover,
.pricing-tab.is-active {
    color: var(--primary);
}

.pricing-tab.is-active {
    font-weight: 600;
}

.pricing-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.pricing-tab:focus-visible,
.pricing-table__action a:focus-visible,
.pricing-enterprise a:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .42);
    outline-offset: 3px;
}

.pricing-panel[hidden] {
    display: none;
}

.pricing-vendors {
    display: grid;
    gap: 42px;
    padding-top: 28px;
}

.pricing-vendor {
    min-width: 0;
}

.pricing-vendor__header {
    margin-bottom: 15px;
}

.pricing-vendor__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-vendor__mark {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    color: #217951;
    font-size: 13px;
    font-weight: 700;
    background: #e8f6ec;
    border-radius: 8px;
}

.pricing-vendor__mark--2 {
    color: #93529e;
    background: #f5eafb;
}

.pricing-vendor__mark--3 {
    color: #da7b28;
    background: #fff1df;
}

.pricing-vendor__mark--4 {
    color: #3978ad;
    background: #e9f4fb;
}

.pricing-vendor__mark--5 {
    color: #c45b68;
    background: #fdebed;
}

.pricing-vendor__mark--6 {
    color: #248691;
    background: #e0f5f6;
}

.pricing-vendor__mark--7 {
    color: #4b74ca;
    background: #edf1fd;
}

.pricing-vendor__mark--8 {
    color: #bd6f42;
    background: #fbede7;
}

.pricing-vendor h2 {
    margin: 0;
    color: var(--pricing-strong);
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.pricing-vendor__header > p {
    margin: 7px 0 0;
    color: var(--pricing-muted);
    font-size: 13px;
    line-height: 1.65;
}

.pricing-table-wrap {
    width: 100%;
    border: 1px solid var(--pricing-border);
    border-radius: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd6e4 transparent;
}

.pricing-table {
    width: 100%;
    min-width: 1240px;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
    color: #415168;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
}

.pricing-table--compact {
    min-width: 1120px;
}

.pricing-table th,
.pricing-table td {
    height: 54px;
    padding: 12px 18px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--pricing-border-soft);
}

.pricing-table thead th {
    height: 48px;
    color: #40516a;
    font-size: 13px;
    font-weight: 700;
    background: var(--pricing-header);
    white-space: nowrap;
}

.pricing-table tbody tr:last-child > * {
    border-bottom: 0;
}

.pricing-table tbody tr:hover > td,
.pricing-table tbody tr:hover > th {
    background: #fbfdff;
}

.pricing-table thead th:nth-child(1) {
    width: 23%;
}

.pricing-table thead th:nth-child(2) {
    width: 22%;
}

.pricing-table thead th:nth-child(3) {
    width: 8%;
}

.pricing-table thead th:nth-child(4),
.pricing-table thead th:nth-child(5) {
    width: 20%;
}

.pricing-table thead th:last-child {
    width: 7%;
    text-align: center;
}

.pricing-table--compact thead th:nth-child(1) {
    width: 26%;
}

.pricing-table--compact thead th:nth-child(2) {
    width: 22%;
}

.pricing-table--compact thead th:nth-child(3),
.pricing-table--compact thead th:nth-child(4) {
    width: 21%;
}

.pricing-table--compact thead th:last-child {
    width: 10%;
}

.pricing-table__model {
    color: #1d2b40;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}

.pricing-table__billing,
.pricing-table__context {
    color: #4e5f75;
    font-weight: 500;
}

.pricing-table__billing {
    white-space: nowrap;
}

.pricing-table__context {
    white-space: nowrap;
}

.pricing-table__price {
    color: #2d405a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    white-space: nowrap;
}

.pricing-table__price-value {
    color: #20334d;
    font-weight: 600;
}

.pricing-table__price small {
    color: #53667f;
    font: inherit;
    white-space: nowrap;
}

.pricing-table__price-list {
    display: grid;
    gap: 2px;
}

.pricing-table__price-list span {
    display: block;
    white-space: nowrap;
}

.pricing-table__price-list em {
    display: inline-block;
    min-width: 34px;
    color: #455a75;
    font-style: normal;
    font-weight: 600;
}

.pricing-table__empty-value {
    color: #a0acbb;
}

.pricing-table__action {
    text-align: center !important;
}

.pricing-table__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-table__action a:hover {
    color: var(--primary-hover);
}

.pricing-table__no-config {
    color: #8b99ab;
    text-align: center !important;
}

.pricing-empty {
    padding: 84px 24px 64px;
    text-align: center;
}

.pricing-empty > span {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 16px;
    color: #8fa1ba;
    background: #f0f5fb;
    border-radius: 14px;
}

.pricing-empty h2 {
    margin: 0;
    font-size: 20px;
}

.pricing-empty p {
    margin-top: 8px;
    color: var(--pricing-muted);
    font-size: 13px;
}

.pricing-enterprise {
    display: flex;
    min-height: 214px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    margin-top: 58px;
    padding: 38px 28px;
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg, #2863e8 0%, #168eb7 100%);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(31, 105, 193, .16);
    overflow: hidden;
}

.pricing-enterprise h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.pricing-enterprise p {
    margin-top: 7px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
}

.pricing-enterprise a {
    display: inline-flex;
    min-width: 106px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 7px 18px rgba(14, 54, 117, .14);
    transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pricing-enterprise a:hover {
    color: var(--primary-hover);
    box-shadow: 0 10px 24px rgba(14, 54, 117, .2);
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .pricing-hero {
        padding-top: 112px;
    }

    .pricing-table-wrap {
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #cbd6e4 transparent;
    }

    .pricing-table-wrap::-webkit-scrollbar {
        height: 6px;
    }

    .pricing-table-wrap::-webkit-scrollbar-thumb {
        background: #cbd6e4;
        border-radius: 999px;
    }
}

@media (max-width: 720px) {
    .pricing-hero {
        padding: 104px 0 52px;
    }

    .pricing-hero h1 {
        font-size: 38px;
    }

    .pricing-hero > .container > p:last-child {
        font-size: 14px;
    }

    .pricing-catalog {
        padding-bottom: 64px;
    }

    .pricing-tabs {
        gap: 26px;
        overflow-x: auto;
    }

    .pricing-tab {
        flex: 0 0 auto;
        min-height: 46px;
        font-size: 13px;
    }

    .pricing-vendors {
        gap: 34px;
        padding-top: 24px;
    }

    .pricing-vendor__mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .pricing-vendor h2 {
        font-size: 18px;
    }

    .pricing-vendor__header > p {
        font-size: 12px;
    }

    .pricing-table-wrap {
        margin-right: calc(var(--gutter) * -1);
        border-right: 0;
        border-radius: 12px 0 0 12px;
    }

    .pricing-enterprise {
        min-height: 200px;
        margin-top: 44px;
        border-radius: 14px;
    }

    .pricing-enterprise h2 {
        font-size: 23px;
    }
}

@media (max-width: 420px) {
    .pricing-tabs {
        gap: 22px;
    }

    .pricing-enterprise {
        padding-inline: 20px;
    }
}
