/* =========================================================
   LGS SOFTWARE
   ========================================================= */

:root{

    --background:#020202;

    --background-soft:#060606;

    --card:#080808;

    --card-hover:#0d0d0d;

    --border:#1d1d1d;

    --border-light:#292929;

    --white:#ffffff;

    --text:#f5f5f5;

    --muted:#999999;

    --muted-light:#b9b9b9;

    --purple:#6868ff;

    --purple-soft:rgba(104,104,255,.18);

    --radius-small:18px;

    --radius:26px;

    --radius-large:34px;

    --container:88%;

    --navbar-height:92px;

}


/* =========================================================
   RESET
   ========================================================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

    min-height:100vh;

    overflow-x:hidden;

    background:var(--background);

    color:var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing:antialiased;

}


body.menu-open{

    overflow:hidden;

}


button,
input,
textarea,
select{

    font:inherit;

}


button{

    color:inherit;

}


img,
video{

    max-width:100%;

}


a{

    color:inherit;

}


::selection{

    background:#fff;

    color:#000;

}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar{

    width:8px;

}


::-webkit-scrollbar-track{

    background:#020202;

}


::-webkit-scrollbar-thumb{

    background:#292929;

    border-radius:50px;

}


::-webkit-scrollbar-thumb:hover{

    background:#454545;

}


/* =========================================================
   BACKGROUND
   ========================================================= */

.bg-grid{

    position:fixed;

    inset:-100px 0 0;

    z-index:-10;

    pointer-events:none;

    background:

        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),

        radial-gradient(
            circle at 18% 12%,
            rgba(255,255,255,.10),
            transparent 24%
        ),

        radial-gradient(
            circle at 80% 28%,
            rgba(80,80,255,.15),
            transparent 27%
        ),

        radial-gradient(
            circle at 40% 75%,
            rgba(80,80,255,.07),
            transparent 22%
        );

    background-size:
        45px 45px,
        45px 45px,
        100% 100%,
        100% 100%,
        100% 100%;

    will-change:transform;

}


/* =========================================================
   SCROLL PROGRESS
   ========================================================= */

.scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:2px;

    z-index:9999;

    pointer-events:none;

    background:#fff;

    box-shadow:

        0 0 10px rgba(255,255,255,.8),

        0 0 25px rgba(255,255,255,.25);

}


/* =========================================================
   CONTAINER
   ========================================================= */

section,
footer{

    width:var(--container);

    max-width:1600px;

    margin-left:auto;

    margin-right:auto;

}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar{

    width:var(--container);

    max-width:1600px;

    min-height:76px;

    margin:22px auto 0;

    padding:12px 16px 12px 18px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    position:sticky;

    top:16px;

    z-index:1000;

    border:1px solid var(--border);

    border-radius:26px;

    background:rgba(5,5,5,.78);

    backdrop-filter:blur(22px);

    -webkit-backdrop-filter:blur(22px);

    transition:

        border-color .3s ease,

        background .3s ease,

        box-shadow .3s ease;

}


.navbar.scrolled{

    background:rgba(4,4,4,.94);

    border-color:#292929;

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);

}


/* =========================================================
   BRAND
   ========================================================= */

.brand{

    min-width:max-content;

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

}


.brand img{

    width:48px;

    height:48px;

    object-fit:contain;

}


.brand strong{

    display:block;

    font-size:20px;

    line-height:1;

    font-weight:900;

    letter-spacing:2px;

}


.brand span{

    display:block;

    margin-top:5px;

    color:#7e7e7e;

    font-size:9px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}


/* =========================================================
   MENU
   ========================================================= */

nav{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:30px;

}


nav a{

    position:relative;

    padding:8px 0;

    color:#929292;

    text-decoration:none;

    font-size:13px;

    font-weight:800;

    transition:color .25s ease;

}


nav a::after{

    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:2px;

    border-radius:10px;

    background:#fff;

    transform:scaleX(0);

    transform-origin:center;

    transition:transform .25s ease;

}


nav a:hover,
nav a.active{

    color:#fff;

}


nav a.active::after{

    transform:scaleX(1);

}


/* =========================================================
   BUTTONS
   ========================================================= */

.nav-btn,
.btn,
.project-btn,
.contact-actions a{

    border:0;

    outline:0;

    text-decoration:none;

    cursor:pointer;

    font-weight:850;

}


