main {
    padding-top: 50px;
    .hero {
        display: flex;
        position: relative;
        height: 520px;
        align-items: center;
        margin-bottom: 60px;
        .text {
            position: relative;
            z-index: 2;
            max-width: 584px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            h1 {
                position: relative;
                top: -13px;
                span {
                    color: var(--text-2);
                    text-shadow: var(--text-shadow-1);
                    font-size: 54px;
                    font-weight: 900;
                    letter-spacing: -2px;
                    position: relative;
                    &:first-child {
                        z-index: 1;
                    }
                    &:last-child {
                        top: -24px;
                    }
                }
            }
            p {
                font-size: 18px;
                margin-top: -20px;
                margin-bottom: 40px;
            }
            .marker {
                font-size: 13px;
                color: var(--text-2);
                font-weight: 700;
                border-radius: 6px;
                border: var(--border-1);
                padding: 6px 20px;
                box-shadow: 0 10px 18px 0 rgba(6, 6, 10, 0.60);
                transform: rotate(-1deg);
                position: relative;
                z-index: 2;
                background: var(--bg-1);
            }
            .buttons {
                display: flex;
                gap: 16px;
                background: var(--bg-2);
                border-radius: 20px;
                padding: 4px;
            }
        }
        .video {
            position: absolute;
            right: -159px;
            top: 0;
            width: max-content;
            display: flex;
            justify-content: flex-end;
            &::before {
                position: absolute;
                z-index: 1;
                inset: 0;
                background: linear-gradient(180deg, #06060a 0%, rgba(6, 6, 10, 0.53) 13.99%, rgba(6, 6, 10, 0.00) 32.17%, rgba(6, 6, 10, 0.00) 100%), linear-gradient(180deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 67.83%, rgba(6, 6, 10, 0.53) 86.01%, #06060a 100%), linear-gradient(270deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 81.52%, #06060a 100%), linear-gradient(270deg, #06060a 0%, rgba(6, 6, 10, 0.00) 18.48%, rgba(6, 6, 10, 0.00) 100%);
                content: '';
            }
            &.no-playing {
                img {
                    opacity: 1;
                }
                video {
                    opacity: 0;
                }
            }
            img {
                display: block;
                width: 100%;
                max-width: 930px;
                height: auto;
                opacity: 0;
            }
            video {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                opacity: 1;
            }
        }
    }
    .head {
        margin-bottom: 64px;
        h2 {
            color: var(--text-2);
            text-shadow: var(--text-shadow-1);
            font-size: 40px;
            line-height: 40px;
            font-weight: 900;
            letter-spacing: -2px;
            margin-bottom: 16px;
            span {
                color: var(--text-2);
                text-shadow: var(--text-shadow-1);
                font-size: 40px;
                line-height: 40px;
                font-weight: 900;
                letter-spacing: -2px;
                position: relative;
                &:nth-child(1) {
                    z-index: 3;
                }
                &:nth-child(2) {
                    z-index: 2;
                }
                &:nth-child(3) {
                    z-index: 1;
                }
            }
        }
        .marker {
            color: var(--text-3);
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 16px;
            display: flex;
            gap: 8px;
            align-items: center;
            &::before {
                font-family: icon;
                font-size: 20px;
                color: var(--text-3);
                font-weight: 400;
            }
        }
        p {
            max-width: 640px;
        }
    }
    .directions {
        position: relative;
        margin-bottom: 240px;
        .head {
            position: relative;
            z-index: 1;
            .marker {
                &::before {
                    content: '\f01b';
                }
            }
        }
        .videos {
            .video {
                position: absolute;
                z-index: 0;
                &:first-child {
                    top: -32px;
                    left: 534px;
                }
                &:last-child {
                    top: 433px;
                    left: -542px;
                }
                &::before {
                    position: absolute;
                    inset: 0;
                    content: '';
                    background: linear-gradient(180deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 79.57%, rgba(6, 6, 10, 0.04) 87.9%, rgba(6, 6, 10, 0.53) 94.04%, #06060a 100%), linear-gradient(180deg, #06060a 0%, rgba(6, 6, 10, 0.53) 5.96%, rgba(6, 6, 10, 0.04) 12.1%, rgba(6, 6, 10, 0.00) 20.43%, rgba(6, 6, 10, 0.00) 100%), linear-gradient(270deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 87.46%, rgba(6, 6, 10, 0.04) 91.93%, rgba(6, 6, 10, 0.53) 95.73%, #06060a 100%), linear-gradient(270deg, #06060a 0%, rgba(6, 6, 10, 0.53) 4.27%, rgba(6, 6, 10, 0.04) 8.07%, rgba(6, 6, 10, 0.00) 12.54%, rgba(6, 6, 10, 0.00) 100%);
                }
                video {
                    width: 1200px;
                }
            }
        }
        .items {
            position: relative;
            z-index: 1;
            display: grid;
            gap: 4px;
            border-radius: 24px;
            background: var(--bg-2);
            padding: 4px;
            grid-template-columns: repeat(6, 1fr);
            .item {
                background: var(--bg-1);
                padding: 40px;
                border-radius: 20px;
                grid-column: span 2;
                position: relative;
                overflow: hidden;
                height: 340px;
                border: 1px solid var(--bg-1);
                transition: border 0.8s;
                &:first-child, &:nth-child(2) {
                    grid-column: span 3;
                    height: 320px;
                    img {
                        width: 57.23%;
                    }
                }
                &.ws {
                    &:hover {
                        border: 1px solid var(--ws);
                        button {
                            color: var(--ws);
                            &::after {
                                color: var(--ws);
                            }
                        }
                    }
                    .icon {
                        background: var(--ws-2);
                        &::before {
                            content: '\f00a';
                            color: var(--ws);
                        }
                    }
                }
                &.service {
                    &:hover {
                        border: 1px solid var(--service);
                        button {
                            color: var(--service);
                            &::after {
                                color: var(--service);
                            }
                        }
                    }
                    .icon {
                        background: var(--service-2);
                        &::before {
                            content: '\f01a';
                            color: var(--service);
                        }
                    }
                }
                &.mobile {
                    &:hover {
                        border: 1px solid var(--mobile);
                        button {
                            color: var(--mobile);
                            &::after {
                                color: var(--mobile);
                            }
                        }
                    }
                    .icon {
                        background: var(--mobile-2);
                        &::before {
                            content: '\f016';
                            color: var(--mobile);
                        }
                    }
                }
                &.ux-ui {
                    &:hover {
                        border: 1px solid var(--ux-ui);
                        button {
                            color: var(--ux-ui);
                            &::after {
                                color: var(--ux-ui);
                            }
                        }
                    }
                    .icon {
                        background: var(--ux-ui-2);
                        &::before {
                            content: '\f017';
                            color: var(--ux-ui);
                        }
                    }
                }
                &.ai {
                    &:hover {
                        border: 1px solid var(--ai);
                        button {
                            color: var(--ai);
                            &::after {
                                color: var(--ai);
                            }
                        }
                    }
                    .icon {
                        background: var(--ai-2);
                        &::before {
                            content: '\f018';
                            color: var(--ai);
                        }
                    }
                }
                &:hover {
                    img {
                        filter: grayscale(0);
                        opacity: 1;
                        transform: rotate(-3deg);
                    }
                    button {
                        opacity: 1;
                        right: 40px;
                    }
                }
                h3 {
                    font-size: 24px;
                    font-weight: 900;
                    color: var(--text-2);
                    margin-bottom: 16px;
                    z-index: 1;
                    position: relative;
                }
                p {
                    line-height: 19.6px;
                    font-size: 14px;
                    z-index: 1;
                    position: relative;
                    max-width: 370px;
                }
                img {
                    position: absolute;
                    right: -10px;
                    bottom: -4px;
                    width: 86.29%;
                    max-width: 340px;
                    z-index: 0;
                    filter: grayscale(1);
                    opacity: 0.2;
                    transform: rotate(0);
                    transition: 0.8s;
                }
                button {
                    position: absolute;
                    top: 40px;
                    right: 0;
                    color: var(--text-2);
                    text-transform: uppercase;
                    display: flex;
                    align-items: center;
                    gap: 4px;
                    font-size: 14px;
                    opacity: 0;
                    transition: 0.8s;
                    &::after {
                        font-family: icon;
                        content: '\f014';
                        color: var(--text-2);
                        font-size: 18px;
                        transform: rotate(180deg);
                        transition: 0.8s;
                    }
                }
                .icon {
                    width: 48px;
                    height: 48px;
                    border-radius: 12px;
                    margin-bottom: 16px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    &::before {
                        font-size: 24px;
                        font-family: icon;
                    }
                }
            }
        }
    }
    .websource {
        border-radius: 24px;
        background: var(--bg-2);
        border: var(--border-2);
        padding: 40px 20px 40px 60px;
        position: relative;
        z-index: 2;
        margin-bottom: 240px;
        .logo {
            border-radius: 12px;
            background: var(--bg-2);
            border: var(--border-2);
            padding: 10px;
            display: flex;
            justify-content: center;
            margin: -65px 40px 35px 0;
            box-shadow: 0 10px 18px 0 #06060a;
            img {
                width: 215px;
            }
        }
        .wrapper {
            display: flex;
            gap: 40px;
            .head {
                width: 41%;
                display: flex;
                align-items: flex-start;
                flex-direction: column;
                margin-bottom: 0;
                h2 {
                    line-height: 32px;
                    span {
                        font-size: 32px;
                        line-height: 32px;
                    }
                }
                p {
                    margin-bottom: 72px;
                }
                .marker {
                    &::before {
                        content: '\f015';
                    }
                }
                .buttons {
                    padding: 4px;
                    background: var(--bg-1);
                    border-radius: 20px;
                    .btn {
                        > span {
                            background: var(--bg-2);
                        }
                    }
                }
            }
            .slider {
                position: relative;
                max-width: 55.45%;
                .viewport {
                    overflow: hidden;
                }
                .slides {
                    display: flex;
                    align-items: flex-start;
                    img {
                        display: block;
                        flex: 0 0 100%;
                        min-width: 0;
                        width: 100%;
                        height: auto;
                    }
                }
                .arrows {
                    position: absolute;
                    inset: 0;
                    z-index: 1;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    pointer-events: none;
                    button {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 40px;
                        height: 40px;
                        border-radius: 12px;
                        background: var(--bg-1);
                        pointer-events: auto;
                        transition: 0.2s;
                        &::before {
                            content: '\f014';
                            color: var(--text-2);
                            font-size: 24px;
                            font-family: icon;
                        }
                        &:last-child {
                            &::before {
                                transform: rotate(180deg);
                            }
                        }
                        &:hover {
                            background: var(--bg-3);
                        }
                    }
                }
            }
        }
    }
    .portfolio {
        margin-bottom: 124px;
        position: relative;
        .head {
            position: relative;
            z-index: 1;
            .marker {
                &::before {
                    content: '\f013';
                }
            }
        }
        .items {
            position: relative;
            z-index: 2;
            display: grid;
            gap: 4px;
            border-radius: 24px;
            background: var(--bg-2);
            padding: 4px;
            grid-template-columns: repeat(2, 1fr);
            margin-bottom: 72px;
            .item {
                position: relative;
                border-radius: 20px;
                height: 412px;
                overflow: hidden;
                display: flex;
                align-items: center;
                justify-content: center;
                &:hover {
                    img {
                        width: 110%;
                        height: 110%;
                    }
                    .content {
                        opacity: 1;
                        .top {
                            top: 0;
                            opacity: 1;
                            transition-delay: 0.3s;
                            + p {
                                top: 0;
                                opacity: 1;
                                transition-delay: 0.3s;
                            }
                        }
                        .indicators {
                            top: 0;
                            opacity: 1;
                            transition-delay: 0.3s;
                        }
                        .bottom {
                            top: 0;
                            opacity: 1;
                            transition-delay: 0.3s;
                        }
                    }
                }
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: 0.8s;
                }
                .content {
                    position: absolute;
                    inset: 0;
                    padding: 40px;
                    opacity: 0;
                    transition: opacity 0.8s ease-in-out;
                    &::before {
                        position: absolute;
                        inset: -35px -50px;
                        background: var(--bg-5);
                        filter: blur(10px);
                        backdrop-filter: blur(5px);
                        z-index: 0;
                        content: '';
                    }
                    .top {
                        position: relative;
                        z-index: 1;
                        margin-bottom: 16px;
                        display: flex;
                        justify-content: space-between;
                        top: -50px;
                        transition: 0.8s ease-in-out;
                        opacity: 0;
                        + p {
                            position: relative;
                            z-index: 1;
                            height: 72px;
                            line-height: 24px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            line-clamp: 3;
                            margin-bottom: 24px;
                            top: -50px;
                            opacity: 0;
                            transition: 0.8s ease-in-out;
                        }
                        h3 {
                            font-size: 32px;
                            font-weight: 900;
                            color: var(--text-2);
                        }
                        .year {
                            font-size: 14px;
                            color: var(--text-4);
                        }
                    }
                    .indicators {
                        position: relative;
                        top: -20px;
                        z-index: 1;
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 50px;
                        margin-bottom: 34px;
                        opacity: 0;
                        transition: 0.8s ease-in-out;
                        h4 {
                            font-size: 50px;
                            font-weight: 400;
                            letter-spacing: -5px;
                            color: var(--text-3);
                            line-height: 44px;
                        }
                        p {
                            margin-bottom: 0;
                            font-size: 12px;
                            line-height: normal;
                            height: auto;
                        }
                    }
                    .bottom {
                        position: relative;
                        top: 50px;
                        z-index: 1;
                        display: flex;
                        align-items: flex-end;
                        justify-content: space-between;
                        opacity: 0;
                        transition: 0.8s ease-in-out;
                        .tags {
                            display: flex;
                            gap: 8px;
                            .tag {
                                border-radius: 8px;
                                background: var(--bg-2);
                                padding: 6px 12px;
                            }
                        }
                        .btn {
                            > .arrow {
                                &::after {
                                    transition: width 0.6s ease;
                                }
                                &::before {
                                    transition: transform 0.6s ease;
                                }
                            }
                        }
                    }
                }
            }
        }
        .buttons {
            display: flex;
            justify-content: center;
            margin-bottom: 120px;
        }
        .videos {
            .video {
                position: absolute;
                z-index: 0;
                &:first-child {
                    top: -32px;
                    left: 534px;
                }
                &:last-child {
                    bottom: -140px;
                    left: -542px;
                }
                &::before {
                    position: absolute;
                    inset: 0;
                    content: '';
                    background: linear-gradient(180deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 79.57%, rgba(6, 6, 10, 0.04) 87.9%, rgba(6, 6, 10, 0.53) 94.04%, #06060a 100%), linear-gradient(180deg, #06060a 0%, rgba(6, 6, 10, 0.53) 5.96%, rgba(6, 6, 10, 0.04) 12.1%, rgba(6, 6, 10, 0.00) 20.43%, rgba(6, 6, 10, 0.00) 100%), linear-gradient(270deg, rgba(6, 6, 10, 0.00) 0%, rgba(6, 6, 10, 0.00) 87.46%, rgba(6, 6, 10, 0.04) 91.93%, rgba(6, 6, 10, 0.53) 95.73%, #06060a 100%), linear-gradient(270deg, #06060a 0%, rgba(6, 6, 10, 0.53) 4.27%, rgba(6, 6, 10, 0.04) 8.07%, rgba(6, 6, 10, 0.00) 12.54%, rgba(6, 6, 10, 0.00) 100%);
                }
                video {
                    width: 1200px;
                }
            }
        }
    }
    .technology {
        position: relative;
        z-index: 1;
        margin-bottom: 110px;
        .head {
            .marker {
                &::before {
                    content: '\f008';
                }
            }
        }
        .items {
            display: grid;
            gap: 4px;
            border-radius: 24px;
            background: var(--bg-2);
            padding: 4px;
            grid-template-columns: repeat(3, 1fr);
            .item {
                padding: 30px;
                background: var(--bg-1);
                border-radius: 24px;
                display: flex;
                flex-direction: column;
                gap: 20px;
                justify-content: space-between;
                min-height: 220px;
                position: relative;
                overflow: hidden;
                &.ws {
                    background-image: url(../images/ws.svg);
                    background-position: top right;
                    background-repeat: no-repeat;
                    background-size: 191px;
                    h3 {
                        &::before {
                            content: '\f00a';
                        }
                    }
                    .hover {
                        z-index: 0;
                        width: 404px;
                        height: 207px;
                        filter: blur(40px);
                        opacity: 1;
                        position: absolute;
                        left: -26px;
                        top: calc(100% - 75px);
                        span {
                            position: absolute;
                            width: 158px;
                            height: 158px;
                            background: linear-gradient(90deg, #2563eb 0%, #1d4eb8 100%);
                            border-radius: 50%;
                            &:first-child {
                                left: 0;
                                top: 0;
                                z-index: 1;
                                animation: hover-ws 4s linear infinite alternate;
                            }
                            &:nth-child(2) {
                                left: 31px;
                                top: 1px;
                                width: 295px;
                                height: 197px;
                                background: #77daee;
                            }
                            &:nth-child(3) {
                                right: 0;
                                top: 0;
                                width: 185px;
                                height: 185px;
                                animation: hover-ws-2 3s ease-in infinite alternate;
                            }
                        }
                    }
                }
                h3 {
                    color: var(--text-2);
                    font-size: 18px;
                    font-weight: 700;
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    &::before {
                        font-weight: 400;
                        width: 40px;
                        height: 40px;
                        border-radius: 13px;
                        font-family: icon;
                        content: '\f00f';
                        background: var(--bg-4);
                        font-size: 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        color: var(--text-3);
                    }
                }
                .tags {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 4px;
                    z-index: 1;
                    .tag {
                        background: var(--bg-1);
                        border-radius: 8px;
                        padding: 6px 10px;
                        font-size: 14px;
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        position: relative;
                        &::before {
                            width: 16px;
                            height: 16px;
                            border-radius: 4px;
                            background: rgba(5, 105, 254, 0.40);
                            content: '';
                        }
                        &::after {
                            width: 8px;
                            height: 8px;
                            content: '';
                            background: var(--bg-3);
                            border-radius: 2px;
                            position: absolute;
                            left: 14px;
                        }
                    }
                }
            }
        }
    }
    .about {
        background: url(../images/bg-about.webp) 1920px no-repeat;
        background-position: center top;
        padding: 356px 0 0;
        margin-bottom: 120px;
        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            .head {
                max-width: 885px;
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-bottom: 40px;
                h2 {
                    text-align: center;
                    line-height: 44px;
                    margin-bottom: 25px;
                    span {
                        font-size: 54px;
                    }
                }
                p {
                    text-align: center;
                    font-size: 24px;
                    line-height: 26px;
                    font-weight: 500;
                    max-width: unset;
                }
                .marker {
                    border-radius: 6px;
                    border: var(--border-3);
                    background: var(--bg-1);
                    box-shadow: var(--shadow-1);
                    margin-bottom: 16px;
                    padding: 6px 20px;
                    color: var(--text-2);
                    font-size: 13px;
                    font-weight: 700;
                    &::before {
                        content: '\f006';
                    }
                }
            }
            .items {
                display: grid;
                gap: 4px;
                border-radius: 24px;
                background: var(--bg-2);
                padding: 4px;
                grid-template-columns: repeat(4, 1fr);
                .item {
                    padding: 32px;
                    background: var(--bg-1);
                    border-radius: 24px;
                    h3 {
                        font-size: 40px;
                        color: var(--text-3);
                        margin-bottom: 8px;
                        span {
                            font-size: 40px;
                            color: var(--text-3);
                        }
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
    }
}
@keyframes hover-ws {
    from {
        left: 0;
    }
    to {
        left: 100px;
    }
}
@keyframes hover-ws-2 {
    from {
        right: 0;
    }
    to {
        right: -100px;
    }
}