/* ── Globe background canvas ───────────────────────── */
        #globeScene {
            position: fixed;
            inset: 0;
            width: 100vw !important;
            height: 100vh !important;
            max-width: none !important;
            max-height: none !important;
            aspect-ratio: unset !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            margin: 0 !important;
            background: transparent !important;
            z-index: 0;
            pointer-events: none;
            opacity: 0.65;
        }
        /* ── All page content sits above the globe ─────────── */
        /* .hamburger / .nav-links / .menu-overlay are already
           position:fixed with z-index:1001 in style.css — don't touch them */
        .hero, section, footer, .footer {
            position: relative;
            z-index: 1;
        }

        /* ── Nav submenu ──────────────────────────────────── */
        .nav-has-sub {
            position: relative;
        }
        /* The parent "Tools" row */
        .nav-has-sub > .nav-parent {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            padding: 0.65rem 0;
            cursor: pointer;
            transition: color 0.3s ease;
            position: relative;
            user-select: none;
        }
        .nav-has-sub > .nav-parent:hover {
            color: #64a0ff;
        }
        /* Animated chevron */
        .nav-chevron {
            display: inline-flex;
            align-items: center;
            transition: transform 0.3s ease;
            opacity: 0.65;
        }
        .nav-has-sub.open > .nav-parent .nav-chevron {
            transform: rotate(180deg);
            opacity: 1;
        }
        /* Submenu list */
        .nav-submenu {
            list-style: none;
            margin: 0;
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.28s ease;
            opacity: 0;
        }
        .nav-has-sub.open .nav-submenu {
            max-height: 340px;
            opacity: 1;
        }
        .nav-submenu li {
            padding: 0;
        }
        .nav-submenu a {
            display: block;
            color: rgba(200, 220, 255, 0.82) !important;
            font-size: 0.9rem !important;
            font-weight: 400 !important;
            padding: 0.5rem 0 0.5rem 1.4rem !important;
            border-left: 2px solid rgba(100, 160, 255, 0.25);
            margin-left: 0.4rem;
            transition: color 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease !important;
        }
        .nav-submenu a::before { display: none !important; }
        .nav-submenu a:hover {
            color: #64a0ff !important;
            border-left-color: #8b5cf6;
            padding-left: 2rem !important;
        }
        /* Tool icon badges in submenu */
        .nav-sub-badge {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 5px;
            font-size: 0.65rem;
            font-weight: 700;
            line-height: 20px;
            text-align: center;
            margin-right: 8px;
            vertical-align: middle;
            flex-shrink: 0;
        }
        .nav-sub-badge.blue   { background: linear-gradient(135deg,#3b82f6,#1d4ed8); color:#fff; }
        .nav-sub-badge.purple { background: linear-gradient(135deg,#7c3aed,#5b21b6); color:#fff; }
        .nav-sub-badge.green  { background: linear-gradient(135deg,#059669,#065f46); color:#fff; }
        .nav-sub-badge.teal   { background: linear-gradient(135deg,#0d9488,#115e59); color:#fff; }
        /* Larger badges inside app cards */
        .app-icon .nav-sub-badge {
            width: 100%;
            height: 100%;
            margin: 0;
            border-radius: 18px;
            font-size: 1.35rem;
            line-height: 80px;
            letter-spacing: 0.04em;
        }
        .app-icon:has(.nav-sub-badge) {
            background: transparent;
            box-shadow: none;
            padding: 0;
        }

        /* ── Logo drop-in ─────────────────────────────────── */
        .logo-container {
            overflow: visible;
        }
        .logo {
            opacity: 0;
            transform: translateY(-80px);
            transition: none; /* controlled by JS once hero is visible */
        }
        .logo.logo-dropped {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* ── Scroll arrow ─────────────────────────────────── */
        @keyframes scrollBounce {
            0%, 100% { transform: translateY(0) translateX(-50%);  opacity: 0.85; }
            50%       { transform: translateY(10px) translateX(-50%); opacity: 1;   }
        }
        @keyframes scrollFadeOut {
            to { opacity: 0; pointer-events: none; }
        }
        #scroll-arrow {
            position: fixed;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            animation: scrollBounce 1.6s ease-in-out infinite;
            transition: opacity 0.5s ease;
        }
        #scroll-arrow.hidden {
            opacity: 0;
            pointer-events: none;
        }
        #scroll-arrow span {
            display: block;
            font-size: 0.62rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(190, 230, 255, 0.72);
            font-weight: 600;
            font-family: system-ui, -apple-system, sans-serif;
        }
        #scroll-arrow svg {
            width: 36px;
            height: 36px;
            filter: drop-shadow(0 0 8px rgba(56,189,248,0.8));
        }
        #scroll-arrow svg path {
            fill: none;
            stroke: rgba(100, 210, 255, 0.92);
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
