
        /* â”€â”€ SIDEBAR LAYOUT â”€â”€ */
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            min-height: 100dvh;
            margin: 0;
        }

        .page-layout {
            display: flex;
            flex: 1 0 auto;
            width: 100%;
            min-height: 0 !important; /* Override premium-theme.css which sets 100vh */
        }

        /* Left Sidebar */
        .hero-sidebar {
            width: 300px;
            min-width: 300px;
            background: linear-gradient(180deg, #1c1f30 0%, #26293d 100%);
            /* Premium dark theme */
            position: sticky;
            top: 64px;
            height: calc(100vh - 64px);
            overflow-y: auto;
             
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 32px 20px;
            z-index: 10;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Custom Scrollbar for Sidebar */
        .hero-sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .hero-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .hero-sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .hero-sidebar:hover::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.25);
        }

        /* Orbs */
        .hero-sidebar .orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-sidebar .orb-1 {
            width: 260px;
            height: 260px;
            top: -80px;
            right: -80px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
        }

        .hero-sidebar .orb-2 {
            width: 220px;
            height: 220px;
            bottom: -60px;
            left: -60px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
        }

        .hero-sidebar .orb-3 {
            width: 160px;
            height: 160px;
            top: 50%;
            left: 30%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
        }

        .sidebar-accordion .accordion-button::after {
            filter: invert(1) grayscale(100%) brightness(200%);
        }

        .sidebar-accordion .accordion-button:focus {
            box-shadow: none;
        }

        /* Glass card inside sidebar */
        .sidebar-glass-card {
            background: rgba(255, 255, 255, 0.07);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.13);
            border-radius: 22px;
            padding: 28px 22px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Main content area */
        .main-content {
            flex: 1;
            width: 100%;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            min-width: 0;
             
            transition: margin-left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        body.sidebar-is-open .main-content,
        body.sidebar-is-open .navbar-custom {
            margin-left: 280px;
        }

        @media (max-width: 991.98px) {
            body.sidebar-is-open .main-content,
            body.sidebar-is-open .navbar-custom {
                margin-left: 0; /* don't push on mobile */
            }
        }
        
        .navbar-custom {
            transition: margin-left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        @media (max-width: 991.98px) {
            .hero-sidebar {
                display: none;
            }

            .page-layout {
                flex-direction: column;
            }

            .main-content {
                min-height: auto;
                padding-bottom: 0 !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .hero-features {
                grid-template-columns: 1fr;
            }

            .hero-text h1 {
                font-size: 3rem;
            }

            .hero-text {
                padding-right: 0;
                text-align: center;
            }
            
            .hero-section .row {
                flex-direction: column-reverse;
                text-align: center;
            }
            
            .hero-text p {
                margin: 0 auto;
            }
        }

        .hero-section {
            padding: 40px 0 20px;
            display: flex;
            align-items: center;
            min-height: auto;
        }

        .hero-section .row {
            align-items: center;
        }

        .hero-text {
            color: var(--text-main);
            padding-right: 80px;
        }

        .hero-text h1 {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 5rem;
            margin-bottom: 20px;
            line-height: 1.1;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text p {
            font-size: 1.3rem;
            max-width: 650px;
        }

        .hero-features {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
            margin-top: 40px;
            margin-bottom: 2.5rem;
        }

        .hero-features li {
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-muted);
            font-weight: 500;
            background: rgba(0, 0, 0, 0.03);
            /* Adapted for light mode */
            border: 1px solid rgba(0, 0, 0, 0.08);
            /* Adapted for light mode */
            border-radius: 14px;
            padding: 16px;
            margin: 0;
        }

        .horizontal-section {
            padding: 2rem 0;
            border-top: none;
            background: transparent;
        }

        .bg-darker {
            background: rgba(0, 0, 0, 0.2);
        }

        .nta-cards {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .nta-card {
            background: linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(99, 102, 241, .04));
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-subtle);
            border-radius: 28px;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            transition: var(--transition-smooth);
            min-width: unset;
            width: 100%;
            max-width: 340px;
            min-height: 220px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.8rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .nta-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-glow);
            color: var(--primary);

            /* User's merged hover properties */
            transform: translateY(-8px) scale(1.03);
        }

        .popular-notes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
        }

        .pop-note-card {
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            transition: var(--transition-smooth);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.75rem;

            /* User's merged properties */
            min-height: 180px;
            justify-content: center;
            border-radius: 16px;
            padding: 15px;
        }

        .pop-note-card:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }

        .pop-icon {
            font-size: 3rem;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .pop-title {
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 1.25rem;
            color: var(--text-main);
            text-transform: uppercase;
        }

        .login-box {
            background: var(--card-bg-glass);
            max-width: 520px;
            padding: 50px;
            border-radius: 32px;
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid var(--border-subtle);
            box-shadow:
                0 30px 60px rgba(0, 0, 0, .15),
                0 0 40px rgba(59, 130, 246, .10);
            transition: .4s;
            margin: 0 auto;
        }

        .login-box:hover {
            transform: translateY(-5px);
        }

        .login-box h2 {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-size: 2rem;
            text-align: center;
        }

        .subtitle-text {
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            font-size: 1rem;
            text-align: center;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--text-main);
        }

        .premium-input {
            width: 100%;
            padding: 14px 18px;
            background: var(--input-bg);
            border: 1px solid var(--input-border);
            border-radius: 12px;
            color: var(--text-main);
            transition: var(--transition-smooth);
            font-size: 1rem;
        }

        .premium-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }

        .options-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            font-size: 0.95rem;
        }

        .forgot-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        .register-text {
            text-align: center;
            margin-top: 2rem;
            font-size: 1rem;
            color: var(--text-muted);
        }

        .register-text a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .register-text a:hover {
            text-decoration: underline;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                margin-top: 5px !important;
            }

            to {
                opacity: 1;
                margin-top: 15px !important;
            }
        }

        .dropdown-menu.show {
            animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        /* NTA Navbar Dropdown */
        .nta-nav-item {
            position: relative;
        }

        .nta-nav-btn {
            background: transparent;
            border: none;
            color: var(--text-main);
            font-weight: 600;
            font-size: 0.95rem;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
        }

        .nta-nav-item:hover .nta-nav-btn {
            background: rgba(59, 130, 246, 0.1);
            color: var(--primary);
        }

        .nta-nav-dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(15px);
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            min-width: 200px;
            padding: 12px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 50;
            border: 1px solid var(--border-subtle);
        }

        .nta-nav-item:hover .nta-nav-dropdown {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(5px);
        }

        .nta-nav-dropdown a {
            display: flex;
            align-items: center;
            padding: 9px 14px;
            border-radius: 8px;
            color: #334155;
            font-size: 0.9rem;
            font-weight: 600;
            font-family: 'Outfit', sans-serif;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .nta-nav-dropdown a:hover {
            background: #f1f5f9;
            color: var(--primary);
        }

        /* Premium Glass Card (Mobile-First iOS Style) */
        .premium-glass-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            padding: 14px 20px;
            border-radius: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 320px;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
            cursor: pointer;
            text-decoration: none;
            margin-bottom: 12px;
        }

        .premium-glass-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.3);
            background: rgba(255, 255, 255, 0.95);
        }

        .premium-glass-card:active {
            transform: scale(0.96);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
        }

        .premium-glass-card-text {
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            color: #1e293b;
            letter-spacing: 0.5px;
        }

        .premium-glass-card-icon {
            background: rgba(59, 130, 246, 0.1);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .premium-glass-card:hover .premium-glass-card-icon {
            background: rgba(59, 130, 246, 0.2);
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .premium-glass-card {
                padding: 12px 16px;
                border-radius: 14px;
                max-width: 280px;
                margin-bottom: 10px;
            }

            .premium-glass-card-text {
                font-size: 0.75rem;
                letter-spacing: 0.3px;
            }

            .premium-glass-card-icon {
                width: 28px;
                height: 28px;
            }

            .premium-glass-card-icon i {
                font-size: 0.9rem !important;
            }
        }

        /* Premium Glowing Floating Badge (True 3D Double-Sided) */
        .badge-3d-container {
            perspective: 800px;
            display: inline-block;
        }

        .floating-gold-badge {
            position: relative;
            transform-style: preserve-3d;
            animation: floatBadge 30s linear infinite;
            cursor: pointer;
            display: inline-block;
        }

        .badge-face {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.12));
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #059669;
            border-radius: 50px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: center;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .badge-face.badge-back {
            transform: rotateX(180deg);
        }

        .floating-gold-badge:hover .badge-face {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.2));
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25), inset 0 2px 5px rgba(255, 255, 255, 0.9);
            color: #047857;
            border-color: rgba(16, 185, 129, 0.4);
        }

        .floating-gold-badge:hover {
            animation-play-state: paused;
        }

        @keyframes floatBadge {
            0% {
                transform: rotateX(0deg);
            }

            100% {
                transform: rotateX(360deg);
            }
        }

        @media (max-width: 767.98px) {
            .mobile-gold-header {
                background: linear-gradient(135deg, #059669, #34d399, #047857) !important;
                -webkit-background-clip: text !important;
                background-clip: text !important;
                -webkit-text-fill-color: transparent !important;
                filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2)) !important;
            }

            .mobile-gold-header::after {
                background: linear-gradient(90deg, #10b981, #34d399) !important;
                width: 60px !important;
            }
        }

        .btn-gold-glow {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.12));
            color: #059669 !important;
            border: 1px solid rgba(16, 185, 129, 0.3);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 6px 14px;
        }

        .btn-gold-glow:hover {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.2));
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25), inset 0 2px 5px rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
            border-color: rgba(16, 185, 129, 0.4);
            color: #047857 !important;
        }

        .btn-gold-glow:active {
            transform: scale(0.96) translateY(0);
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
        }

        @keyframes pulseGlow {
            0% {
                opacity: 0.8;
                transform: scale(1);
            }

            50% {
                opacity: 1;
                transform: scale(1.15);
            }

            100% {
                opacity: 0.8;
                transform: scale(1);
            }
        }

        /* Mobile-Only Enhancements (Transparent Navbar & Fade-in) */
        @media (max-width: 991.98px) {
            .navbar-custom {
                background: rgba(255, 255, 255, 0.95) !important;
                backdrop-filter: blur(15px) !important;
                -webkit-backdrop-filter: blur(15px) !important;
                border-bottom: 1.5px solid rgba(16, 185, 129, 0.25) !important;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
                transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            }

            .navbar-custom.navbar-scrolled {
                background: rgba(255, 255, 255, 0.85) !important;
                backdrop-filter: blur(20px) !important;
                -webkit-backdrop-filter: blur(20px) !important;
                border-bottom: 1px solid rgba(203, 213, 225, 0.5) !important;
                box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
            }

            .mobile-fade-in {
                animation: fadeInUpMobile 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
                opacity: 0;
                transform: translateY(30px);
            }

            @keyframes fadeInUpMobile {
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }

        /* Premium Gold Button */
        .btn-premium-gold {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #ffffff !important;
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 1.15rem;
            padding: 16px 32px;
            border-radius: 50px;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            max-width: 360px;
            margin: 25px auto 0;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
            cursor: pointer;
            position: relative;
            z-index: 10;
        }

        .btn-premium-gold:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(16, 185, 129, 0.45);
            background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
        }

        .btn-premium-gold:active {
            transform: scale(0.96);
            box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
        }

        .btn-premium-gold i {
            transition: transform 0.3s ease;
        }

        .btn-premium-gold:hover i {
            transform: translateX(4px);
        }

        @media (max-width: 767.98px) {
            .btn-premium-gold {
                padding: 12px 24px;
                font-size: 1.05rem;
                max-width: 320px;
            }
        }

        /* Premium Sidebar Flyout Menu Styles */
        .sidebar-hover-item {
            position: relative;
            margin-bottom: 8px;
            width: 100%;
        }

        .sidebar-hover-btn {
            background: transparent;
            color: #475569;
            border-radius: 12px;
            padding: 12px 18px;
            width: 100%;
            text-align: left;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            border: none;
        }

        .sidebar-hover-btn:hover,
        .sidebar-hover-item.open-mobile .sidebar-hover-btn {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
            color: #10b981 !important;
            transform: translateX(8px) scale(1.02);
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15), inset 3px 0 0 #10b981;
            border-radius: 12px;
        }

        .sidebar-hover-content, .sidebar-hover-item .sidebar-hover-content.collapse {
            display: block !important;
            position: relative;
            width: 100%;
            z-index: 10;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 12px;
            border: 1px solid rgba(16, 185, 129, 0.1);
            padding: 0 10px;
            margin-top: 0;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            pointer-events: none;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
        }

        .sidebar-hover-content.show,
        .sidebar-hover-content.collapsing {
            max-height: 500px !important;
            opacity: 1 !important;
            margin-top: 5px !important;
            padding: 10px !important;
            border-color: rgba(59, 130, 246, 0.2) !important;
            pointer-events: auto !important;
        }
        .sidebar-hover-item.open-mobile .sidebar-hover-content {
            display: block;
            animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes slideDownFade {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .sidebar-hover-content a {
            display: block;
            color: #475569 !important;
            text-decoration: none !important;
            font-size: 0.85rem;
            padding: 6px 12px;
            border-radius: 6px;
            margin-bottom: 4px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .sidebar-group-btn {
            background: rgba(255, 255, 255, 0.8);
            color: #1e293b;
            border: 1px solid rgba(16, 185, 129, 0.15);
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
            border-radius: 12px;
            padding: 12px 16px;
            width: 100%;
            text-align: left;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            margin-bottom: 8px;
            cursor: pointer;
        }

        .sidebar-hover-content a:hover {
            color: #10b981 !important;
            background: rgba(16, 185, 129, 0.1) !important;
            transform: translateX(4px);
        }

        .sidebar-hover-btn i.chevron {
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sidebar-hover-item.open-mobile .sidebar-hover-btn i.chevron {
            transform: rotate(90deg);
            color: #10b981;
        }
    