/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 47, 74, 0.85) 50%, rgba(42, 74, 111, 0.85) 100%),
                url('../Images/actualite2.jpg') center/cover no-repeat;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 50%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge i {
    color: #FFD700;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #7FB3E8 0%, #4A90E2 50%, #7FB3E8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

/* ===== 3D DEMO BUTTON ===== */
.btn-demo-3d {
    position: relative;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #4A90E2 0%, #7FB3E8 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all var(--transition-base);
    box-shadow: 
        0 10px 30px rgba(74, 144, 226, 0.4),
        0 0 0 0 rgba(74, 144, 226, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.btn-demo-3d:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(74, 144, 226, 0.6),
        0 0 30px rgba(74, 144, 226, 0.4);
    animation: none;
}

.btn-demo-3d:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: var(--font-size-lg);
    font-family: 'Poppins', sans-serif;
}

.btn-content i {
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}

.btn-demo-3d:hover .btn-content i {
    transform: translateX(5px) rotate(-15deg);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-demo-3d:hover .btn-shine {
    left: 100%;
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: white;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-card i {
    font-size: 2rem;
    color: var(--light-blue);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation: floatCard2 5s ease-in-out infinite;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation: floatCard3 4.5s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -20px) rotate(2deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(-2deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -10px) rotate(1deg); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    margin: -5px 0;
    animation: arrowMove 2s ease-in-out infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-badge {
        font-size: var(--font-size-sm);
        padding: 0.5rem 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-demo-3d {
        padding: 1rem 2rem;
        font-size: var(--font-size-base);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
}
