/* Comparison Section */
.comparison-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.comparison-section .container {
    position: relative;
    z-index: 2;
}

.comparison-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-section h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.comparison-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.comparison-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.comparison-intro > p:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.comparison-intro > p:first-child::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.comparison-intro > p:not(:first-child) {
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.comparison-highlight {
    background: linear-gradient(120deg, rgba(42, 105, 255, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border: 1px solid rgba(42, 105, 255, 0.15);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    font-weight: 600;
    font-size: 1.15rem;
    color: #1a1a1a;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.comparison-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2a69ff, #00c6ff);
}

.comparison-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 3rem 0;
    border: 1px solid #e5e7eb;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.comparison-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th:first-child {
    border-top-left-radius: 16px;
}

.comparison-table th:last-child {
    border-top-right-radius: 16px;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;
}



.feature-name {
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
}

.feature-value {
    text-align: center;
    font-weight: 500;
}

.feature-value.positive {
    color: #10b981;
}

.feature-value.negative {
    color: #ef4444;
}

.feature-value.warning {
    color: #f59e0b;
}

.check-icon, .x-icon, .warning-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.check-icon {
    background-color: #ecfdf5;
    color: #10b981;
}

.x-icon {
    background-color: #fef2f2;
    color: #ef4444;
}

.warning-icon {
    background-color: #fffbeb;
    color: #f59e0b;
}

.comparison-cta {
    text-align: center;
    margin: 6rem auto 0;
    max-width: 100%;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a69ff, #00c6ff, #2a69ff);
    background-size: 200% auto;
    animation: gradientBG 3s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.comparison-cta .cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-cta .cta-tagline {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.comparison-cta .highlight {
    background: #f0f7ff;
    color: #2a69ff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-cta .highlight::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

.comparison-cta h3 {
    font-size: 2.75rem;
    color: #1a1a1a;
    margin: 0 auto 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    max-width: 800px;
    letter-spacing: -0.5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comparison-cta .gradient-text {
    background: linear-gradient(90deg, #2a69ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-cta .cta-subtext {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

.comparison-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(42, 105, 255, 0.2);
}

.comparison-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(42, 105, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .comparison-section {
        padding: 5rem 1.5rem;
    }
    
    .comparison-section h2 {
        font-size: 2.2rem;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .comparison-header {
        display: none; /* Hide header on mobile */
    }

    .comparison-row {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    }

    .comparison-row .feature,
    .comparison-row .us,
    .comparison-row .others {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #f3f4f6;
        text-align: right;
    }

    .comparison-row .feature {
        font-weight: 600;
        color: #1a1a1a;
        background-color: #f9fafb;
        border-radius: 6px 6px 0 0;
        border-bottom: 2px solid #e5e7eb;
    }

    .comparison-row .us:before,
    .comparison-row .others:before {
        font-weight: 600;
        color: #374151;
        text-align: left;
        content: 'FreePressRelease.io:';
    }

    .comparison-row .others:before {
        content: 'Other Sites:';
    }

    .comparison-row > div:last-child {
        border-bottom: none;
    }

    .comparison-section {
        padding: 4rem 1.25rem;
    }
    
    .comparison-section h2 {
        font-size: 2rem;
    }
    
    .comparison-intro {
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .feature-name {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .comparison-section h2 {
        font-size: 1.75rem;
    }
    
    .comparison-cta h3 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
}
