/* HOW IT WORKS SECTION */
.how-it-works {
    background: #fff;
    padding: 80px 0;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-top: 64px;
    position: relative;
}

/* Connecting line between steps (desktop only) */
@media (min-width: 769px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(to right, #e5e7eb 0%, #5b63f5 50%, #e5e7eb 100%);
        z-index: 0;
    }
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #5b63f5, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 40px rgba(91, 99, 245, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b63f5, #764ba2);
    opacity: 0.2;
    z-index: -1;
    transition: all 0.4s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(91, 99, 245, 0.4);
}

.step-item:hover .step-number::before {
    inset: -12px;
    opacity: 0.3;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-grid {
        gap: 40px;
    }

    .step-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}