/* Réinitialisation et variables */
:root {
    --bg-color: #030308;
    --text-primary: #ffffff;
    --text-secondary: #a7a7a8;
    --purple-dark: #353393;
    --purple-main: #5334f1;
    --blue-electric: #1555d8;
    --neon-glow: rgba(21, 85, 216, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at center, #0a0a1a 0%, #030308 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Arrière-plan animé avec Orbes */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--purple-main);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--blue-electric);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 14s;
    opacity: 0.6;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(to right, var(--purple-main), var(--blue-electric));
    top: 40%;
    left: 60%;
    animation-delay: -10s;
    animation-duration: 12s;
    opacity: 0.35;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(300px, -300px) scale(1.2);
    }

    66% {
        transform: translate(-250px, 200px) scale(0.8);
    }

    100% {
        transform: translate(200px, 300px) scale(1.1);
    }
}

/* Structure globale */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

.logo-container {
    width: 100%;
    text-align: center;
}

.logo-container .banniere-header {
    max-width: 100%;
    height: auto;
    max-height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(21, 85, 216, 0.2));
}

/* Layout Principal */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Carte Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 900px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Typographie */
.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(123, 44, 191, 0.2);
    border: 1px solid var(--purple-main);
    color: var(--blue-electric);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-electric), var(--purple-main));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

/* Boutons */
.actions {
    display: flex;
    justify-content: center;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--purple-main), var(--blue-electric));
    color: white;
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.3);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--neon-glow);
    border: 1px solid var(--blue-electric);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn:hover .btn-shimmer {
    left: 200%;
}



/* Pied de page */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    gap: 0.5rem;
}

.footer-link {
    color: var(--blue-electric);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Animations d'entrée */
.slide-down {
    animation: slideDownFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.fade-in {
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Media Queries (Responsive) */
@media (max-width: 768px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
    }

    .logo-container .banniere-header {
        max-height: 80px;
    }

    .btn {
        width: 100%;
    }
}