/* ============================================
   HOW IT WORKS SECTION
============================================ */
.how-it-works-section {
    padding: 100px 0;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 90% 10%, rgba(212, 165, 116, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(212, 165, 116, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
}

.how-it-works-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: white;
}

.how-it-works-section h2 span {
    background: linear-gradient(135deg, #d4a574 0%, #f3d2b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Steps Container */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.step-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #d4a574 0%, #b88a58 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 15px auto 20px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background: rgba(212, 165, 116, 0.2);
    transform: scale(1.05);
}

.step-icon i {
    font-size: 28px;
    color: #d4a574;
}

.step-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.step-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Step Connector */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.step-connector i {
    font-size: 20px;
    color: rgba(212, 165, 116, 0.4);
}

/* CTA */
.how-cta {
    text-align: center;
}

.btn-how-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d4a574 0%, #b88a58 100%);
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.25);
}

.btn-how-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.35);
    color: #0f172a;
}

.btn-how-primary i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-item {
        max-width: 400px;
        width: 100%;
    }

    .step-connector {
        padding: 0;
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .how-it-works-section {
        padding: 50px 0;
    }

    .how-it-works-header {
        margin-bottom: 40px;
    }

    .how-pretitle {
        font-size: 11px;
        padding: 8px 14px;
    }

    .how-it-works-section h2 {
        font-size: 26px;
    }

    .steps-container {
        gap: 15px;
        margin-bottom: 30px;
    }

    .step-item {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: -12px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        margin: 10px auto 15px;
    }

    .step-icon i {
        font-size: 22px;
    }

    .step-item h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .step-item p {
        font-size: 13px;
        line-height: 1.5;
    }

    .step-connector {
        padding: 0;
    }

    .step-connector i {
        font-size: 16px;
    }

    .btn-how-primary {
        padding: 14px 28px;
        font-size: 14px;
    }
}