/* ========== BETA PAGE STYLES ========== */

.beta-container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 200px 5% 40px;
    position: relative;
    overflow: hidden;
}

/* ========== CONTENT LAYOUT ========== */
.beta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: start;
}

/* ========== PARTIE INFORMATION ========== */
.beta-info {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.beta-title {
    font-family: 'Lilita One', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0a0a0a;
}

.beta-title .highlight {
    color: #FF5C00;
    position: relative;
    display: inline-block;
}

.beta-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2.5rem;
}

/* ========== AVANTAGES ========== */
.beta-advantages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(255, 92, 0, 0.15);
}

.advantage-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #662E9B;
    margin-bottom: 0.25rem;
}

.advantage-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ========== FORMULAIRE ========== */
.beta-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: 'Lilita One', sans-serif;
    font-size: 2rem;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #FF5C00;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== MESSAGE BIENVENUE MEMBRE (NOUVEAU) ========== */
.member-welcome {
    display: none; /* Caché par défaut, géré par JS */
    text-align: center;
    margin-bottom: 1.5rem;
    background: #FFF3E0; /* Couleur var(--orange-light) */
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 2px solid #FF5C00; /* var(--komit-orange) */
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.member-welcome-title {
    font-family: 'Lilita One', sans-serif;
    font-size: 1.3rem;
    color: #FF5C00;
    margin-bottom: 0.5rem;
}

.member-welcome-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.member-email {
    color: #0a0a0a;
    font-weight: 800;
    display: block;
    margin-top: 0.2rem;
}

/* ========== CHAMPS DE FORMULAIRE ========== */
.beta-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF5C00;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.1);
}

/* ========== CHECKBOX ========== */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #fafafa;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #FF5C00;
    border-color: #FF5C00;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    font-size: 0.9rem;
    color: #666;
}

.checkbox-text a {
    color: #FF5C00;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* ========== BOUTON SUBMIT ========== */
.submit-button {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FF5C00 0%, #FF8540 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 92, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 92, 0, 0.4);
}

/* ========== FOOTER FORMULAIRE ========== */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-footer p {
    font-size: 0.85rem;
    color: #999;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .beta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .beta-form-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .beta-container {
        padding: 100px 5% 40px;
    }
    .beta-title {
        font-size: 2rem;
    }
    .beta-form-container {
        padding: 2rem 1.5rem;
    }
}