@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
@font-face {
    font-family: 'Ethnocentric';
    src: url('fonts/Ethnocentric-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Coolvetica';
    src: url('fonts/Coolvetica-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nasalization';
    src: url('fonts/Nasalization-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Stereohead';
    src: url('fonts/StereoheadRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quadrillion';
    src: url('fonts/Quadrillion-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Hide standard scrollbar */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    display: none;
}

:root {
    --bg-surface: #070714;
    --primary: #00E5FF;
    --secondary: #0055FF;
    --surface-variant: rgba(22, 22, 44, 0.4);
    --outline-variant: rgba(255, 255, 255, 0.08);
    --secondary-container: #1e1e38;

    --text-main: #E2E8F0;
    --text-muted: #94a3b8;
    /* slate-400 */
    --text-darker: #475569;
    /* slate-600 */
    --surface-highest: #282846;
}

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

body {
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

::selection {
    background-color: var(--primary);
    color: var(--bg-surface);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-on-grid {
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.cyan-glow-border {
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.05);
}

.cyan-glow-border:hover {
    border: 1px solid rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1);
}

.glass-panel {
    background: rgba(7, 7, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease-out, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(0, 229, 255, 0.4);
}

.neon-text-glow {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.grid-overlay {
    background-image: linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.05), transparent);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.kinetic-bar {
    position: relative;
    overflow: hidden;
}

.kinetic-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: move-shine 2s infinite;
}

@keyframes move-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.neon-glow-cyan {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.neon-glow-yellow {
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

.hover-pulse:hover {
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 2px rgba(0, 229, 255, 0.5));
    }

    50% {
        filter: brightness(1.5) drop-shadow(0 0 10px rgba(0, 229, 255, 0.8));
    }
}

.drift {
    animation: drift 6s ease-in-out infinite alternate;
}

@keyframes drift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(5px, -10px) rotate(2deg);
    }
}

.particle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
    background-image: radial-gradient(circle, #00E5FF 1px, transparent 1px);
    background-size: 24px 24px;
}

.corner-marker {
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid #00E5FF;
}

.corner-marker.top-left {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}

.corner-marker.top-right {
    top: -1px;
    right: -1px;
    border-left: 0;
    border-bottom: 0;
}

.corner-marker.bottom-left {
    bottom: -1px;
    left: -1px;
    border-right: 0;
    border-top: 0;
}

.corner-marker.bottom-right {
    bottom: -1px;
    right: -1px;
    border-left: 0;
    border-top: 0;
}

.tech-icon-pulse {
    animation: tech-pulse 3s ease-in-out infinite;
}

@keyframes tech-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.skills-cloud-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skills-cloud-item:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(0, 229, 255, 0.15);
    border-color: #00E5FF;
    color: #00E5FF;
    z-index: 10;
}

.font-ethnocentric {
    font-family: 'Ethnocentric', sans-serif;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-nasalization {
    font-family: 'Nasalization', sans-serif;
}

.font-stereohead {
    font-family: 'Stereohead', sans-serif;
    letter-spacing: 0.1em;
}

.font-quadrillion {
    font-family: 'Quadrillion', sans-serif;
}

.font-coolvetica {
    font-family: 'Coolvetica', sans-serif;
    letter-spacing: 0.1em;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Navbar */
/* Navbar Enchanced */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    height: 5rem;
    background-color: rgba(7, 7, 20, 0.6);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    max-width: 1440px;
    height: 100%;
    position: relative;
    z-index: 10;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: 1.25rem;
    text-shadow: 0 0 8px rgba(0, 225, 255, 0.8);
}

.brand-divider {
    height: 1rem;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.brand-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(0, 229, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: -0.025em;
}



.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.25rem;
}

.btn-connect {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-connect:hover {
    background-color: rgba(0, 229, 255, 0.1);
}

.btn-connect:active {
    transform: scale(0.9);
}

/* Scanning Light Line */
@keyframes scan-line {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
    animation: scan-line 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 1;
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.brand-logo-img {
    height: 2rem;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 225, 255, 0.8));
    transition: filter 0.3s ease;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.glitch-text {
    animation: glitch 500ms step-end 3;
}

.glitch-text:hover {
    animation: glitch 500ms step-end infinite;
}

@keyframes glitch-img {
    0% {
        filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.75)) drop-shadow(-2px -1px 0 rgba(0, 255, 0, 0.75)) drop-shadow(-1px 2px 0 rgba(0, 0, 255, 0.75));
    }

    14% {
        filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.75)) drop-shadow(-2px -1px 0 rgba(0, 255, 0, 0.75)) drop-shadow(-1px 2px 0 rgba(0, 0, 255, 0.75));
    }

    15% {
        filter: drop-shadow(-2px -1px 0 rgba(255, 0, 0, 0.75)) drop-shadow(1px 1px 0 rgba(0, 255, 0, 0.75)) drop-shadow(-2px -2px 0 rgba(0, 0, 255, 0.75));
    }

    49% {
        filter: drop-shadow(-2px -1px 0 rgba(255, 0, 0, 0.75)) drop-shadow(1px 1px 0 rgba(0, 255, 0, 0.75)) drop-shadow(-2px -2px 0 rgba(0, 0, 255, 0.75));
    }

    50% {
        filter: drop-shadow(1px 2px 0 rgba(255, 0, 0, 0.75)) drop-shadow(2px 0 0 rgba(0, 255, 0, 0.75)) drop-shadow(0 -2px 0 rgba(0, 0, 255, 0.75));
    }

    99% {
        filter: drop-shadow(1px 2px 0 rgba(255, 0, 0, 0.75)) drop-shadow(2px 0 0 rgba(0, 255, 0, 0.75)) drop-shadow(0 -2px 0 rgba(0, 0, 255, 0.75));
    }

    100% {
        filter: drop-shadow(-1px 0 0 rgba(255, 0, 0, 0.75)) drop-shadow(-1px -1px 0 rgba(0, 255, 0, 0.75)) drop-shadow(-1px -2px 0 rgba(0, 0, 255, 0.75));
    }
}

.glitch-img {
    animation: glitch-img 500ms step-end 3;
}

.glitch-img:hover {
    animation: glitch-img 500ms step-end infinite;
}

/* Pulse Dot */
@keyframes pulse-dot {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
    }
}

