      /* * ISOLATED COMPONENT STYLES 
         * All styles are scoped to .fnav-root to prevent conflicts 
         */
        .fnav-root {
            /* Component-specific variables */
            --fnav-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
            --fnav-btn-bg: #1e293b; /* Sleek, universal Dark Slate/Blue instead of grey */
            --fnav-btn-hover: #0f172a; /* Deeper midnight shade for hover */
            --fnav-accent: #3b82f6; /* Vibrant primary blue for the progress ring */
            
            position: fixed;
            bottom: 80px; 
            right: 1rem; 
            z-index: 9999; 
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            font-family: 'Plus Jakarta Sans', sans-serif; 
            pointer-events: none; /* FIX 1: Lets clicks pass straight through the invisible box to your website! */
        }

        /* Scoped Reset - Only applies to elements inside the menu */
        .fnav-root *, 
        .fnav-root *::before, 
        .fnav-root *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* FIX: Apply resets directly to the classes to avoid CSS specificity overriding the background */
        .fnav-item, .fnav-trigger, .fnav-scroll-up {
            border: none;
            font-family: inherit;
            cursor: pointer;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        /* Animated Items Container */
        .fnav-container {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.5rem;
            margin-bottom: 1rem;
            margin-right: 0.5rem; 
        }

        /* Menu Items */
        .fnav-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background-color: var(--fnav-btn-bg);
            color: white;
            padding: 0.625rem 1.25rem;
            border-radius: 9999px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
            border: none; 
            text-decoration: none; /* HINT: Added this to remove the default link underline */
            
            /* Initial Closed State */
            transform: translateY(20px) scale(0.9);
            opacity: 0;
            filter: blur(4px);
            pointer-events: none;
            
            /* Combined Transitions */
            transition: 
                transform 0.5s var(--fnav-spring),
                opacity 0.4s ease,
                filter 0.4s ease,
                background-color 0.15s ease-out; 
        }

        .fnav-item:hover {
            background-color: var(--fnav-btn-hover);
        }

        /* Opened State */
        .fnav-active .fnav-item {
            transform: translateY(0) scale(1);
            opacity: 1;
            filter: blur(0);
            pointer-events: auto;
        }

        /* Active/Click State */
        .fnav-active .fnav-item:active {
            transform: scale(0.95);
            transition: transform 0.15s ease;
        }

        .fnav-text {
            font-weight: 600;
            font-size: 15px;
            white-space: nowrap;
        }

        /* Main FAB Trigger */
        .fnav-trigger {
            width: 3rem;
            height: 3rem;
            background-color: var(--fnav-btn-bg);
            color: white;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            transition: transform 0.25s var(--fnav-spring), background-color 0.15s ease-out;
            pointer-events: auto; /* FIX 1b: Ensures the actual ? button remains clickable */
        }

        .fnav-trigger:hover {
            background-color: var(--fnav-btn-hover);
            transform: translateY(-2px) scale(1.03); 
        }

        .fnav-trigger:active {
            transform: scale(0.92); 
            transition: transform 0.15s ease;
        }

 /* HINT: Start of icon CSS changes (Removed CSS-Only Plus Icon, added ? and X SVGs) */
        .fnav-icon-container {
            position: relative;
            width: 24px;
            height: 24px;
        }

        .fnav-icon-container svg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: transform 0.4s var(--fnav-spring), opacity 0.3s ease;
        }

        .fnav-icon-question {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }

        .fnav-icon-close {
            opacity: 0;
            transform: rotate(-90deg) scale(0.5);
        }

        .fnav-active .fnav-icon-question {
            opacity: 0;
            transform: rotate(90deg) scale(0.5);
        }

        .fnav-active .fnav-icon-close {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }
        /* Action Row (Bottom) */
        .fnav-action-row {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* Scroll Up Wrapper & Progress Ring */
        .fnav-scroll-wrapper {
            position: relative;
            width: 3rem;
            height: 3rem;
            border-radius: 9999px;
            transition: transform 0.25s var(--fnav-spring), opacity 0.3s ease, visibility 0.3s ease;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .fnav-scroll-wrapper.fnav-visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .fnav-scroll-wrapper:hover {
            transform: translateY(-2px) scale(1.03);
        }

        .fnav-scroll-wrapper:active {
            transform: scale(0.92);
            transition: transform 0.15s ease;
        }

        .fnav-progress-ring {
            position: absolute;
            top: -6px;
            left: -6px;
            width: calc(100% + 12px);
            height: calc(100% + 12px);
            transform: rotate(-90deg);
            z-index: 1;
            pointer-events: none;
        }

        .fnav-progress-ring circle {
            fill: transparent;
            stroke-width: 2.5px;
            stroke-linecap: round;
        }

        .fnav-ring-bg {
            stroke: rgba(255, 255, 255, 0.1); /* Updated to look better on dark slate */
        }

        .fnav-ring-progress {
            stroke: var(--fnav-accent);
            transition: stroke-dashoffset 0.1s ease-out, stroke 0.15s ease-out;
        }

        .fnav-scroll-wrapper:hover .fnav-ring-progress {
            stroke: #60a5fa; /* Lighter blue on hover */
        }

        /* Scroll Up Button inside wrapper */
        .fnav-scroll-up {
            width: 100%;
            height: 100%;
            background-color: var(--fnav-btn-bg);
            color: white;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
            transition: background-color 0.15s ease-out;
            position: relative;
            z-index: 2;
        }

        .fnav-scroll-wrapper:hover .fnav-scroll-up {
            background-color: var(--fnav-btn-hover);
        }

        /* Added just so you can test scrolling in the preview */
        body {
            min-height: 200vh;
        }

        /* --- Responsive / Mobile Adjustments --- */
        @media (max-width: 640px) {
            .fnav-root {
                right: 0.25rem; 
            }

            .fnav-trigger, .fnav-scroll-wrapper {
                width: 2.75rem;
                height: 2.75rem;
            }

            .fnav-container {
                margin-right: 0.25rem; 
                gap: 0.4rem;
            }

            .fnav-item {
                padding: 0.5rem 1rem;
                gap: 0.5rem;
            }

            .fnav-text {
                font-size: 14px;
            }

            .fnav-item svg {
                width: 18px;
                height: 18px;
            }

            .fnav-action-row {
                gap: 0.75rem;
            }
        }

