*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a1128;
    --bg2: #0f1a3c;
    --cyan: #00ffe5;
    --magenta: #ff006e;
    --yellow: #ffe600;
    --purple: #9000ff;
    --white: #ffffff;
    --surface: rgba(0, 255, 229, 0.03);
    --surface2: rgba(144, 0, 255, 0.06);
    --border-c: rgb(0, 255, 229);
    --border-m: rgba(255, 0, 110, 0.25);
    --text: #c8f0ec;
    --muted: #6fb0a8;
    --glow-c: 0 0 20px rgba(0, 255, 229, 0.4), 0 0 60px rgba(0, 255, 229, 0.15);
    --glow-m: 0 0 20px rgba(255, 0, 110, 0.4), 0 0 60px rgba(255, 0, 110, 0.15);
    --cat1: #00ffe7;
    --cat2: #ff2d78;
    --cat3: #ffe600;
    --c: #00ffe7;
    --c2: #ff2d78;
    --c3: #ffe600;
    --c4: #7b2fff;
    --panel: rgba(0, 255, 231, 0.03);
    --border: rgba(0, 255, 231, 0.14);
    --border2: rgba(0, 255, 231, 0.4);
    --text2: rgba(142, 207, 204, 0.5);
}

html {
    scroll-behavior: smooth;
    min-height: 100vh; /* Fixed: enforce full viewport height */
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: crosshair;
    min-height: 100vh; /* Fixed: full viewport height */
    position: relative;
    display: flex;
    flex-direction: column; /* Layout content to push footer down */
}

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background: linear-gradient(rgba(0, 255, 231, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 231, 0.025) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
        z-index: 0;
    }

    body::after {
        content: '';
        position: fixed;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, var(--c) 30%, rgba(0, 255, 231, 0.6) 50%, var(--c) 70%, transparent 100%);
        animation: scan 8s linear infinite;
        opacity: 0.15;
        pointer-events: none;
        z-index: 9999;
    }

.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 30% 30%, rgba(144, 0, 255, 0.15) 0%, transparent 30%), radial-gradient(circle at 70% 60%, rgba(0, 255, 229, 0.12) 0%, transparent 30%), radial-gradient(circle at 40% 90%, rgba(255, 0, 110, 0.1) 0%, transparent 30%);
    background-size: 100% 100vh;
    background-repeat: repeat-y;
    pointer-events: none;
}

.bg-image, .bg-image-2 {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
    transition: opacity 0.8s ease;
    opacity: 0;
}

    .bg-image.active, .bg-image-2.active {
        opacity: 0.3;
    }

.bg-image-2 {
    z-index: -3;
}

.bg-grid {
    position: fixed;
    inset: -100px;
    z-index: 0;
    background-image: linear-gradient(rgba(0,255,229,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,229,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(240px);
    }
}

@keyframes scan {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100vh);
    }
}

.bg-image,
.bg-layer,
.bg-grid,
.scanlines,
.vignette {
    pointer-events: none;
}

/* === NAVIGATION === */
nav.main-nav {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: 7fr 3fr;
    align-items: center;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-bottom: 1px solid var(--border-c);
    background: rgba(10,17,40,1);
    backdrop-filter: blur(20px);
    padding: 0 3vh;
}

.main-nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--cyan);
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
    gap: 1rem;
    margin-right: 5vw;
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    text-decoration: none;
    transform: translateY(-0.5vh);
    text-shadow: var(--glow-c);
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nav-links a {
        font-family: 'Share Tech Mono', monospace;
        font-size: 2vh;
        font-weight: 900;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--muted);
        text-decoration: none;
        padding: 1vh 1.5vh;
        border: 1px solid transparent;
        position: relative;
        transition: all 0.2s;
    }

        .nav-links a:hover {
            color: var(--cyan);
            border-color: var(--border-c);
            text-shadow: var(--glow-c);
            background: rgba(0, 255, 229, 0.25);
        }

        .nav-links a::before {
            content: '>';
            color: var(--cyan);
            margin-right: 4px;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .nav-links a:hover::before {
            opacity: 1;
        }

.nav-block-logo {
    height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transform: translateY(-20%);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0,150,255,0.7)) drop-shadow(0 0 20px rgba(0,150,255,0.5)) drop-shadow(0 0 30px rgba(0,150,255,0.4));
}