.nav-btn{

    min-width:max-content;

    padding:13px 22px;

    border-radius:40px;

    background:#fff;

    color:#000;

    font-size:13px;

    transition:

        transform .25s ease,

        box-shadow .25s ease;

}


.nav-btn:hover{

    box-shadow:
        0 12px 40px rgba(255,255,255,.16);

}


/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    flex-shrink:0;

    border:1px solid #292929;

    border-radius:50%;

    background:#090909;

    cursor:pointer;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:5px;

    position:relative;

    z-index:1200;

}


.menu-toggle span{

    width:19px;

    height:2px;

    background:#fff;

    border-radius:10px;

    transition:

        transform .3s ease,

        opacity .3s ease;

}


.menu-toggle.active span:nth-child(1){

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2){

    opacity:0;

}


.menu-toggle.active span:nth-child(3){

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* =========================================================
   HERO
   ========================================================= */

.hero{

    min-height:calc(100vh - 110px);

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(450px,.92fr);

    align-items:center;

    gap:80px;

    padding:65px 0 90px;

}


.hero-text{

    max-width:800px;

}


.tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#9b9b9b;

    font-size:11px;

    line-height:1;

    font-weight:900;

    letter-spacing:4px;

}


.tag::before{

    content:"";

    width:22px;

    height:1px;

    background:#707070;

}


.hero h1{

    max-width:800px;

    margin:25px 0;

    font-size:clamp(
        55px,
        5.4vw,
        92px
    );

    line-height:.94;

    letter-spacing:-5px;

    font-weight:900;

}


.hero h1 span,
.section-title h2 span,
.contact h2 span{

    color:#676767;

}


.hero p{

    max-width:700px;

    color:#aaa;

    font-size:19px;

    line-height:1.7;

}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.buttons{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:14px;

    margin-top:35px;

}


.btn{

    min-height:55px;

    padding:0 28px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    border-radius:50px;

    transition:

        transform .25s ease,

        border-color .25s ease,

        background .25s ease,

        box-shadow .25s ease;

}


.btn-primary{

    background:#fff;

    color:#000;

}


.btn-primary:hover{

    box-shadow:
        0 18px 55px rgba(255,255,255,.15);

}


.btn-secondary{

    border:1px solid #303030;

    background:#080808;

    color:#fff;

}


.btn-secondary:hover{

    border-color:#555;

    background:#0d0d0d;

}


.button-arrow{

    font-size:18px;

}


/* =========================================================
   NUMBERS
   ========================================================= */

.numbers{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:45px;

}


.numbers > div{

    min-width:130px;

    padding:18px 20px;

    border:1px solid var(--border);

    border-radius:20px;

    background:rgba(7,7,7,.75);

    backdrop-filter:blur(10px);

}


.numbers strong{

    display:block;

    margin-bottom:6px;

    font-size:25px;

    font-weight:900;

}


.numbers span{

    color:#7d7d7d;

    font-size:12px;

    font-weight:600;

}


/* =========================================================
   HERO PREVIEW
   ========================================================= */

.hero-preview{

    position:relative;

    perspective:1200px;

}


.browser{

    overflow:hidden;

    border:1px solid #262626;

    border-radius:30px;

    background:#080808;

    box-shadow:

        0 50px 120px rgba(0,0,0,.5),

        0 0 80px rgba(255,255,255,.055);

    transition:
        transform .25s ease;

    will-change:transform;

}


.browser-top{

    height:55px;

    padding:0 20px;

    display:flex;

    align-items:center;

    gap:20px;

    border-bottom:1px solid #202020;

}


.browser-dots{

    display:flex;

    gap:7px;

}


.browser-dots span{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#fff;

    opacity:.25;

}


.browser-address{

    flex:1;

    max-width:260px;

    height:28px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid #1d1d1d;

    border-radius:20px;

    background:#0c0c0c;

    color:#555;

    font-size:10px;

    letter-spacing:1px;

}


.screen{

    height:440px;

    padding:24px;

    display:grid;

    grid-template-columns:86px 1fr;

    gap:20px;

}


/* =========================================================
   FAKE DASHBOARD
   ========================================================= */

.dash-sidebar{

    padding:17px 12px;

    border-radius:20px;

    background:#101010;

}


.dash-logo{

    width:34px;

    height:34px;

    margin:auto;

    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            #fff,
            #777
        );

}


