/* Neural Pulse Animation */
.neural-pulse-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Timeline Base */
.neural-line {
    position: absolute;
    top: 40px;
    /* Align with top of numbers approximately */
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* The Glowing Pulse */
.neural-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 60px;
    height: 4px;
    /* Slightly thicker than line */
    background: linear-gradient(90deg, transparent, var(--color-accent-teal), #fff);
    transform: translateY(-50%) translateX(-100%);
    box-shadow: 0 0 15px var(--color-accent-teal), 0 0 30px var(--color-accent-teal);
    z-index: 2;
    border-radius: 4px;
    opacity: 0;
}

/* Nodes (Points on line) */
.neural-node {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-bg-surface);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.neural-node.active {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 10px var(--color-accent-gold);
}

/* Steps Container */
.neural-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 4;
}

.neural-step {
    text-align: center;
    flex: 1;
    opacity: 0.5;
    transition: all 0.5s ease;
    padding: 0 10px;
}

.neural-step.active {
    opacity: 1;
    transform: scale(1.05);
}

.neural-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    /* Space for the line */
    transition: color 0.3s ease;
}

.neural-step.active .neural-number {
    color: var(--color-accent-gold);
    text-shadow: 0 0 15px rgba(250, 203, 23, 0.5);
}

.neural-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.neural-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 200px;
    margin: 0 auto;
}

/* Animation Class */
.animate-pulse .neural-pulse {
    animation: travelLine 4s linear infinite;
    opacity: 1;
}

@keyframes travelLine {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .neural-steps {
        flex-direction: column;
        gap: 40px;
    }

    .neural-line {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: auto;
        right: auto;
    }

    .neural-pulse {
        top: 0;
        left: 50%;
        width: 4px;
        height: 60px;
        transform: translateX(-50%) translateY(-100%);
        background: linear-gradient(180deg, transparent, var(--color-accent-teal), #fff);
    }

    .neural-node {
        left: 50%;
        top: 0;
        /* Will be set dynamically or roughly by flex alignment if we used grid */
    }

    /* Mobile adjustments would require a vertical timeline approach, 
       simplifying to horizontal scroll or stacked for now. 
       Let's stick to the requested horizontal pulse. */
}