.pricing-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 72% -8%, rgba(220, 238, 255, .8), transparent 36%),
        #f7faff;
    color: #09214a;
}

.pricing-hero {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 0 32px;
    text-align: center;
}

.pricing-hero .public-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5a6f86;
    font: 700 12px Manrope, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pricing-hero .public-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16c9f5;
    box-shadow: 0 0 0 5px rgba(22, 201, 245, .12);
}

.pricing-hero h1 {
    margin: 14px 0 12px;
    font: 800 clamp(34px, 4.6vw, 48px)/1.08 Manrope, sans-serif;
    letter-spacing: -.05em;
}

.pricing-hero h1 span {
    color: #087cff;
}

.pricing-hero p {
    max-width: 480px;
    margin: 0 auto;
    color: #5a6f86;
    font-size: 16px;
    line-height: 1.6;
}

.pricing-plans {
    padding: 0 0 72px;
}

.plan-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid #d4e2ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(9, 33, 74, .06);
}

.plan-member {
    border-color: #b7d4f3;
    background: linear-gradient(180deg, #f4faff 0%, #fff 42%);
}

.plan-card.is-featured {
    border-color: #087cff;
    box-shadow: 0 18px 44px rgba(8, 124, 255, .14);
}

.plan-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.plan-label {
    color: #5a6f86;
    font: 700 12px Manrope, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plan-badge {
    padding: 5px 8px;
    border-radius: 8px;
    background: #eef4f9;
    color: #3d4f66;
    font: 700 11px Manrope, sans-serif;
    letter-spacing: .06em;
}

.plan-badge-popular {
    background: #087cff;
    color: #fff;
}

.plan-card h2 {
    margin: 16px 0 8px;
    font: 800 28px/1.1 Manrope, sans-serif;
    letter-spacing: -.04em;
}

.plan-card > p {
    margin: 0;
    color: #5a6f86;
    font-size: 15px;
    line-height: 1.5;
}

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 18px 0 16px;
}

.plan-price del {
    width: 100%;
    color: #8aa0b2;
    font: 700 14px Manrope, sans-serif;
}

.plan-price strong {
    font: 800 32px/.95 Manrope, sans-serif;
    letter-spacing: -.04em;
}

.plan-price span {
    color: #5a6f86;
    font-size: 13px;
}

.plan-features {
    display: grid;
    align-content: start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #3d4f66;
    font-size: 14px;
    line-height: 1.45;
}

.plan-features li svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: #087cff;
}

.plan-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0 14px;
    border-radius: 12px;
    font: 700 15px 'DM Sans', sans-serif;
    text-decoration: none;
}

.plan-button svg {
    width: 16px;
    height: 16px;
}

.plan-button-light {
    border: 1px solid #d4e2ee;
    background: #fff;
    color: #09214a;
}

.plan-button-primary {
    border: 1px solid #087cff;
    background: #087cff;
    color: #fff;
    box-shadow: 0 10px 22px rgba(8, 124, 255, .18);
}

.pricing-matrix {
    padding: 0 0 80px;
}

.pricing-matrix-head {
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}

.pricing-matrix-head h2 {
    margin: 12px 0 8px;
    font: 800 clamp(24px, 3.2vw, 32px)/1.2 Manrope, sans-serif;
    letter-spacing: -.03em;
}

.pricing-matrix-head p {
    color: #5a6f86;
    font-size: 15px;
    line-height: 1.5;
}

.pricing-matrix-card {
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid #d4e2ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(9, 33, 74, .06);
    overflow: hidden;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    text-align: left;
}

.pricing-table th {
    padding: 18px 22px;
    background: #f4f8fc;
    color: #09214a;
    font: 700 13px Manrope, sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid #e1edf7;
}

.pricing-table th.th-feature {
    width: 44%;
}

.pricing-table th.th-free {
    width: 28%;
}

.pricing-table th.th-member {
    width: 28%;
    background: #ebf5ff;
    color: #087cff;
}

.pricing-table td {
    padding: 16px 22px;
    border-bottom: 1px solid #edf3f8;
    vertical-align: middle;
}

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

.pricing-table td strong {
    display: block;
    color: #09214a;
    font: 700 14px 'DM Sans', sans-serif;
}

.pricing-table td small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.4;
}

.matrix-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font: 600 13px 'DM Sans', sans-serif;
}

.matrix-check svg {
    width: 15px;
    height: 15px;
    color: #0ea5e9;
}

.matrix-check.is-active {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
}

.matrix-check.is-active svg {
    color: #0284c7;
}

.matrix-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font: 600 13px 'DM Sans', sans-serif;
}

.matrix-lock svg {
    width: 14px;
    height: 14px;
    color: #dc2626;
}

.matrix-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fef9c3;
    color: #854d0e;
    font: 600 13px 'DM Sans', sans-serif;
}

.matrix-preview svg {
    width: 14px;
    height: 14px;
    color: #ca8a04;
}

@media (max-width: 980px) {
    .plan-grid-three {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

@media (max-width: 900px) {
    .pricing-hero {
        padding: 24px 0 28px;
    }
}

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

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

    .plan-card {
        padding: 20px;
    }

    .plan-card h2 {
        font-size: 24px;
    }

    .plan-price strong {
        font-size: 28px;
    }
}