.dash-menu{

    margin-top:35px;

    display:grid;

    gap:15px;

}


.dash-menu span{

    height:8px;

    border-radius:10px;

    background:#242424;

}


.dash-menu span:first-child{

    background:#454545;

}


.dash-main{

    padding:24px;

    border-radius:20px;

    background:#101010;

}


.dash-header{

    display:flex;

    align-items:flex-start;

    justify-content:space-between;

    gap:20px;

    margin-bottom:25px;

}


.dash-line{

    width:150px;

    height:13px;

    border-radius:20px;

    background:#2b2b2b;

}


.dash-line.small{

    width:90px;

    height:7px;

    margin-top:10px;

    background:#202020;

}


.dash-avatar{

    width:35px;

    height:35px;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #414141,
            #1b1b1b
        );

}


.dash-cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:20px;

}


.dash-cards > div{

    min-width:0;

    height:95px;

    padding:16px;

    border:1px solid #222;

    border-radius:16px;

    background:
        linear-gradient(
            145deg,
            #181818,
            #101010
        );

}


.dash-cards small{

    display:block;

    color:#606060;

    font-size:9px;

}


.dash-cards strong{

    display:block;

    margin-top:12px;

    font-size:15px;

}


.dash-chart{

    height:165px;

    padding:20px;

    display:flex;

    align-items:flex-end;

    gap:9px;

    border:1px solid #1b1b1b;

    border-radius:18px;

    background:
        linear-gradient(
            180deg,
            #111,
            #0a0a0a
        );

}


.dash-chart span{

    flex:1;

    min-width:5px;

    border-radius:10px 10px 3px 3px;

    background:
        linear-gradient(
            180deg,
            #525252,
            #202020
        );

}


.dash-chart span:nth-child(1){

    height:35%;

}


.dash-chart span:nth-child(2){

    height:55%;

}


.dash-chart span:nth-child(3){

    height:42%;

}


.dash-chart span:nth-child(4){

    height:75%;

}


.dash-chart span:nth-child(5){

    height:58%;

}


.dash-chart span:nth-child(6){

    height:85%;

}


.dash-chart span:nth-child(7){

    height:68%;

}


/* =========================================================
   FLOATING CARDS
   ========================================================= */

.float-card{

    position:absolute;

    z-index:5;

    min-width:160px;

    padding:15px 18px;

    display:flex;

    align-items:center;

    gap:12px;

    border:1px solid rgba(255,255,255,.8);

    border-radius:18px;

    background:rgba(255,255,255,.96);

    color:#000;

    box-shadow:
        0 20px 60px rgba(0,0,0,.35);

    transition:
        transform .25s ease;

    will-change:transform;

}


.float-card strong{

    display:block;

    font-size:13px;

}


.float-card span{

    display:block;

    margin-top:3px;

    color:#555;

    font-size:10px;

}


.card-one{

    top:78px;

    left:-43px;

}


.card-two{

    right:-38px;

    bottom:55px;

}


.status-icon{

    width:11px;

    height:11px;

    border-radius:50%;

    background:#00bc73;

    box-shadow:
        0 0 15px rgba(0,188,115,.5);

}


.shield-icon{

    width:27px;

    height:27px;

    display:grid;

    place-items:center;

    border-radius:9px;

    background:#111;

    color:#fff;

    font-size:11px;

}


/* =========================================================
   SECTIONS
   ========================================================= */

.demo,
.projects,
.gallery,
.services,
.stack,
.contact{

    padding:120px 0;

}


.section-title{

    max-width:950px;

    margin-bottom:55px;

}


.section-title h2,
.contact h2{

    margin:22px 0;

    font-size:clamp(
        48px,
        5vw,
        80px
    );

    line-height:.98;

    letter-spacing:-4px;

    font-weight:900;

}


.section-title p,
.contact > p{

    max-width:700px;

    color:#9e9e9e;

    font-size:18px;

    line-height:1.7;

}


/* =========================================================
   VIDEO GRID
   ========================================================= */

.video-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}


.video-card{

    position:relative;

    overflow:hidden;

    border:1px solid var(--border);

    border-radius:30px;

    background:#080808;

    transition:
        border-color .3s ease;

}


.video-card:hover{

    border-color:#343434;

}


.video-wrapper{

    position:relative;

    overflow:hidden;

    height:360px;

    background:#111;

}


