/* ===== Comparison Section ===== */
.comparisonSection {
    padding: var(--section-bg-py) 0;
}

/* ===== Section Head ===== */
.comparisonSection .sectionHeadwrap {
    text-align: center;
    margin-bottom: var(--section-wraper-py);
}

/* ===== Table Wrapper ===== */
.comparison-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-card-border);
    padding-bottom: 6px;
}

.comparison-wrapper::-webkit-scrollbar { height: 6px; }
.comparison-wrapper::-webkit-scrollbar-track { background: var(--color-card-border); border-radius: 100rem; }
.comparison-wrapper::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 100rem; }

/* ===== Table ===== */
.comparison-wrapper table {
    width: 100%;
    min-width: 600px;
    max-width: 996px;
    margin: 15px auto;
    border: 1px solid #DEEFFF;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 11.7px 0px #ABBDCC;
}

/* ===== Header Row ===== */
.comparison-wrapper table th {
    padding: 16px 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #231F20;
    background: #ffffff;
    border: 1px solid #DEEFFF;
}

/* ===== Feature column header ===== */
.comparison-wrapper table th:first-child {
    text-align: left;
    background: var(--color-primary);
    color: var(--color-white);
    width: 195px;
    border: 1px solid #4B3DC0;
}

/* ===== Body Cells ===== */
.comparison-wrapper table td {
    padding: 19px 30px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: left;
    vertical-align: middle;
    color: #676B7E;
    background: #ffffff;
    border: 1px solid #DEEFFF;
}
.comparison-wrapper table td:nth-of-type(2),.comparison-wrapper table td:nth-of-type(3){
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;

}
/* ===== Feature column cells (first td) ===== */
.comparison-wrapper table td:first-child {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: var(--color-white);
    text-align: left;
    width: 265px;
    background: var(--color-primary);
    border: 1px solid #5985F6;
}
.comparison-wrapper table tr:first-child td:first-child{
    border-top-right-radius: 20px;
}
.comparison-wrapper table tr:last-child td:first-child {
    border-bottom-right-radius: 20px;
}
.comparison-wrapper table tr:first-child td:nth-of-type(2){
    border-left: none;
}
.comparison-wrapper table tr:last-child td:nth-of-type(2){
    border-left: none;
}
/* ===== Inline strong/p inside cells ===== */
.comparison-wrapper table td p,
.comparison-wrapper table th p {
    font-family: var(--font-primary);
    font-size: 14px;
    margin: 0;
}

.comparison-wrapper table td p strong,
.comparison-wrapper table th p strong {
    font-weight: 600;
    color: #231F20;
}

/* ===== Feature column — force white on p and p strong ===== */
.comparison-wrapper table td:first-child p,
.comparison-wrapper table td:first-child p strong {
    color: var(--color-white);
}

/* ===== Border radius on corners ===== */
.comparison-wrapper table thead tr th:first-child  { border-top-left-radius: 14px; }
.comparison-wrapper table thead tr th:last-child   { border-top-right-radius: 14px; }
.comparison-wrapper table tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.comparison-wrapper table tbody tr:last-child td:last-child  { border-bottom-right-radius: 14px; }

/* ===== Footnote ===== */
.comparisonSection .microCopy {
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .comparison-wrapper table th,
    .comparison-wrapper table td {
        font-size: 13px;
        padding: 12px 14px;
    }

    .comparison-wrapper table td:first-child,
    .comparison-wrapper table th:first-child {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .comparison-wrapper table th,
    .comparison-wrapper table td {
        font-size: 12px;
        padding: 10px 10px;
    }

    .comparison-wrapper table td:first-child,
    .comparison-wrapper table th:first-child {
        font-size: 13px;
    }
}
