/* How It Works Section Redesign */
#how-it-works {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(30, 41, 59, 0.5), transparent),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 1), #0f172a);
}

.step-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.5);
    z-index: 2;
    border: 4px solid #0f172a;
    /* Match body bg to create "floating" look */
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 1.5rem auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.1);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
}

.step-icon {
    font-size: 3rem;
    color: #94a3b8;
    transition: all 0.4s ease;
}

.step-card:hover .step-icon {
    color: #38bdf8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.step-desc {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 1rem;
}

/* Homepage promotional video - large display */
.video-promo-large {
    min-height: 450px;
}
@media (min-width: 768px) {
    .video-promo-large {
        min-height: 500px;
    }
}
@media (min-width: 992px) {
    .video-promo-large {
        min-height: 550px;
    }
}

/* Connecting Line (Desktop Only) */
@media (min-width: 992px) {
    .steps-connector {
        position: absolute;
        top: 30%;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(56, 189, 248, 0.2) 20%,
                rgba(56, 189, 248, 0.2) 80%,
                transparent 100%);
        z-index: 0;
        transform: translateY(-50%);
    }
}