.video-wrapper video{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}


.video-wrapper::after{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.38),
            transparent 40%
        );

}


.video-badge{

    position:absolute;

    z-index:3;

    top:20px;

    right:20px;

    padding:8px 12px;

    border:1px solid rgba(255,255,255,.14);

    border-radius:30px;

    background:rgba(0,0,0,.58);

    backdrop-filter:blur(10px);

    color:#ddd;

    font-size:9px;

    font-weight:900;

    letter-spacing:2px;

}


.video-info{

    padding:28px;

}


.video-info > span,
.project-info > span{

    color:#767676;

    font-size:10px;

    font-weight:900;

    letter-spacing:3px;

}


.video-info h3{

    margin:10px 0;

    font-size:29px;

    letter-spacing:-1px;

}


.video-info p{

    color:#858585;

    line-height:1.6;

}


/* =========================================================
   PROJECTS
   ========================================================= */

.project-list{

    display:grid;

    gap:110px;

}


.project{

    display:grid;

    grid-template-columns:
        minmax(0,1.08fr)
        minmax(320px,.92fr);

    align-items:center;

    gap:65px;

}


.project.reverse .project-media{

    order:2;

}


.project-media{

    width:100%;

    min-height:460px;

    position:relative;

    overflow:hidden;

    border:1px solid var(--border);

    border-radius:30px;

    background:#080808;

    appearance:none;

    padding:0;

    text-align:initial;

    cursor:pointer;

    transition:
        border-color .3s ease;

}


.project-media:hover{

    border-color:#373737;

}


.project-media img{

    width:100%;

    height:460px;

    display:block;

    object-fit:cover;

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),

        filter .5s ease;

}


.project-media:hover img{

    transform:scale(1.035);

}


.site-preview{

    display:block;

    text-decoration:none;

}


.site-preview iframe{

    width:100%;

    height:460px;

    display:block;

    border:0;

    background:#fff;

    pointer-events:none;

}


.site-overlay,
.image-overlay{

    position:absolute;

    inset:0;

    z-index:4;

    padding:24px;

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    pointer-events:none;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.5),
            transparent 40%
        );

}


.site-overlay span,
.image-overlay span{

    padding:12px 18px;

    border-radius:30px;

    background:rgba(255,255,255,.94);

    color:#000;

    font-size:11px;

    font-weight:900;

}


.project-number{

    width:42px;

    height:42px;

    display:grid;

    place-items:center;

    border:1px solid rgba(255,255,255,.15);

    border-radius:50%;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(10px);

    color:#fff;

    font-size:10px;

    font-weight:900;

}


.project-info h3{

    margin:15px 0 20px;

    font-size:clamp(
        40px,
        4vw,
        58px
    );

    line-height:1;

    letter-spacing:-3px;

}


.project-info p{

    max-width:600px;

    color:#a3a3a3;

    font-size:17px;

    line-height:1.7;

}


.project-info ul{

    margin:27px 0;

    display:grid;

    gap:11px;

    list-style:none;

}


.project-info li{

    color:#d4d4d4;

    font-size:14px;

}


.project-info li::before{

    content:"✓";

    margin-right:10px;

    color:#fff;

    font-size:11px;

}


.project-btn{

    min-height:52px;

    padding:0 24px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    border-radius:50px;

    background:#fff;

    color:#000;

    transition:
        box-shadow .25s ease,

        transform .25s ease;

}


.project-btn:hover{

    box-shadow:
        0 15px 45px rgba(255,255,255,.14);

}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}


.gallery-item{

    height:290px;

    position:relative;

    overflow:hidden;

    padding:0;

    border:1px solid var(--border);

    border-radius:24px;

    background:#080808;

    cursor:pointer;

}


.gallery-item.big{

    height:480px;

    grid-column:span 3;

}


.gallery-item img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:
        transform .5s cubic-bezier(.2,.8,.2,1),

        filter .4s ease;

}


.gallery-item:hover img{

    transform:scale(1.04);

    filter:brightness(.8);

}


.gallery-item::after{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.55),
            transparent 45%
        );

    opacity:0;

    transition:opacity .3s ease;

}


.gallery-item:hover::after{

    opacity:1;

}


