.plan-comparison {
    margin-top: 42px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.comparison-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 28px;
    border-bottom: 1px solid #e9eef5;
    background: linear-gradient(135deg, #fff, #f7faff);
}

.comparison-heading > div > span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.comparison-heading h2 {
    margin: 5px 0 3px;
    font-size: 21px;
}

.comparison-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.comparison-hint {
    color: #7d899b;
    font-size: 10px;
    white-space: nowrap;
}

.comparison-table-wrap {
    overflow-x: auto;
}

.comparison-table {
    min-width: 760px;
    white-space: normal;
}

.comparison-table th,
.comparison-table td {
    height: 68px;
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid #edf1f5;
}

.comparison-table thead th {
    background: #f9fbfe;
    color: var(--text);
    font-size: 12px;
}

.comparison-table thead th strong,
.comparison-table thead th small {
    display: block;
}

.comparison-table thead th strong {
    font-size: 14px;
}

.comparison-table thead th small {
    margin-top: 4px;
    color: var(--blue);
    font-size: 10px;
}

.comparison-table .feature-column {
    position: sticky;
    right: 0;
    z-index: 2;
    width: 280px;
    min-width: 280px;
    text-align: right;
    background: #fff;
    box-shadow: -5px 0 12px rgba(31, 55, 90, .035);
}

.comparison-table thead .feature-column {
    z-index: 3;
    background: #f9fbfe;
}

.comparison-table .feature-column strong,
.comparison-table .feature-column small {
    display: block;
}

.comparison-table .feature-column strong {
    color: #26364d;
    font-size: 12px;
}

.comparison-table .feature-column small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.7;
}

.comparison-category th {
    height: auto;
    padding: 9px 16px;
    color: #315fae;
    background: #eef4ff;
    text-align: right;
    font-size: 11px;
    font-weight: 800;
    border-bottom: 1px solid #dce8fb;
}

.feature-state {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.feature-state.included {
    color: var(--green);
    background: var(--green-soft);
}

.feature-state.excluded {
    color: #9ba7b7;
    background: #eef1f5;
}

.feature-value {
    display: block;
    margin-top: 5px;
    color: #4f6076;
    font-size: 9px;
}

.feature-value.muted {
    color: #9aa5b4;
}

@media (max-width: 760px) {
    .comparison-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .comparison-hint {
        white-space: normal;
    }

    .comparison-table .feature-column {
        width: 220px;
        min-width: 220px;
    }
}
