@use '../../utils' as *;

/*----------------------------------------*/
/*  7.9 Hero css
/*----------------------------------------*/

.tp-hero{
    &-pt{
        padding-top: 180px;
        @media #{$md}{
            padding-top: 160px;
        }
        @media #{$xs}{
            padding-top: 150px;
        }
    }
    &-title{
        font-weight: 800;
        font-size: 80px;
        line-height: 1;
        margin-bottom: 27px;
        letter-spacing: -0.02em;
        color: var(--tp-common-white);
        @media #{$md}{
            font-size: 60px;
        }
        @media #{$xs}{
            font-size: 45px;
        }
    }
    &-title-box{
        margin-bottom: 45px;
        & p{
            font-weight: 400;
            font-size: 20px;
            letter-spacing: -0.02em;
            color: var(--tp-grey-2);
            @media #{$md,$xs}{
                font-size: 18px;
            }
        }
    }
    &-tell{
        & a{
            font-weight: 600;
            font-size: 16px;
            letter-spacing: -0.02em;
            color: var(--tp-common-white);
            & span{
                height: 50px;
                width: 50px;
                margin-right: 10px;
                line-height: 49px;
                border-radius: 50%;
                text-align: center;
                display: inline-block;
                color: var(--tp-common-black);
                background-color: var(--tp-common-yellow);
            }
        }
    }
    &-btn-box{
        line-height: 1;
    }
    &-banner{
        &-shape{
            position: absolute;
            top: -60px;
            right: 11%;
            z-index: 2;
            & img{
                animation: rotate 15s linear infinite;
            }
        }
        &-height{
            height: 800px;
            overflow: hidden;
            @media #{$xl,$lg}{
                height: 600px;
            }
            @media #{$md}{
                height: 450px;
            }
            @media #{$xs}{
                height: 200px;
            }
        }
        & img{
            margin-top: -140px;
            width: 100%;
            object-fit: cover;
            @media #{$lg,$md}{
                margin-top: -50px;
            }
            @media #{$xs}{
                margin-top: 0px;
                height: 300px;
            }
        }
    }
    &-gradient-circle{
        position: absolute;
        right: -10%;
        top: 25%;
        z-index: -1;
        @media #{$lg}{
            right: -20%;
            top: 35%;
        }
        & span{
            height: 900px;
            width: 900px;
            border-radius: 50%;
            filter: blur(400px);
            display: inline-block;
            background-color: rgba(109, 97, 255, 0.4);
        }
    }
}

.tp-hero-3{
    &-bg{
        padding-top: 260px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        @media #{$xl,$lg}{
            padding-top: 200px;
        }
        @media #{$md}{
            padding-top: 120px;
        }
        @media #{$xs}{
            padding-top: 130px;
        }
    }
    &-title{
        font-weight: 800;
        font-size: 70px;
        line-height: 1.2;
        text-align: center;
        letter-spacing: -0.02em;
        color: var(--tp-common-black-3);
        @media #{$xl}{
            font-size: 65px;
        }
        @media #{$md}{
            font-size: 55px;
        }
        @media #{$xs}{
            font-size: 36px;
        }
        & span{
            color: var(--tp-common-blue);
        }
        &-line{
            position: absolute;
            bottom: -25px;
            left: 30px;
        }
        &-box{
            & P{
                font-weight: 400;
                font-size: 20px;
                line-height: 1.5;
                text-align: center;
                letter-spacing: -0.02em;
                color: var(--tp-common-black-3);
                @media #{$xs}{
                    font-size: 16px;
                    & br{
                        display: none;
                    }
                }
            }
        }
    }
    &-playbtn{
        & span{
            height: 46px;
            width: 46px;
            line-height: 46px;
            border-radius: 50%;
            text-align: center;
            display: inline-block;
            margin-right: 10px;
            color: var(--tp-common-black);
            background-color: var(--tp-common-white);
            animation: animate-pulse 3s linear infinite;
            & svg{
                margin-left: 2px;
            }
        }
        & i{
            font-weight: 400;
            font-size: 24px;
            font-style: normal;
            display: inline-block;
            transform: translateY(3px);
            color: var(--tp-common-black-3);
            font-family: var(--tp-ff-niconne);
        }
    }
    &-dashboard{
        position: relative;
        &::after{
            position: absolute;
            content: "";
            bottom: 0;
            left: 0;
            height: 220px;
            width: 100%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 85.94%);
        }
    }
    &-shape-1{
        position: absolute;
        bottom: 70px;
        left: -90px;
        z-index: 2;
    }
}

