/* Variables pour un style facile à maintenir */
:root {
    --color-dark-bg: #1a0a38; /* Noir profond/violet foncé - LUXE */
    --color-accent: #d6ff3f; /* Vert Néon/Lime - MODERNE/SPORTIF */
    --color-light: #ffffff;
    --font-primary: 'Poppins', sans-serif;
}

/* 1. Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark-bg);
    color: var(--color-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

/* 2. Header & Navigation */
.header {
    background-color: rgba(26, 10, 56, 0.95); /* Légèrement transparent pour un effet premium */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 35px; /* Ajuster la taille du logo */
    filter: brightness(0) invert(1); /* Assure que le logo (s'il n'est pas déjà blanc) est visible sur fond sombre */
}

.nav-menu a {
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--color-light);
}

.menu-toggle {
    display: none; /* Masqué sur desktop */
}

/* Call to Action Buttons */
.cta-button {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
}

.cta-button.primary:hover {
    background-color: var(--color-light);
}

.cta-button.secondary {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.cta-button.secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
}


/* 3. Hero Section */
.hero-section {
    padding: 100px 0 50px;
    text-align: center;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.app-mockup-container {
    padding-top: 50px;
}

.app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
     /* Ombre pour un look luxueux */
    transition: transform 0.5s ease-out;
}

/* 4. General Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    /* Ligne sous le titre pour l'effet luxe/moderne */
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 5. Problem/Solution Section */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.stat-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    flex: 1;
    max-width: 300px;
    background-color: #2b1c4b; /* Couleur de fond subtilement différente */
}

.stat-card h3 {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.intro-solution {
    text-align: center;
    font-style: italic;
    font-size: 1.2em;
}

/* 6. Key Features Section */
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-left: 5px solid var(--color-accent);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-weight: 600;
}

/* 7. Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.price-plan {
    padding: 40px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-plan h3 {
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
}

.price-plan.premium {
    background-color: #2b1c4b; /* Mise en évidence du plan Premium */
    border-color: var(--color-accent);
}

.price-plan ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.price-plan ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.price-plan ul li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* 8. Team Section */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.member-card {
    text-align: center;
    padding: 20px;
}

.member-card h4 {
    font-size: 1.4em;
    color: var(--color-accent);
}

/* 9. Trust & Credibility Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.trust-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-card h3 {
    font-size: 1.4em;
    color: var(--color-accent);
}

.trust-card h4 {
    font-size: 1.1em;
    margin-top: 10px;
    color: var(--color-light);
}

.trust-card h5 {
    font-size: 1em;
    color: var(--color-accent);
    margin-top: 5px;
}

.trust-card ul {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trust-card li {
    list-style: disc;
}

.trust-meta {
    font-size: 0.9em;
    opacity: 0.8;
}

/* 9b. Contact Page */
.contact-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(214, 255, 63, 0.08), transparent 60%);
}

.contact-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
}

.contact-details {
    background-color: rgba(255, 255, 255, 0.02);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.15);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card h3 {
    color: var(--color-accent);
    font-size: 1.2em;
}

.card-link {
    margin-top: auto;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
}

.contact-form-section .contact-subtitle {
    margin-bottom: 30px;
}

.form-iframe {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.form-iframe iframe {
    width: 100%;
    min-height: 900px;
}

/* 10. Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-slogan {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.final-cta {
    margin-bottom: 30px;
    display: inline-block;
}

.social-links {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: center;
    font-weight: 600;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transition: background-color 0.3s, transform 0.2s;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-link:hover {
    background-color: rgba(214, 255, 63, 0.1);
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.8em;
    opacity: 0.6;
}

/* 11. Responsive Design (Mobile First) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: var(--color-dark-bg);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        margin: 10px 0;
        text-align: center;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--color-light);
        font-size: 1.5em;
        cursor: pointer;
        /* Place above the nav when menu opens */
        z-index: 150;
        padding: 6px 8px; /* slightly larger touch target */
    }
    
    .nav-cta {
        display: none; /* Masquer le CTA de la nav sur mobile */
    }

    /* Display the nav when the 'active' class is set */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 140; /* below button but above content */
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .app-mockup {
        max-width: 100%;
    }

    .stats-grid {
        flex-direction: column;
    }
    
    .stat-card {
        max-width: 100%;
    }
    
    .team-members {
        flex-direction: column;
        gap: 20px;
    }

    .social-links {
        flex-direction: column;
    }

    .contact-hero {
        padding-top: 100px;
    }

    .contact-hero h1 {
        font-size: 2.2em;
    }

    .form-iframe iframe {
        min-height: 750px;
    }
}