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

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Space Grotesk", sans-serif;

    background: #ffffff;

    color: #111;

    overflow-x: hidden;

}


#bg {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -1;

    background: #050505;

}


#loader {

    position: fixed;

    inset: 0;

    background: #050505;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    z-index: 9999;

    animation: loaderHide .6s ease forwards;

    animation-delay: .5s;

}


.loader-circle {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.15);

    border-top-color: white;

    animation: rotate 1s linear infinite;

}


.loader-text {

    margin-top: 25px;

    color: white;

    font-size: 14px;

    letter-spacing: 5px;

    text-transform: uppercase;

    opacity: .6;

}



@keyframes rotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}



@keyframes loaderHide {

    to {

        opacity: 0;

        visibility: hidden;

    }

}

#hero {

    height: 100vh;

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    position: relative;

    color: white;

}


.hero-content {

    text-align: center;

    position: relative;

    z-index: 2;

}



#title {


    font-size: clamp(50px, 10vw, 150px);

    font-weight: 700;

    letter-spacing: -6px;

    opacity: 0;

    filter: blur(30px);

    transform: scale(.9);

    animation: titleAppear 1.8s cubic-bezier(.16,1,.3,1) forwards;

    animation-delay: .9s;


}



#subtitle {


    max-width: 750px;

    margin: 50px auto 0;


    font-size: clamp(18px,2vw,26px);

    line-height: 1.5;

    font-weight: 300;


    color: rgba(255,255,255,.75);


    opacity: 0;

    transform: translateY(40px);

    filter: blur(10px);


    animation: subtitleAppear 1.5s cubic-bezier(.16,1,.3,1) forwards;

    animation-delay: 2.2s;


}



@keyframes titleAppear {


    0% {

        opacity:0;

        filter:blur(30px);

        transform:scale(.9);

    }


    60% {

        transform:scale(1.03);

    }


    100% {

        opacity:1;

        filter:blur(0);

        transform:scale(1);

    }


}



@keyframes subtitleAppear {


    to {

        opacity:1;

        filter:blur(0);

        transform:translateY(0);

    }


}


.scroll {


    position:absolute;

    bottom:50px;

    left:50%;

    transform:translateX(-50%);


    font-size:40px;

    opacity:.6;


    animation: floating 2s infinite ease-in-out;


}



@keyframes floating {


    0%,100% {

        transform:translate(-50%,0);

    }


    50% {

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

    }


}

#about {


    min-height:100vh;

    background:white;

    color:#111;

    position:relative;

    z-index:5;

    padding:180px 10%;


}



.container {

    max-width:1200px;

    margin:auto;

}

#about {

    background:#fff;

    color:#111;

    min-height:100vh;

    padding:120px 8%;

}



.contact-container {

    max-width:1200px;

    margin:auto;

}



.contact-header {

    max-width:700px;

    margin-bottom:80px;

}



.contact-header h2 {

    font-size:clamp(40px,5vw,70px);

    letter-spacing:-2px;

    font-weight:600;

    margin-bottom:25px;

}



.contact-header p {


    font-size:20px;

    line-height:1.6;

    color:#666;

}





.contact-grid {


    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(300px,1fr));


    gap:25px;


}





.card {


    border:1px solid #e5e5e5;

    border-radius:20px;

    padding:35px;


    background:#fafafa;


    transition:.3s ease;


}



.card:hover {


    transform:translateY(-5px);

    border-color:#bbb;


}





.card h3 {


    font-size:22px;

    margin-bottom:30px;

    font-weight:500;


}





.item {


    display:flex;

    justify-content:space-between;

    padding:18px 0;

    border-bottom:1px solid #ddd;


}



.item span {


    color:#777;


}



.item a {


    color:#111;

    text-decoration:none;


}




.server {


    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    border-bottom:1px solid #ddd;


}



.server a {


    color:#555;

    text-decoration:none;

    font-size:14px;


}




.links {


    display:flex;

    flex-direction:column;

    gap:18px;


}



.links a {


    color:#111;

    text-decoration:none;

    font-size:18px;


}




.links a:hover,
.server a:hover,
.item a:hover {


    opacity:.5;

}

@keyframes textReveal {


    to {

        opacity:1;

        transform:translateY(0);

    }


}

@media(max-width:700px){


    #title {

        letter-spacing:-3px;

    }


    #subtitle {

        padding:0 25px;

        margin-top:30px;

    }


    #about {

        padding:100px 25px;

    }


    #about p {

        letter-spacing:-1px;

        margin-bottom:50px;

    }


}

#navbar {


    position:fixed;

    top:30px;

    left:50%;

    transform:translateX(-50%) translateY(-120px);


    width:min(1100px,90%);


    padding:18px 30px;


    display:flex;

    justify-content:space-between;

    align-items:center;


    border-radius:20px;


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


    backdrop-filter:blur(20px);


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


    color:white;


    z-index:1000;


    opacity:0;


    animation:
    navShow 1s cubic-bezier(.16,1,.3,1)
    forwards;


    animation-delay:3s;


}



@keyframes navShow {


    to {


        opacity:1;


        transform:
        translateX(-50%)
        translateY(0);


    }


}




.nav-logo {


    font-size:18px;

    font-weight:600;

    letter-spacing:-.5px;


}



.nav-links {


    display:flex;

    gap:35px;


}



.nav-links a {


    color:white;


    text-decoration:none;


    font-size:15px;


    opacity:.7;


    position:relative;


    transition:.3s;


}





.nav-links a::after {


    content:"";


    position:absolute;


    bottom:-8px;


    left:0;


    width:0%;


    height:2px;


    background:white;


    transition:.3s;


}




.nav-links a:hover {


    opacity:1;


}



.nav-links a:hover::after {


    width:100%;


}


#navbar.scrolled {


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


    color:#111;


    border-color:#ddd;


}



#navbar.scrolled a {


    color:#111;


}




#navbar.scrolled .nav-logo {


    color:#111;


}





@media(max-width:700px){


    #navbar {


        padding:15px 20px;

    }



    .nav-links {

        display:none;

    }


}