@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap");
:root {
            --signal-red: #00f0ff;    /* Custom high-tech cyan accent */
            --bg-light: #0a0b0d;      /* Sleek dark background */
            --text-dark: #f8f9fa;     /* Crisp off-white text */
            --surface: #14161c;        /* Glassy dark surface */
            --surface-alt: #1a1d24;    /* Contrasting dark surface */
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
        }

        #hero-wrapper {
            position: relative;
            width: 100vw;
            height: 100vh;
            pointer-events: none; /* Let clicks pass to canvas */
        }

        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
        }

        /* UI Layer */
        #ui-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
            pointer-events: none; /* Let clicks pass to canvas */
            display: flex;
            padding: 3rem;
            flex-direction: column;
            justify-content: space-between;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: auto;
        }

        .brand {
            font-family: 'IBM Plex Mono', monospace;
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.05em;
            text-transform: uppercase;
        }

        .brand span { color: var(--signal-red); }

        nav {
            display: flex;
            gap: 2.5rem;
        }

        nav a {
            color: var(--text-dark);
            text-decoration: none;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.9rem;
            text-transform: uppercase;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        nav a:hover { color: var(--signal-red); }

        .hint {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.8rem;
            opacity: 0.7;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            animation: pulse 2s infinite;
            margin-top: 2rem;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }

        /* Detail Card */
        #detail-card {
            position: absolute;
            bottom: 3rem;
            right: 3rem;
            width: 400px;
            background: rgba(15, 17, 21, 0.75);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-left: 4px solid var(--signal-red);
            padding: 2.5rem;
            border-radius: 0.75rem;
            pointer-events: auto;
            transform: translateX(120%);
            opacity: 0;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            transition: none; /* Handled by GSAP */
        }

        .card-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.75rem;
            color: var(--signal-red);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: bold;
        }

        .card-title {
            font-size: 2rem;
            margin-bottom: 1rem;
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
        }

        .card-desc {
            font-size: 0.95rem;
            line-height: 1.6;
            opacity: 0.7;
            margin-bottom: 2rem;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 1.5rem;
        }

        .metric .val {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 1.2rem;
            font-weight: 700;
        }

        .metric .lbl {
            font-size: 0.7rem;
            opacity: 0.6;
            text-transform: uppercase;
            margin-top: 0.2rem;
            font-weight: bold;
        }

        .btn-back {
            background: transparent;
            color: var(--text-dark);
            border: 1px solid rgba(0, 0, 0, 0.3);
            padding: 0.75rem 1.5rem;
            border-radius: 100px;
            cursor: pointer;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.8rem;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .btn-back:hover {
            background: var(--text-dark);
            color: white;
        }

        /* Loading Screen */
        #loader {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: var(--bg-light);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--signal-red);
            font-family: 'IBM Plex Mono', monospace;
            font-weight: bold;
            font-size: 1.2rem;
            transition: opacity 1s ease;
        }

        .scroll-buffer {
            height: 120vh;
            pointer-events: none;
        }

        /* Page Content Sections */
        .content-section {
            position: relative;
            z-index: 20;
            background: transparent;
            padding: 8rem 4rem;
            min-height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .content-section.alt {
            background: transparent;
        }

        .section-header {
            margin-bottom: 3rem;
            color: var(--text-dark);
            line-height: 1.1;
        }

        .section-header .verb {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 2.2rem;
            letter-spacing: -0.03em;
            text-transform: uppercase;
            opacity: 0.6;
        }

        .section-header .noun {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 5.5rem;
            letter-spacing: -0.04em;
            background: linear-gradient(135deg, var(--signal-red) 0%, #0066ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-left: 0;
            display: block;
            margin-top: 0.5rem;
        }

        .section-content {
            font-family: 'Inter', sans-serif;
            font-size: 1.05rem;
            line-height: 1.8;
            max-width: 650px;
            opacity: 0.75;
            border-left: 2px solid var(--signal-red);
            padding-left: 2rem;
            margin-left: 0;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
            margin-left: 0;
        }

        .card {
            background: rgba(20, 22, 28, 0.4);
            backdrop-filter: blur(10px);
            padding: 2.2rem;
            border-radius: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            border-color: var(--signal-red);
            box-shadow: 0 10px 30px rgba(0, 240, 255, 0.06);
        }

        .card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -0.01em;
        }

        .card p {
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            opacity: 0.6;
            line-height: 1.6;
        }