/* How It Works Section Styles */
.how-works-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #f1f8f5; /* Değiştirildi: Açık yeşil tonu */
}

/* Arka plan efekti - Güncellendi */
.how-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 5% 20%, rgba(32, 201, 151, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 95% 85%, rgba(67, 97, 238, 0.04) 0%, transparent 35%),
        linear-gradient(120deg, rgba(32, 201, 151, 0.02) 0%, transparent 70%);
    z-index: -1;
}

/* Başlık vurgulama */
.text-highlight {
    position: relative;
    color: var(--primary-color);
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 25%;
    background-color: rgba(67, 97, 238, 0.1);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 10px;
}

.section-badge-wrap {
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.section-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.section-desc {
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 700px;
    margin: 0 auto;
    color: #6c757d;
}

/* Process Flow Line */
.process-flow {
    position: relative;
    padding: 20px 0;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(67, 97, 238, 0.1), 
        rgba(67, 97, 238, 0.6),
        rgba(32, 201, 151, 0.6),
        rgba(255, 193, 7, 0.6),
        rgba(67, 97, 238, 0.1));
    transform: translateX(-50%);
    z-index: 1;
}

/* Process Card - Güncellendi */
.process-card {
    position: relative;
    background-color: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(32, 201, 151, 0.05);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-card:hover {
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.08);
    transform: translateY(-8px);
}

/* Numaralar ve İkonlar */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.process-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-card:hover .process-number {
    transform: scale(1.1);
}

.step-1 .process-number {
    background: linear-gradient(135deg, #4361ee, #3b56d9);
    color: white;
}

.step-2 .process-number {
    background: linear-gradient(135deg, #20c997, #18a67e);
    color: white;
}

.step-3 .process-number {
    background: linear-gradient(135deg, #ffc107, #e6ae06);
    color: white;
}

.process-icon {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    transform: translateY(-5px);
}

/* İçerik */
.process-title {
    font-weight: 600;
    font-size: 20px;
    color: #1e2432;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.process-card:hover .process-title {
    color: var(--primary-color);
}

.process-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Badge stilleri */
.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.step-1 .feature-badge {
    background-color: rgba(67, 97, 238, 0.1);
    color: #4361ee;
}

.step-1:hover .feature-badge {
    background-color: #4361ee;
    color: white;
}

.step-2 .feature-badge {
    background-color: rgba(32, 201, 151, 0.1);
    color: #20c997;
}

.step-2:hover .feature-badge {
    background-color: #20c997;
    color: white;
}

.step-3 .feature-badge {
    background-color: rgba(255, 193, 7, 0.1);
    color: #daa400;
}

.step-3:hover .feature-badge {
    background-color: #ffc107;
    color: #212529;
}

.feature-badge i {
    margin-right: 5px;
}

/* Detay Kutusu */
.detail-box {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
    border-left: 4px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.step-1 .detail-box {
    border-color: #4361ee;
}

.step-2 .detail-box {
    border-color: #20c997;
}

.step-3 .detail-box {
    border-color: #ffc107;
}

.process-card:hover .detail-box {
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

/* Action button */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.25);
}

.action-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.action-button:hover::after {
    left: 100%;
}

.action-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.action-button:hover i {
    transform: translateX(3px);
}

/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive düzenlemeler */
@media (max-width: 991.98px) {
    .how-works-section {
        padding: 60px 0;
    }
    
    .process-flow::before {
        width: 90%;
    }
    
    .process-title {
        font-size: 18px;
    }
    
    .process-number {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }
    
    .action-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .how-works-section {
        padding: 50px 0;
    }
    
    .process-flow::before {
        display: none;
    }
    
    .process-card {
        margin-bottom: 20px;
        padding: 25px 15px;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .process-title {
        font-size: 17px;
    }
    
    .process-description {
        font-size: 14px;
    }
    
    .detail-box {
        padding: 12px;
        font-size: 13px;
    }
    
    .action-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}