.pricing-page {
    padding-top: 120px;
    padding-bottom: 100px;
}

.pricing-hero {
    padding: 40px 0 32px;
}

.pricing-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.pricing-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-muted);
}

.pricing-comparison {
    padding: 28px 0 0;
}

.pricing-table-group {
    position: relative;
}

.pricing-sticky-plans {
    position: sticky;
    top: calc(var(--nav-height) + 12px);
    z-index: 6;
    margin-bottom: 0;
}

.pricing-sticky-plans::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: calc(100% + 12px);
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: -1;
}

.pricing-sticky-grid {
    display: grid;
    grid-template-columns: 28% repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: none;
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -34px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.pricing-sticky-spacer,
.pricing-sticky-card {
    padding: 18px 24px;
}

.pricing-sticky-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
}

.pricing-table-shell {
    border-top: none;
    background: #ffffff;
    box-shadow: 0 24px 60px -44px rgba(15, 23, 42, 0.35);
    overflow: visible;
}

.pricing-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
}

.pricing-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.pricing-table-feature-col {
    width: 28%;
}

.pricing-table-plan-col {
    width: 18%;
}

.pricing-table th,
.pricing-table td {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pricing-plan-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-plan-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-row-label {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.pricing-row-description {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.pricing-table tbody td {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    text-align: center;
}

.pricing-feature-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1d4ed8;
}

.pricing-feature-value + .pricing-feature-value {
    margin-top: 6px;
}

.pricing-feature-value-neutral {
    color: var(--text-color);
}

.pricing-feature-plus {
    color: #1d4ed8;
    font-weight: 700;
}

.pricing-feature-suffix {
    display: inline;
    margin-top: 0;
    margin-left: 6px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-feature-value-block {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
}

.pricing-feature-cell-multiline {
    text-align: left;
}

.pricing-feature-value-block-multiline {
    flex-direction: column;
    align-items: flex-start;
}

.pricing-feature-value-block-plain .pricing-feature-value,
.pricing-feature-value-plain {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 38px;
    }

    .pricing-hero p {
        font-size: 17px;
    }

    .pricing-sticky-plans {
        display: none;
    }

    .pricing-table-shell {
        box-shadow: none;
        background: transparent;
    }

    .pricing-table-scroll {
        overflow: visible;
    }

    .pricing-table {
        min-width: 0;
        width: 100%;
        table-layout: auto;
    }

    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table th,
    .pricing-table td {
        display: block;
        width: 100%;
    }

    .pricing-table tr {
        padding: 22px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0;
        border-bottom: none;
    }

    .pricing-table th {
        margin-bottom: 18px;
    }

    .pricing-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        padding: 10px 0;
        text-align: left;
    }

    .pricing-table td::before {
        content: attr(data-plan-name);
        flex: 0 0 88px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .pricing-feature-value-block {
        margin-left: auto;
    }

    .pricing-feature-cell-multiline .pricing-feature-value-block {
        align-items: flex-end;
        text-align: right;
    }

    .pricing-table tbody tr:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .pricing-page {
        padding-top: 108px;
    }

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

    .pricing-hero p {
        font-size: 16px;
    }

    .pricing-sticky-plans {
        top: calc(var(--nav-height) + 8px);
    }
}