.gallery-item > span{

    position:absolute;

    z-index:3;

    right:18px;

    bottom:18px;

    padding:10px 16px;

    border-radius:30px;

    background:#fff;

    color:#000;

    font-size:10px;

    font-weight:900;

    opacity:0;

    transform:translateY(8px);

    transition:

        opacity .3s ease,

        transform .3s ease;

}


.gallery-item:hover > span{

    opacity:1;

    transform:translateY(0);

}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

}


.service{

    min-height:310px;

    padding:30px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    position:relative;

    overflow:hidden;

    border:1px solid var(--border);

    border-radius:28px;

    background:#070707;

    transition:

        background .35s ease,

        border-color .35s ease,

        color .35s ease;

}


.service::before{

    content:"";

    width:180px;

    height:180px;

    position:absolute;

    top:-90px;

    right:-90px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.08),
            transparent 70%
        );

    opacity:0;

    transition:opacity .3s ease;

}


.service:hover{

    border-color:#313131;

    background:#0b0b0b;

}


.service:hover::before{

    opacity:1;

}


.service-number{

    color:#666;

    font-size:11px;

    font-weight:900;

}


.service h3{

    margin-bottom:14px;

    font-size:25px;

    letter-spacing:-1px;

}


.service p{

    color:#858585;

    font-size:14px;

    line-height:1.65;

}


.service-arrow{

    position:absolute;

    top:25px;

    right:26px;

    color:#555;

    font-size:20px;

    transition:
        color .3s ease,

        transform .3s ease;

}


.service:hover .service-arrow{

    color:#fff;

    transform:
        translate(3px,-3px);

}


/* =========================================================
   TECHNOLOGIES
   ========================================================= */

.stack{

    display:grid;

    grid-template-columns:.75fr 1.25fr;

    align-items:start;

    gap:60px;

    border-top:1px solid #121212;

    border-bottom:1px solid #121212;

}


.stack-header p{

    max-width:420px;

    margin-top:20px;

    color:#777;

    line-height:1.7;

}


.stack-list{

    display:flex;

    justify-content:flex-end;

    gap:11px;

    flex-wrap:wrap;

}


.stack-list span{

    padding:14px 22px;

    border:1px solid #252525;

    border-radius:50px;

    background:#080808;

    color:#ccc;

    font-size:13px;

    font-weight:750;

    transition:

        background .25s ease,

        border-color .25s ease,

        color .25s ease,

        transform .25s ease;

}


.stack-list span:hover{

    border-color:#fff;

    background:#fff;

    color:#000;

    transform:translateY(-3px);

}


/* =========================================================
   CONTACT
   ========================================================= */

.contact{

    max-width:1500px;

    text-align:center;

    padding-top:150px;

    padding-bottom:150px;

}


.contact .tag{

    justify-content:center;

}


.contact h2{

    max-width:950px;

    margin:26px auto;

}


.contact > p{

    max-width:680px;

    margin:auto;

}


.contact-actions{

    margin-top:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    gap:14px;

}


.contact-actions a{

    min-height:57px;

    padding:0 29px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    border-radius:50px;

    transition:

        transform .25s ease,

        background .25s ease,

        border-color .25s ease,

        box-shadow .25s ease;

}


.contact-primary{

    background:#fff;

    color:#000;

}


.contact-primary:hover{

    box-shadow:
        0 20px 55px rgba(255,255,255,.14);

}


.contact-secondary{

    border:1px solid #303030;

    background:#080808;

    color:#fff;

}


.contact-secondary:hover{

    border-color:#555;

}


/* =========================================================
   MODAL
   ========================================================= */

.modal{

    position:fixed;

    inset:0;

    z-index:5000;

    padding:70px 35px 35px;

    display:flex;

    align-items:center;

    justify-content:center;

    visibility:hidden;

    opacity:0;

    background:rgba(0,0,0,.92);

    backdrop-filter:blur(20px);

    transition:

        opacity .3s ease,

        visibility .3s ease;

}


.modal.active{

    visibility:visible;

    opacity:1;

}


.modal-content{

    max-width:1400px;

    max-height:88vh;

    display:flex;

    align-items:center;

    justify-content:center;

}


.modal img{

    max-width:95vw;

    max-height:85vh;

    object-fit:contain;

    border:1px solid #222;

    border-radius:22px;

    box-shadow:
        0 40px 100px rgba(0,0,0,.8);

    opacity:0;

    transform:
        scale(.94)
        translateY(15px);

    transition:

        opacity .35s ease,

        transform .35s
            cubic-bezier(.2,.8,.2,1);

}


