/* Step card base styles and hover effects */
.step-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover: Move up and add glow */
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Lighten glass effect on hover using backdrop-filter */
.step-card.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card.glass-effect:hover {
    backdrop-filter: blur(15px) brightness(1.15);
    background: rgba(255, 255, 255, 0.15);
}

/* Animate the gradient numbers on hover */
.step-card .step-number.gradient-text {
    transition: transform 0.3s ease;
}

.step-card:hover .step-number.gradient-text {
    transform: scale(1.1);
}

/* Smooth transition for all content */
.step-card h3,
.step-card p {
    transition: transform 0.3s ease;
}

.step-card:hover h3 {
    transform: translateX(5px);
}