* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background:
        radial-gradient(circle at 20% 20%, rgba(87, 74, 255, .18), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(124, 79, 255, .18), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(78, 40, 255, .12), transparent 50%),
        #05060D;

    color: white;

    overflow-x: hidden;
}

h1, h2, h3, .title, .about-title {
    font-family: "SpaceGrotesk", sans-serif;
    font-weight: 600;
}

.swiper-wrapper{
    margin-bottom: 10px;
}

.swiper-pagination-bullet{
    background:  #6b6b6b !important;
}

.swiper-pagination-bullet-active{
    background: #6d64ff !important;
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99;

    background: radial-gradient(
        circle,
        rgba(110,100,255,.15),
        transparent 70%
    );

    filter: blur(60px);

    transform: translate(-50%, -50%);
}

.particles {

    position: fixed;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;

}

.particle {

    position: absolute;

    border-radius: 50%;

    background: rgba(110, 100, 255, 0.35);

    box-shadow:
        0 0 10px rgba(110, 100, 255, 0.5),
        0 0 20px rgba(110, 100, 255, 0.3);

    animation: float linear infinite;

}

@keyframes float {

    from {

        transform: translateY(100vh);

    }

    to {

        transform: translateY(-120px);

    }

}

.reveal{

    opacity:0;

    transform:translateY(80px);

    transition:

        opacity .9s,

        transform .9s;

}

.reveal.show{

    opacity:1;

    transform:none;

}


.noise {

    position: fixed;

    inset: 0;

    opacity: .03;

    pointer-events: none;

    background-image:
        repeating-radial-gradient(circle at 0 0,
            transparent 0,
            #fff 1px,
            transparent 2px);

    background-size: 6px 6px;

    z-index: 999;
}

.container {

    width: min(1320px, calc(100% - 80px));

    margin: auto;
}

/* ===================================== */

.header {

position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 999;

    backdrop-filter: blur(20px);

    background: rgba(4,7,12,.65);

    border-bottom: 1px solid rgba(255,255,255,.06);

}

.header .container {

    height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    text-decoration: none;

    color: white;

    font-size: 42px;

    font-weight: 900;

    z-index: 1001;

}

.logo span {

    color: #5a63ff;

}

.nav {

    display: flex;

    align-items: center;

    gap: 48px;

}

.nav a {

    text-decoration: none;

    color: rgba(255,255,255,.75);

    transition: .3s;

}

.nav a:hover {

    color: white;

}

.btn-outline {

    width: 160px;

    height: 54px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: white;

    border: 1px solid rgba(255,255,255,.15);

    transition: .3s;

}

.btn-outline:hover {

    background: rgba(95,91,255,.15);

    border-color: #5a63ff;

}

.mobile-btn {

    display: none;

}

/* ---------- BURGER ---------- */

.burger {

    display: none;

    width: 42px;

    height: 42px;

    background: transparent;

    border: 0;

    cursor: pointer;

    padding: 0;

    position: relative;

    z-index: 1001;

}

.burger span {

    position: absolute;

    left: 6px;

    width: 30px;

    height: 2px;

    background: white;

    transition: .3s;

}

.burger span:nth-child(1) {

    top: 11px;

}

.burger span:nth-child(2) {

    top: 20px;

}

.burger span:nth-child(3) {

    top: 29px;

}

.burger.active span:nth-child(1) {

    transform: rotate(45deg);

    top: 20px;

}

.burger.active span:nth-child(2) {

    opacity: 0;

}

.burger.active span:nth-child(3) {

    transform: rotate(-45deg);

    top: 20px;

}

/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .desktop-btn {

        display: none;

    }

    .burger {

        display: block;

    }

    .nav {

        position: fixed;

        top: 0;

        right: -100%;

        width: min(360px, 100%);

        height: 100vh;

        background: rgba(6,10,18,.98);

        backdrop-filter: blur(30px);

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 36px;

        transition: .35s ease;

    }

    .nav.active {

        right: 0;

    }

    .nav a {

        font-size: 26px;

    }

    .mobile-btn {

        display: flex;

        margin-top: 20px;

    }

}


/* ===================================== */

.header-right{
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero {

    overflow: hidden;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 100px;

    position: relative;
}

.hero img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform .3s linear;
}

.lang{
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 4px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    backdrop-filter: blur(10px);
}

.lang span{

    min-width: 46px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;

    color: rgba(255,255,255,.6);

    cursor: pointer;

    transition: all .25s ease;
}

