/* How It Works Section Styles */

.how-it-works {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 0;
}

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

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

.how-it-works .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 25px;
}

.how-it-works .section-badge i {
    color: #4a9eff;
    font-size: 16px;
}

.how-it-works .section-badge span {
    color: #4a9eff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.how-it-works .section-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a2942;
    margin-bottom: 15px;
    line-height: 1.2;
}

.how-it-works .section-subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Grid */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

/* Steps Column */
.steps-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Step Card */
.step-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.step-num.primary {
    background: linear-gradient(135deg, #4a9eff, #00d9ff);
    color: white;
}

.step-num.secondary {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a2942;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.step-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-features li {
    font-size: 13px;
    color: #8b9db8;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
}

.step-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a9eff;
    font-weight: bold;
    font-size: 16px;
}

.step-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a9eff;
    font-size: 20px;
    opacity: 0.4;
}

.step-card:last-child .step-arrow {
    display: none;
}

/* Image Column */
.image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* CTA Button */
.how-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #4a9eff, #00d9ff);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-column {
        order: -1;
    }
    
    .how-it-works .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 70px 0;
    }
    
    .how-container {
        padding: 0 20px;
    }
    
    .how-it-works .section-title {
        font-size: 36px;
    }
    
    .step-card {
        padding: 25px 20px;
    }
    
    .step-num {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .step-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .how-it-works .section-title {
        font-size: 28px;
    }
    
    .step-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-numbers {
        flex-direction: row;
    }
}