.cs-steps {
    padding: 10px 0 20px;
}

.cs-steps__head {
    text-align: center;
    margin-bottom: 24px;
}

.cs-steps__subtitle {
    color: var(--cs-text-muted);
    margin-top: 6px;
}

/* ROW */

.cs-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cs-step__head-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-step__number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: white;
    border: 2px solid rgba(124, 92, 255, 0.3);
    color: var(--cs-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-step__content {
    max-width: 320px;
}

.cs-step__title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--cs-text-main);
}

.cs-step__text {
    font-size: 0.9rem;
    color: var(--cs-text-muted);
    line-height: 1.5;
}

.cs-step__example {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--cs-primary);
    font-weight: 600;
}

/* ARROW */

.cs-steps__row {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

/* линия между шагами */
.cs-steps__row::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(
            90deg,
            rgba(124, 92, 255, 0.15),
            rgba(124, 92, 255, 0.35),
            rgba(124, 92, 255, 0.15)
    );
    z-index: 0;
}
.cs-step__number {
    position: relative;
    z-index: 1;

    width: 34px;
    height: 34px;
    border-radius: 999px;

    background: white;
    border: 2px solid rgba(124, 92, 255, 0.3);

    color: var(--cs-primary);
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-steps__row::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 40px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cs-primary);
    animation: flow 4s linear infinite;
}

@keyframes flow {
    0% { left: 40px; opacity: 0; }
    20% { opacity: 1; }
    100% { left: calc(100% - 40px); opacity: 0; }
}

/* MOBILE */
@media (max-width: 768px) {
    .cs-steps__row {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-left: 16px;
        padding-left: 26px;

        border-left: 2px solid rgba(124, 92, 255, 0.35);
    }

    .cs-steps__row::before,
    .cs-steps__row::after {
        display: none;
    }

    .cs-step {
        position: relative;
        padding-left: 22px;
    }

    .cs-step__number {
        position: absolute;
        left: -43px;
        top: 0;

        z-index: 2;
    }

    .cs-step__content {
        margin-top: -8px;
        margin-left: -8px;
    }

}

.cs-step-audio {
    margin-top: 12px;
}

.cs-step-audio__play {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c5cff, #2563eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.cs-step-audio__icon {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

.cs-step-audio__icon.is-pause {
    width: 12px;
    height: 14px;
    margin-left: 0;
    border: none;
    background: linear-gradient(to right, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}

.cs-step-audio__progress {
    width: 100%;
    height: 8px;
    border: none;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.12);
    overflow: hidden;
    padding: 0;
    display: block;
}

.cs-step-audio__progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #7c5cff, #2563eb);
    border-radius: 999px;
}

.cs-step-audio__times {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--cs-text-muted);
}