/* Independent White Comparison Section */
.comparison-section {
    all: initial;
    font-family: 'Inter', sans-serif;
    display: block;
    background: linear-gradient(180deg, #201c1c 0%, #201b1b 100%);
    color: #333;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Visible Grid Background on White */
.comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 2px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: 0;
}

.comparison-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-family: inherit;
}

.comparison-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.comparison-header p {
    font-size: 1rem;
    color: #d1d0d0;
}

/* Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: #f7f7fb;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    font-size: 0.95rem;
    color: #444;
}

/* Column widths */
.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 65%;
    text-align: left;
    padding-left: 24px;
    font-weight: 500;
    color: #333;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 17.5%;
}

.comparison-table tbody tr {
    border-top: 1px solid #00c851;
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #fafaff;
}

/* Purple full border for "Your Brand" column */
.comparison-table thead th:nth-child(2),
.comparison-table tbody td:nth-child(2) {
    border-left: 2px solid #00c95157;
    border-right: 2px solid #00c95157;
}

.comparison-table thead th:nth-child(2) {
    border-top: 2px solid #00c95157;
    border-bottom: 2px solid #00c95157;
    background: #edeafc;
    color: #403b7a;
    font-weight: 700;
}

.comparison-table tbody tr:last-child td:nth-child(2) {
    border-bottom: 2px solid #00c95157;
}

/* Check and Cross icons */
.check, .cross {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 24px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.check {
    background-color: #1bd56799;
}

.cross {
    background-color: #c4c4c4;
}

/* Responsive */
@media (max-width: 768px) {
    .comparison-section {
        padding: 40px 16px;
    }
    .comparison-header h2 {
        font-size: 1.6rem;
    }
    .comparison-header p {
        font-size: 0.95rem;
    }
    .comparison-table th, .comparison-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 60%;
    }
    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 20%;
    }
}

@media (max-width: 480px) {
    .comparison-table th, .comparison-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    .check, .cross {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
}