@font-face {
    font-family: 'FunnelDisplay';
    src: url('/assets/fonts/FunnelDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    --hover-gradient: linear-gradient(to right, transparent, transparent);
}
html, body {
    font-family: Arial, sans-serif;
}

.btn-white {
    background-color: #FFFFFF;
    border-color: #111418;
}

.btn-white {
    background-color: #FFFFFF;
    color: #111418;

    &:hover {
        background-color: #FFFFFF;
        color: #111418;
    }
}

.text-dark {
    color: #111418 !important;
}

.text-gray {
    color: #8B929A !important;
}

.bg-dark {
    background-color: #111418 !important;
}

.bg-purple {
    background-color: #9B27AF !important;
}

.text-purple {
    color: #9B27AF !important;
}

.bg-main-black {
    background-color: #111418 !important;
}

.text-main-black {
    color: #111418 !important;
}

.bg-dark-gray {
    background-color: #15191E !important;
}

.bg-light-gray {
    background-color: #F7F7F7 !important;
}

h1 {
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 110px;
    line-height: 1;
    @media screen and (max-width: 820px) {
        font-size: 48px;
    }
}

.hero {
    padding-top: 78px;

    .hero-button-wrapper {
        position: relative;
        display: inline-block;
        padding: 1px;
        border-radius: 2rem;
        background: #fff; /* начальный белый бордер */
        z-index: 0;
        overflow: hidden;
    }

    .hero-button-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: var(--hover-gradient);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.6s ease, background 0.6s ease;
    }

    .hero-button-wrapper:hover::before {
        opacity: 1;
    }

    .hero-button {
        display: inline-block;
        background-color: #000;
        border: none;
        border-radius: 2rem;
        width: 100%;
        position: relative;
        z-index: 1;
        text-decoration: none;
    }
}

.slide-in-block {
    transition: padding-bottom 1s ease, transform 1s ease, opacity 1s ease;
    opacity: 0;
    transform: translateY(100px);
    padding-bottom: 1200px;
}

.slide-in-block.show {
    padding-bottom: 0;
    opacity: 1;
    transform: translateY(0);
}

.word-wrapper {
    display: inline-block;
    position: relative;
    min-width: 80px;
}

.word {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    white-space: nowrap;
}

.word.active {
    opacity: 1;
    position: relative;
}

.nav-button {
    position: relative;
    background: #FFFFFF;
    color: #111418;
    overflow: hidden;
    z-index: 0;
    transition: color 0.8s ease;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(231.94deg, rgba(208, 0, 255, 0.9) 28.98%, rgba(132, 0, 255, 0.9) 75.46%);
        opacity: 0;
        transition: opacity 0.8s ease;
        z-index: -1;
    }

    &:hover {
        color: #ffffff;

        &::before {
            opacity: 1;
        }
    }
}

.navigation {
    color: #FFFFFF;

    &:hover {
        color: #9B27AF !important;
    }
}

.fs-7 {
    font-size: 16px !important;
    @media screen and (max-width: 820px) {
        font-size: 14px !important;
    }
}

.fs-4 {
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 24px !important;
    line-height: 1.2 !important;
    @media screen and (max-width: 820px) {
        font-size: 16px !important;
    }
}

.fs-3 {
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 32px !important;
    @media screen and (max-width: 820px) {
        font-size: 20px !important;
    }
}

.fs-2 {
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 110px !important;
    @media screen and (max-width: 820px) {
        font-size: 64px !important;
    }
}

