@import url(https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Plus+Jakarta+Sans:wght@200;300;400;600;800&family=JetBrains+Mono:wght@100;300;500&display=swap);#cursor-dot,#cursor-ring,.glow-sphere,.noise {
    position: fixed;
    pointer-events: none
}

.btn-nulix,.mono-label {
    text-transform: uppercase
}

:root {
    --emerald: #00ff9d;
    --emerald-glow: rgba(0, 255, 157, 0.4);
    --bg: #020202;
    --card: rgba(10, 10, 10, 0.8);
    --border: rgba(255, 255, 255, 0.05);
    --font-syne: 'Syne',sans-serif;
    --font-main: 'Plus Jakarta Sans',sans-serif;
    --font-mono: 'JetBrains Mono',monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    outline: 0;
    scrollbar-width: thin;
    scrollbar-color: #00ff9d #020202
}

body {
    background-color: var(--bg);
    color: #fff;
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6
}

.noise {
    inset: 0;
    z-index: 9999;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

.glow-sphere {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,rgba(0,255,157,.05) 0,transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px)
}

.premium-glass {
    background: var(--card);
    backdrop-filter: blur(50px) saturate(180%);
    border: 1px solid var(--border);
    transition: all .8s var(--ease)
}

.premium-glass:hover {
    border-color: rgba(0,255,157,.2);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,.5),0 18px 36px -18px rgba(0,255,157,.1)
}

.h-mega {
    font-family: var(--font-syne);
    font-size: clamp(1rem, 10vw, 14rem);
    line-height: .8;
    letter-spacing: -.05em
}

.mono-label {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .5em;
    color: var(--emerald)
}

#cursor-dot {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    z-index: 10001
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    z-index: 10000
}

.btn-nulix {
    position: relative;
    padding: 1.5rem 4rem;
    background: 0 0;
    color: #fff;
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .4em;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .4s var(--ease)
}

.btn-nulix::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateY(100%);
    transition: transform .4s var(--ease);
    z-index: -1
}

.btn-nulix:hover {
    color: #000;
    border-color: #fff
}

.btn-nulix:hover::before {
    transform: translateY(0)
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center,black,transparent 90%)
}

.reveal {
    opacity: 0;
    transform: translateY(60px)
}

.stat-line {
    height: 1px;
    background: var(--emerald);
    width: 0
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #020202
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,#00ff9d,#008f58);
    border-radius: 20px;
    border: 2px solid #020202
}

::-webkit-scrollbar-thumb:hover {
    background: #00ff9d;
    box-shadow: 0 0 10px var(--emerald-glow)
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none
}

@media (max-width: 768px) {
    .h-mega {
        font-size:clamp(3.5rem, 12vw, 5rem)!important;
        line-height: 1.1
    }

    h2.font-syne.text-7xl,h2.font-syne.text-8xl {
        font-size: 3rem!important;
        line-height: 1
    }

    h3.font-syne.text-6xl {
        font-size: 2.5rem!important
    }

    #architecture .max-w-\[1600px\] {
        height: auto!important;
        display: flex!important;
        flex-direction: column!important;
        gap: 1.5rem!important
    }

    #architecture .premium-glass {
        padding: 2.5rem 1.5rem!important;
        min-height: 300px
    }

    nav {
        padding: 1.5rem!important
    }

    section {
        padding: 5rem 1.5rem!important
    }

    .btn-nulix {
        padding: 1.2rem 1.5rem!important;
        width: 100%;
        font-size: .6rem!important;
        justify-content: center
    }

    #engine .grid-cols-2 {
        grid-template-columns: 1fr!important;
        gap: 2rem
    }

    .min-h-screen {
        justify-content: flex-start!important;
        padding-top: 10rem!important
    }

    #cursor-dot,#cursor-ring {
        display: none!important
    }

    * {
        cursor: auto!important
    }
}

@media (max-width: 480px) {
    .h-mega {
        font-size:2.8rem!important
    }

    .font-syne.text-\[8vw\] {
        font-size: 10vw!important
    }
}

@media (max-width: 768px) {
    footer .max-w-7xl,footer .text-right {
        text-align:center!important
    }

    footer .max-w-7xl {
        flex-direction: column!important;
        align-items: center!important;
        gap: 3rem!important
    }

    footer .flex.gap-12 {
        justify-content: center!important;
        gap: 1.5rem!important
    }

    #architecture .max-w-\[1600px\] {
        height: auto!important;
        display: flex!important;
        flex-direction: column!important
    }

    #architecture h3.font-syne.text-6xl {
        font-size: 2.5rem!important;
        line-height: 1.1
    }

    section {
        padding-left: 1.5rem!important;
        padding-right: 1.5rem!important
    }

    .h-mega {
        font-size: 3.2rem!important
    }

    .btn-nulix {
        padding: 1.2rem 1rem!important;
        width: 100%!important;
        font-size: .65rem!important
    }
}
