/* Main Container */
.ctp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    /* Outer transparent */
    overflow-x: auto;
    /* Handle overflow on small screens */
    padding: 20px 0;
}

.ctp-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Rows */
.ctp-header-row,
.ctp-content-row {
    display: table-row;
}

/* Cells */
.ctp-cell {
    display: table-cell;
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    /* Inner parts white */
    color: #333;
    font-size: 16px;
}

/* Header Text Styles */
.ctp-header-row .ctp-cell {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid #ddd;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Column 1: Features */
.ctp-grid .ctp-cell:nth-child(1) {
    width: 30%;
    text-align: left;
    font-weight: 600;
    color: #444;
}

/* Column 2: Competitors */
.ctp-grid .ctp-cell:nth-child(2) {
    width: 35%;
    text-align: center;
    color: #666;
}

/* Column 3: Us (Highlighted) */
.ctp-grid .ctp-cell:nth-child(3) {
    width: 35%;
    text-align: center;
    background-color: #fff;
    /* The card effect */
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

/* Highlighted Header */
.ctp-header-row .ctp-cell:nth-child(3) {
    background-color: var(--ctp-header-bg, #004c86);
    color: var(--ctp-header-text, #ffffff);
    border-radius: 15px 15px 0 0;
    border: none;
    font-size: 18px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Last Row Highlighted Rounded Corners */
.ctp-content-row:last-child .ctp-cell:nth-child(3) {
    border-radius: 0 0 15px 15px;
    border-bottom: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Icons */
.ctp-icon {
    display: inline-block;
    margin-right: 8px;
    font-weight: bold;
    font-size: 18px;
}

.ctp-check {
    color: var(--ctp-check-color, #28a745);
}

.ctp-cross {
    color: var(--ctp-cross-color, #dc3545);
}

/* Text in cells */
.ctp-text {
    display: inline-block;
}

/* Competitor Column - Red Crosses typically */
.ctp-cell:nth-child(2) .ctp-cross {
    color: #dc3545;
    /* Fixed red or use var? Using var/fixed mix */
}

/* Us Column - Green Checks typically */
.ctp-cell:nth-child(3) .ctp-check {
    color: var(--ctp-check-color);
}


/* Responsive */
@media screen and (max-width: 768px) {
    .ctp-container {
        padding: 0;
    }

    .ctp-cell {
        padding: 10px;
        font-size: 14px;
    }

    /* Scroll horizontal is handled by container overflow-x: auto */
    /* Alternatively, stack them */

    /* Option 2: Sticky First Column */
    .ctp-grid .ctp-cell:nth-child(1) {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    }
}