/* Steps Card Styles - Componente per mostrare gli step di un processo */

.steps-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.steps-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
}

.steps-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-item {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-number-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.step-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.15) rotate(-10deg);
    color: #764ba2;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    text-align: center;
}

.step-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .steps-card {
        padding: 2rem 1.5rem;
    }

    .steps-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .step-number-wrapper {
        width: 70px;
        height: 70px;
    }

    .step-number {
        font-size: 1.75rem;
    }

    .step-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .step-item {
        padding: 1.5rem 1rem;
    }
}