/* Google Fonts */
    :root {
        --primary: #9a1b1b;
        --primary-light: #b02727;
        --primary-gradient: linear-gradient(135deg, #9a1b1b 0%, #b02727 100%);
        --secondary: #F5F5F5;
        --white: #FFFFFF;
        --dark: #1F2937;
        --text: #333333;
        --shadow: 0 10px 30px rgba(106, 27, 154, 0.15);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        color: var(--text);
        background-color: var(--white);
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }


    /* Header */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 24px;
        font-weight: 700;
        color: var(--primary);
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        background: var(--primary-gradient);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
    }

    nav ul {
        display: flex;
        list-style: none;
        gap: 30px;
    }

    nav a {
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }

    nav a:hover {
        color: var(--primary);
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-gradient);
        transition: width 0.3s ease;
    }

    nav a:hover::after {
        width: 100%;
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary);
        cursor: pointer;
    }

    .mobile-menu {
        display: none; /* caché tout le temps */
    }

    

    @media (max-width: 768px) {
        nav ul {
            display: none; /* cacher le menu normal */
        }
        .mobile-menu-btn {
            display: block; /* bouton burger visible */
        }
    }

    /* Hero Section */
    .hero {
        padding: 160px 0 100px;
        background: var(--primary-gradient);
        color: var(--white);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,224L48,213.3C96,203,192,181,288,160C384,139,480,117,576,122.7C672,128,768,160,864,170.7C960,181,1056,171,1152,165.3C1248,160,1344,160,1392,160L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        display: flex;
        align-items: center;
        gap: 40px;
        position: relative;
        z-index: 2;
    }

    .hero-text {
        flex: 1;
    }

    .hero-heading {
        font-size: 3.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-subheading {
        font-size: 1.2rem;
        margin-bottom: 30px;
        opacity: 0.9;
        max-width: 500px;
    }

    .hero-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        font-size: 1rem;
    }

    .btn-primary {
        background: var(--white);
        color: var(--primary);
        box-shadow: var(--shadow);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
        backdrop-filter: blur(10px);
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
        animation: float 6s ease-in-out infinite;
    }

    .phone-mockup {
        width: 280px;
        height: 540px;
        background: var(--white);
        border-radius: 40px;
        padding: 15px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
    }

    .phone-screen {
        width: 100%;
        height: 100%;
        background: var(--primary-gradient);
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--white);
        padding: 30px;
        text-align: center;
    }

    .app-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 36px;
    }

    /* Features Section */
    .features {
        padding: 100px 0;
        background: var(--secondary);
    }

    .section-title {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .section-title p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        color: var(--text);
        opacity: 0.8;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .feature-card {
        background: var(--white);
        padding: 30px;
        border-radius: 20px;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(106, 27, 154, 0.2);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        background: var(--primary-gradient);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: var(--white);
        font-size: 28px;
    }

    .feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--primary);
    }

/* Download Section */
    .download {
        padding: 100px 0;
        background: var(--white);
        text-align: center;
    }

    .download-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .download-options {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .download-card {
        background: var(--white);
        border-radius: 20px;
        padding: 40px 30px;
        box-shadow: var(--shadow);
        width: 100%;
        max-width: 400px;
        transition: all 0.3s ease;
        border: 2px solid var(--primary-light);
        position: relative;
        overflow: hidden;
    }

    .download-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--primary-gradient);
    }

    .download-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(106, 27, 154, 0.2);
    }

    .download-icon {
        font-size: 60px;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .download-card h3 {
        margin-bottom: 15px;
        color: var(--primary);
        font-size: 24px;
    }

    .download-card p {
        color: var(--text);
        margin-bottom: 20px;
        opacity: 0.8;
    }

    .app-info {
        margin: 20px 0;
    }

    .version-info {
        display: flex;
        justify-content: space-around;
        background: var(--secondary);
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .version-info span {
        font-size: 12px;
        color: var(--text);
        font-weight: 500;
    }

    .download-btn {
        display: block;
        margin: 20px 0;
        background: var(--primary-gradient);
        color: var(--white);
        padding: 16px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        font-size: 16px;
    }

    .download-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(106, 27, 154, 0.3);
    }

    .download-stats {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid var(--secondary);
    }

    .download-count {
        font-size: 12px;
        color: var(--text);
        opacity: 0.7;
    }

    .installation-guide {
        margin-top: 60px;
        padding: 40px;
        background: var(--secondary);
        border-radius: 20px;
    }

    .installation-guide h3 {
        margin-bottom: 30px;
        color: var(--primary);
    }

    .steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .step {
        text-align: center;
        padding: 20px;
        background: var(--white);
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

    .step-number {
        width: 40px;
        height: 40px;
        background: var(--primary-gradient);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-weight: bold;
        font-size: 18px;
    }

    .qr-section {
        margin-top: 50px;
        padding: 40px;
        background: var(--white);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .qr-section h3 {
        margin-bottom: 20px;
        color: var(--primary);
    }

    .qr-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
        border: 10px solid var(--white);
        box-shadow: var(--shadow);
        border-radius: 10px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .download-card {
            padding: 30px 20px;
        }
        
        .steps {
            grid-template-columns: 1fr;
        }
        
        .installation-guide,
        .qr-section {
            padding: 30px 20px;
        }
    }

    @media (max-width: 480px) {
        .download {
            padding: 60px 0;
        }
        
        .download-card {
            margin: 0 10px;
        }
        
        .download-icon {
            font-size: 48px;
        }
    }

    /* Footer */
    footer {
        background: var(--dark);
        color: var(--white);
        padding: 60px 0 30px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 700;
    }

    .footer-info p {
        opacity: 0.8;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }

    .footer-links h4 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .footer-links ul {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: var(--white);
        opacity: 0.8;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        opacity: 1;
        color: var(--primary-light);
    }

    .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0.7;
    }

    /* Animations */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    .animate-on-scroll {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease;
    }

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .hero-content {
            flex-direction: column;
            text-align: center;
        }
        
        .hero-heading {
            font-size: 2.8rem;
        }
        
        .hero-buttons {
            justify-content: center;
        }
        
        nav ul {
            display: none;
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .mobile-menu {
            position: fixed;
            top: 80px;
            left: 0;
            width: 100%;
            background: var(--white);
            padding: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            display: none;
            flex-direction: column;
            gap: 15px;
        }
        
        .mobile-menu.active {
            display: flex;
        }
    }

    @media (max-width: 576px) {
        .hero-heading {
            font-size: 2.2rem;
        }
        
        .btn {
            padding: 12px 25px;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
        
        .phone-mockup {
            width: 240px;
            height: 480px;
        }
    }

    .dev-credit {
        font-size: 0.85rem;
        color: #777;
        margin-top: 5px;
    }

    .dev-credit a {
        color: inherit;
        text-decoration: none;
    }

    .dev-credit a:hover {
        color: var(--primary);
    }
