/* Competitive Comparison Section */
.comparison-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    overflow: hidden;
}

.comparison-header .comparison-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.comparison-card.winner {
    background: linear-gradient(135deg, #1f61be 0%, #2c5aa0 100%);
    color: white;
    border-color: #1f61be;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(31, 97, 190, 0.3);
}

.winner-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1f61be;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-logo i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.comparison-card.winner .comparison-logo i {
    color: white !important;
}

.comparison-card.winner h4 {
    color: white !important;
}

.comparison-features {
    margin-top: 2rem;
}

.comparison-row {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.comparison-row:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item.winner {
    background: rgba(31, 97, 190, 0.1);
    border-left: 4px solid #1f61be;
}

.feature-item.negative {
    background: rgba(220, 53, 69, 0.05);
    border-left: 4px solid #dc3545;
}

.feature-item.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.feature-item i {
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.95rem;
}

/* QualityAI Dashboard Section */
.dashboard-content {
    padding: 2rem 0;
}

.brand-logo .logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1f61be 0%, #2c5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(31, 97, 190, 0.3);
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.dashboard-preview {
    position: relative;
    padding: 2rem;
}

.dashboard-mockup {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    min-height: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1f61be 0%, #2c5aa0 50%, #ffd700 100%);
}

.alert-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: slideInLeft 0.6s ease-out;
}

.alert-card.alert-warning {
    border-left: 4px solid #ff9800;
}

.alert-card i {
    color: #ff9800;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.alert-card span {
    font-weight: 600;
    color: #333;
}

.agent-dashboard {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.8s ease-out;
}

.agent-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1f61be 0%, #2c5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.agent-avatar i {
    color: white;
    font-size: 1.5rem;
}

.chart-container {
    text-align: center;
}

.pie-chart {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#1f61be 0deg 270deg, #e9ecef 270deg 360deg);
    margin: 0 auto 0.5rem;
    position: relative;
}

.pie-chart::after {
    content: '75%';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 0.8rem;
    color: #1f61be;
}

.chart-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.metrics-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: end;
    gap: 0.5rem;
    animation: slideInUp 1s ease-out;
}

.metric-bar {
    width: 12px;
    background: linear-gradient(to top, #1f61be 0%, #2c5aa0 100%);
    border-radius: 6px 6px 0 0;
    animation: growUp 1.2s ease-out;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growUp {
    from {
        height: 0;
    }
    to {
        height: inherit;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-card.winner {
        transform: none;
    }
    
    .comparison-header .comparison-card {
        margin-bottom: 1rem;
    }
    
    .agent-dashboard {
        position: static;
        transform: none;
        margin-top: 2rem;
    }
    
    .metrics-container {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .dashboard-mockup {
        min-height: 300px;
        padding: 1rem;
    }
}
