/* ========================================
   ENHANCED HERO STYLES FOR SIGNUP PAGE
   ======================================== */

/* Override des styles existants pour un titre plus imposant */
.hero h1.effect-static-text {
    font-size: 5rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    margin-bottom: 2rem !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: -0.03em !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', 'Arial', sans-serif !important;
}

/* Style spécial pour MYVIOO avec effet 3D */
.hero h1.effect-static-text .featured {
    background: linear-gradient(135deg, #28a745 0%, #20c997 30%, #17a2b8 60%, #28a745 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientFlow 4s ease-in-out infinite !important;
    position: relative !important;
    display: inline-block !important;
}

/* Effet 3D pour MYVIOO */
.hero h1.effect-static-text .featured span {
    position: relative !important;
    display: inline-block !important;
    transform: perspective(1000px) rotateX(15deg) !important;
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15) !important;
}

@keyframes gradientFlow {
    0%, 100% { 
        background-position: 0% 50%; 
        transform: scale(1);
    }
    25% { 
        background-position: 50% 0%; 
        transform: scale(1.02);
    }
    50% { 
        background-position: 100% 50%; 
        transform: scale(1.05);
    }
    75% { 
        background-position: 50% 100%; 
        transform: scale(1.02);
    }
}

/* Sous-titre plus grand et plus visible */
.hero .lead {
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 3rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0 2rem !important;
}

/* Amélioration de la section hero */
.hero {
    position: relative !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.hero .slide-content {
    position: relative !important;
    z-index: 10 !important;
    padding: 4rem 0 !important;
    width: 100% !important;
}

.hero .slide-content .inner {
    text-align: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Overlay sombre pour améliorer la lisibilité */
.hero .slide-content::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%) !important;
    z-index: -1 !important;
    border-radius: 25px !important;
    margin: 3rem !important;
    backdrop-filter: blur(2px) !important;
}

/* Animation d'entrée spectaculaire */
.hero h1.effect-static-text {
    animation: heroTitleEntrance 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@keyframes heroTitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8) rotateX(90deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(1.05) rotateX(45deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

/* Animation du sous-titre */
.hero .lead {
    animation: heroSubtitleEntrance 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both !important;
}

@keyframes heroSubtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Effet de particules flottantes */
.hero::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(32, 201, 151, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(23, 162, 184, 0.1) 0%, transparent 50%) !important;
    animation: particleFloat 20s ease-in-out infinite !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
        opacity: 0.6;
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
        opacity: 0.4;
    }
}

/* Responsive Design Amélioré */
@media (max-width: 1400px) {
    .hero h1.effect-static-text {
        font-size: 4.2rem !important;
    }
    
    .hero .lead {
        font-size: 1.9rem !important;
    }
}

@media (max-width: 1200px) {
    .hero h1.effect-static-text {
        font-size: 3.8rem !important;
    }
    
    .hero .lead {
        font-size: 1.7rem !important;
    }
    
    .hero {
        min-height: 70vh !important;
    }
}

@media (max-width: 992px) {
    .hero h1.effect-static-text {
        font-size: 3.2rem !important;
    }
    
    .hero .lead {
        font-size: 1.5rem !important;
    }
    
    .hero .slide-content::before {
        margin: 2rem !important;
    }
}

@media (max-width: 768px) {
    .hero h1.effect-static-text {
        font-size: 2.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero .lead {
        font-size: 1.3rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem !important;
    }
    
    .hero {
        min-height: 60vh !important;
    }
    
    .hero .slide-content {
        padding: 2rem 0 !important;
    }
    
    .hero .slide-content .inner {
        padding: 0 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero h1.effect-static-text {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
    
    .hero .lead {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    .hero .slide-content::before {
        margin: 1rem !important;
        border-radius: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero h1.effect-static-text {
        font-size: 1.9rem !important;
    }
    
    .hero .lead {
        font-size: 1rem !important;
    }
    
    .hero {
        min-height: 50vh !important;
    }
}

/* Effet de survol pour les éléments interactifs */
.hero h1.effect-static-text:hover {
    transform: scale(1.02) !important;
    transition: transform 0.3s ease !important;
}

.hero .lead:hover {
    transform: translateY(-2px) !important;
    transition: transform 0.3s ease !important;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .hero h1.effect-static-text,
    .hero .lead,
    .hero::after,
    .hero h1.effect-static-text .featured {
        animation: none !important;
    }
    
    .hero h1.effect-static-text .featured span {
        transform: none !important;
    }
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    .hero .lead {
        color: #f8f9fa !important;
    }
    
    .hero .slide-content::before {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.8) 100%) !important;
    }
}
