/* Corrections pour sections Stats et Demo */

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.stats .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: var(--transition-medium);
}

.stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Demo Section */
.demo {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.demo-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.demo-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.demo-features {
    margin-bottom: 2rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.demo-feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Payment Flow Visualization */
.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: var(--transition-medium);
}

.flow-step.active {
    opacity: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.flow-step.active .step-icon {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.6); }
    100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
}

.flow-step span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .demo-text h2 {
        font-size: 2rem;
    }
    
    .payment-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .demo-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .demo-text h2 {
        font-size: 1.75rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}