/* =========================================================
   ASD TRADERS
   HOW IT WORKS PAGE
========================================================= */


/* =========================================================
   COMMON
========================================================= */

.how-it-works-page {

    overflow: hidden;

}

.how-it-works-page .section {

    padding: 90px 0;

}

.hiw-section-heading {

    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;

}

.hiw-eyebrow {

    display: inline-block;

    margin-bottom: 14px;

    color: #39A8FF;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;

}

.hiw-section-heading h2 {

    margin-bottom: 18px;

    color: #FFFFFF;

    font-size: 42px;

    line-height: 1.2;

}

.hiw-section-heading p {

    color: #9CB0CC;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   HERO
========================================================= */

.hiw-hero {

    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(57, 168, 255, .14),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(99, 102, 241, .10),
            transparent 32%
        ),
        #06101C;

    border-bottom: 1px solid rgba(255, 255, 255, .06);

}

.hiw-hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(57, 168, 255, .45),
        transparent
    );

}

.hiw-hero-glow {

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;

}

.hiw-glow-one {

    top: -220px;

    left: -140px;

    background: rgba(57, 168, 255, .14);

}

.hiw-glow-two {

    right: -160px;

    bottom: -240px;

    background: rgba(99, 102, 241, .12);

}

.hiw-hero-content {

    position: relative;

    z-index: 2;

    max-width: 820px;

    padding: 100px 0;

}

.hiw-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 16px;

    margin-bottom: 24px;

    color: #8CCFFF;

    background: rgba(57, 168, 255, .09);

    border: 1px solid rgba(57, 168, 255, .20);

    border-radius: 999px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;

}

.hiw-hero h1 {

    margin: 0 0 24px;

    color: #FFFFFF;

    font-size: 64px;

    line-height: 1.08;

    letter-spacing: -2px;

}

.hiw-hero h1 span {

    color: #39A8FF;

}

.hiw-hero p {

    max-width: 760px;

    margin: 0;

    color: #9CB0CC;

    font-size: 19px;

    line-height: 1.85;

}

.hiw-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;

}


/* =========================================================
   BUTTONS
========================================================= */

.hiw-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;

}

.hiw-btn:hover {

    transform: translateY(-2px);

}

.hiw-btn-primary {

    color: #FFFFFF;

    background: #1689E8;

    border: 1px solid #1689E8;

    box-shadow:
        0 10px 30px rgba(22, 137, 232, .20);

}

.hiw-btn-primary:hover {

    color: #FFFFFF;

    background: #2498F5;

    border-color: #2498F5;

    box-shadow:
        0 12px 35px rgba(22, 137, 232, .28);

}

.hiw-btn-outline {

    color: #D8E7F7;

    background: rgba(255, 255, 255, .025);

    border: 1px solid rgba(255, 255, 255, .14);

}

.hiw-btn-outline:hover {

    color: #FFFFFF;

    border-color: rgba(57, 168, 255, .55);

    background: rgba(57, 168, 255, .07);

}


/* =========================================================
   INTRO
========================================================= */

.hiw-intro {

    background: #07121F;

}

.hiw-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    padding: 28px;

    background: #0B1928;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .16);

}

.hiw-flow-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    min-width: 95px;

    text-align: center;

}

.hiw-flow-item span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    color: #8CCFFF;

    background: rgba(57, 168, 255, .09);

    border: 1px solid rgba(57, 168, 255, .20);

    font-size: 12px;

    font-weight: 700;

}

.hiw-flow-item strong {

    color: #FFFFFF;

    font-size: 13px;

    line-height: 1.3;

}

.hiw-flow-line {

    width: 30px;

    height: 1px;

    background: rgba(57, 168, 255, .20);

}


/* =========================================================
   STEPS
========================================================= */

.hiw-steps {

    background: #06101C;

}

.hiw-steps-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}

.hiw-step-card {

    position: relative;

    padding: 28px 24px;

    min-height: 290px;

    background: #0B1928;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .16);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}

.hiw-step-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(57, 168, 255, .25),
        transparent
    );

    opacity: 0;

    transition: opacity .25s ease;

}

.hiw-step-card:hover {

    transform: translateY(-5px);

    background: #0E2032;

    border-color: rgba(57, 168, 255, .28);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, .22);

}

.hiw-step-card:hover::before {

    opacity: 1;

}

.hiw-step-number {

    position: absolute;

    top: 17px;

    right: 20px;

    color: rgba(92, 184, 255, .10);

    font-size: 30px;

    font-weight: 800;

    line-height: 1;

}

.hiw-step-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 54px;

    height: 54px;

    margin-bottom: 21px;

    color: #5CB8FF;

    background: rgba(57, 168, 255, .08);

    border: 1px solid rgba(57, 168, 255, .14);

    border-radius: 14px;

    font-size: 20px;

}

.hiw-step-card h3 {

    margin-bottom: 11px;

    color: #FFFFFF;

    font-size: 18px;

}

.hiw-step-card p {

    color: #8499B1;

    font-size: 13px;

    line-height: 1.75;

}


/* =========================================================
   BENEFITS
========================================================= */

