@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff3366;
    --secondary-color: #33ccff;
    --background-color: #1a1a2e;
    --text-color: #e0e0e0;
    --accent-color: #ffd700;
    --accent-colorN: #ff0000;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin-top: 5%;
}

/* Logo */
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
}

.logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--primary-color));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-links {
    display: flex;
}

.nav-links ul {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    margin-left: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.text-l {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 2rem;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-top: 80px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 6rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
}

.service-card {
    width: 300px;
    padding: 2rem;
    margin: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 6rem 2rem;
    background: linear-gradient(45deg, var(--background-color), #2a2a4e);
}

.feature-item {
    width: 250px;
    text-align: center;
    margin: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.testimonials h2 {
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.2;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    text-align: center;
    padding: 6rem 2rem;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta p {
    margin-bottom: 2rem;
}

/* Boutons */
.cta-button, .download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--background-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before, .download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s;
}

.cta-button:hover::before, .download-button:hover::before {
    left: 100%;
}

.cta-button:hover, .download-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Boutons No */
.cta-button, .download-buttonN {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-colorN);
    color: var(--background-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before, .download-buttonN::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s;
}

.cta-button:hover::before, .download-button:hover::before {
    left: 100%;
}

.cta-button:hover, .download-buttonN:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Download App Section */
.download-app {
    background-color: rgba(92, 107, 192, 0.2);
    color: var(--text-color);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.download-app::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    opacity: 0.1;
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.download-app h2 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.download-app p {
    margin-bottom: 1rem;
}
.download-app i {
    font-size: 300%;
}

a {
    text-decoration: none;
}

/* Footer */
footer {
    background-color: rgba(26, 26, 46, 0.9);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

footer a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Curseur personnalisé */
.pointer {
    cursor: pointer;
}

/* Media Queries pour la réactivité */
@media screen and (max-width: 950px) {
    .text-l {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        justify-content: space-between;
    }

    .menu-hamburger {
        display: block;
        position: absolute;
        top: 80%;
        right: 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 46, 0.95);
        padding: 1rem;
    }

    .nav-links.mobile-menu {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 6rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services, .features {
        padding: 4rem 1rem;
    }

    .service-card, .feature-item {
        width: 100%;
        margin: 1rem 0;
    }

    .download-app {
        margin: 2rem 1rem;
    }
}

/* Animation pour le menu mobile */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links.mobile-menu {
    animation: slideDown 0.3s ease-out forwards;
}

/* Effet de parallaxe sur le fond */
body {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Effet de scroll doux */
html {
    scroll-behavior: smooth;
}