.nav-pulse-dot {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover .nav-pulse-dot,
.nav-link.active .nav-pulse-dot {
    opacity: 1;
}

/* Architect Button Enhanced */
.architect-button {
    position: relative;
    padding: 0.5rem 2rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s ease;
}

.architect-button:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 10px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.8);
    color: #fff;
}

.architect-button .corner {
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.architect-button .corner-tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
}

.architect-button .corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.architect-button:hover .corner {
    width: 12px;
    height: 12px;
}

.btn-fill {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 229, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.5s ease-out;
    z-index: -1;
}

.architect-button:hover .btn-fill {
    transform: translateX(0);
}

/* Terminal Tooltip */
.terminal-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.terminal-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--primary);
}

.tooltip {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    padding: 0.375rem 0.75rem;
    background: var(--surface-highest);
    border: 1px solid var(--outline-variant);
    font-size: 10px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.terminal-btn:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--surface-highest);
    border-top: 1px solid var(--outline-variant);
    border-left: 1px solid var(--outline-variant);
    transform: rotate(45deg);
}

/* Nav Controls & Hamburger */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

.h1 {
    font-family: 'Nasalization', sans-serif;
}

/* Hamburger Animation (Open State) */
.menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 7, 20, 0.85);
    backdrop-filter: blur(24px);
    z-index: 45;
    /* Below nav (50) but above everything else */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.1s;
    opacity: 0;
}

.mobile-menu.open .mobile-nav-links {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.mobile-menu .nav-link {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    letter-spacing: 0.1em;
    position: relative;
    text-shadow: none;
}

.mobile-menu .nav-link.active,
.mobile-menu .nav-link:hover {
    color: var(--primary);
    border: none;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.mobile-menu .btn-connect {
    margin-top: 1rem;
    font-size: 0.875rem;
    padding: 1rem 3rem;
}

/* Background Layers */
.bg-layers {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.constellation-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 85, 255, 0.05) 0%, transparent 50%);
}

.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 229, 255, 0.2) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.4;
}

.star-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 250px 250px;
    opacity: 0.1;
}

#constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Glass panel */
.glass-panel {
    backdrop-filter: blur(16px);
    background: var(--surface-variant);
    border: 1px solid var(--outline-variant);
}

