/* How It Works Section */
.how-it-works {
    background-color: #050505;
}

.how-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.how-step {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.how-step:hover,
.how-step.active {
    background: rgba(93, 173, 226, 0.08);
    border-color: rgba(93, 173, 226, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 173, 226, 0.15);
    z-index: 2;
}

.how-step:hover .how-icon,
.how-step.active .how-icon {
    transform: scale(1.05) rotate(3deg);
    filter: brightness(1.1);
}

.how-step:hover .step-title,
.how-step.active .step-title {
    color: #5DADE2;
}

.how-step .step-title {
    font-size: 0.9rem;
    color: #e0e0e0;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
    line-height: 1.3;
}

.how-dynamic {
    min-height: 80px;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.how-desc {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    max-width: 600px;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    /* Reduce card margins for more text space */
    #howSteps .how-step {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }

    .how-step {
        padding: 1rem 0.5rem;
        min-height: 130px;
    }

    .how-icon {
        width: 45px;
        height: 45px;
    }

    .how-step .step-title {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .how-step:hover,
    .how-step.active {
        transform: translateY(-2px);
    }

    .how-desc {
        font-size: 0.9rem;
    }
}