* {
    box-sizing: border-box;
}

.site-header {
    box-shadow: var(--shadow-sm);
}

.comparison-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.comparison-table {
    border-collapse: collapse;
    min-width: 600px;
    width: 100%;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.comparison-table th, .comparison-table td {
    padding: 0.5rem 1rem;
    margin: 0.5rem !important;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    min-width: 120px;
    font-size: 1rem;
}

.comparison-table th {
    border-bottom: none;
    border-radius: 30px;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    font-weight: bold;
}

.comparison-table thead th:not(:first-child) {
    scale: 0.95;
}

.comparison-table td {
    background: var(--bg-light);
}

.comparison-table tr td:first-child {
    font-weight: bold;
}

.comparison-table th.sticky-col {
    position: sticky;
    left: 0;
    border-radius: 0;
    background: #ffffff;
    z-index: 3;
}

.comparison-table td.sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
}

.icon-check {
    color: #4caf50;
    font-size: 1.5rem;
}

.icon-x {
    color: #e53935;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .comparison-table th, .comparison-table td {
        padding: 0.7rem 0.7rem;
        min-width: 100px;
        font-size: 0.95rem;
    }
}

.pricing-section {
    padding: 0 !important;
}

.pricing-section .container {
    max-width: 1800px;
}

.site-content .container {
    padding-top: 0 !important;
}

.title-with-description-section {
    padding-bottom: 0;
}

h1.section-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

#pricing-comparison {
    scroll-margin-top: 130px;
}

.pricing-segment-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--bg-grey);
    border: 2px solid var(--border-light);
    border-radius: 32px;
    padding: 4px;
    gap: 0;
    width: fit-content;
    margin: 2rem auto 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pricing-segment-wrapper label {
    flex: 1 1 0;
    text-align: center;
    padding: 0.7rem 0;
    width: 120px;
    border-radius: 28px;
    cursor: pointer;
    color: var(--primary-purple);
    font-weight: bold;
    background: transparent;
    transition: color 0.2s;
    font-size: 1.1rem;
    margin: 0;
    user-select: none;
    position: relative;
    z-index: 1;
}

.pricing-segment-wrapper .segment-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--primary-purple);
    border-radius: 28px;
    z-index: 0;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}


.pricing-segment-wrapper input[type="radio"]:checked + label {
    color: #fff;
}

.pricing-segment-wrapper label + input[type="radio"] {
    margin-left: -4px;
}

.pricing-segment-wrapper input[type="radio"]:nth-of-type(2):checked ~ .segment-slider {
    transform: translateX(100%);
}

.pricing-segment-wrapper input[type="radio"] {
    display: none;
}

#pricing-comparison-link {
    font-weight: bold;
}

.pricing-section .footnote {
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-cards {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}