/* Main Layout */
main {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    /* Navbar height */
}

/* Hero Section */
.hero {
    min-height: 716px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    position: relative;
    padding-bottom: 8rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    opacity: 0.8;
}

.scroll-strand {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
    opacity: 0.6;
}

.scroll-strand::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    box-shadow: 0 0 8px white;
    animation: scroll-scan 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scroll-scan {
    0% {
        top: 100%;
    }

    100% {
        top: -20px;
    }
}

.status-badge {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.status-indicator {
    display: flex;
    position: relative;
    width: 8px;
    height: 8px;
}

.status-indicator .ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.status-indicator .dot {
    position: relative;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.status-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--primary);
}

.hero-text {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title .gradient-text {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

.init-session {
    margin-top: 3rem;
    position: relative;
    cursor: pointer;
}

.init-session .glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    opacity: 0.3;
    filter: blur(8px);
    transition: opacity 0.3s ease;
    z-index: 0;
}

.init-session:hover .glow {
    opacity: 0.8;
}

.btn-init {
    position: relative;
    z-index: 1;
    padding: 1rem 3rem;
    color: #fff;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
    border-radius: 0.125rem;
}

.btn-init:hover {
    color: var(--primary);
}

/* Hero Footer & Corner HUDs */
.hero-footer {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 20;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero-footer {
        justify-content: space-between;
    }
}

.hero-footer>* {
    pointer-events: auto;
}

.hud-corner {
    display: none;
}

@media (min-width: 1024px) {
    .hud-corner {
        display: block;
    }
}

.hud-left {
    text-align: left;
}

.hud-right {
    text-align: right;
}

.hud-accent {
    width: 4rem;
    height: 4rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    opacity: 0.5;
}

.hud-left .hud-accent {
    border-left: 1px solid rgba(0, 229, 255, 0.3);
}

.hud-right .hud-accent {
    border-right: 1px solid rgba(0, 229, 255, 0.3);
    margin-left: auto;
}

.hud-text {
    margin-top: 0.5rem;
    font-size: 9px;
    color: var(--text-darker);
    letter-spacing: -0.05em;
    line-height: 1.2;
}

/* Intro Section */
.intro-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.intro-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .intro-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 8rem;
    }
}

.intro-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .intro-content {
        text-align: left;
    }
}

.intro-heading {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.intro-subheading {
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.intro-bio {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 36rem;
}

@media (max-width: 1023px) {
    .intro-bio {
        margin-left: auto;
        margin-right: auto;
    }
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .intro-actions {
        justify-content: flex-start;
    }
}

/* Profile Visuals */
.intro-profile {
    position: relative;
    width: 280px;
    height: 280px;
}

@media (min-width: 768px) {
    .intro-profile {
        width: 380px;
        height: 380px;
    }
}

.profile-aura {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: aura-pulse 4s ease-in-out infinite;
}

@keyframes aura-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.profile-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    overflow: hidden;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.1) contrast(1.1);
}

.profile-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    z-index: 5;
}

/* Customized Buttons */
.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'Quadrillion', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
    background: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 229, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.1);
}

/* Bento grid Layout */
.content-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-card-large {
        grid-column: span 2;
    }
}

.bento-card {
    position: relative;
    overflow: hidden;
    height: 20rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-radius: 0.125rem;
    transition: border-color 0.3s ease;
}

.bento-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
}

.card-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover .card-bg-image {
    transform: scale(1.05);
}

.card-content {
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.card-label {
    font-size: 10px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 28rem;
    line-height: 1.5;
}

.bento-card-large {
    justify-content: flex-end;
}

.bento-card-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bento-card-center:hover {
    border-color: rgba(0, 85, 255, 0.4);
}

.icon-container {
    margin-bottom: 1.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--secondary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 85, 255, 0.3);
    margin-left: auto;
    margin-right: auto;
}

.icon-container .material-symbols-outlined {
    color: var(--secondary);
    font-size: 1.875rem;
}

.equalizer {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: center;
    height: 1.5rem;
}

.equalizer-bar {
    width: 4px;
    background-color: var(--secondary);
}

/* Footer */
footer {
    width: 100%;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-copyright {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-darker);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-copyright {
        margin-bottom: 0;
    }
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-link {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-darker);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: #67e8f9;
    /* cyan-300 */
    opacity: 1;
}

