/* Shared base styles, loaded once and cached by browser */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 24px;
        }
        @keyframes fadeSlideIn {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .anim { animation: fadeSlideIn 0.8s ease-out forwards; opacity: 0; }
        .d1 { animation-delay: 0.1s; }
        .d2 { animation-delay: 0.2s; }
        .d3 { animation-delay: 0.3s; }
        .d4 { animation-delay: 0.4s; }
        .d5 { animation-delay: 0.5s; }

        /* ---- Shared nav ---- */
        .site-nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-link {
            color: #a1a1aa;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        .nav-link:hover { color: #fff; }
        .nav-link.active { color: #c4b5fd; }
        .hamburger-btn {
            display: none;
            background: none;
            border: none;
            color: #e4e4e7;
            cursor: pointer;
            padding: 4px;
        }
        .hamburger-btn svg { width: 28px; height: 28px; }

        /* Side menu */
        .side-menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        .side-menu-overlay.open { display: block; }
        .side-menu {
            position: fixed;
            top: 0;
            right: -280px;
            bottom: 0;
            width: 280px;
            background: #18181b;
            z-index: 101;
            transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            padding: 24px;
        }
        .side-menu.open { right: 0; }
        .side-menu-close {
            align-self: flex-end;
            background: none;
            border: none;
            color: #71717a;
            cursor: pointer;
            padding: 4px;
            margin-bottom: 32px;
        }
        .side-menu-close:hover { color: #fff; }
        .side-menu-close svg { width: 24px; height: 24px; }
        .side-menu-links {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-bottom: 40px;
        }
        .side-menu-links a,
        .side-menu-links button {
            color: #e4e4e7;
            text-decoration: none;
            font-size: 1.125rem;
            font-weight: 500;
            font-family: inherit;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            text-align: left;
            transition: color 0.2s;
        }
        .side-menu-links a:hover,
        .side-menu-links button:hover { color: #a78bfa; }
        .side-menu-socials {
            display: flex;
            gap: 12px;
            margin-top: auto;
        }
        .side-menu-social {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.2s;
            text-decoration: none;
        }
        .side-menu-social:hover {
            background: rgba(167,139,250,0.2);
            border-color: rgba(167,139,250,0.3);
            transform: scale(1.08);
        }
        .side-menu-social svg { width: 18px; height: 18px; color: #e4e4e7; }

        /* Nav CTA button (desktop) */
        .nav-cta {
            display: inline-flex;
            align-items: center;
            padding: 8px 20px;
            border-radius: 100px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.05);
            color: #e4e4e7;
            font-family: inherit;
            font-size: 0.8125rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: all 0.2s;
        }
        .nav-cta:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.25);
            color: #fff;
        }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Mobile side menu CTA button */
        .side-menu-links .side-menu-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px !important;
            border-radius: 100px;
            border: 1px solid rgba(255,255,255,0.2) !important;
            background: rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #e4e4e7;
            font-family: inherit;
            font-size: 0.875rem !important;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            width: fit-content;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s;
            width: 100%;
            text-align: center;
        }
        .side-menu-links .side-menu-cta:hover {
            background: rgba(255,255,255,0.15) !important;
            border-color: rgba(255,255,255,0.3) !important;
            color: #fff;
        }

        /* Applications dropdown */
        /* Nav Menu System */
        .nav-menu {
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-menu-trigger {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            height: 36px;
            padding: 0 8px;
            font-size: 0.8125rem;
            font-weight: 500;
            color: #a1a1aa;
            border-radius: 6px;
            transition: color 0.15s, background 0.15s;
            border: none;
            background: none;
            font-family: inherit;
        }
        .nav-menu-trigger:hover,
        .nav-menu-trigger.active {
            color: #fff;
            background: rgba(255,255,255,0.06);
        }
        .nav-menu-trigger svg {
            margin-left: 4px;
            width: 12px;
            height: 12px;
            transition: transform 0.2s;
        }
        .nav-menu-trigger.active svg {
            transform: rotate(180deg);
        }
        .nav-menu-viewport {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 50;
            display: none;
            padding-top: 4px;
        }
        .nav-menu-viewport.open {
            display: block;
        }
        .nav-panel { }
        .nav-dropdown-menu {
            background: #18181b;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 6px;
            min-width: 280px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
        }
        .nav-dropdown-menu a {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 10px 12px;
            color: #a1a1aa;
            text-decoration: none;
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.15s;
        }
        .nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
        .nav-dropdown-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            color: #a78bfa;
            margin-top: 2px;
        }
        .nav-dropdown-text { flex: 1; }
        .nav-dropdown-title {
            font-size: 0.8125rem;
            font-weight: 600;
            color: #e4e4e7;
            margin-bottom: 2px;
        }
        .nav-dropdown-desc {
            font-size: 0.6875rem;
            color: #71717a;
            line-height: 1.4;
        }
        .nav-dropdown-menu a:hover .nav-dropdown-title { color: #fff; }
        .nav-dropdown-menu a:hover .nav-dropdown-desc { color: #a1a1aa; }

        /* Mobile sub-links */
        .side-menu-sub {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-left: 0;
            margin-top: -8px;
        }
        .side-menu-sub a {
            display: flex !important;
            gap: 12px !important;
            align-items: flex-start !important;
            padding: 10px 12px !important;
            border-radius: 8px !important;
            font-size: 0.875rem !important;
            color: #a1a1aa !important;
        }
        .side-menu-sub a:hover { background: rgba(255,255,255,0.06) !important; }
        .side-menu-sub .sm-icon { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
        .side-menu-sub .sm-text { flex: 1; }
        .side-menu-sub .sm-title { font-size: 0.875rem; font-weight: 600; color: #e4e4e7; margin-bottom: 2px; }
        .side-menu-sub .sm-desc { font-size: 0.75rem; color: #71717a; line-height: 1.4; }
        .side-menu-sub a:hover { color: #a78bfa !important; }

        @media (max-width: 767px) {
            .nav-right { display: none; }
            .hamburger-btn { display: flex; }
        }
