/* ===============================================
   HERO SECTION - Dashboard moderne et attractif
   =============================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 30px;
    margin-left: 80px;
    margin-right: 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,100 100,0 200,50 300,0 400,30 500,0 600,20 700,0 800,40 900,0 1000,30 1000,100"/></svg>') repeat-x;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin: 0 0 40px 0;
    opacity: 0.95;
    font-weight: 300;
    color: white;
}

/* ====================================
   BOUTONS HERO - Correction des icônes
   ====================================*/
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 280px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
}

.hero-btn.primary {
    background: rgba(255,255,255,0.95);
    color: #667eea;
}

.hero-btn.primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.5);
}

/* CORRECTION - Icônes des boutons Hero */
.hero-btn .btn-icon {
    font-size: 1.8em;
    width: auto;
    height: auto;
    position: static;
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: auto;
}

.hero-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-btn .btn-text strong {
    font-size: 1.1em;
    margin-bottom: 5px;
    font-weight: 600;
}

.hero-btn .btn-text small {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 300;
}

/* ====================================
   HERO STATS CARDS - Texte en blanc
   ====================================*/
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white; /* CORRECTION - Texte en blanc */
    min-height: 80px;
}

.hero-stat-card .stat-icon {
    font-size: 2.5em;
    opacity: 0.9;
    color: white; /* CORRECTION - Icône en blanc */
}

.hero-stat-card .stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat-card .stat-value {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
    color: white; /* CORRECTION - Valeur en blanc */
}

.hero-stat-card .stat-label {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 300;
    color: white; /* CORRECTION - Label en blanc */
}

/* ====================================
   SECTION WORKFLOW - Présentation flow
   ====================================*/
.workflow-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 30px;
    margin-left: 80px;
    margin-right: 80px;
    color: white;
    text-align: center;
}

.workflow-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.workflow-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    position: relative;
}

.workflow-step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.workflow-step-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.workflow-step-desc {
    font-size: 0.9em;
    opacity: 0.8;
    text-align: center;
    line-height: 1.4;
}

.workflow-arrow {
    font-size: 2em;
    color: rgba(255,255,255,0.6);
    margin: 0 10px;
}

/* ====================================
   SECTION INTRODUCTION TRADING AUTO
   ====================================*/
.trading-intro-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 30px;
    margin-left: 80px;
    margin-right: 80px;
    color: white;
    text-align: center;
}

.trading-intro-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.trading-intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.trading-intro-content p {
    margin-bottom: 20px;
}

.trading-intro-highlight {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.trading-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.trading-feature {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
}

.trading-feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.trading-feature-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.trading-feature-desc {
    font-size: 0.95em;
    opacity: 0.9;
    line-height: 1.5;
}

/* Responsive pour Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .workflow-section {
        margin-left: 10px;
        margin-right: 10px;
        padding: 40px 20px;
    }
    
    .trading-intro-section {
        margin-left: 10px;
        margin-right: 10px;
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 250px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}
