*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,sans-serif;
    background:#05060a;
    color:#fff;
    overflow-x:hidden;
}

/* BACKGROUND */

.bg{
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at 15% 20%, rgba(120,120,255,0.12), transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.06), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(120,255,200,0.08), transparent 45%),
        #05060a;
    z-index:0;
}

.bg::after{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size:60px 60px;
    opacity:0.05;
}

/* CURSOR */

.cursor{
    position:fixed;
    width:220px;
    height:220px;
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(circle, rgba(120,180,255,0.15), transparent 60%);
    transform:translate(-50%,-50%);
    transition:transform 0.08s linear;
    z-index:1;
}

/* CONTAINER */

.container{
    width:min(1150px,92vw);
    margin:0 auto;
    position:relative;
    z-index:2;
}

/* NAVIGATION */

nav{
    position:fixed;
    top:0;
    width:100%;
    padding:16px 0;
    background:rgba(10,12,18,0.55);
    backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,0.06);
    z-index:1000;
}

.nav-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* LOGO */

.logo{
    font-size:11px;
    letter-spacing:0.35em;
    padding:7px 12px;
    border:1px solid rgba(255,255,255,0.12);
    border-radius:999px;
    color:#fff;
    background:rgba(255,255,255,0.02);
    text-decoration:none;
    transition:0.2s;
}

.logo:hover{
    border-color:rgba(255,255,255,0.25);
}

/* NAV LINKS */

.nav-right{
    display:flex;
    gap:26px;
}

.nav-right a{
    font-size:13px;
    color:rgba(255,255,255,0.65);
    text-decoration:none;
    transition:0.2s;
}

.nav-right a:hover{
    color:#fff;
}

/* HERO */

.hero{
    padding:180px 0 100px;
}

.hero h1{
    font-size:clamp(44px,5.2vw,84px);
    line-height:1.02;
    letter-spacing:-0.04em;
    max-width:950px;
}

.hero h1 span{
    background:linear-gradient(90deg,#8aa7ff,#7cf7d4);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    margin-top:18px;
    max-width:680px;
    color:rgba(255,255,255,0.65);
    font-size:16px;
    line-height:1.7;
}

/* PAGE HERO */

.page-hero{
    padding:170px 0 70px;
}

.page-title{
    font-size:clamp(42px,5vw,72px);
    line-height:1;
    letter-spacing:-0.04em;
}

.page-subtitle{
    margin-top:18px;
    max-width:760px;
    color:rgba(255,255,255,0.65);
    font-size:16px;
    line-height:1.8;
}

/* SECTION */

.section{
    padding:80px 0;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
}

/* CARD */

.card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:22px;
    overflow:hidden;
    backdrop-filter:blur(12px);
    transition:0.3s ease;
}

.card:hover{
    transform:translateY(-6px);
    border-color:rgba(140,180,255,0.25);
}

.card img{
    width:100%;
    display:block;
}

.card-content{
    padding:22px;
}

.card-content h3{
    margin-bottom:12px;
    font-size:20px;
}

.card-content p{
    color:rgba(255,255,255,0.65);
    line-height:1.7;
    font-size:15px;
}

/* CONTACT */

.contact a{
    margin-right:18px;
    color:rgba(255,255,255,0.7);
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:0.2s;
}

.contact a:hover{
    color:#fff;
}

/* FOOTER */

footer{
    border-top:1px solid rgba(255,255,255,0.08);
    padding:18px 0;
    margin-top:80px;
    color:rgba(255,255,255,0.4);
    font-size:12px;
}

/* REVEAL */

.reveal{
    opacity:0;
    transform:translateY(18px);
    transition:0.9s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}

/* MOBILE */

@media(max-width:900px){

    .nav-right{
        gap:18px;
    }

}

@media(max-width:768px){

    .hero{
        padding:150px 0 70px;
    }

    .hero h1{
        font-size:clamp(38px,10vw,58px);
    }

    .hero p{
        font-size:15px;
    }

    .page-hero{
        padding:150px 0 60px;
    }

    .page-title{
        font-size:42px;
    }

    .page-subtitle{
        font-size:15px;
    }

    .nav-inner{
        flex-direction:column;
        gap:16px;
    }

    .nav-right{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px;
    }

    .nav-right a{
        font-size:12px;
    }

    .grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:480px){

    .hero{
        padding-top:145px;
    }

    .hero h1{
        line-height:1.08;
    }

    .section{
        padding:60px 0;
    }

}