.lang span:hover{

    color: #fff;

    background: rgba(255,255,255,.08);

    transform: translateY(-2px);
}

.lang span.active{

    color: #fff;

    background: linear-gradient(
        135deg,
        #5b67ff,
        #9b65ff
    );

    box-shadow:
        0 0 20px rgba(107,100,255,.35),
        0 0 40px rgba(107,100,255,.15);
}

.lang span.active:hover{
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px){

    .lang{
        margin-right: 10px;
    }

    .lang span{
        min-width: 42px;
        height: 34px;
        font-size: 12px;
    }
}


/* .hero::before {

    content: "";

    position: absolute;

    width: 700px;

    height: 700px;

    left: -250px;

    top: 80px;

    border-radius: 50%;

    border: 1px solid rgba(110, 108, 255, .08);
}

.hero::after {

    content: "";

    position: absolute;

    width: 900px;

    height: 900px;

    right: -500px;

    top: -150px;

    border-radius: 50%;

    border: 1px solid rgba(110, 108, 255, .08);
} */

.hero-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.hello {

    font-size: 15px;

    color: #b8b8d8;

    margin-bottom: 28px;
}

.hero h1 {

    font-size: clamp(72px, 7vw, 110px);

    line-height: .92;

    font-weight: 900;

    margin-bottom: 30px;
}

.hero p {

    max-width: 520px;
    width: 100%;

    color: rgba(255, 255, 255, .72);

    line-height: 1.4;

    font-size: 22px;
}

.hero-buttons {

    display: flex;

    gap: 24px;

    margin-top: 50px;
}

.btn-main {

    width: 250px;

    height: 68px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            #5968ff,
            #8f5eff);

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: white;

    font-weight: 700;

    box-shadow:
        0 0 50px rgba(104, 95, 255, .5);

    transition: .4s;
}

.btn-main:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 70px rgba(104, 95, 255, .65);
}

.btn-text {

    display: flex;

    align-items: center;

    text-decoration: none;

    color: white;

    font-weight: 500;
}
/*=============================
=            HERO 3D          =
=============================*/

.hero-right {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 760px;
}

.cube-glow {

    position: absolute;

    width: 650px;

    height: 650px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(120, 88, 255, .55),
            transparent 70%);

    filter: blur(80px);

    animation: pulse 5s ease-in-out infinite;
}

.cube {

    position: relative;

    width: 380px;

    height: 380px;

    border-radius: 24px;

    transform:
        rotate(-30deg)
        rotateX(18deg)
        rotateY(18deg);

    background:

        linear-gradient(
            135deg,

            #1f2231 0%,

            #383d53 40%,

            #171a25 100%
        );

    box-shadow:

        0 80px 120px rgba(0,0,0,.6),

        0 0 80px rgba(92,76,255,.25);
}

.cube::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    background:

        linear-gradient(
            180deg,

            rgba(255,255,255,.12),

            transparent 35%
        );

}

.cube::after{

    content:"";

    position:absolute;

    inset:-1px;

    border-radius:24px;

    border:1px solid rgba(255,255,255,.08);
}

.crack{

    position:absolute;

    width:22px;

    height:120%;

    left:52%;

    top:-10%;

    transform:rotate(12deg);

    background:

        linear-gradient(

            transparent,

            #9f81ff,

            #6c5cff,

            #c7b3ff,

            transparent

        );

    filter:blur(2px);

    box-shadow:

        0 0 30px #816dff,

        0 0 60px #816dff,

        0 0 100px #5c5cff;
}

@keyframes pulse{

    0%{

        transform:scale(1);

        opacity:.6;

    }

    50%{

        transform:scale(1.08);

        opacity:1;

    }

    100%{

        transform:scale(1);

        opacity:.6;

    }

}

/*=============================
=            ABOUT            =
=============================*/

.about{
    position:relative;
    padding:120px 0;
}

