@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* ===== HOW IT WORKS SECTION ===== */
.hiw-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hiw-inner {
    position: relative;
    z-index: 2;
    width: calc(100% - clamp(80px, 12vw, 240px));
    margin: 0 auto;
    padding: 60px clamp(40px, 5vw, 100px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(24.5px);
    border-radius: 15px;
    min-height: 663px;
    justify-content: center;
}

.hiw-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.45);
}

.hiw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}



/* Header */
.hiw-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    max-width: 1074px;
}

.hiw-label {
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: #ffffff;
}

.hiw-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

.hiw-desc {
    font-family: 'Clash Display', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

/* Cards */
.hiw-cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 17px;
    width: 100%;
}

.hiw-card {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(26.5px);
    border-radius: 20px;
    padding: 28px 22px 32px;
    box-sizing: border-box;
    min-height: 296px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hiw-number {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 36px;
    color: #ffffff;
    align-self: flex-end;
}

.hiw-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.hiw-card-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 36px;
    color: #ffffff;
    margin: 0;
}

.hiw-card-desc {
    font-family: 'Clash Display', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #ffffff;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hiw-inner {
        padding: 80px 40px;
        width: calc(100% - 60px);
    }

    .hiw-cards {
        flex-direction: column;
    }

    .hiw-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hiw-inner {
        padding: 50px 20px;
        gap: 36px;
        width: calc(100% - 24px);
        border-radius: 12px;
    }

    .hiw-card-title {
        font-size: 20px;
    }

    .hiw-card-desc {
        font-size: 16px;
    }
}