/**
 * How It Works Section Styles
 * Стили для секции "So funktioniert's"
 */

.how-it-works-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works-badge {
    color: #FF6B35;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.how-it-works-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin: 12px 0 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.how-it-works-subtitle {
    font-size: 18px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Steps Grid */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Step Card */
.how-it-works-step {
    text-align: center;
    position: relative;
    padding: 20px;
    transition: transform 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-5px);
}

/* Step Number Background - REMOVED (not in original design) */

/* Icon Container */
.how-it-works-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.how-it-works-step:hover .how-it-works-icon {
    background: rgba(255, 107, 53, 0.2);
    transform: scale(1.1);
}

.how-it-works-icon i {
    font-size: 28px;
    color: #FF6B35;
}

/* Step Title */
.how-it-works-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 1;
}

/* Step Description */
.how-it-works-step-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .how-it-works-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .how-it-works-title {
        font-size: 32px;
    }
    
    .how-it-works-subtitle {
        font-size: 16px;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-it-works-step {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.how-it-works-step:nth-child(1) {
    animation-delay: 0.1s;
}

.how-it-works-step:nth-child(2) {
    animation-delay: 0.2s;
}

.how-it-works-step:nth-child(3) {
    animation-delay: 0.3s;
}

.how-it-works-step:nth-child(4) {
    animation-delay: 0.4s;
}
