/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    position: relative;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

/* Connecting Line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Adjust based on icon size */
    left: 100px;
    right: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-yellow-light) 0%, var(--color-yellow-primary) 50%, var(--color-yellow-light) 100%);
    z-index: 0;
    border-radius: 99px;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
    transform: translateY(-5px);
    border-color: var(--color-yellow-primary);
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--color-black);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
    font-weight: 700;
}

.step-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }

    .steps-container::before {
        width: 3px;
        height: auto;
        top: 50px;
        bottom: 50px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        background: linear-gradient(180deg, var(--color-yellow-light) 0%, var(--color-yellow-primary) 50%, var(--color-yellow-light) 100%);
    }

    .step-card {
        width: 100%;
    }
}