/* ================================
   AMÉLIORATIONS HERO SECTION
   Détails et éléments supplémentaires
   ================================ */

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    animation: pulse-border 2s ease infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(0, 217, 255, 0.3);
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 217, 255, 0.6);
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    }
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 2s ease infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-text {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
    animation: slideInFromLeft 1s ease 0.3s both;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(157, 74, 221, 0.2), rgba(0, 217, 255, 0.2));
    border: 1px solid rgba(157, 74, 221, 0.4);
    border-radius: 25px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.hero-tag i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.hero-tag:hover {
    background: linear-gradient(135deg, rgba(157, 74, 221, 0.4), rgba(0, 217, 255, 0.4));
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    animation: slideInFromBottom 1s ease 0.5s both;
}

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

.hero-stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.6), rgba(10, 14, 39, 0.8));
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-stat-item:hover::before {
    left: 100%;
}

.hero-stat-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: countUp 2s ease;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    font-size: 0.85rem;
    color: #b8b8b8;
    font-weight: 500;
}

/* Hero Skills Badges */
.hero-skills {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    animation: slideInFromRight 1s ease 0.7s both;
}

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

.skill-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.8), rgba(10, 14, 39, 0.9));
    border: 2px solid transparent;
    border-radius: 15px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-badge i {
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
    transform: translateY(-8px) rotate(10deg);
}

.skill-badge:hover::before {
    opacity: 0.2;
}

.skill-badge:hover i {
    color: white;
    transform: scale(1.2);
}

/* Animation séquentielle pour les skill badges */
.skill-badge:nth-child(1) { animation-delay: 0.7s; }
.skill-badge:nth-child(2) { animation-delay: 0.8s; }
.skill-badge:nth-child(3) { animation-delay: 0.9s; }
.skill-badge:nth-child(4) { animation-delay: 1s; }
.skill-badge:nth-child(5) { animation-delay: 1.1s; }

/* Améliorer l'espacement général */
.hero-content {
    max-width: 700px;
}

.hero-buttons {
    margin-top: 35px !important;
    margin-bottom: 30px;
}

/* Effet de particules flottantes décoratives */
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(157, 74, 221, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation: floatParticle 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
}

/* Cercle décoratif 2 */
.hero-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 10%;
    animation: floatParticle 10s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .hero-skills {
        gap: 12px;
    }
    
    .skill-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .status-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .hero-tags {
        gap: 10px;
    }
    
    .hero-tag {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 25px 0;
    }
    
    .stat-value {
        font-size: 2.2rem;
    }
    
    .hero-skills {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .skill-badge {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Animation d'entrée globale */
.hero-content > * {
    animation: fadeInUp 0.8s ease both;
}

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

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.status-badge { animation-delay: 0s; }