.grow-word {
    background: linear-gradient(221.04deg, rgba(208, 0, 255, 0.9) 45.61%, rgba(132, 0, 255, 0.9) 67.26%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.build-word {
    background: linear-gradient(221.04deg, rgba(208, 0, 255, 0.9) 45.61%, rgba(132, 0, 255, 0.9) 67.26%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.succeed-word {
    background: linear-gradient(231.94deg, rgba(208, 0, 255, 0.9) 28.98%, rgba(132, 0, 255, 0.9) 75.46%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.header-block {
    margin-top: 99px;
    padding-bottom: 83px;
    @media screen and (max-width: 820px) {
        margin-top: 48px;
        padding-bottom: 48px;
    }
}

.header-description {
    line-height: 1.2;
    margin-top: 33px;
    margin-bottom: 33px;
}

.video-section {
    overflow: hidden;
    height: 696px;

    .video-background {
        width: 100%;
        object-fit: cover;
    }

    @media screen and (max-width: 820px) {
        height: 288px;
    }
}

.brand-marquee {
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.brands-img {
    flex: 0 0 auto;
    padding: 0 2rem;
}

.brands-img img {
    height: 50px;
    object-fit: contain;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brands-img {
    padding: 0 75px;
    @media screen and (max-width: 820px) {
        padding: 0 24px;
    }
}

.who-we-are {
    padding-top: 96px;
    @media screen and (max-width: 820px) {
        padding: 72px 0;
    }

    .slider-container {
        position: relative;
        width: 100%;
        overflow: hidden;

    }

    .img-container {
        display: flex;
        gap: 24px;
        transition: scroll-left 0.3s ease-in-out;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        align-items: center;
        height: 821px;
    }

    @media (min-width: 821px) {
        .img-container::-webkit-scrollbar {
            display: none;
        }

        .image-card {
            flex-shrink: 0;
            width: calc((100% - 5 * 24px) / 6);
            margin-top: 110px;
            transition: all 0.5s ease-in-out;
        }

        .image-card:hover {
            margin-top: 0;
            z-index: 10;
            position: relative;
            width: 23.56%;
        }

        .image-wrapper {
            width: 100%;
            margin-bottom: 24px;
        }

        .image-wrapper img {
            filter: grayscale(100%);
            width: 100%;
            height: auto;
            display: block;
            transition: all 0.2s ease-in-out;
        }

        .image-card:hover img {
            filter: grayscale(0%);
        }

        .text-wrapper {
            background: #111418;
            color: white;
            transform: translateY(100%);
            opacity: 0;
            transition: all 0.5s ease-in-out;

            .text {
                font-size: 32px;
            }
        }

        .image-card:hover .text-wrapper {
            transform: translateY(0);
            opacity: 1;
        }
    }
    @media (max-width: 820px) {
        .img-container {
            padding-left: 16px;
            gap: 16px;
            height: 320px;
        }

        .image-card {
            width: 29vw;
            flex-shrink: 0;
            transition: all 0.5s ease-in-out, width 0.5s ease;
            transform: scale(1);

        }

        .image-card.active {
            width: 40vw;
            transform: scale(1.05);
            z-index: 2;
        }

        .image-card img {
            filter: grayscale(100%);
            transition: filter 0.4s ease;
            width: 100%;
            height: auto;
        }

        .image-card.active img {
            filter: grayscale(0%);
        }

        .text-wrapper {
            display: none;
        }

        .image-card.active .text-wrapper {
            display: block;
            background: #111418;
            color: white;
            margin-top: 8px;

        }
    }

}

.h2-heading {
    font-family: 'FunnelDisplay', sans-serif;
    font-size: 100px;
    line-height: 1;
    @media screen and (max-width: 820px) {
        font-size: 40px;
    }
}

.products {
    padding-bottom: 96px;
    padding-top: 96px;
    @media screen and (max-width: 820px) {
        padding-bottom: 72px;
        padding-top: 72px;
    }

    .product-1 {
        transition: transform 0.7s ease;
        @media screen and (min-width: 1800px){
            height: 606px;
        }
        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        &:hover {
            transform: scale(1.25);
        }
    }

    .product-3 {
        transition: transform 0.7s ease;
        @media screen and (min-width: 1800px){
            height: 606px;
        }

        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        &:hover {
            transform: scale(1.08);
        }
    }

    @media screen and (max-width: 820px) {
        padding-bottom: 72px;
        padding-top: 0;
    }

    .img2 {
        position: relative;
        height: 606px;
        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        overflow: hidden;

        @media screen and (max-width: 820px) {
            display: none;
            height: 233px;
            background-image: url('/assets/image/img2.png');
            background-size: 100%;
        }


        .bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            transition: transform 0.8s ease;
            pointer-events: none;
        }


        .bg-bottom {
            background-image: url('/assets/image/img2-bg1.png');
            z-index: 1;
        }

        .bg-middle {
            background-image: url('/assets/image/img2-img1.png');
            z-index: 2;
            background-position: -70px 15px;
            background-size: 100%;
            @media screen and (width: 1440px){
                background-position: -60px 15px;

            }
            @media screen and (width: 1710px){
                background-position: -60px 15px;
            }
            @media screen and (width: 1280px){
                background-position: -50px 15px;
            }
        }


        .bg-top {
            background-image: url('/assets/image/img2-img2.png');
            z-index: 3;
            background-position: 15px 105px;
            background-size: 115%;
            @media screen and (width: 1440px){
                background-position: 15px 70px;
            }
            @media screen and (width: 1710px){
                background-position: 15px 70px;
            }
            @media screen and (width: 1280px){
                background-position: 20px 60px;;

            }
        }
    }

    @media screen and (min-width: 821px) {
        .img2:hover .bg-bottom {
            transform: scale(1.1);
        }

        .img2:hover .bg-middle {
            transform: rotate(-5deg);
        }

        .img2:hover .bg-top {
            transform: rotate(5deg);
        }
    }

    .img4 {
        position: relative;
        height: 606px;
        overflow: hidden;
        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        @media screen and (max-width: 820px) {
            display: none;
            height: 233px ;
            background-image: url('/assets/image/img4.png');
            background-size: 100%;
            background-repeat: no-repeat;
        }

        .bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            transition: transform 0.9s ease;
            pointer-events: none;
        }


        .bg-bottom {
            background-image: url('/assets/image/img4-bg1.png');
            z-index: 1;
        }


        .bg-middle {
            background-image: url('/assets/image/img4-img1.png');
            z-index: 2;
            background-position: -90px 20px;
            background-size: 110%;
            @media screen and (width: 1440px){
                background-position: -65px 30px;
                background-size: 110%;
            }
            @media screen and (width: 1710px){
                background-position: -70px 30px;
                background-size: 110%;
            }
            @media screen and (width: 1280px){
                background-position: -40px 30px;
                background-size: 100%;
            }
        }


        .bg-top {
            background-image: url('/assets/image/img4-img2.png');
            z-index: 3;
            background-position: 40px 140px;
            background-size: 110%;
            @media screen and (width: 1440px){
                background-position: 30px 90px;
                background-size: 110%;
            }
            @media screen and (width: 1710px){
                background-position: 30px 110px;
                background-size: 110%;
            }
            @media screen and (width: 1280px){
                background-position: 40px 100px;
                background-size: 100%;
            }
        }
    }

    @media screen and (min-width: 821px) {

        .img4:hover .bg-bottom {
            transform: scale(1.1);
        }

        .img4:hover .bg-middle {
            transform: translateY(4%);
        }

        .img4:hover .bg-top {
            transform: translateY(-4%);
        }
    }

    .img5 {
        position: relative;
        height: 606px;
        overflow: hidden;
        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        @media screen and (max-width: 820px) {
            display: none;
            height: 233px ;
            background-image: url('/assets/image/img5.png');
            background-size: 100%;
            background-repeat: no-repeat;
        }

        .bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            transition: opacity 0.9s ease;
        }

        .bg-1 {
            background-image: url('/assets/image/img5-1.png');
            z-index: 1;
            opacity: 1;
        }

        .bg-2 {
            background-image: url('/assets/image/img5-2.png');
            z-index: 2;
            opacity: 0;
        }
    }

    .img5:hover .bg-2 {
        opacity: 1;
    }
}

@media screen and (min-width: 821px) {
    .img6 {
        position: relative;
        height: 606px;
        overflow: hidden;
        @media screen and (width: 1440px){
            height: 449px
        }
        @media screen and (width: 1710px){
            height: 538px
        }
        @media screen and (width: 1280px){
            height: 390px
        }
        @media screen and (max-width: 820px) {
            display: none;
            height: 233px ;
            background-image: url('/assets/image/img6.png');
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: center;
        }

        .bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            transition: transform 0.9s ease;
            pointer-events: none;
        }

        .bg-bottom {
            background-image: url('/assets/image/img6-bg1.png');
            z-index: 1;
            transform-origin: left center;
        }

        .bg-top {
            background-image: url('/assets/image/img6-img.png');
            z-index: 2;
            background-size: auto;
            @media screen and (max-width: 1710px) and (min-width: 1280px){
                background-size: 95%;
            }
        }
    }

    @media screen and (min-width: 821px) {
        .img6:hover .bg-bottom {
            transform: scaleX(1.1);
        }
    }
}

.vision {
    padding: 96px 0;

    .second-block-inner {
        margin-top: 96px
    }

    .third-block-inner {
        margin-top: 192px
    }

    @media screen and (max-width: 820px) {
        padding: 72px 0;
        .second-block-inner {
            margin-top: 0
        }

        .third-block-inner {
            margin-top: 0
        }
    }

}

.build {
    padding: 96px 0;
    @media screen and (max-width: 820px) {
        padding: 72px 0;
    }

    .video-block {
        overflow: hidden;
        height: 270px;
        z-index: 0;

        .video-background {
            width: 100%;
            object-fit: cover;
            z-index: 1;
        }

        @media screen and (max-width: 820px) {
            height: 163px;
        }
    }
}

.achievements {
    padding: 96px 0;

    .number {
        font-family: 'FunnelDisplay', sans-serif;
        font-size: 128px;
        @media screen and (max-width: 820px) {
            font-size: 64px;
        }
    }
}

.connect {
    padding: 96px 0;
    @media screen and (max-width: 820px) {
        padding: 72px 0;
    }

    .operator {
        margin-top: 116px;
        margin-bottom: 24px;
    }
}

.footer {
    padding-top: 72px;
    padding-bottom: 24px;

    .mailto {
        font-family: 'FunnelDisplay', sans-serif;
        padding-bottom: 72px;
        margin-bottom: 72px;

        .footer-mail {
            text-transform: lowercase;
        }

        @media screen and (max-width: 820px) {
            padding-bottom: 48px;
            margin-bottom: 48px;
            .footer-mail {
                text-transform: uppercase;
            }
        }
    }

    .footer-nav {
        margin-bottom: 72px;
    }

    h2 {
        font-family: 'FunnelDisplay', sans-serif;
        font-size: 110px;
        @media screen and (max-width: 820px) {
            font-size: 40px;
        }
    }
}

.form-check-input:checked {
    background-color: #9B27AF;
    border-color: #9B27AF;
}

.form-check-input[type=checkbox] {
    border-radius: 4px
}
