/* ── ECP360 Process Section ── */

.process {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.process-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.process-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.04), transparent 70%);
}

/* Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(168, 85, 247, 0.3),
        rgba(99, 102, 241, 0.3),
        rgba(59, 130, 246, 0.3),
        rgba(6, 182, 212, 0.3));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    position: relative;
}

.process-step:nth-child(1) .process-step-number { background: linear-gradient(135deg, #a855f7, #8b5cf6); }
.process-step:nth-child(2) .process-step-number { background: linear-gradient(135deg, #6366f1, #818cf8); }
.process-step:nth-child(3) .process-step-number { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.process-step:nth-child(4) .process-step-number { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

.process-step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.15;
    z-index: -1;
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.process-step-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    .process-steps::before { display: none; }
}

@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
}
