/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* ================= BODY ================= */
body {
    background: #000;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
}


/* ================= BACKGROUND ANIMATION ================= */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.425), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.4), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.15), transparent 50%);
    animation: moveBg 18s infinite alternate ease-in-out;
    z-index: -1;
}


@keyframes moveBg {
    0% {
        transform: translate(0%, 0%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-5%, -5%) scale(1.1) rotate(2deg);
    }
    100% {
        transform: translate(-12%, -10%) scale(1.2) rotate(-2deg);
    }
}

/* ================= NAVBAR ================= */
.navbar {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: white;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #00ffff;
}

/* ================= HERO SECTION ================= */
.hero {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;   /* centre vertical */
    align-items: center;       /* centre horizontal */
    text-align: center;

    padding: 40px 20px;
}

/* Titre principal */
.hero h1 {
    font-size: 4rem;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sous-titre */
.subtitle {
    margin-top: 15px;
    font-size: 1.2rem;
    opacity: 0.85;
}

/* Phrase centrale */
.hero h2 {
    margin-top: 40px;
    font-size: 2rem;
    font-weight: 600;
}

.description {
    margin-top: 20px;
    max-width: 750px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ================= BUTTONS ================= */
.buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    margin: 10px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s ease;
}

/* Bouton Cyan */
.primary {
    border: 2px solid #00ffff;
    color: #00ffff;
}

/* Bouton Magenta */
.secondary {
    border: 2px solid #ff00ff;
    color: #ff00ff;
}

.btn:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.05);
}

/* ================= FOOTER ================= */
footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ================= SERVICES SECTION ================= */

.services {
    padding: 100px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.4s ease;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

/* Animation delay pour effet smooth */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

/* Hover effect */
.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 1px solid #00ffff;
    box-shadow: 0 0 25px #00ffff44;
}

/* Titre card */
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #00ffff;
    letter-spacing: 1px;
}

/* Texte card */
.service-card p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Animation Keyframes */
@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= STATISTICS ================= */
.stats-section {
    padding: 60px 20px;
    text-align: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat-card h3 {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* ================= REVIEWS ================= */
.reviews-section {
    padding: 60px 20px;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    justify-content: center;
}

.review-card {
    min-width: 300px;
    max-width: 300px;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.review-card:hover {
    transform: scale(1.05);
}

.review-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-type {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.review-stars {
    color: #00ffff;
    font-size: 1.1rem;
}
