/* --- REGISTRATION HERO (MOBILE FIRST) --- */
.reg-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: calc(var(--nav-height) + 40px) 20px 40px;
    text-align: center;
}

.reg-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.reg-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    font-size: 0.813rem;
    color: var(--text-light);
}

.reg-hero .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.reg-hero h1 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.2;
}

.reg-hero .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reg-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- REGISTRATION SECTION --- */
.reg-section {
    padding: 40px 20px 80px;
    background: var(--bg-light);
}

.reg-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

/* --- PROGRESS BAR --- */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-circle {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-step.completed .step-circle {
    background: var(--secondary);
    color: white;
}

.progress-step.completed .step-label {
    color: var(--secondary);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    margin: 0 -8px;
    margin-bottom: 24px;
    z-index: 1;
}

/* --- FORM STEPS --- */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

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

.step-header {
    margin-bottom: 28px;
    text-align: center;
}

.step-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-header p {
    color: var(--text-muted);
    font-size: 0.938rem;
}

/* --- FORM GRID --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #EF4444;
}

.help-icon {
    color: var(--text-muted);
    cursor: help;
    display: inline-flex;
}

.help-icon svg {
    width: 14px;
    height: 14px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- CHECKBOX --- */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-top: 8px;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.terms-link {
    color: var(--primary);
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* --- TERMS SECTION --- */
.terms-section {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

/* --- FORM ACTIONS --- */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.btn-next,
.btn-submit {
    flex: 1;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-next svg,
.btn-submit svg {
    width: 18px;
    height: 18px;
}

.btn-back {
    padding: 14px 24px;
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-back:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}

.btn-back svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   TABLET STYLES (min-width: 640px)
   ============================================ */
@media (min-width: 640px) {
    .reg-hero {
        padding: calc(var(--nav-height) + 60px) 24px 50px;
    }

    .reg-hero h1 {
        font-size: 2.5rem;
    }

    .reg-container {
        padding: 32px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-label {
        font-size: 0.875rem;
    }
}

/* ============================================
   DESKTOP STYLES (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
    .reg-hero {
        padding: calc(var(--nav-height) + 80px) 32px 60px;
    }

    .reg-hero h1 {
        font-size: 3rem;
    }

    .reg-section {
        padding: 60px 32px 100px;
    }

    .reg-container {
        padding: 48px;
    }

    .step-header h2 {
        font-size: 1.75rem;
    }
}