
        /* Sub-Navigation Styles - Updated to match your design */

        .help-subnav {
            background: var(--gradient-card);
            border: 1px solid var(--light-bg);
            border-radius: var(--large-radius);
            padding: 0;
            margin: 0 0 30px 0;
            box-shadow: var(--shadow-card);
            position: sticky;
            max-height: calc(100vh - var(--nav-height) - 4em);
            overflow-x: hidden;
            overflow-y: auto;
            top: calc(var(--nav-height) + 2em);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .help-subnav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.8), rgba(255,255,255,0.4));
            z-index: 2;
        }

        .help-subnav::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-card-gloss);
            opacity: 0.6;
            z-index: 1;
        }

        .subnav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: var(--gradient-primary);
            border-radius: var(--large-radius) var(--large-radius) 0 0;
            border-bottom: 1px solid #dee2e6;
            
            /* Make it sticky */
            position: sticky;
            top: 0;
            z-index: 3; /* Ensure it sits above the scrollable list */
        }

        .subnav-header h4 {
            margin: 0;
            color: var(--white);
            font-size: 16px;
            font-weight: 700;
            font-family: "Righteous", sans-serif;
        }

        .subnav-list {
            list-style: none;
            padding: 0;
            margin: 0;
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
            max-height: 100vh;
        }

        .subnav-list.collapsed {
            max-height: 0;
            min-height: 0;
            overflow: hidden;
        }

        .subnav-toggle {
            background: none;
            border: none;
            font-size: 12px;
            cursor: pointer;
            color: var(--text-primary);
            transition: transform 0.2s ease;
        }

        .subnav-toggle.collapsed {
            transform: rotate(-90deg);
        }

        .subnav-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .subnav-item:last-child {
            border-bottom: none;
        }

        .subnav-link {
            display: block;
            padding: 12px 25px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            line-height: 1.4;
            position: relative;
            overflow: hidden;
        }

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

        .subnav-link:hover::before {
            left: 100%;
        }

        .subnav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--white);
            text-decoration: none;
            transform: translateX(5px);
        }

        .subnav-link.active {
            background: var(--gradient-primary);
            color: var(--white);
            font-weight: 600;
            border-left: 4px solid var(--theme-light);
        }

        /* Heading level indentation */
        .level-1 .subnav-link { 
            padding-left: 15px;
            font-weight: 600; 
            font-size: 15px;
        }
        .level-2 .subnav-link { 
            padding-left: 35px; 
            font-weight: 500; 
        }
        .level-3 .subnav-link { padding-left: 55px; }
        .level-4 .subnav-link { padding-left: 65px; font-size: 13px; }
        .level-5 .subnav-link { padding-left: 75px; font-size: 13px; }
        .level-6 .subnav-link { padding-left: 85px; font-size: 13px; }

        /* Heading anchor styles */
        .heading-anchor {
            color: var(--theme-accent);
            text-decoration: none;
            margin-left: 10px;
            opacity: 0;
            transition: opacity 0.2s ease;
            font-weight: normal;
        }

        .help-content h1:hover .heading-anchor,
        .help-content h2:hover .heading-anchor,
        .help-content h3:hover .heading-anchor,
        .help-content h4:hover .heading-anchor,
        .help-content h5:hover .heading-anchor,
        .help-content h6:hover .heading-anchor {
            opacity: 1;
        }

        /* Help content layout */
        .help-layout {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            align-items: start;
        }

        .help-content {
            min-width: 0;
            background: var(--gradient-card);
            border-radius: var(--large-radius);
            padding: 2rem;
            box-shadow: var(--shadow-card);
            border: 1px solid var(--light-bg);
            position: relative;
            overflow: hidden;
        }

        .help-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.8), rgba(255,255,255,0.4));
            z-index: 2;
        }

        .help-content::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-card-gloss);
            opacity: 0.3;
            z-index: 1;
        }

        /* Help content typography */
        .help-content > * {
            position: relative;
            z-index: 2;
        }

        .help-content h1,
        .help-content h2,
        .help-content h3,
        .help-content h4,
        .help-content h5,
        .help-content h6 {
            margin-bottom: 1em;
            color: var(--white);
            font-family: "Righteous", sans-serif;
        }

        .help-content h1 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            background: var(--gradient-white);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 0.5rem;
            margin-top: 1em;
        }

        .help-content h1:first-child {
            margin-top: 0;
            border-top: none;
            padding-top: 0;
        }

        .help-content h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--white);
        }

        .help-content h3 {
            font-size: clamp(1.25rem, 2.5vw, 1.5rem);
            color: var(--white);
        }

        .help-content h1:first-child,
        .help-content h2:first-child,
        .help-content h3:first-child {
            margin-top: 0;
        }

        .help-content p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .help-content strong {
            color: var(--white);
        }

        .help-content iframe {
            display: block;
            margin: 1em auto;
            width: 100%;
            aspect-ratio: 16 / 9;
            max-width: 500px;
            border-radius: var(--small-radius);
            box-shadow: var(--shadow-card);
        }

        .help-content code {
            padding: 0.2em 0.4em;
            border-radius: 4px;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        }

        .help-content pre {
            background: var(--darker-bg);
            color: var(--text-secondary);
            padding: 1rem;
            border-radius: var(--small-radius);
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow-x: auto;
            margin: 1rem 0;
        }

        .help-content pre code {
            background: none;
            padding: 0;
        }

        .help-content img {
            max-width: 500px;
            width: 100%;
            height: auto;
            border-radius: var(--small-radius);
            box-shadow: var(--shadow-card);
            margin: 1em auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: block;
        }

        .help-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1em 0;
            background: var(--gradient-white);
            border: 1px solid var(--black);
            border-radius: var(--small-radius);
            overflow: hidden;
        }

        .help-content table th,
        .help-content table td {
            padding: 12px 16px;
            text-align: left;
            border: 1px solid var(--white);
        }

        .help-content table th {
            color: var(--black);
            font-weight: 600;
        }

        .help-content table td {
            color: var(--black);
        }

        .help-content table tr:last-child td {
            border-bottom: none;
        }

        .help-content ul,
        .help-content ol {
            color: var(--text-secondary);
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .help-content li {
            margin-bottom: 0.5rem;
        }

        .help-content blockquote {
            background: rgba(255, 255, 255, 0.05);
            border-left: 4px solid var(--light-bg);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 var(--small-radius) var(--small-radius) 0;
            color: var(--text-secondary);
            font-style: italic;
        }

        /* Pro feature styling */
        .pro-feature {
            position: relative;
            padding: 1rem;
            border: 2px solid #bf9300;
            border-radius: 8px;
            background: linear-gradient(135deg, var(--theme-dark) 0%, var(--theme-primary) 100%);
            margin: 1rem 0;
        }
        
        .pro-feature::before {
            content: "PRO";
            position: absolute;
            top: -12px;
            right: 12px;
            background: linear-gradient(45deg, #ffb700, #ab7800);
            color: var(--white);
            padding: 4px 12px;
            border-radius: 12px;
            font-weight: bold;
            font-size: 0.8rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* Responsive design */
        @media (max-width: 990px) {
            .help-layout {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .help-subnav {
                position: static;
                margin-bottom: 20px;
                order: -1;
            }

            .subnav-header {
                padding: 15px 20px;
            }
            
            .subnav-link {
                padding: 10px 20px;
                font-size: 13px;
            }
            
            .help-content {
                padding: 1.5rem;
            }
            
            .level-1 .subnav-link { padding-left: 20px; font-size: 14px; }
            .level-2 .subnav-link { padding-left: 30px; }
            .level-3 .subnav-link { padding-left: 40px; }
            .level-4 .subnav-link { padding-left: 50px; font-size: 12px; }
            .level-5 .subnav-link { padding-left: 60px; font-size: 12px; }
            .level-6 .subnav-link { padding-left: 70px; font-size: 12px; }
        
        }