/* ========================================
   COMPARISON TABLE STYLES
   Modern Karşılaştırma Tablosu - Premium Design
   ======================================== */

/* ===== SECTION WRAPPER ===== */
.comparison-section {
    padding: 120px 0;
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* ===== SECTION HEADER ===== */
.comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid rgba(233, 30, 99, 0.4);
    background: rgba(233, 30, 99, 0.08);
    color: #E91E63;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.comparison-badge svg {
    width: 16px;
    height: 16px;
}

.comparison-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.2px;
    color: #FFF;
    margin-bottom: 16px;
}

.comparison-subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 580px;
    margin: 0 auto;
}

/* ===== TABLE CONTAINER ===== */
.comparison-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
}

/* ===== TABLE HEADER ===== */
.comparison-table thead th {
    padding: 24px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    vertical-align: middle;
}

.comparison-table thead th:first-child {
    text-align: left;
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding-left: 32px;
}

/* Highlighted column (İnfluencer360) */
.comparison-table thead th.highlight-col {
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.12) 0%, rgba(233, 30, 99, 0.06) 100%);
    border-left: 2px solid rgba(233, 30, 99, 0.4);
    border-right: 2px solid rgba(233, 30, 99, 0.4);
    border-bottom: 1px solid rgba(233, 30, 99, 0.3);
    position: relative;
}

.comparison-table thead th.highlight-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E91E63 0%, #C2185B 100%);
}

.comparison-table thead th.highlight-col .brand-logo {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* ===== TABLE BODY ===== */
.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #e5e7eb;
    font-size: 14px;
    padding-left: 32px;
}

/* Highlighted column cells */
.comparison-table tbody td.highlight-col {
    background: rgba(233, 30, 99, 0.04);
    border-left: 2px solid rgba(233, 30, 99, 0.25);
    border-right: 2px solid rgba(233, 30, 99, 0.25);
    border-bottom: 1px solid rgba(233, 30, 99, 0.15);
    font-weight: 600;
    color: #E91E63;
    font-size: 14px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:last-child td.highlight-col {
    border-bottom: 2px solid rgba(233, 30, 99, 0.25);
}

/* ===== ICONS ===== */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.cross-icon svg {
    width: 16px;
    height: 16px;
}

/* Highlighted column icons */
.highlight-col .check-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

/* ===== CTA BUTTON ===== */
.comparison-cta {
    text-align: center;
    margin-top: 56px;
}

.comparison-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 100px;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.25);
    border: none;
}

.comparison-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.35);
    color: #ffffff !important;
    background: linear-gradient(135deg, #f92672 0%, #d81b60 100%);
}

.comparison-cta-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

/* ===== LIGHT MODE ===== */
body.light-mode .comparison-section {
    background: #ffffff;
}

body.light-mode .comparison-badge {
    border-color: rgba(233, 30, 99, 0.3);
    background: rgba(233, 30, 99, 0.06);
}

body.light-mode .comparison-title {
    color: #1d1d1f;
}

body.light-mode .comparison-subtitle {
    color: #6b7280;
}

body.light-mode .comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.light-mode .comparison-table thead th {
    color: #1d1d1f;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
}

body.light-mode .comparison-table thead th:first-child {
    color: #6b7280;
}

body.light-mode .comparison-table thead th.highlight-col {
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.06) 0%, rgba(233, 30, 99, 0.03) 100%);
    border-left-color: rgba(233, 30, 99, 0.3);
    border-right-color: rgba(233, 30, 99, 0.3);
    border-bottom-color: rgba(233, 30, 99, 0.2);
}

body.light-mode .comparison-table tbody tr:hover {
    background: #f9fafb;
}

body.light-mode .comparison-table tbody td {
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

body.light-mode .comparison-table tbody td:first-child {
    color: #1d1d1f;
}

body.light-mode .comparison-table tbody td.highlight-col {
    background: rgba(233, 30, 99, 0.03);
    border-left-color: rgba(233, 30, 99, 0.2);
    border-right-color: rgba(233, 30, 99, 0.2);
    border-bottom-color: rgba(233, 30, 99, 0.1);
}

body.light-mode .comparison-table tbody tr:last-child td.highlight-col {
    border-bottom-color: rgba(233, 30, 99, 0.2);
}

body.light-mode .check-icon {
    background: rgba(16, 185, 129, 0.1);
}

body.light-mode .cross-icon {
    background: rgba(239, 68, 68, 0.1);
}

body.light-mode .comparison-cta-btn {
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.2);
}

body.light-mode .comparison-cta-btn:hover {
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.3);
}

/* ===== RESPONSIVE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .comparison-section {
        padding: 80px 0;
    }
    
    .comparison-header {
        margin-bottom: 50px;
    }
    
    .comparison-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .comparison-subtitle {
        font-size: 16px;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
    }
    
    .comparison-table {
        min-width: 750px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 18px 16px;
        font-size: 13px;
    }
    
    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
        padding-left: 24px;
    }
    
    .comparison-table thead th.highlight-col .brand-logo {
        font-size: 16px;
    }
    
    .check-icon,
    .cross-icon {
        width: 26px;
        height: 26px;
    }
    
    .check-icon svg,
    .cross-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .comparison-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .comparison-badge {
        font-size: 11px;
        padding: 6px 16px;
        gap: 6px;
    }
    
    .comparison-badge svg {
        width: 14px;
        height: 14px;
    }
    
    .comparison-title {
        font-size: 26px;
        letter-spacing: -0.8px;
    }
    
    .comparison-subtitle {
        font-size: 15px;
    }
    
    .comparison-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .comparison-table {
        min-width: 650px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 16px 12px;
        font-size: 12px;
    }
    
    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
        padding-left: 20px;
        font-size: 11px;
    }
    
    .comparison-table thead th.highlight-col .brand-logo {
        font-size: 14px;
    }
    
    .check-icon,
    .cross-icon {
        width: 24px;
        height: 24px;
    }
    
    .check-icon svg,
    .cross-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .comparison-cta {
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .comparison-cta-btn {
        padding: 12px 28px;
        font-size: 14px;
        gap: 8px;
    }
    
    .comparison-cta-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .comparison-section {
        padding: 50px 0;
    }
    
    .comparison-title {
        font-size: 24px;
    }
    
    .comparison-subtitle {
        font-size: 14px;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 14px 10px;
    }
    
    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
        padding-left: 16px;
    }
}

/* Horizontal scroll indicator for mobile */
@media (max-width: 991px) {
    .comparison-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent 0%, rgba(16, 16, 18, 0.8) 100%);
        pointer-events: none;
        z-index: 1;
    }
    
    body.light-mode .comparison-table-wrapper::after {
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 100%);
    }
    
    .comparison-table-wrapper {
        position: relative;
    }
}

/* Print styles */
@media print {
    .comparison-section {
        padding: 40px 0;
    }
    
    .comparison-table-wrapper {
        overflow: visible;
        border: 1px solid #000;
    }
    
    .comparison-table {
        min-width: 100%;
    }
    
    .comparison-cta {
        display: none;
    }
}