.modal.active img{

    opacity:1;

    transform:
        scale(1)
        translateY(0);

}


.modal-close{

    width:48px;

    height:48px;

    position:absolute;

    top:25px;

    right:30px;

    display:grid;

    place-items:center;

    border:1px solid #333;

    border-radius:50%;

    background:#0c0c0c;

    color:#fff;

    font-size:27px;

    line-height:1;

    cursor:pointer;

    transition:

        background .2s ease,

        color .2s ease,

        transform .2s ease;

}


.modal-close:hover{

    background:#fff;

    color:#000;

    transform:rotate(90deg);

}


/* =========================================================
   FOOTER
   ========================================================= */

footer{

    padding:35px 0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    border-top:1px solid #151515;

    color:#666;

}


footer p{

    font-size:12px;

}


.footer-brand{

    display:flex;

    align-items:center;

    gap:10px;

    color:#fff;

    text-decoration:none;

}


.footer-brand img{

    width:34px;

    height:34px;

    object-fit:contain;

}


.footer-brand strong{

    display:block;

    font-size:13px;

    letter-spacing:1px;

}


.footer-brand span{

    display:block;

    margin-top:2px;

    color:#666;

    font-size:8px;

    letter-spacing:2px;

    text-transform:uppercase;

}


.back-top{

    width:42px;

    height:42px;

    display:grid;

    place-items:center;

    border:1px solid #252525;

    border-radius:50%;

    background:#080808;

    color:#fff;

    text-decoration:none;

    transition:

        background .25s ease,

        color .25s ease;

}


.back-top:hover{

    background:#fff;

    color:#000;

}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal{

    opacity:0;

    transform:translateY(45px);

    transition:

        opacity .9s
            cubic-bezier(.2,.8,.2,1),

        transform .9s
            cubic-bezier(.2,.8,.2,1);

}


.reveal.active{

    opacity:1;

    transform:translateY(0);

}


/* =========================================================
   TILT
   ========================================================= */

.tilt-card{

    transform-style:preserve-3d;

    will-change:transform;

}


/* =========================================================
   CURSOR GLOW
   ========================================================= */