.tp-hero-4{
    &-bg{
        padding-top: 290px;
        padding-bottom: 210px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        @media #{$lg,$md,$xs}{
            padding-top: 190px;
            padding-bottom: 190px;
        }
    } 
    &-scroll-nav{
        position: absolute;
        bottom: -120px;
        right: 0;
        & a{
            font-weight: 600;
            font-size: 14px;
            line-height: 1;
            letter-spacing: -0.02em;
            color: var(--tp-common-black);
            & span{
                margin-left: 10px;
                display: inline-block;
                & svg{
                    transform: translateY(-1px);
                }
            }
        }
    }
    &-subtitle{
        font-size: 16px;
        font-weight: 600;
        line-height: 1.87;
        display: inline-block;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--tp-common-purple-2);
    }
    &-title{
        font-weight: 800;
        font-size: 100px;
        line-height: 0.96;
        padding-bottom: 15px;
        letter-spacing: -0.04em;
        @include tp-gradient((180deg, #935acd 0%, #444899 100%));
        background-clip: text;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        @media #{$xl}{
            font-size: 85px;
        }
        @media #{$lg}{
            font-size: 63px;
        }
        @media #{$md}{
            font-size: 72px;
        }
        @media #{$xs}{
            font-size: 55px;
        }
        @media #{$sm}{
            font-size: 65px;
        }
        &-box{
            padding-right: 70px;
            @media #{$md,$xs}{
                padding-right: 0;
                margin-bottom: 50px;
            }
        }
    }
    &-thumb{
        & img{
            max-width: inherit;
            margin-left: -15px;
            @media #{$lg}{
                margin-left: -30px;
            }
            @media #{$xs}{
                margin-left: 0px;
                max-width: 100%;
            }
        }
    }
    &-sub-img{
        position: absolute;
        top: 10%;
        left: 28%;
        animation: anim-top-bottom 1s linear infinite alternate;
    }
    &-circle{
        position: absolute;
        top: 4%;
        right: -16%;
        @media #{$xl}{
            right: -5%;
        }
        @media #{$lg}{
            right: -2%;
        }
        @media #{$md}{
            right: 14%;
        }
        @media #{$sm}{
            right: 0;
        }
        & span{
            height: 500px;
            width: 500px;
            border-radius: 50%;
            display: inline-block;
            background: linear-gradient(212deg, #fff 0%, rgba(255, 255, 255, 0) 70.66%);
        }
    }
}

.tp-hero-5{
    &-bg{
        background-color: #CED9FF;
    }
    &-subtitle{
        font-weight: 600;
        font-size: 14px;
        padding: 1px 14px;
        margin-bottom: 15px;
        border-radius: 20px;
        display: inline-block;
        text-transform: uppercase;
        background-color: #fbcea0;
        color: var(--tp-common-black);
    }
    &-title{
        font-weight: 800;
        font-size: 70px;
        line-height: 109%;
        letter-spacing: -0.02em;
        color: var(--tp-common-black);
        & i{
            font-style: normal;
        }
        @media #{$xl}{
            font-size: 60px;
        }
        @media #{$lg}{
            font-size: 48px;
        }
        @media #{$md}{
            font-size: 62px;
        }
        @media #{$xs}{
            font-size: 43px;
        }
        @media #{$sm}{
            font-size: 52px;
        }
        & span{
            color: var(--tp-common-blue);
        }
    }
    &-circle{
        &-1{
            position: absolute;
            top: -75%;
            right: 0;
            z-index: -1;
            & span{
                height: 800px;
                width: 800px;
                border-radius: 50%;
                border-radius: 100%;
                filter: blur(300px);
                display: inline-block;
                background-color: rgba(16, 255, 212, 0.14);
            }
        }
        &-2{
            position: absolute;
            top: -50px;
            left: -60px;
            z-index: -1;
            @media #{$xl}{
                left: -35px;
            }
            & span{
                height: 460px;
                width: 460px;
                border-radius: 100%;
                display: inline-block;
                background: linear-gradient(156deg, #fff 9.72%, rgba(255, 255, 255, 0) 70.66%);
            }
        }
    }
    &-inner{
        &-shape{
            &-1{
                position: absolute;
                top: 23%;
                left: 9%;
                animation: rotate 5s linear infinite;
            }
            &-2{
                position: absolute;
                top: 12%;
                left: 26%;
                animation: rotate 7s linear infinite;
            }
            &-3{
                position: absolute;
                left: -5%;
                bottom: 29%;
                mix-blend-mode: luminosity;
                @media #{$xl}{
                    left: -13%;
                }
                @media #{$md}{
                    left: 3%;
                }
                @media #{$xs}{
                    left: 0;
                }
            }
        }
    }
}

.tp-hero{
    &-inner{
        &-bg{
            padding-top: 215px;
            padding-bottom: 160px;
            background-color: #CEE1FF; 
            @media #{$lg,$md,$xs}{
                padding-bottom: 100px;
            }
        }
        &-img{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            mix-blend-mode: overlay;
            & img{
                height: 100%;
                width: 100%;
            }
        }
    }
}

.inner-sv{
    &-3{
        &-style{
            & .tp-hero-5-subtitle {
                background-color: #A3DCC6;
            }
        }
        &-shape{
            &-1{
                position: absolute;
                bottom: -26%;
                left: -5%;
                mix-blend-mode: luminosity;
            }
            &-2{
                position: absolute;
                top: -42%;
                right: 13%;
                mix-blend-mode: luminosity;
                animation: anim-left-right 4s linear infinite alternate;
            }
            &-3{
                position: absolute;
                top: -15%;
                left: 30%;
                mix-blend-mode: luminosity;
                animation: anim-top-bottom 1s linear infinite alternate;
            }
        }
        &-text{
            & p{
                font-weight: 500;
                font-size: 14px;
                line-height: 1.71;
                margin-bottom: 0;
                color: var(--tp-common-black);
            }
        }
    }
    &-title-thumb{
        position: absolute;
        top: -10px;
        right: 16%;
        @media #{$xl}{
            top: -20px;
            right: 20%;
        }
    }
}