.footer-link.active {
    color: var(--primary);
    opacity: 1;
}

/* Custom Right Scrollbar */
.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 4px;
    height: 100vh;
    z-index: 1000;
    background: rgba(7, 7, 20, 0.4);
    border-left: 1px solid rgba(0, 229, 255, 0.05);
    pointer-events: auto;
    transition: width 0.3s ease, background 0.3s ease;
}

.custom-scrollbar:hover {
    width: 12px;
    background: rgba(7, 7, 20, 0.8);
}

.scrollbar-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 40px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

.scrollbar-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
}

/* Ensure content doesn't get hidden under the scrollbar on hover */
body {
    padding-right: 4px;
}

/* Education Timeline Specific Styles */
.glass-card {
    background: rgba(22, 22, 44, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    transform: translateY(-2px);
}

.timeline-line {
    background: linear-gradient(to bottom, transparent, #00E5FF 15%, #00E5FF 85%, transparent);
    width: 2px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.glow-dot {
    box-shadow: 0 0 15px #00E5FF, 0 0 5px #00E5FF;
}

.architect-btn {
    position: relative;
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: transparent;
    overflow: hidden;
}

.architect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: 0.5s;
}

.architect-btn:hover::before {
    left: 100%;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-blink {
    animation: blink 1s step-end infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-data {
    animation: float 4s ease-in-out infinite;
}

.system-grid {
    background-image: radial-gradient(circle, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.network-node {
    animation: pulse-node 3s ease-in-out infinite;
}

@keyframes pulse-node {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.line-flow {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 5s linear forwards infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

/* Neural Node styles from SVG */
@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.rotating-container {
    transform-origin: center;
    animation: rotate-slow 60s linear infinite;
}

.pulse-dot {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Utility Classes for Removing Inline Styles */
.mt-mobile-button {
    margin-top: 2rem !important;
}

.verified-fill {
    font-variation-settings: 'FILL' 1;
}

.text-secondary-variable {
    color: var(--secondary);
}

/* Animation Delays */
.delay-neg-0-5 {
    animation-delay: -0.5s;
}

.delay-neg-1 {
    animation-delay: -1s;
}

.delay-neg-1-5 {
    animation-delay: -1.5s;
}

.delay-neg-2 {
    animation-delay: -2s;
}

.delay-neg-2-5 {
    animation-delay: -2.5s;
}

.delay-neg-3 {
    animation-delay: -3s;
}

/* Equalizer Bars */
.eq-bar-1 {
    height: 1rem;
    opacity: 0.4;
}

.eq-bar-2 {
    height: 1.5rem;
    opacity: 0.6;
}

.eq-bar-3 {
    height: 0.75rem;
    opacity: 0.8;
}

.eq-bar-4 {
    height: 1.25rem;
}

/* ============================================================
   LAYOUT: Ultra-wide & Responsive Centering
   Backgrounds (fixed) always cover 100vw.
   .main-wrapper constrains readable content width.
   ============================================================ */

.main-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Give sections horizontal breathing room inside the wrapper */
#hero,
#intro-section,
#education,
#projects,
#skills,
#contact {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    #hero,
    #intro-section,
    #education,
    #projects,
    #skills,
    #contact {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* On 2560px+ screens (ultra-wide / aspect ratio > 21:9),
   keep the nav bar centered too */
@media (min-width: 1441px) {
    .nav-container {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .footer-content {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Extra padding so content breathes on huge monitors */
    #projects,
    #skills,
    #contact {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .intro-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ============================================================
   MOBILE: < 640px
   ============================================================ */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.75rem !important;
        line-height: 1.7;
    }

    .hero-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding-bottom: 1.5rem;
    }

    .hud-left,
    .hud-right {
        text-align: center;
    }

    .intro-container {
        flex-direction: column !important;
        gap: 2.5rem;
    }

    .intro-profile {
        margin: 0 auto;
    }

    .intro-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    #education .relative.max-w-6xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Stack skill cards vertically */
    #skills .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   TABLET: 641px – 1023px
   ============================================================ */
@media (min-width: 641px) and (max-width: 1023px) {
    .hero-title {
        font-size: 3rem !important;
    }

    .intro-container {
        gap: 3rem;
    }
}