/* ==========================================
HOW IT WORKS
========================================== */

#how-it-works {
    padding: 60px 20px;
    background: linear-gradient(180deg,
            var(--light) 0%,
            var(--bg) 60%,
            var(--light) 100%);
}

#how-it-works h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

#how-it-works p {
    padding: 0;
}

/* INTRO TEXT */
.section-intro-dark {
    max-width: 700px;
    margin: 10px auto 35px;
    text-align: center;
    color: var(--darker);
    font-size: 1rem;
    line-height: 1.6;
}

/* ANIMATION */
.how-lottie-animation {
    display: flex;
    justify-content: center;
    margin: 0;
}

.how-lottie-animation dotlottie-player {
    width: 180px;
    height: 110px;
}

/* GRID */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
}

/* STEP CARD */
.step-card {
    position: relative;
    overflow: hidden;
    background: var(--light);

    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;

    box-shadow: 0 6px 18px rgba(16, 37, 66, 0.06);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}



.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 37, 66, 0.10);
}

/* STEP NUMBER */
.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 0.95rem;

    color: #102542;
    background: #f1f6fb;
    border: 1px solid #dbe7f3;
}

/* TEXT */
.step-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--darker);
    font-size: 0.95rem;
    line-height: 1.5;
}