.how-it-works-section {
    position: relative;
    overflow: hidden;
}

.how-it-works-section .grid {
    position: relative;
    z-index: 2;
}

.how-it-works-section .grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Number circles */
.how-it-works-section .text-secondary {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.how-it-works-section .grid > div:hover .text-secondary {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Dashed line connectors */
.how-it-works-section .grid > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px; /* Half of circle height */
    left: calc(50% + 40px); /* Start from right edge of current circle + some spacing */
    width: calc(100% - 40px); /* Almost full width, just accounting for left spacing */
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    z-index: 1;
    mask-image: linear-gradient(90deg,
        transparent 0%,
        transparent 50%,
        black 50%,
        black 100%
    );
    mask-size: 12px 100%;
    mask-repeat: repeat-x;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        mask-position: 12px 0;
    }
    100% {
        mask-position: 0 0;
    }
}

/* Content boxes */
.how-it-works-section .bg-white\/10 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.how-it-works-section .bg-white\/10:hover {
    transform: translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-it-works-section .grid > div:not(:last-child)::after {
        display: none;
    }
    
    .how-it-works-section .grid > div {
        margin-bottom: 2rem;
    }
}