/* HOW IT WORKS */
.hiw {
    background: #F8F9FD;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    position: relative
}

.hiw-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    z-index: 0
}

.hiw-step {
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1
}

.hiw-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(57, 1, 174, .35);
    position: relative
}

.hiw-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
    transition: all .3s
}

.hiw-step:hover .hiw-step-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(57, 1, 174, .15)
}

.hiw-step h4 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #001D3F;
}

.hiw-step p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #1E1E1E;
}

.hiw-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3.5rem;
    position: relative
}

.hiw-connector {
    display: none
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, .06);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 1, 174, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(57, 1, 174, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(57, 1, 174, 0.2);
}

.step-card::after {
    content: attr(data-arrow);
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #ccc;
    z-index: 2
}

.step-card:last-child::after {
    display: none
}

.step-num-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(165deg, #3901AE 9.44%, #3A4ED5 70.3%);
    color: #fff;
    font-size: 30px;
    line-height: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.step-card:hover .step-num-badge {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(57, 1, 174, 0.3);
}

.step-card h4 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    color: #001D3F;
    margin-bottom: 21px;
    transition: color 0.3s ease;
}

.step-card:hover h4 {
    color: #3901AE;
}

.step-card p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #1E1E1E;
}