/* === HERO SECTION === */
#hero {
    position: relative;
    z-index: 1;
    height: 65vh; /* Adjusted to fit all content in 100vh with nav/footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 3rem;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

    .hero-eyebrow span {
        color: var(--magenta);
    }

.hero-name {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(1.7rem, 6vw, 6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
    margin-top: -0.3em;
}

.glitch-main {
    animation: glitch1 4s infinite;
}

@keyframes glitch1 {
    0%, 90%, 100% {
        clip-path: none;
        transform: none;
        opacity: 1;
    }

    92% {
        clip-path: polygon(0 10%, 100% 10%, 100% 40%, 0 40%);
        transform: translateX(-4px);
        opacity: 0.8;
    }

    94% {
        clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
        transform: translateX(4px);
        opacity: 0.8;
    }

    96% {
        clip-path: none;
        transform: translateX(-2px);
    }

    98% {
        clip-path: polygon(0 20%, 100% 20%, 100% 55%, 0 55%);
        transform: translateX(3px);
        opacity: 0.9;
    }
}

.hero-name .yl {
    display: inline-block;
    color: var(--yellow);
    text-shadow: var(--glow-m);
    font-size: clamp(5rem, 12vw, 5rem);
    white-space: nowrap;
    animation: pulse 10s ease-in-out infinite;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

    .hero-title .hi {
        color: var(--magenta);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 20%, 40%, 60%, 80%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    10% {
        opacity: 0.85;
        transform: scale(0.999);
    }

    25% {
        opacity: 0.7;
        transform: scale(0.998);
    }

    45% {
        opacity: 0.9;
        transform: scale(0.9995);
    }

    55% {
        opacity: 0.6;
        transform: scale(0.997);
    }

    75% {
        opacity: 0.8;
        transform: scale(0.9985);
    }

    90% {
        opacity: 0.95;
        transform: scale(0.9997);
    }
}

/* === LANDING BUTTONS SECTION === */
.buttons-section {
    position: relative;
    z-index: 1;
    min-height: auto;
    padding: 0 2rem 4rem;
    flex-grow: 1; /* Push footer to bottom */
    margin-top: -8rem; /* adjust this value (-6rem to -10rem) to move more/less */
    margin-bottom: 8rem; /* adjust this value (-6rem to -10rem) to move more/less */
}

.buttons-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.button-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-landing {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 1.5vw;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

    .btn-landing:hover {
        border-color: #FFD700;
        background: rgba(255, 215, 0, 0.15);
        color: #FFD700;
        transform: translateY(-2px);
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }

/* === CUSTOM CURSOR === */
.red-cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,0,0,0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.corner-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
}

.cross-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9996;
    transform: translate(-50%, -50%);
}

    .cross-cursor::before,
    .cross-cursor::after {
        content: '';
        position: absolute;
        background: rgba(255,0,0,1);
    }

    .cross-cursor::before {
        width: 24px;
        height: 1px;
        top: -0.5px;
        left: -12px;
    }

    .cross-cursor::after {
        width: 1px;
        height: 24px;
        top: -12px;
        left: -0.5px;
    }

/* === FOOTER === */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-c);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: 'Share Tech Mono', monospace;
    color: var(--muted);
    background-color: rgba(10, 17, 40, 1);
    margin-top: 5vh;
}

.footer-brand {
    font-size: 2vw;
    letter-spacing: 0.2em;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

    .footer-links a {
        font-size: 1.5vw;
        text-decoration: none;
        color: var(--muted);
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--cyan);
        }

.footer-bottom {
    font-size: 1vw;
    letter-spacing: 0.2em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-left {
        display: none;
    }

    .nav-right {
        position: static;
        transform: none;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        gap: 0.5rem;
        margin-right: 0;
    }

    .nav-block-logo {
        width: 60px;
        height: auto;
    }

    .nav-logo {
        display: block;
        font-size: 1.5rem;
        text-align: center;
    }

    #hero {
        height: 100vh;
        max-height: 125vh;
        padding: 0 1.5rem;
    }

    .hero-name .yl {
        font-size: calc(7vw * 1.25);
    }

    .hero-title span {
        font-size: calc(3vw * 1.25);
    }

    .hero-eyebrow {
        font-size: calc(3vw * 1.25);
    }

    .buttons-section {
        padding: 0 1.5rem 3rem;
    }

    .button-row {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-landing {
        font-size: 4vw;
        text-align: center;
    }

    .footer-brand {
        font-size: 5vw;
    }

    .footer-bottom {
        font-size: 3vw;
    }

    .footer-links a {
        font-size: 4vw;
    }
}


.btn-landing {
    font-size: 1vw;
    margin-bottom: 2vh;
    transform: translateY(-5vh);
}

.btn-landing:hover {
    
    transform: translateY(-5vh) scale(1.1);
    
}