.hiw-benefits {

    background: #07121F;

}

.hiw-benefits-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}

.hiw-benefit-card {

    padding: 28px 24px;

    background: #0B1928;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 17px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .16);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}

.hiw-benefit-card:hover {

    transform: translateY(-5px);

    background: #0E2032;

    border-color: rgba(57, 168, 255, .28);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, .22);

}

.hiw-benefit-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 56px;

    height: 56px;

    margin: 0 auto 20px;

    color: #5CB8FF;

    background: rgba(57, 168, 255, .08);

    border: 1px solid rgba(57, 168, 255, .14);

    border-radius: 15px;

    font-size: 20px;

}

.hiw-benefit-card h3 {

    margin-bottom: 11px;

    color: #FFFFFF;

    font-size: 18px;

}

.hiw-benefit-card p {

    color: #8499B1;

    font-size: 13px;

    line-height: 1.75;

}


/* =========================================================
   SECURITY
========================================================= */

.hiw-security {

    background: #06101C;

}

.hiw-security-box {

    display: flex;

    align-items: flex-start;

    gap: 30px;

    padding: 45px;

    background:
        linear-gradient(
            135deg,
            rgba(57, 168, 255, .07),
            rgba(255, 255, 255, .018)
        );

    border: 1px solid rgba(57, 168, 255, .14);

    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .15);

}

.hiw-security-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 68px;

    height: 68px;

    color: #5CB8FF;

    background: rgba(57, 168, 255, .09);

    border: 1px solid rgba(57, 168, 255, .18);

    border-radius: 18px;

    font-size: 26px;

}

.hiw-security-content h2 {

    margin-bottom: 16px;

    color: #FFFFFF;

    font-size: 34px;

}

.hiw-security-content p {

    max-width: 850px;

    margin-bottom: 14px;

    color: #91A5BD;

    font-size: 16px;

    line-height: 1.85;

}

.hiw-security-content p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   CTA
========================================================= */

.hiw-cta {

    padding-top: 30px !important;

    padding-bottom: 100px !important;

    background: #06101C;

}

.hiw-cta-box {

    padding: 70px 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(57, 168, 255, .12),
            transparent 55%
        ),
        #0B1928;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .18);

}

.hiw-cta-box h2 {

    margin-bottom: 16px;

    color: #FFFFFF;

    font-size: 42px;

}

.hiw-cta-box p {

    max-width: 650px;

    margin: 0 auto;

    color: #91A5BD;

    font-size: 17px;

    line-height: 1.8;

}

.hiw-cta-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .how-it-works-page .section {

        padding: 75px 0;

    }


    /* HERO */

    .hiw-hero {

        min-height: auto;

    }

    .hiw-hero-content {

        padding: 85px 0;

    }

    .hiw-hero h1 {

        font-size: 52px;

    }


    /* FLOW */

    .hiw-flow {

        gap: 18px;

    }

    .hiw-flow-line {

        width: 20px;

    }


    /* STEPS */

    .hiw-steps-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    /* BENEFITS */

    .hiw-benefits-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .how-it-works-page .section {

        padding: 60px 0;

    }


    /* HERO */

    .hiw-hero-content {

        padding: 70px 0;

        text-align: center;

    }

    .hiw-badge {

        font-size: 11px;

    }

    .hiw-hero h1 {

        font-size: 38px;

        line-height: 1.12;

        letter-spacing: -1px;

    }

    .hiw-hero p {

        font-size: 16px;

        line-height: 1.75;

    }

    .hiw-hero-actions {

        justify-content: center;

    }

    .hiw-btn {

        width: 100%;

    }


    /* SECTION HEADING */

    .hiw-section-heading {

        margin-bottom: 38px;

    }

    .hiw-section-heading h2 {

        font-size: 31px;

    }

    .hiw-section-heading p {

        font-size: 15px;

    }


    /* FLOW */

    .hiw-flow {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 18px;

        padding: 22px 16px;

    }

    .hiw-flow-line {

        display: none;

    }

    .hiw-flow-item {

        min-width: 0;

    }

    .hiw-flow-item strong {

        font-size: 12px;

    }


    /* STEPS */

    .hiw-steps-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .hiw-step-card {

        min-height: auto;

        padding: 25px 22px;

    }


    /* BENEFITS */

    .hiw-benefits-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .hiw-benefit-card {

        padding: 25px 22px;

    }


    /* SECURITY */

    .hiw-security-box {

        flex-direction: column;

        padding: 30px 24px;

        gap: 24px;

        text-align: center;

    }

    .hiw-security-icon {

        margin: 0 auto;

    }

    .hiw-security-content h2 {

        font-size: 29px;

    }

    .hiw-security-content p {

        font-size: 15px;

    }


    /* CTA */

    .hiw-cta {

        padding-top: 15px !important;

        padding-bottom: 70px !important;

    }

    .hiw-cta-box {

        padding: 50px 22px;

    }

    .hiw-cta-box h2 {

        font-size: 31px;

    }

    .hiw-cta-box p {

        font-size: 15px;

    }

}