/* Styles de base */
        :root {
            --primary-color: #191bdf;
            --secondary-color: #ffffff;
            --accent-color: #4a4df3;
            --text-color: #333333;
            --light-gray: #f5f5f5;
            --border-color: #ddd;
            --error-color: #e74c3c;
            --success-color: #2ecc71;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --warning-color: #f39c12;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--light-gray);
            color: var(--text-color);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background-color: var(--secondary-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            z-index: 1000;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo i {
            color: var(--primary-color);
            font-size: 28px;
            margin-right: 10px;
        }

        .logo h1 {
            color: var(--primary-color);
            font-size: 24px;
            font-weight: 700;
        }

        /* Page d'inscription */
        .inscription-page {
            padding: 150px 0 80px;
        }

        .inscription-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .inscription-header h2 {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .inscription-header p {
            color: var(--text-color);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Formulaire */
        .inscription-form {
            background-color: var(--secondary-color);
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
            max-width: 900px;
            margin: 0 auto;
        }

        fieldset {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 30px;
        }

        legend {
            font-weight: 600;
            color: var(--primary-color);
            padding: 0 10px;
            font-size: 18px;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-row {
            display: flex;
            gap: 20px;
        }

        .form-row .form-group {
            flex: 1;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-color);
        }

        label.required::after {
            content: '*';
            color: var(--error-color);
            margin-left: 4px;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="password"],
        input[type="file"],
        select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(25, 27, 223, 0.2);
        }

        textarea {
            min-height: 100px;
            resize: vertical;
        }

        input[type="file"] {
            padding: 10px;
        }

        /* Gestion du mot de passe */
        .password-container {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 15px;
            cursor: pointer;
            color: var(--text-color);
        }

        .password-strength {
            margin-top: 10px;
            height: 5px;
            background-color: var(--light-gray);
            border-radius: 5px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            width: 0%;
            transition: width 0.3s, background-color 0.3s;
        }

        .password-requirements {
            margin-top: 10px;
            font-size: 14px;
            color: var(--text-color);
        }

        .password-requirements ul {
            list-style: none;
            padding-left: 5px;
        }

        .password-requirements li {
            margin-bottom: 5px;
            position: relative;
            padding-left: 25px;
        }

        .password-requirements li:before {
            content: '\f00d';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--error-color);
            position: absolute;
            left: 0;
        }

        .password-requirements li.valid:before {
            content: '\f00c';
            color: var(--success-color);
        }

        .error-message {
            color: var(--error-color);
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        /* Cartes de licence */
        .licence-cards {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .licence-card {
            background-color: var(--secondary-color);
            border-radius: 15px;
            padding: 30px;
            width: 100%;
            max-width: 400px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            cursor: pointer;
        }

        .licence-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(25, 27, 223, 0.15);
        }

        .licence-card.active {
            border-color: var(--primary-color);
            background-color: rgba(25, 27, 223, 0.03);
        }

        .licence-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--primary-color);
            text-align: center;
        }

        .licence-card .price {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            margin: 20px 0;
            color: var(--primary-color);
        }

        .licence-card .price .period {
            font-size: 16px;
            font-weight: normal;
            color: var(--text-color);
        }

        .licence-card .features {
            margin: 25px 0;
            list-style: none;
        }

        .licence-card .features li {
            margin-bottom: 12px;
            padding-left: 25px;
            position: relative;
        }

        .licence-card .features li:before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--success-color);
            position: absolute;
            left: 0;
        }

        .licence-card .popular-badge {
            position: absolute;
            top: 15px;
            right: -30px;
            background-color: var(--primary-color);
            color: white;
            padding: 5px 30px;
            font-size: 12px;
            font-weight: 600;
            transform: rotate(45deg);
        }

        .licence-code-field {
            margin-top: 30px;
            padding: 20px;
            background-color: rgba(25, 27, 223, 0.05);
            border-radius: 10px;
            display: none;
            animation: fadeIn 0.5s ease-out;
        }

        .licence-code-field.active {
            display: block;
        }

        .licence-code-field label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .licence-code-field input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 16px;
        }

        /* Boutons */
        .form-actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            cursor: pointer;
            border: none;
            font-size: 16px;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--secondary-color);
        }

        .btn-primary:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(25, 27, 223, 0.2);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(25, 27, 223, 0.2);
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 30px;
            border-radius: 10px;
            width: 80%;
            max-width: 800px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
            position: relative;
        }

        .close-modal {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close-modal:hover {
            color: var(--text-color);
        }

        .modal-body {
            max-height: 60vh;
            overflow-y: auto;
            padding: 20px 0;
            margin: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .modal-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 50px 0 20px;
            margin-top: 80px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--secondary-color);
        }

        .footer-column p, .footer-column a {
            margin-bottom: 15px;
            display: block;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column a:hover {
            color: var(--secondary-color);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: background-color 0.3s;
        }

        .social-links a:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .inscription-page {
                padding: 120px 0 50px;
            }

            .form-row {
                flex-direction: column;
                gap: 0;
            }

            .inscription-form {
                padding: 25px;
            }

            fieldset {
                padding: 20px 15px;
            }

            .licence-cards {
                flex-direction: column;
                align-items: center;
            }
            
            .licence-card {
                max-width: 100%;
            }

            .form-actions {
                flex-direction: column;
                gap: 15px;
            }

            .modal-content {
                width: 90%;
                margin: 20% auto;
            }
        }

        @media (max-width: 480px) {
            .inscription-header h2 {
                font-size: 28px;
            }

            .inscription-header p {
                font-size: 14px;
            }

            .modal-content {
                width: 95%;
                padding: 15px;
            }
        }
        .password-container {
            position: relative;
        }
        
        .password-strength {
            margin-top: 10px;
            height: 5px;
            background-color: var(--light-gray);
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 5px;
        }
        
        .password-strength-bar {
            height: 100%;
            width: 0%;
            transition: width 0.3s, background-color 0.3s;
        }
        
        .password-feedback {
            font-size: 13px;
            margin-top: 5px;
            min-height: 20px;
        }
        
        .password-valid {
            color: var(--success-color);
        }
        
        .password-invalid {
            color: var(--error-color);
        }
        
        .strength-weak {
            background-color: var(--error-color);
        }
        
        .strength-medium {
            background-color: var(--warning-color);
        }
        
        .strength-strong {
            background-color: var(--success-color);
        }
        
        .password-criteria {
            margin-top: 10px;
        }
        
        .password-criteria li {
            list-style-type: none;
            position: relative;
            padding-left: 25px;
            margin-bottom: 5px;
            font-size: 13px;
        }
        
        .password-criteria li:before {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
        }
        
        .password-criteria li.invalid:before {
            content: '\f00d';
            color: var(--error-color);
        }
        
        .password-criteria li.valid:before {
            content: '\f00c';
            color: var(--success-color);
        }