        :root { 
            --primary: #2563eb; 
            --primary-glow: rgba(37, 99, 235, 0.3);
            --secondary: #4f46e5;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --bg-deep: #0f172a;
            --bg-base: #1e293b;
            --bg-card: #1a1c24;
            --bg-sidebar: #0f172a;
            --text-main: #f8fafc;
            --text-dim: #94a3b8;
            --border: rgba(255,255,255,0.08);
            --glass-bg: rgba(255,255,255,0.02);
            --glass-border: rgba(255,255,255,0.08);
            --mesh-1: #1e3a8a;
            --mesh-2: #1e1b4b;
            --radius-lg: 16px;
            --radius-md: 10px;
            --shadow: 0 20px 60px rgba(0,0,0,0.6);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
        body { background: var(--bg-deep); color: var(--text-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
        
        /* Layout Structure */
        .workspace-wrapper { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
        .sidebar { background: var(--bg-sidebar); border-right: 1px solid var(--border); padding: 1.5rem; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 100; }
        .landing-page .sidebar { display: none !important; }
        .main-content-area { padding: 0; overflow-x: hidden; background: var(--bg-base); }
        
        .topbar { background: var(--bg-base); color: var(--text-main); padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 90; height: 72px; }
        
        /* Sidebar Elements */
        .side-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 2.5rem; padding: 0 10px; }
        .side-brand .logo-box { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
        .side-group { margin-bottom: 2rem; }
        .side-label { font-size: 0.65rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem; padding: 0 10px; }
        .side-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; color: var(--text-dim); text-decoration: none; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.3s; position: relative; margin-bottom: 4px; }
        .side-nav-item:hover { background: rgba(255,255,255,0.03); color: white; }
        .side-nav-item.active { background: var(--primary); color: white; box-shadow: 0 10px 20px var(--primary-glow); }
        .side-nav-item.active i { color: white; }
        .side-nav-item i { width: 18px; text-align: center; font-size: 1.1rem; color: var(--text-dim); }

        /* Component Styles */
        .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: 0.3s; }
        .card:hover { border-color: rgba(255,255,255,0.12); }
        
        .header-search { position: relative; width: 400px; }
        .header-search input { width: 100%; background: #ffffff; border: 1.5px solid var(--border); padding: 10px 15px 10px 40px; border-radius: 8px; font-size: 0.8rem; color: var(--text-main); font-weight:700; }
        .header-search input:focus { border-color: var(--primary); outline: none; }
        .header-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-size: 0.9rem; }

        .btn { padding: 0.6rem 1.2rem; border-radius: 6px; border: none; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
        .btn-primary { background: var(--primary); color: white; }
        .btn-primary:hover { filter: brightness(1.1); }
        
        .stat-card { border-radius: var(--radius-lg); border: 1px solid var(--border); }
        .stat-card h5 { color: var(--text-dim); font-size: 0.7rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--text-main); }
        .stat-card .trend { font-size: 0.7rem; font-weight: 600; margin-top: 8px; }

        .data-table th { background: rgba(255,255,255,0.02); text-align: left; padding: 16px 18px; font-size: 0.7rem; color: var(--text-dim); border-bottom: 1px solid var(--border); text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
        .data-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: #cbd5e1; }
        .data-table tr:last-child td { border-bottom: none; }

        /* Scrollbar Redesign */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-base); }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .animate-fade { animation: fadeIn 0.4s ease-out; }
        .bar:hover .chart-tooltip { opacity: 1; top: -50px; }

        .badge {
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 1px solid transparent;
            text-transform: uppercase;
        }
        .badge-success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
            border-color: rgba(16, 185, 129, 0.2);
        }
        .badge-danger {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger);
            border-color: rgba(239, 68, 68, 0.2);
        }
        .badge-pending {
            background: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            border-color: rgba(59, 130, 246, 0.2);
        }

        /* Profile Drawer Styles */
        .profile-drawer {
            position: fixed;
            top: 0;
            right: -450px;
            width: 400px;
            height: 100vh;
            background: var(--bg-sidebar);
            z-index: 2000;
            box-shadow: -10px 0 30px rgba(0,0,0,0.5);
            border-left: 1px solid var(--border);
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        .profile-drawer.open { right: 0; }
        .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 1999;
            display: none;
            backdrop-filter: blur(3px);
            animation: fadeIn 0.2s forwards;
        }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        
        .drawer-header { padding: 2rem; border-bottom: 1px solid var(--border); position: relative; background: rgba(255,255,255,0.02); }
        .close-drawer { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.8rem; cursor: pointer; color: var(--text-dim); border: none; background: none; font-weight: 300; }
        .user-profile-header { display: flex; align-items: center; gap: 15px; margin-top: 1rem; }
        .avatar-box { width: 56px; height: 56px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; border: 4px solid var(--border); }
        
        .account-stats { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
        .stat-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
        .stat-label { color: var(--text-dim); font-weight: 600; display: flex; align-items: center; gap: 8px; }
        .stat-val { font-weight: 800; color: white; }
        
        .quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 1.5rem 2rem; }
        .quick-item { border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 0.5rem; text-align: center; cursor: pointer; transition: 0.2s; background: var(--bg-card); }
        .quick-item:hover { border-color: var(--primary); background: rgba(59, 130, 246, 0.1); transform: translateY(-2px); }
        .quick-item i { font-size: 1.4rem; display: block; margin-bottom: 10px; font-style: normal; }
        .quick-item span { font-size: 0.7rem; font-weight: 700; color: var(--text-dim); }

        .support-hub { background: rgba(0,0,0,0.1); padding: 2rem; flex-grow: 1; border-bottom: 1px solid var(--border); }
        .hub-title { font-size: 0.95rem; font-weight: 800; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 8px; color: white; }
        .hub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; margin-bottom: 12px; display: flex; gap: 15px; align-items: flex-start; transition: 0.2s; cursor: pointer; }
        .hub-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
        .hub-icon { font-size: 1.5rem; line-height: 1; }
        .hub-details h6 { font-size: 0.85rem; font-weight: 800; margin-bottom: 4px; color: white; }
        .hub-details p { font-size: 0.75rem; color: var(--text-dim); line-height: 1.4; }

        .drawer-footer { padding: 1.5rem 2rem; background: var(--bg-sidebar); }
        .btn-full { width: 100%; height: 48px; border-radius: 10px; margin-bottom: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; border: none; font-size: 0.9rem; transition: 0.2s; }
        
        @media print { body * { visibility: hidden; } #print-surface, #print-surface * { visibility: visible; } #print-surface { position: absolute; left: 0; top: 0; width: 100%; display: block !important; } .navhub, .topbar { display: none; } }

        /* Landing Page Styles */
        .landing-page { font-family: 'Inter', sans-serif; background: var(--bg-deep); color: white; overflow-x: hidden; position: relative; }
        
        .lp-header { 
            position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; 
            padding: 1rem 5%; background: rgba(15,23,42,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            z-index: 1000; border-bottom: 1px solid var(--border);
        }
        
        .lp-nav { display: flex; gap: 2rem; align-items: center; }
        .lp-nav a { text-decoration: none; color: var(--text-dim); font-weight: 500; font-size: 0.9rem; transition: 0.2s; }
        .lp-nav a:hover { color: white; }
        
        .lp-btn { padding: 0.7rem 1.4rem; border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .lp-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.2); color: white; }
        .lp-btn-outline:hover { background: rgba(255,255,255,0.05); border-color: white; }
        .lp-btn-primary { background: var(--primary); color: white; }
        .lp-btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

        /* Animated Mesh Background (Toned Down for Corporate) */
        .lp-mesh { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; opacity: 0.2; }
        .mesh-blob { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.3; animation: mesh-float 25s infinite alternate; }
        .blob-1 { width: 800px; height: 800px; background: #1e40af; top: -200px; left: -200px; }
        .blob-2 { width: 600px; height: 600px; background: #312e81; bottom: 5%; right: -100px; }
        
        @keyframes mesh-float { 0% { transform: translate(0, 0); } 100% { transform: translate(80px, 40px); } }

        .lp-hero { 
            position: relative; padding: 10rem 5% 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 90vh;
        }
        
        .hero-glass-card {
            position: relative; z-index: 2; padding: 0; border: none; background: transparent;
            animation: fadeIn 0.8s ease-out;
        }

        .hero-glass-card h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 2rem; color: white; letter-spacing: -1.5px; }
        .hero-glass-card h1 span { color: var(--primary); }
        .hero-glass-card p { font-size: 1.1rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 2.5rem; max-width: 540px; }
        
        .hero-image { position: relative; z-index: 2; perspective: 1500px; }
        .hero-image img { 
            width: 100%; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); 
            border: 1px solid rgba(255,255,255,0.1); transition: 0.5s;
        }
        .hero-image:hover img { transform: translateY(-10px); }

        .lp-section { padding: 6rem 5%; text-align: left; background: transparent; position: relative; z-index: 2; }
        .section-tag { 
            color: #60a5fa; font-weight: 700; font-size: 0.75rem; letter-spacing: 1.5px; 
            text-transform: uppercase; margin-bottom: 1rem; display: inline-block;
        }
        .section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; color: white; letter-spacing: -1px; }
        
        .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
        .feature-card { 
            padding: 2.5rem; background: #ffffff; border-radius: 12px; 
            border: 1.5px solid var(--border); transition: 0.3s;
        }
        .feature-card:hover { border-color: var(--primary); background: #f8fafc; }
        .feat-icon { 
            width: 48px; height: 48px; background: rgba(37,99,235,0.1); color: var(--primary);
            border-radius: 8px; display: flex; align-items: center; justify-content: center;
            font-size: 1.25rem; margin-bottom: 1.5rem;
        }
        .feature-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; color: white; }
        .feature-card p { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

        .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
        .pricing-card { 
            padding: 3rem 2rem; background: #ffffff; border-radius: 12px; 
            border: 1.5px solid var(--border); transition: 0.3s; position: relative;
        }
        .pricing-card.featured { border-color: var(--primary); background: #ffffff; border-width: 2.5px; }
        .pricing-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: white; }
        .pricing-card .price { font-size: 3rem; font-weight: 800; color: white; margin-bottom: 2rem; }
        .pricing-card ul { list-style: none; margin-bottom: 2.5rem; text-align: left; }
        .pricing-card li { margin-bottom: 1rem; color: var(--text-dim); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
        .pricing-card li i { color: var(--success); }

        .cta-banner { 
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); 
            border-radius: 40px; padding: 5rem; color: white; display: flex; justify-content: space-between; 
            align-items: center; text-align: left; margin: 4rem 8%;
            box-shadow: 0 30px 60px var(--primary-glow);
            position: relative; overflow: hidden;
        }
        .cta-banner::after {
            content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
            background: rgba(255,255,255,0.1); border-radius: 50%; filter: blur(50px);
        }
        .cta-content h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -1.5px; }
        .cta-content p { opacity: 0.8; font-size: 1.2rem; font-weight: 500; }

        .lp-footer { background: #070914; color: var(--text-dim); padding: 6rem 8% 2rem; border-top: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; }
        .lp-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.4; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; text-align: left; position: relative; z-index: 2; }
        .footer-logo { color: white; font-size: 1.5rem; font-weight: 950; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
        .footer-links h4 { color: white; margin-bottom: 1.8rem; font-size: 1.1rem; font-weight: 800; }
        .footer-links ul { list-style: none; padding: 0; margin: 0; }
        .footer-links li { margin-bottom: 1rem; }
        .footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; display: inline-block; }
        .footer-links a:hover { color: var(--primary); transform: translateX(5px); }
        .social-links { display: flex; gap: 1rem; margin-top: 2.2rem; }
        .social-link { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--text-dim); transition: 0.3s; }
        .social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px var(--primary-glow); }
        .newsletter-input { width: 100%; background: #ffffff; border: 1.5px solid var(--border); padding: 12px 15px; border-radius: 8px; color: var(--text-main); margin-bottom: 1rem; font-weight: 700; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: 0.85rem; }
        .solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
        .solution-card { padding: 2.5rem; background: var(--bg-card); border-radius: 20px; text-align: left; border: 1px solid var(--border); }
        .q-search-results { position:absolute; top:100%; left:0; width:100%; background:var(--bg-card); border:1px solid var(--border); border-radius:8px; box-shadow:0 10px 25px rgba(0,0,0,0.5); z-index:1000; max-height:200px; overflow-y:auto; display:none; }
        .q-search-item { padding:10px 15px; cursor:pointer; border-bottom:1px solid var(--border); transition:all 0.2s; color: var(--text-dim); }
        .q-search-item:hover { background:rgba(255,255,255,0.05); color:var(--primary); }
        .q-search-item:last-child { border-bottom:none; }
        .q-row-wrapper { position:relative; }
        .solution-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; color: white; }
        .solution-card p { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

        .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
        .pricing-card { background: var(--bg-card); border-radius: 24px; padding: 3rem 2rem; border: 1px solid var(--border); text-align: left; transition: 0.4s; position: relative; }
        .pricing-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2); transform: scale(1.05); z-index: 2; }
        .pricing-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; color: white; }
        .price { font-size: 2.5rem; font-weight: 900; color: white; margin-bottom: 2rem; }
        .price span { font-size: 1rem; color: var(--text-dim); font-weight: 600; }
        .price-features { list-style: none; margin-bottom: 2.5rem; }
        .price-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; font-size: 0.95rem; color: var(--text-dim); }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse-border {
            0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
            100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
        }

        .ai-glow {
            box-shadow: 0 0 15px rgba(18, 168, 131, 0.2);
            border-color: var(--primary) !important;
        }

        /* Full Graphics: Dropdowns & Tables */
        .dropdown-content {
            position: absolute;
            background: rgba(28, 31, 38, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: var(--shadow);
            z-index: 1000;
            display: none;
            overflow: hidden;
            animation: fadeIn 0.2s ease-out;
        }
        .dropdown-content.show {
            display: block;
        }
        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 700;
            transition: 0.2s;
        }
        .dropdown-item:hover {
            background: rgba(255,255,255,0.05);
            color: white;
            padding-left: 25px;
        }
        .dropdown-item i {
            color: var(--primary);
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }

        .glass-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 8px;
        }
        .glass-table th {
            padding: 1rem 1.5rem;
            font-size: 0.65rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-dim);
            text-align: left;
        }
        .glass-row {
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: 0.3s;
        }
        .glass-row:hover {
            background: rgba(255,255,255,0.02);
            transform: scale(1.002);
            border-color: var(--primary);
        }
        .glass-row td {
            padding: 1.2rem 1.5rem;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .glass-row td:first-child {
            border-left: 1px solid var(--border);
            border-radius: 16px 0 0 16px;
        }
        .glass-row td:last-child {
            border-right: 1px solid var(--border);
            border-radius: 0 16px 16px 0;
        }

        .modern-select, .modern-input {
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--border);
            color: white;
            padding: 10px 15px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            outline: none;
            transition: 0.3s;
        }
        .modern-select:focus, .modern-input:focus {
            border-color: var(--primary);
            background: rgba(59, 130, 246, 0.05);
            box-shadow: 0 0 15px var(--primary-glow);
        }

        /* Full Graphics: Login Card & Inputs */
        .login-card {
            background: rgba(28, 31, 38, 0.7) !important;
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border: 1px solid rgba(255,255,255,0.1) !important;
            border-radius: 30px !important;
            padding: 4rem !important;
            box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 40px rgba(59,130,246,0.1) !important;
        }
        .input-group {
            margin-bottom: 1.8rem;
            position: relative;
        }
        .input-label {
            display: block;
            font-size: 0.65rem;
            font-weight: 900;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 10px;
            padding-left: 5px;
        }
        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-wrapper i {
            position: absolute;
            left: 18px;
            color: var(--primary);
            font-size: 1rem;
            transition: 0.3s;
        }
        .input-field {
            width: 100%;
            background: rgba(0, 0, 0, 0.4) !important;
            border: 1px solid var(--border) !important;
            border-radius: 14px !important;
            padding: 14px 18px 14px 45px !important;
            color: white !important;
            font-size: 0.9rem !important;
            font-weight: 500 !important;
            outline: none !important;
            transition: 0.3s !important;
        }
        .input-field:focus {
            border-color: var(--primary) !important;
            background: rgba(59, 130, 246, 0.05) !important;
            box-shadow: 0 0 20px var(--primary-glow) !important;
        }
        .input-field:focus + i {
            color: white;
            filter: drop-shadow(0 0 5px var(--primary-glow));
        }
        .input-field::placeholder { color: rgba(255,255,255,0.2); }

        /* Full Graphics: Settings Components */
        .settings-sidebar {
            background: rgba(13, 15, 19, 0.95) !important;
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .settings-category-header {
            padding: 1.2rem 1.5rem;
            background: rgba(255,255,255,0.05);
            border-bottom: 1px solid var(--border);
            color: white;
            font-size: 0.7rem;
            font-weight: 900;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }
        .settings-link {
            padding: 1.1rem 1.5rem;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 15px;
            color: rgba(255,255,255,0.6);
            border-left: 3px solid transparent;
            border-bottom: 1px solid rgba(255,255,255,0.03);
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .settings-link:hover {
            background: rgba(255,255,255,0.08);
            color: white;
            padding-left: 1.8rem;
        }
        .settings-link.active {
            background: rgba(59, 130, 246, 0.12);
            color: white;
            border-left: 3px solid var(--primary);
            box-shadow: inset 10px 0 30px -10px rgba(59, 130, 246, 0.2);
        }
        .settings-link i {
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
            transition: 0.3s;
        }
        .settings-link.active i {
            filter: drop-shadow(0 0 5px var(--primary-glow));
        }
        
        .settings-content-card {
            background: rgba(15, 17, 23, 0.7) !important;
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border: 1px solid var(--border);
            border-radius: 28px;
            min-height: 700px;
            color: white !important;
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
            animation: fadeIn 0.4s ease-out;
        }
        .settings-label {
            color: rgba(255,255,255,0.5) !important;
            font-size: 0.65rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
            display: block;
        }
        .settings-value {
            color: white !important;
            font-weight: 800;
            font-size: 1rem;
        }

        /* --- RESPONSIVE ADAPTATIONS --- */
        @media (max-width: 1024px) {
            .workspace-wrapper { grid-template-columns: 1fr; }
            .sidebar { position: fixed; left: -280px; top: 0; width: 280px; height: 100vh; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex !important; }
            .sidebar.mobile-open { left: 0; }
            .landing-page .sidebar { display: flex !important; }
            
            .lp-hero { 
                grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; text-align: left; gap: 2.5rem;
            }
            .hero-image { order: 1; margin-bottom: -1rem; }
            .hero-glass-card { order: 2; }
            .hero-glass-card h1 { font-size: 2.8rem; letter-spacing: -1px; line-height: 1.2; }
            .hero-glass-card p { max-width: 100%; font-size: 1rem; margin-bottom: 2rem; }
            
            .hero-cta-group { 
                flex-direction: column !important; align-items: stretch; width: 100%; 
                margin: 0; gap: 1rem !important; 
            }
            .hero-cta-group .lp-btn { width: 100% !important; padding: 1rem 1.5rem !important; }
            
            .hero-features { display: flex; flex-direction: column; align-items: flex-start; padding: 0 !important; margin-bottom: 2rem !important; }
            .hero-features li { text-align: left; margin: 0 0 10px 0 !important; font-size: 0.9rem !important; }
            
            .features-grid, .solutions-grid, .pricing-grid, .quick-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
            .flagship-container { display: flex !important; flex-direction: column; text-align: center; gap: 2rem !important; }
            .flagship-container > div:first-child { order: 2; text-align: left; }
            .flagship-container > div:last-child { order: 1; }
            .flagship-container img { transform: none !important; width: 100% !important; margin-bottom: 1rem; }

            .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2.5rem 1.5rem !important; }
            .footer-grid > div:first-child { grid-column: span 2; margin-bottom: 1rem; }
            .footer-grid > div:last-child { grid-column: span 2; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }
            .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
            .lp-section { padding: 4rem 1.5rem; text-align: left; }
            .section-title { font-size: 2rem; margin-bottom: 2rem; }
            
            #modal-content { width: 95vw !important; padding: 1.5rem !important; }
            .profile-drawer { width: 320px !important; right: -350px; }
            .profile-drawer.open { right: 0; }
            
            .topbar { padding: 0 1rem; height: 64px; }
            .topbar .create-dropdown, .topbar .cloud-status { display: none; }
            .lp-header { padding: 0.8rem 1.2rem !important; justify-content: space-between !important; flex-wrap: wrap; }
            .lp-nav { 
                display: none !important; 
                position: absolute; 
                top: 100%; 
                left: 0; 
                width: 100%; 
                background: rgba(15,23,42,0.95); 
                backdrop-filter: blur(12px); 
                -webkit-backdrop-filter: blur(12px);
                flex-direction: column; 
                gap: 1.5rem; 
                padding: 1.5rem; 
                border-top: 1px solid rgba(255,255,255,0.05); 
                border-bottom: 1px solid rgba(255,255,255,0.05); 
                align-items: center;
            }
            .lp-nav.mobile-open { display: flex !important; animation: fadeIn 0.3s ease-out; }
            .lp-nav .lp-btn { width: 100%; }
            .hamburger-btn { display: flex !important; margin: 0 !important; }
            
            .mockup-fallback { 
                height: 180px; background: rgba(30,41,59,0.8); 
                border-radius: 8px; border: 1px solid var(--border); 
                display: flex; align-items: center; justify-content: center; margin-top: 2rem;
            }
        }

        .hamburger-btn {
            display: none;
            width: 42px;
            height: 42px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
        }
    </style>

</head>
<body>
    <div id="drawer-overlay" class="drawer-overlay" onclick="closeDrawer()"></div>
    <div id="profile-drawer" class="profile-drawer">
        <div class="drawer-header">
            <button class="close-drawer" onclick="closeDrawer()">&times;</button>
            <div class="user-profile-header">
                <div id="d-avatar" class="avatar-box">B</div>
                <div>
                    <h4 id="d-cname" style="font-weight:800; font-size:1rem; color:white">Scalevia AI Enterprise</h4>
                    <p style="font-size:0.8rem; color:var(--text-dim)">Staff Account / Premium Access</p>
                </div>
            </div>
            <div style="margin-top:1.5rem; text-align:right">
                <button class="btn" style="background:transparent; color:var(--danger); font-weight:800; font-size:0.85rem; padding:0" onclick="logout()">⚙️ Secure Logout</button>
            </div>
        </div>

        <div class="account-stats">
            <div class="stat-row"><span class="stat-label">🧾 Subscription Plan</span><span class="stat-val">Premium</span></div>
            <div class="stat-row"><span class="stat-label">💰 Usage Credits</span><span class="stat-val">Unlimited</span></div>
            <div class="stat-row"><span class="stat-label">🔒 Compliance Score</span><span class="stat-val" style="color:var(--primary)">98% Opt.</span></div>
        </div>

        <div class="quick-grid">
            <div class="quick-item" onclick="setTab('settings'); closeDrawer();"><i>⚙️</i><span>Setting</span></div>
            <div class="quick-item" onclick="alert('Staff Management')"><i>👥</i><span>Staff Acc.</span></div>
            <div class="quick-item" onclick="alert('Referral Program')"><i>🔄</i><span>Refer</span></div>
        </div>

        <div class="support-hub">
            <div class="hub-title">🛡️ Quick Support Hub</div>
            <div class="hub-card" onclick="window.open('https://wa.me/917043146478')">
                <div class="hub-icon">💬</div>
                <div class="hub-details">
                    <h6>WhatsApp Inquiry</h6>
                    <p>+91 70431 46478<br>10 AM to 7 PM - Everyday</p>
                </div>
            </div>
            <div class="hub-card" onclick="location.href='mailto:help@gogstbill.com'">
                <div class="hub-icon">📧</div>
                <div class="hub-details">
                    <h6>Email Ticketing</h6>
                    <p>help@gogstbill.com<br>Response within 1 working day</p>
                </div>
            </div>
            <div class="hub-card" style="border-left: 4px solid var(--primary)">
                <div class="hub-icon">📚</div>
                <div class="hub-details">
                    <h6>Knowledge Base</h6>
                    <p>100+ Questions answered with Screenshots & detailed PDF guides.</p>
                </div>
            </div>
        </div>

        <div class="drawer-footer" style="margin-top:auto">
            <button class="btn-full" style="background:rgba(239,68,68,0.1); color:var(--danger); border:2.5px solid var(--danger); margin-bottom:1.5rem; font-weight:900; padding:12px; cursor:pointer" onclick="logout()">🔓 LOGOUT OF SARGON</button>
            <button class="btn-full" style="background:var(--primary); color:white; border:none; padding:12px; font-weight:700" onclick="alert('PIN Generated: 4829')">GENERATE SUPPORT PIN</button>
            <button class="btn-full" style="background:rgba(255,255,255,0.05); color:white; border:1px solid var(--border); padding:12px; margin-top:0.5rem; font-weight:600" onclick="alert('Downloading AnyDesk Installer...')">🔴 Download AnyDesk</button>
            <div style="text-align:center; padding-top:1.5rem; border-top:1px solid var(--border); margin-top:1rem">
                <p style="font-size:0.75rem; font-weight:700; color:var(--text-dim); margin-bottom:10px">Get Mobile App</p>
                <div style="display:flex; justify-content:center; gap:10px">
                    <div style="width:32px; height:32px; background:rgba(255,255,255,0.05); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:12px">QR</div>
                    <div style="background:#fff; color:#000; padding:5px 12px; border-radius:6px; font-size:10px; display:flex; align-items:center; gap:5px">
                        <span style="font-size:14px">📱</span> <strong>Google Play</strong>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="app"></div>
    <div id="print-surface" style="display:none; background: white; min-height: 100vh;"></div>
    
    <div id="modal-overlay" style="display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7); z-index:1000; align-items:center; justify-content:center; backdrop-filter: blur(4px);">
        <div class="card" id="modal-content" style="width: 800px; max-height: 90vh; overflow-y: auto; position:relative;">
            <div style="display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem">
                <h2 id="modal-title" style="font-weight:800; color:var(--primary)">Form Action</h2>
                <button onclick="closeM()" style="background:none; border:none; font-size:1.5rem; cursor:pointer; color:var(--text-muted)">&times;</button>
            </div>
            <div id="modal-body">
                <form id="modal-form" onsubmit="return false;"></form>
            </div>
        </div>
/* Installation Certificate Specific Styles */
.cert-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.cert-modal-content {
    background: var(--bg-card, #1a1c24);
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    color: var(--text-main, #f8fafc);
}

.cert-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0 1rem;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.cert-input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 12px;
}

.cert-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim, #94a3b8);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.cert-input-group input, 
.cert-input-group select, 
.cert-input-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 8px;
    padding: 9px 12px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: 0.2s;
}

.cert-input-group input:focus, 
.cert-input-group select:focus, 
.cert-input-group textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background: rgba(255,255,255,0.08);
}

/* Printable Certificate Styles */
.printable-certificate {
    background: #ffffff;
    color: #0f172a;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 35px 40px;
    border: 12px double #065f46;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    font-family: 'Poppins', 'Inter', sans-serif;
}

.printable-certificate::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1.5px solid #10b981;
    pointer-events: none;
}

.cert-title-badge {
    display: inline-block;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #ffffff;
    padding: 6px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cert-data-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 15px;
}

.cert-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cert-spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.cert-spec-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    .cert-modal-backdrop {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .printable-certificate, .printable-certificate * {
        visibility: visible !important;
    }
    .printable-certificate {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: 8px double #065f46 !important;
    }
    .cert-no-print {
        display: none !important;
    }
}
