.feature-comparison-block {
    max-width: 100%;
    margin: 1rem 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.5rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.875rem;
}

.comparison-title {
    text-align: center;
    margin: 0 0 0.8rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

.comparison-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    background: #fef3c7;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-body {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.table-body::-webkit-scrollbar {
    display: none;
}

.table-content {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
}

.header-cell {
    padding: 0.65rem;
    font-weight: 700;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    border-right: 1px solid #9ca3af;
}

.header-cell.criteria {
    background: #959799;
}

.header-cell.primary {
    background: #fbbf24;
    color: #000000;
}

.header-cell:last-child {
    border-right: none;
}

.table-row {
    display: contents;
}

.row-label {
    background: #e5e1e1;
    padding: 1.25rem 1rem;
    font-weight: 700;
    border-right: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;
    display: flex;
    align-items: center;
    color: #000000;
    font-size: 0.85rem;
    position: sticky;
    left: 0;
    z-index: 5;
}

.feature-cell {
    padding: 1.25rem 1rem;
    border-right: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;
    background: #ffffff;
    transition: background-color 0.2s ease;
}

.feature-cell:hover {
    background: #f8fafc;
}

.feature-cell.primary {
    background: #fcf9ef;
}

.feature-cell.primary:hover {
    background: #fdfdfc;
}

.feature-cell:last-child {
    border-right: none;
}

.feature-cell ul {
    margin: 0;
    padding-left: 1rem;
    list-style-type: disc;
}

.feature-cell li {
    margin-bottom: 0.5rem;
    color: #000000;
    line-height: 1.4;
    font-size: 0.8rem;
}

.feature-cell li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .feature-comparison-block {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .comparison-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .table-header, .table-content {
        grid-template-columns: 100px 1fr 1fr;
    }
    
    .table-body {
        max-height: 400px;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    
    .table-body::-webkit-scrollbar {
        display: block;
        height: 4px;
    }
    
    .table-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 2px;
    }
    
    .header-cell, .row-label, .feature-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .row-label {
        font-size: 0.7rem;
        min-width: 100px;
    }
    
    .feature-cell li {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
}