/* ===================================
   COMPARISON PAGE
   Table styling: dark glass wrapper, scrollbar,
   sticky first column, SozAI highlight, responsive.
   =================================== */

.comp-table-wrapper {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow-x: auto;
}

.comp-table-wrapper::-webkit-scrollbar { height: 6px; }
.comp-table-wrapper::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
.comp-table-wrapper::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; }

.comp-table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
}

.comp-table th,
.comp-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    vertical-align: middle;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-table thead th {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.comp-table tbody td { color: #d4d4d4; font-weight: 300; }
.comp-table tbody tr:last-child td { border-bottom: none; }

/* Feature column */
.comp-table__feature { font-weight: 500 !important; color: #f5f5f5 !important; }

/* SozAI column highlight */
.comp-table__sozai { background: rgba(99, 102, 241, 0.06); }
.comp-table thead .comp-table__sozai { background: rgba(99, 102, 241, 0.12); color: #a5b4fc !important; }

/* Highlighted row */
.comp-table__row--highlight { background: rgba(99, 102, 241, 0.04); }

/* Icons inside cells */
.comp-table td i { font-size: 1.125rem; vertical-align: middle; }
.comp-table td span { vertical-align: middle; }
.comp-table td i + span { margin-left: 0.375rem; }

/* Visually hidden (for table caption) */
.comparison-page .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Sticky first column on mobile */
@media (max-width: 768px) {
    .comp-table__feature {
        position: sticky;
        left: 0;
        z-index: 1;
        background: #111;
    }
    .comp-table thead .comp-table__feature { background: #111; }
    .comp-table__row--highlight .comp-table__feature { background: #141420; }
}
