/* ---------------------------------------------------
   BASE
--------------------------------------------------- */
#onboarding {
    padding: 120px 0;
}

.onboarding-wrapper {
    max-width: 700px;
    margin: auto;
}

/* ---------------------------------------------------
   CARD
--------------------------------------------------- */
.onboarding-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* ---------------------------------------------------
   STEPS
--------------------------------------------------- */
.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

.step h1,
.step h2 {
    margin-bottom: 15px;
}

.step p {
    opacity: 0.85;
    margin-bottom: 30px;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn-primary.full {
    width: 100%;
}

/* ---------------------------------------------------
   PROGRESS BAR
--------------------------------------------------- */
.progress-container {
    margin-top: 25px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #7ab8ff, #4a8fff);
    transition: width 0.4s ease;
}

/* ---------------------------------------------------
   ANIMATIONS
--------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 📱 VERSION MOBILE PREMIUM */
@media (max-width: 600px) {

    .step {
        padding: 20px 15px;
        text-align: left;
    }

    .step h1,
    .step h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .step p {
        font-size: 1rem;
        line-height: 1.45;
    }

    .step ul {
        padding-left: 18px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .btn-primary,
    .btn-primary.full {
        width: 100%;
        font-size: 1.1rem;
        padding: 14px 18px;
        margin-top: 15px;
    }

    /* Espacement entre les steps */
    .step {
        gap: 12px;
    }

    /* Animation douce entre les steps */
    .step.active {
        animation: fadeSlideIn 0.35s ease-out;
    }

    @keyframes fadeSlideIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
