/* =============================================
   PROXIMA LENS 2.0.0 - How It Works Section
   Step-by-step Process
   ============================================= */

.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.05), transparent 50%);
    pointer-events: none;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

/* Connecting Line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--border-primary) 20%,
            var(--border-primary) 80%,
            transparent);
    z-index: 0;
}

/* Step Item */
.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Step Number */
.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.step-item:hover .step-number {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 229, 255, 0.05));
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Step Title */
.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Step Description */
.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 200px;
    margin: 0 auto;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}