*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 60%);
    pointer-events:none;
    z-index:0;
}

body{
    background:#000;
    color:#fff;
    font-family: Inter, sans-serif;
    line-height:1.6;
    letter-spacing:0.2px;
}

.noise{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:999;
    opacity:0.05;
    background-image:url("https://www.transparenttextures.com/patterns/noise.png");
}

.card{
    transition:0.3s ease;
    transform-style:preserve-3d;
}

.card:hover{
    transform:translateY(-5px) scale(1.02);
}

.text-hidden{
    opacity:0;
    transform:translateY(20px);
    letter-spacing:2px;
    transition: all 0.8s ease;
}

.text-show{
    opacity:1;
    transform:translateY(0);
    letter-spacing:0;
}

nav{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:30px 8%;
    z-index:1000;
    transition:0.4s ease;
}

nav a{
    color:#fff;
    margin-left:25px;
    text-decoration:none;
    font-size:13px;
    opacity:0.6;
    transition:0.3s;
    letter-spacing:1px;
}

nav a:hover{
    opacity:1;
}

.logo{
    font-family:"Space Grotesk";
    letter-spacing:2px;
    cursor: default;
}

/* HERO */
.hero{
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
}

.title{
    font-family:"Space Grotesk";
    font-size:5rem;
    line-height:0.9;
    cursor: default;
}

.subtitle{
    margin-top:25px;
    opacity:0.85;
    font-weight:300;
    cursor: default;
}

.tagline{
    margin-top:20px;
    opacity:0.4;
    font-weight:300;
    cursor: default;
}

/* SECTIONS */
.section{
    padding:120px 8%;
}

.dark{
    background:#0a0a0a;
}

.container{
    max-width:1100px;
    margin:auto;
    cursor: default;
}

h1{
    font-family:"Space Grotesk";
    font-size:5.5rem;
    line-height:0.9;
    letter-spacing:-1px;
    font-weight:500;
}

h2{
    font-family:"Space Grotesk";
    font-size:2.8rem;
    letter-spacing:-0.5px;
    margin-bottom:50px;
}

/* GRID */
.grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.card{
    background:rgba(255,255,255,0.03);
    padding:30px;
    border:1px solid rgba(255,255,255,0.08);
    transition:0.4s ease;
}

.card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,255,255,0.2);
    background:rgba(255,255,255,0.05);
}

/* TIMELINE */
.timeline .item{
    margin-bottom:20px;
    opacity:0.8;
}

.timeline span{
    font-weight:bold;
    margin-right:10px;
}

/* RESPONSIVE */
@media(max-width:900px){

    .title{
        font-size:3rem;
    }

    .grid{
        grid-template-columns:1fr;
    }

    nav a{
        display:none;
    }
}

/* ---------------------------
   SCROLL REVEAL
----------------------------*/
.hidden{
    opacity:0;
    transform:translateY(30px);
    transition:all 0.8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}


/* ---------------------------
   ACTIVE NAV LINK
----------------------------*/
nav a.active{
    opacity:1;
    border-bottom:1px solid white;
    padding-bottom:3px;
}


/* ---------------------------
   CURSOR GLOW
----------------------------*/
.cursor-glow{
    position:fixed;
    width:20px;
    height:20px;
    border-radius:50%;
    pointer-events:none;
    background:rgba(255,255,255,0.15);
    mix-blend-mode: difference;
    transform:translate(-50%, -50%);
    transition:0.05s linear;
    z-index:9999;
}





.section{
    padding:160px 8%;
}

.container{
    max-width:1100px;
    margin:auto;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
}




#backToTop{
    position:fixed;
    bottom:30px;
    right:30px;
    width:45px;
    height:45px;
    border:1px solid rgba(255,255,255,0.2);
    background:rgba(0,0,0,0.6);
    color:#fff;
    font-size:18px;
    border-radius:50%;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:0.4s ease;
    backdrop-filter: blur(10px);
    z-index:9999;
}

#backToTop.show{
    opacity:1;
    pointer-events:auto;
}

#backToTop:hover{
    transform:translateY(-3px);
    border-color:rgba(255,255,255,0.5);
}





@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, 2px); }
    80% { transform: translate(1px, -2px); }
    100% { transform: translate(0); }
}

.logo.glitch {
    animation: glitch 0.25s ease;
}






