/* Steps Section */
.steps-section {
    padding: 100px 0;
    background: #f8fafc;
}

.steps-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a202c;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
}


.step-progress {
    flex-shrink: 0;
}

.progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-background {
    fill: transparent;
    stroke: #e2e8f0;
}

.progress-ring-circle {
    fill: transparent;
    stroke: #2563eb;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
    line-height: 1.3;
}

.step-description {
    color: #4a5568;
    line-height: 1.6;
}

.step-description p {
    margin: 0;
    font-size: 0.95rem;
}

/* Анимация прогресса при скролле */
.step-card.animated .progress-ring-circle {
    animation: fillProgress 1.5s ease-out forwards;
}

@keyframes fillProgress {
    from {
        stroke-dashoffset: 226.194;
        /* 2 * π * 36 */
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .step-progress {
        margin: 0 auto;
    }

    .step-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .steps-section {
        padding: 60px 0;
    }

    .steps-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .step-card {
        padding: 20px;
    }

    .progress-circle {
        width: 80px;
        height: 80px;
    }

    .progress-ring {
        width: 80px;
        height: 80px;
    }

    .progress-ring-background,
    .progress-ring-circle {
        cx: 35;
        cy: 35;
        r: 31;
    }

    .step-number {
        font-size: 1.3rem;
    }

    .step-title {
        font-size: 1.2rem;
    }
}