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

        :root {
            --primary: #667eea;
            --primary-dark: #5568d3;
            --secondary: #764ba2;
            --success: #38ef7d;
            --danger: #ff6a00;
            --dark: #1a1a2e;
            --gray: #4a5568;
            --light-gray: #e2e8f0;
            --bg: #0f1419;
            --card-bg: #16181d;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #e2e8f0;
            background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 100%);
            min-height: 100vh;
        }
        body.modal-open {
            overflow: hidden;
            /* Pour certains navigateurs sur mobile, on peut aussi ajouter : */
            position: fixed; 
            width: 100%;
        }
        /* Navigation */
        .navbar {
            background: rgba(22, 24, 29, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(102, 126, 234, 0.2);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo img {
            height: 100px;
            width: auto;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: #e2e8f0;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
        }

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

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.3s;
        }

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

        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            cursor: pointer;
            border: none;
            font-size: 1rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }

        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
        }

        .btn-outline:hover {
            color: var(--primary-dark); 
            border-color: var(--primary-dark);
        }
        /* Pages */
        .page {
            padding-top: 80px;
            min-height: 100vh;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            padding: 4rem 2rem;
            margin-bottom: 3rem;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #fff, var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 900;
        }

        .hero p {
            font-size: 1.3rem;
            color: #a0aec0;
            max-width: 800px;
            margin: 0 auto 2rem;
        }

        .hero-cta {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Cards */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 2rem;
            border: 1px solid rgba(102, 126, 234, 0.2);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            border-color: var(--primary);
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .card-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .card h3 {
            color: #fff;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .card p {
            color: #a0aec0;
            line-height: 1.8;
        }

        /* Features */
        .features-list {
            list-style: none;
            margin: 2rem 0;
        }

        .features-list li {
            padding: 1rem;
            margin: 0.5rem 0;
            background: rgba(102, 126, 234, 0.1);
            border-left: 4px solid var(--primary);
            border-radius: 8px;
            transition: all 0.3s;
        }

        .features-list li:hover {
            background: rgba(102, 126, 234, 0.2);
            transform: translateX(5px);
        }

        /* Login/Signup Form */
        .auth-container {
            max-width: 500px;
            margin: 4rem auto;
            background: var(--card-bg);
            padding: 3rem;
            border-radius: 16px;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        /* Styles spécifiques au formulaire Zoho / Early Adopter */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #e2e8f0;
            font-weight: 600;
            font-size: 14px;
        }

        .form-group label .required {
            color: red;
            margin-left: 3px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid rgba(102, 126, 234, 0.3);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.3);
            color: #e2e8f0;
            font-size: 1rem;
            transition: all 0.3s;
            font-family: inherit;
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        }
        
        /* AJOUT POUR LE CENTRAGE DES BOUTONS */
        .form-actions {
            display: flex;
            /* Centre les boutons horizontalement */
            justify-content: center; 
            /* Ajoute un espacement entre les boutons */
            gap: 1.5rem; 
            margin-top: 2rem; 
            margin-bottom: 1rem;
        }

        /* Style pour le bouton reset (non stylisé auparavant) */
        .btn-reset {
            background: var(--gray);
            color: white;
        }

        .btn-reset:hover {
            background: var(--dark);
            transform: translateY(-2px);
        }

        /* Rends les boutons pleins sur mobile pour une meilleure ergonomie */
        @media (max-width: 500px) {
            .form-actions {
                flex-direction: column; 
            }
            .form-actions .btn {
                width: 100%;
                margin-bottom: 0.5rem;
            }
        }
        
        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .help-text {
            font-size: 0.85rem;
            color: #a0aec0;
            margin-top: 0.25rem;
            font-style: italic;
        }


        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin: 1.5rem 0;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin-top: 0.25rem;
            cursor: pointer;
        }

        .checkbox-group label {
            margin: 0;
            font-weight: 400;
            font-size: 0.9rem;
        }
        
        /* Disclaimer */
        .disclaimer {
            background: rgba(255, 106, 0, 0.1);
            border-left: 4px solid var(--danger);
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .disclaimer h3 {
            color: var(--danger);
            margin-bottom: 1rem;
        }

        .legal-section {
            margin: 2rem 0;
            padding: 2rem;
            background: var(--card-bg);
            border-radius: 12px;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .legal-section h2 {
            color: var(--primary);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        }

        .legal-section h3 {
            color: #fff;
            margin: 1.5rem 0 1rem;
        }

        .legal-section p, .legal-section li {
            color: #a0aec0;
            margin-bottom: 0.75rem;
            line-height: 1.8;
        }
        
        /* Styles de messages */
        #geo-status {
            text-align: center;
            margin: 15px 0;
            font-size: 13px;
            padding: 12px;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.8);
            background-color: rgba(102, 126, 234, 0.1);
            transition: all 0.3s;
        }

        #form-message {
            text-align: center;
            margin: 15px 0;
            font-size: 14px;
            padding: 12px;
            border-radius: 8px;
            display: none;
        }

        .success-message {
            background-color: rgba(40, 167, 69, 0.2);
            color: #90ee90;
            border: 1px solid rgba(40, 167, 69, 0.4);
            display: block;
        }

        .error-message {
            background-color: rgba(220, 53, 69, 0.2);
            color: #ff6b6b;
            border: 1px solid rgba(220, 53, 69, 0.4);
            display: block;
        }
        
        /* Style pour le reCAPTCHA */
        .recaptcha-container {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }
        
        .footer-note {
            text-align: center;
            margin-top: 1.5rem;
            color: #a0aec0;
        }

        .footer-note a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }


        /* Footer */
        .footer {
            background: var(--card-bg);
            padding: 3rem 2rem;
            margin-top: 4rem;
            border-top: 1px solid rgba(102, 126, 234, 0.2);
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h4 {
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .footer-section a {
            display: block;
            color: #a0aec0;
            text-decoration: none;
            margin: 0.5rem 0;
            transition: color 0.3s;
        }

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

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(102, 126, 234, 0.2);
            color: #718096;
            font-size: 0.9rem;
        }

        /* Popup Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 16px;
            max-width: 600px;
            /* IMPORTANT : Définir le conteneur comme Flex pour la gestion de l'espace vertical */
            display: flex; 
            flex-direction: column; 
            /* Définit une hauteur maximale pour l'ensemble du contenu (titre, zone de scroll, bouton) */
            max-height: 80vh; 
            border: 2px solid var(--danger);
        }

        /* NOUVELLE CLASSE POUR LA ZONE DE CONTENU DÉFILANTE */
        .modal-scrolling-content {
            /* IMPORTANT : Permet à cette section de prendre tout l'espace restant */
            flex-grow: 1; 
            /* IMPORTANT : Active le défilement uniquement sur cette zone */
            overflow-y: auto; 
            /* Ajoute un peu de padding à droite pour que la scrollbar ne touche pas le bord */
            padding-right: 1rem; 
            /* Ajoute un espace avant le bouton du bas */
            margin-bottom: 1rem; 
        }

        .modal-close {
            float: right;
            font-size: 2rem;
            cursor: pointer;
            color: #a0aec0;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: var(--danger);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }

            .nav-links {
                display: none;
            }

            .cards-grid {
                grid-template-columns: 1fr;
            }
            
            .auth-container {
                padding: 2rem 1.5rem;
            }
            
            .header h1 {
                font-size: 1.5rem;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .page {
            animation: fadeIn 0.5s ease-in-out;
        }

        /* Status badges */
        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }

        .badge-beta {
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .badge-limited {
            background: linear-gradient(135deg, #ff8c00, #ff4500);
            color: white;
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        /* Style pour le menu déroulant Administration */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: var(--card-bg);
            min-width: 180px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
            z-index: 1001;
            border: 1px solid rgba(102, 126, 234, 0.2);
            border-radius: 8px;
            margin-top: 5px;
        }

        .dropdown-content a {
            color: #e2e8f0;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            font-size: 0.9rem;
            transition: background 0.3s;
        }

        .dropdown-content a:hover {
            background-color: rgba(102, 126, 234, 0.1);
            color: var(--primary);
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown-trigger:after {
            content: ''; /* Enlever l'underscore animé pour le menu admin si désiré */
            display: none !important;
        }

/* Lien de navigation actif (ajouté lors de la scission en pages distinctes) */
.nav-links a.nav-active {
    color: var(--primary);
}
.nav-links a.nav-active::after {
    width: 100%;
}
