/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

/* Connecting Line (Desktop) */
@media (min-width: 1024px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: #e2e8f0;
        z-index: 0;
        border-top: 2px dashed #cbd5e1;
    }
}

.step-card {
    position: relative;
    text-align: center;
    background: white;
    padding: 2rem 1rem;
    z-index: 1; /* Stay above line */
}

.step-number {
    width: 80px;
    height: 80px;
    background: #111827; /* Dark Navy */
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.2);
    border: 4px solid white; /* Cutout effect on line */
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Interactive Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.pulse-btn {
    animation: btn-pulse 3s infinite;
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 148, 46, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 148, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 148, 46, 0); }
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}