.cursor-glow{

    width:520px;

    height:520px;

    position:fixed;

    top:0;

    left:0;

    z-index:-2;

    pointer-events:none;

    border-radius:50%;

    transform:translate(-50%,-50%);

    opacity:.17;

    filter:blur(15px);

    background:

        radial-gradient(
            circle,
            rgba(100,100,255,.32),
            rgba(255,255,255,.035) 38%,
            transparent 70%
        );

}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible{

    outline:2px solid #fff;

    outline-offset:4px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1150px){

    :root{

        --container:92%;

    }


    .hero{

        grid-template-columns:1fr 1fr;

        gap:45px;

    }


    .hero h1{

        letter-spacing:-4px;

    }


    .service-grid{

        grid-template-columns:
            repeat(2,1fr);

    }


    .project{

        gap:40px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:1000px){

    .navbar{

        min-height:70px;

        top:10px;

        margin-top:10px;

        padding:10px 12px;

    }


    .brand img{

        width:43px;

        height:43px;

    }


    .brand strong{

        font-size:17px;

    }


    .nav-btn{

        display:none;

    }


    .menu-toggle{

        display:flex;

    }


    nav{

        position:fixed;

        inset:0;

        width:100%;

        height:100dvh;

        padding:110px 8vw 50px;

        display:flex;

        align-items:flex-start;

        justify-content:center;

        flex-direction:column;

        gap:2px;

        visibility:hidden;

        opacity:0;

        pointer-events:none;

        background:rgba(2,2,2,.97);

        backdrop-filter:blur(25px);

        transform:translateY(-15px);

        transition:

            opacity .3s ease,

            visibility .3s ease,

            transform .3s ease;

    }


    nav.mobile-open{

        visibility:visible;

        opacity:1;

        pointer-events:auto;

        transform:translateY(0);

    }


    nav a{

        width:100%;

        padding:12px 0;

        font-size:clamp(
            31px,
            8vw,
            54px
        );

        line-height:1.1;

        letter-spacing:-2px;

        color:#8d8d8d;

    }


    nav a::after{

        display:none;

    }


    .hero{

        min-height:auto;

        grid-template-columns:1fr;

        gap:70px;

        padding-top:90px;

    }


    .hero-text{

        max-width:850px;

    }


    .hero-preview{

        width:92%;

        margin:auto;

    }


    .card-one{

        left:-20px;

    }


    .card-two{

        right:-20px;

    }


    .video-grid{

        grid-template-columns:1fr;

    }


    .project{

        grid-template-columns:1fr;

        gap:35px;

    }


    .project.reverse .project-media{

        order:0;

    }


    .project-media,
    .project-media img,
    .site-preview iframe{

        height:430px;

        min-height:430px;

    }


    .gallery-grid{

        grid-template-columns:1fr 1fr;

    }


    .gallery-item.big{

        grid-column:span 2;

    }


    .stack{

        grid-template-columns:1fr;

        gap:35px;

    }


    .stack-list{

        justify-content:flex-start;

    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media(max-width:650px){

    :root{

        --container:91%;

    }


    .navbar{

        width:94%;

        border-radius:20px;

    }


    .brand span{

        letter-spacing:2px;

    }


    .hero{

        padding-top:75px;

        padding-bottom:60px;

    }


    .hero h1{

        font-size:clamp(
            46px,
            14vw,
            69px
        );

        letter-spacing:-3.5px;

    }


    .hero p{

        font-size:16px;

    }


    .tag{

        font-size:9px;

        letter-spacing:2.5px;

    }


    .numbers{

        display:grid;

        grid-template-columns:
            repeat(2,1fr);

    }


    .numbers > div{

        min-width:0;

    }


    .numbers > div:last-child{

        grid-column:span 2;

    }


    .hero-preview{

        width:100%;

    }


    .browser{

        border-radius:22px;

    }


    .browser-top{

        height:46px;

    }


    .browser-address{

        display:none;

    }


    .screen{

        height:330px;

        padding:15px;

        grid-template-columns:55px 1fr;

        gap:12px;

    }


    .dash-sidebar{

        padding:12px 8px;

        border-radius:14px;

    }


    .dash-logo{

        width:26px;

        height:26px;

    }


    .dash-main{

        padding:15px;

        border-radius:14px;

    }


    .dash-cards{

        gap:7px;

    }


    .dash-cards > div{

        height:75px;

        padding:10px;

    }


    .dash-cards strong{

        font-size:11px;

    }


    .dash-chart{

        height:115px;

        padding:13px;

        gap:5px;

    }


    .float-card{

        min-width:135px;

        padding:12px 14px;

    }


    .card-one{

        top:60px;

        left:-10px;

    }


    .card-two{

        right:-8px;

        bottom:35px;

    }


    .demo,
    .projects,
    .gallery,
    .services,
    .stack,
    .contact{

        padding:85px 0;

    }


    .section-title{

        margin-bottom:38px;

    }


    .section-title h2,
    .contact h2{

        font-size:clamp(
            43px,
            13vw,
            62px
        );

        letter-spacing:-3px;

    }


    .section-title p,
    .contact > p{

        font-size:16px;

    }


    .video-wrapper{

        height:250px;

    }


    .video-info{

        padding:22px;

    }


    .video-info h3{

        font-size:24px;

    }


    .project-media,
    .project-media img,
    .site-preview iframe{

        height:310px;

        min-height:310px;

    }


    .project-info h3{

        font-size:42px;

    }


    .gallery-grid{

        grid-template-columns:1fr;

    }


    .gallery-item{

        height:260px;

    }


    .gallery-item.big{

        height:300px;

        grid-column:span 1;

    }


    .service-grid{

        grid-template-columns:1fr;

    }


    .service{

        min-height:245px;

    }


    .stack-list span{

        padding:12px 17px;

        font-size:11px;

    }


    .contact-actions{

        flex-direction:column;

    }


    .contact-actions a{

        width:100%;

    }


    footer{

        align-items:flex-start;

        flex-direction:column;

    }


    .back-top{

        position:absolute;

        right:5%;

    }


    .modal{

        padding:70px 15px 20px;

    }


    .modal-close{

        top:15px;

        right:15px;

    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media(
    prefers-reduced-motion:reduce
){

    html{

        scroll-behavior:auto;

    }


    *,
    *::before,
    *::after{

        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;

    }


    .reveal{

        opacity:1;

        transform:none;

    }

}