.about > img{
    position: absolute;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.about-grid{

    display:grid;

    grid-template-columns:480px 1fr;

    gap:90px;

    align-items:center;
}

.photo{
    height:560px;
    max-width: 480px;
    border-radius:34px;
    background:
        linear-gradient(
            180deg,
            #282d45,
            #11141f);
    border: 3px solid rgb(43 39 117 / 59%);
    position:relative;
    overflow:hidden;
}

/* .photo::before{
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    right: -100px;
    top: -80px;
    background: radial-gradient(circle, rgba(103, 84, 255, .8), transparent 70%);
    filter: blur(50px);
} */

.photo img{
    width:480px;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
}

.about span{

    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

.about h2{

    font-size:58px;

    line-height:1.12;

    margin-top:18px;

    margin-bottom:30px;
}

.about p{

    color:rgba(255,255,255,.68);

    font-size:20px;

    line-height:1.8;
}

.stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

    margin-top:45px;
}

.stats .stat{

    background:

        rgba(255,255,255,.03);

    border:

        1px solid rgba(255,255,255,.06);

    border-radius:18px;

    padding:30px;
}

.stats strong{

    display:block;

    font-size:42px;

    color:#8b73ff;
}

.stats small{

    color:#999eb8;
}

/*=============================
=          SERVICES           =
=============================*/

.services{

    padding:110px 0;
}

.services h2{

    font-size:52px;
    
}

.services-intro{
    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:50px;

}

.services-intro a{
    text-decoration: none;
    color: rgb(74 91 201);
    transition: .35s;
    font-size: 18px;
    font-weight: 600;
}

.services-intro a:hover{
    transform: translateY(-5px);
    border-color: #6d64ff;
    box-shadow: 0 25px 70px rgba(90, 82, 255, .2);
}

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;
}

.card{

    padding:38px;

    border-radius:26px;

    background: linear-gradient(180deg, rgb(5 9 25), rgb(8 13 31));

    border: 1px solid rgba(255,255,255,.05);

    transition:.35s;
}

.card:hover{

    transform:translateY(-10px);

    border-color:#6d64ff;

    box-shadow:

        0 25px 70px rgba(90,82,255,.2);
}

.icon{

    width:74px;

    height:74px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    font-weight:800;

    margin-bottom:24px;
}

.flutter{

    background:#4bbcffba;
}

.card .icon img{

    height: 44px;
}

.laravel{

    background:#ff7a73;
}

.wp{

    background:#5f8eff;
}

.bitrix{

    background:#ebebeb;
}

.card h3{

    font-size:30px;

    margin-bottom:16px;
}

.card p{

    color:#a4a8c1;

    line-height:1.8;
}

/*=============================
=          PROJECTS           =
=============================*/
.projectsSwiper {
    overflow: hidden;
    padding: 20px 0 70px;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

.project {
    border-radius: 28px;
    overflow: hidden;
    /* background: #111827; */
    border: 1px solid rgba(255, 255, 255, .05);
    background: linear-gradient(180deg, rgb(5 9 25), rgb(8 13 31));
    height: 400px;
    transition:
        transform .35s ease,
        box-shadow .35s ease;

    will-change: transform;
}

.projects-intro h2{

    font-size: 52px;

}

.projectsSwiper{
    padding: 20px 0 !important;
}

.project:hover {

    transform: translateY(-8px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.35),
        0 10px 40px rgba(108,99,255,.18);

}

.projects-intro{
    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:50px;

}

.projects-intro a{
    text-decoration: none;
    color: rgb(74 91 201);
    transition: .35s;
    font-size: 18px;
    font-weight: 600;
}

.projects-intro a:hover{
    transform: translateY(-5px);
    border-color: #6d64ff;
    box-shadow: 0 25px 70px rgba(90, 82, 255, .2);
}

.preview {
    height: 290px;
    overflow: hidden;
}

.info{
    padding: 20px;
}

.info h3{
    font-size: 20px;
    margin-bottom: 10px;
}

.info span{
    color: #a4a8c1;
    line-height: 1.3;
}

.preview img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .6s ease;

}

.project:hover .preview img {

    transform: scale(1.08);

}

/*=========================================
=             REVIEWS                     =
=========================================*/

.reviews {

    padding: 120px 0;
}

.reviews h2 {

    font-size: 52px;
    margin-bottom: 10px;
    
}

.reviewsSwiper{
    padding: 20px 0 !important;
}

.reviews-subtitle {
    color: rgba(255, 255, 255, .68);
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 45px;
}

.review-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.review {

    position: relative;

    padding: 42px;

    border-radius: 24px;

    background:

        linear-gradient(
            180deg,
            rgba(20,24,38,.96),
            rgba(8,10,18,.96)
        );

    border: 1px solid rgba(255,255,255,.05);

    line-height: 1.9;

    color: #d7d8e4;

    transition: .3s;
}

.review:hover {

    transform: translateY(-8px);

    border-color: #7269ff;
}

.review::before {

    content: "❝";
    position: relative;
    left: 0;
    top: 0;
    font-size: 54px;
    color: #8a78ff;
    opacity: .6;
    line-height: 1;
    height: 30px;
    display: flex;
}

.review-text {
    margin-top: 10px;
    line-height: 1.4;
    color: #a4a8c1;
}

.review-author{
    margin-top: 20px;
}

.review-author span{
    color: #8a78ff;
}



/*=========================================
=            CONTACT                      =
=========================================*/

.contact {

    position: relative;

    padding: 130px 0 160px;
}

.contact > img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.contact-description{

    margin-top:20px;

    color:#9ea5bf;

    line-height:1.7;

    max-width:340px;

    margin-bottom:40px;

}

.contact-list{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

.contact-card{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    border-radius:22px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-6px);

    border-color:#6d64ff;

    background:rgba(255,255,255,.05);

    box-shadow:
        0 20px 60px rgba(90,82,255,.18);

}

.contact-card-icon{

    width:64px;

    height:64px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#5b67ff,#9963ff);

    font-size:28px;

    flex-shrink:0;

    

}

.contact-card-icon svg{
    fill: #cbb4ff;
}

.contact-card-icon img{

    width:30px;

    height:30px;

}

.contact-card small{

    display:block;

    color:#8c92ae;

    margin:5px 0;

    font-size:14px;

}

.contact-card strong{

    color:#fff;

    font-size:14px;

    font-weight:600;

}

.contact-grid {

    display: grid;

    grid-template-columns: 420px 1fr;

    gap: 60px;

    align-items: start;
}

.contact h2 {

    font-size: 56px;

    margin-bottom: 25px;

    line-height: 1.1;
}

.contact p {

    margin-top: 18px;

    color: #afb4cb;

    font-size: 18px;

    width: fit-content;
}

.honeypot{
    display: none;
}

.hidden {
    display: none !important;
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
}

.contact  a{
    text-decoration: none;
    color: rgb(74 91 201);
    transition: .35s;
    font-size: 18px;
    font-weight: 600;
    display:block;
    width: fit-content;
}

.contact a:hover{
    transform: translateY(-5px);
    border-color: #6d64ff;
    box-shadow: 0 25px 70px rgba(90, 82, 255, .2);
}

form {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

input,
textarea {

    width: 100%;

    background:

        rgba(255,255,255,.03);

    border:

        1px solid rgba(255,255,255,.06);

    border-radius: 16px;

    color: white;

    padding: 18px 22px;

    font-size: 17px;

    outline: none;

    transition: .3s;
}

input:focus,
textarea:focus {

    border-color: #6f67ff;

    box-shadow:

        0 0 20px rgba(108,95,255,.18);
}

textarea {

    grid-column: span 2;

    height: 190px;

    resize: none;
}

button {

    width: 320px;

    height: 68px;

    border: none;

    border-radius: 18px;

    cursor: pointer;

    color: white;

    font-size: 17px;

    font-weight: 700;

    background:

        linear-gradient(
            135deg,
            #5b67ff,
            #9b65ff
        );

    box-shadow:

        0 0 45px rgba(97,91,255,.35);

    transition: .35s;
}

button:hover {

    transform: translateY(-3px);

    box-shadow:

        0 20px 60px rgba(97,91,255,.45);
}

.footer{
    padding: 20px;
    text-align: center;
}



/*=========================================
=            ADAPTIVE                     =
=========================================*/

@media (max-width: 1200px) {

    .hero-grid,
    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;
    }

    .cards,
    .project-grid,
    .review-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .hero-right {

        min-height: 500px;
    }

    .cube {

        width: 280px;
        height: 280px;
    }

    nav {

        gap: 25px;
    }
}

@media (max-width: 768px) {

    .container {

        width: calc(100% - 40px);
    }

    nav {

        display: none;
    }

    .hero {

        padding-top: 140px;
    }

    .hero h1 {

        font-size: 62px;
    }

    .hero p {

        font-size: 18px;
    }

    .hero-buttons {

        flex-direction: column;
    }

    .cards,
    .project-grid,
    .review-grid,
    .stats {

        grid-template-columns: 1fr;
    }

    form {

        grid-template-columns: 1fr;
    }

    textarea {

        grid-column: auto;
    }

    button {

        width: 100%;
    }

    .about h2,
    .projects h2,
    .services h2,
    .reviews h2,
    .contact h2 {

        font-size: 38px;
    }

    .cube {

        width: 220px;
        height: 220px;
    }

    .photo {

        height: 420px;
    }

    .reviews {
        padding: 70px 0;
    }
}

@media (max-width: 390px) {
    .photo img {
        position: absolute;
        left: -60px;
    }
    .contact a {
        width: 100%;
    }
}