 :root {
            /* DARK MODE PREMIUM PALETTE */
            --bg-base: #020617; 
            --bg-surface: #0f172a; 
            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-glow: rgba(79, 70, 229, 0.3);
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --glow-indigo: #4f46e5;
            --glow-blue: #0ea5e9;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Heebo', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- IMMERSIVE BACKGROUND (HERO ONLY) --- */
/* --- IMMERSIVE BACKGROUND (HERO ONLY) --- */
.hero { 
    position: relative; 
    overflow: hidden; 
}

/* הוספתי !important כדי להבטיח ששום דבר לא ידרוס אותם שוב */
.video-bg, .video-overlay, .bg-mesh, .bg-grid {
    position: absolute !important; 
    top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none;
}

.video-bg {
    z-index: 2 !important; 
    object-fit: cover; 
    opacity: 0.2; 
    mix-blend-mode: luminosity; 
}

.video-overlay {
    z-index: 1 !important;
    background: radial-gradient(circle at center, rgba(2,6,23,0.4) 0%, rgba(2,6,23,1) 100%);
}

.bg-mesh {
    z-index: 2 !important;
    background-image: radial-gradient(at 20% 30%, rgba(79, 70, 229, 0.1) 0px, transparent 40%), radial-gradient(at 80% 70%, rgba(14, 165, 233, 0.08) 0px, transparent 40%);
}

.bg-grid {
    z-index: 3 !important;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* מחריג את הוידאו והרקעים כדי שלא ידרסו בטעות */
.hero > *:not(.video-bg):not(.video-overlay):not(.bg-mesh):not(.bg-grid) { 
    position: relative; 
    z-index: 10; 
}

        /* --- LIVE TICKER --- */
        .live-ticker {
            background: #000; color: var(--glow-blue); border-bottom: 1px solid var(--border-subtle);
            font-family: monospace; font-size: 0.75rem; padding: 0.5rem 0; overflow: hidden; display: flex; white-space: nowrap;
            position: fixed; top: 0; width: 100%; z-index: 1000;
        }
        .ticker-content { display: flex; animation: scrollTicker 40s linear infinite; }
        .ticker-item { margin-left: 4rem; display: flex; align-items: center; gap: 8px; opacity: 0.9;}
        .ticker-dot { width: 5px; height: 5px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
        @keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

        /* --- NAVIGATION --- */
        nav {
            position: fixed; top: 40px; width: 90%; left: 5%; z-index: 990;
            padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center;
            background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(12px); border-radius: 16px;
            border: 1px solid var(--border-subtle); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .nav-placeholder { width: 160px; }
        .logo-img { height: 50px; width: auto; object-fit: contain; position: absolute; left: 50%; transform: translateX(-50%); }
        
        .btn-connect {
            background: var(--glow-indigo); color: #ffffff; padding: 0.6rem 1.8rem; border-radius: 8px;
            font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none;
            position: relative; z-index: 2;
        }
        .btn-connect:hover { background: var(--glow-blue); box-shadow: 0 0 20px rgba(14, 165, 233, 0.4); }

        /* --- HERO SECTION --- */
        .hero { min-height: 100vh; padding-top: 25vh; display: flex; flex-direction: column; align-items: center; text-align: center; padding-left: 1rem; padding-right: 1rem; }
        .hero-badge {
            border: 1px solid var(--border-glow); background: rgba(79, 70, 229, 0.1);
            padding: 0.4rem 1.2rem; border-radius: 6px; font-size: 0.75rem; font-weight: 800;
            letter-spacing: 2px; margin-bottom: 2rem; color: var(--glow-blue); text-transform: uppercase;
        }
        .hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 1.5rem; max-width: 1100px; }
        .hero h1 span { color: var(--glow-indigo); display: block; font-size: clamp(2rem, 4vw, 3.5rem); margin-top: 0.5rem; opacity: 0.9;}
        .hero p.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 800px; margin-bottom: 3.5rem; font-weight: 400; line-height: 1.7; }

        /* --- AI INTERACTIVE BAR --- */
        .ai-prompt-wrapper { width: 100%; max-width: 800px; margin-bottom: 4rem; position: relative; z-index: 20; }
        .ai-prompt-box {
            display: flex; align-items: center; background: rgba(15, 23, 42, 0.8); border-radius: 12px;
            padding: 0.5rem 0.5rem 0.5rem 1.5rem; border: 1px solid var(--border-subtle);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4); backdrop-filter: blur(10px); transition: all 0.3s ease;
        }
        .ai-prompt-box:focus-within { border-color: var(--glow-indigo); box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2), 0 20px 40px rgba(0,0,0,0.6); }
        .ai-prompt-box input {
            flex: 1; border: none; outline: none; font-size: 1.05rem; font-weight: 400;
            color: var(--text-main); background: transparent; font-family: inherit; direction: rtl;
        }
        .ai-prompt-box input::placeholder { color: #475569; font-family: monospace; }
        .ai-submit-btn {
            background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border-subtle); border-radius: 8px;
            width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
        }
        .ai-submit-btn:hover { background: var(--glow-indigo); border-color: var(--glow-indigo); }
        .ai-submit-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(180deg); }
        
        .ai-response-area {
            background: rgba(15, 23, 42, 0.95); border: 1px solid var(--border-glow); border-radius: 12px;
            padding: 2rem; margin-top: 1rem; text-align: right; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            display: none; opacity: 0; transform: translateY(-10px); transition: all 0.4s ease; backdrop-filter: blur(15px);
        }
        .ai-response-area.active { display: block; opacity: 1; transform: translateY(0); }
        
        .ai-formatted { font-size: 1.05rem; color: #e2e8f0; font-weight: 400; line-height: 1.8; }
        .ai-formatted strong { color: var(--glow-blue); font-weight: 700; letter-spacing: 0.2px; }
        .ai-formatted ul { padding-right: 1.5rem; margin: 1rem 0; }
        .ai-formatted li { margin-bottom: 0.5rem; position: relative; list-style: none; }
        .ai-formatted li::before { content: '■'; position: absolute; right: -1.2rem; top: 0; color: var(--glow-indigo); font-size: 0.8rem; }
        
        .ai-typing-indicator { display: flex; gap: 4px; margin-bottom: 1rem; }
        .ai-dot { width: 6px; height: 6px; background: var(--glow-blue); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
        .ai-dot:nth-child(1) { animation-delay: -0.32s; }
        .ai-dot:nth-child(2) { animation-delay: -0.16s; }
        @keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

        /* --- DASHBOARD PROJECTION --- */
        .cmd-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
        .cmd-tab { background: transparent; border: 1px solid transparent; color: var(--text-muted); padding: 0.6rem 1.5rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; border-radius: 8px; }
        .cmd-tab:hover { color: var(--text-main); }
        .cmd-tab.active { background: rgba(255,255,255,0.05); color: var(--glow-blue); border-color: var(--border-subtle); }
        
        .hero-projection {
            width: 100%; max-width: 1200px; height: 65vh; min-height: 450px;
            border-radius: 16px; border: 1px solid var(--border-subtle);
            position: relative; overflow: hidden; background: #000;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8); margin-bottom: 5rem;
        }
        .hero-projection img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.4s ease; opacity: 0.85; filter: contrast(1.05); }

        /* --- DEEP TECH SHOWCASE (MODULES 01-05) --- */
        .deep-tech-showcase { padding: 8rem 2rem; max-width: 1400px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .deep-tech-showcase > .section-label { color: var(--glow-blue); font-family: monospace; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; display: block; text-align: center; }
        .deep-tech-showcase > .section-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -1px; text-align: center; }
        .deep-tech-showcase > .section-desc { font-size: 1.2rem; color: var(--text-muted); max-width: 750px; margin: 0 auto 6rem auto; line-height: 1.6; text-align: center; }
        
        .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 8rem; }
        .feature-row:last-child { margin-bottom: 0; }
        .feature-row.reverse { direction: ltr; } 
        .feature-row.reverse .feature-text { direction: rtl; }
        
        .feature-text h3 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-main); }
        .feature-text p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
        
        .feature-metrics { display: flex; gap: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
        .metric { display: flex; flex-direction: column; }
        .metric-val { font-size: 1.5rem; font-weight: 900; color: var(--glow-blue); font-family: monospace; }
        .metric-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

        .feature-visual { position: relative; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); background: rgba(15,23,42,0.5); padding: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
        .feature-visual img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
        .visual-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; background: var(--glow-indigo); filter: blur(100px); opacity: 0.15; z-index: -1; }

        /* --- INFRASTRUCTURE SPECS --- */
        .premium-ai-core {
            padding: 8rem 2rem; max-width: 1400px; margin: 0 auto;
            display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center;
        }
        .ai-visual-showcase img {
            width: 100%; max-width: 550px; border-radius: 16px; border: 1px solid var(--border-subtle);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); filter: contrast(1.1);
        }

        .engine-text { text-align: right; direction: rtl; }
        .engine-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 1.5rem; line-height: 1.2; }
        .engine-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px;}
        
        .specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
        .spec-item h4 { font-size: 1.1rem; color: var(--glow-blue); margin-bottom: 0.5rem; font-weight: 700; font-family: monospace; }
        .spec-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
        .spec-full { grid-column: span 2; border-top: 1px solid var(--border-subtle); padding-top: 2rem; margin-top: 1rem; }

        /* --- FAQ SECTION --- */
        .faq-section { padding: 4rem 2rem 8rem; max-width: 1000px; margin: 0 auto; text-align: right; }
        .faq-header { text-align: center; margin-bottom: 4rem; }
        .faq-header h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 1rem; }
        .faq-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; font-weight: 400;}

        .faq-item {
            background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(12px);
            border: 1px solid var(--border-subtle); border-radius: 12px; margin-bottom: 1rem;
            overflow: hidden; cursor: pointer; transition: all 0.3s ease;
        }
        .faq-item:hover { border-color: var(--border-glow); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .faq-item.active { border-color: var(--glow-indigo); }
        
        .faq-question {
            padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center;
            font-size: 1.15rem; font-weight: 700; color: var(--text-main);
        }
        .faq-icon { color: var(--glow-blue); transition: transform 0.3s ease; display: flex; align-items: center; justify-content: center;}
        .faq-item.active .faq-icon { transform: rotate(180deg); color: var(--glow-indigo); }
        
        .faq-answer {
            max-height: 0; opacity: 0; padding: 0 2rem; overflow: hidden;
            transition: all 0.4s ease; color: var(--text-muted); font-size: 1.05rem;
        }
        .faq-answer p { margin-bottom: 1rem; line-height: 1.6; }
        .faq-item.active .faq-answer { max-height: 400px; opacity: 1; padding: 0 2rem 1.5rem; }

        /* --- CONTACT --- */
        .contact-section { padding: 4rem 2rem 8rem; text-align: center; }
        .contact-form-wrapper { max-width: 500px; margin: 0 auto; padding: 3rem; border-radius: 16px; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(12px); border: 1px solid var(--border-subtle); }
        .form-input {
            width: 100%; padding: 1rem; border-radius: 8px; border: 1px solid var(--border-subtle);
            background: rgba(0,0,0,0.2); color: var(--text-main); font-family: inherit; font-size: 1rem; 
            text-align: right; margin-bottom: 1rem; font-weight: 400; transition: border 0.3s;
        }
        .form-input:focus { outline: none; border-color: var(--glow-blue); }
        .form-message { margin-top: 1rem; padding: 1rem; border-radius: 8px; font-weight: 500; display: none; }
        .form-message.success { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); display: block; }
        .form-message.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); display: block; }

        /* --- FOOTER --- */
        .site-footer {
            padding: 4rem 2rem; text-align: center; background: rgba(2, 6, 23, 0.8);
            border-top: 1px solid var(--border-subtle); backdrop-filter: blur(10px);
        }
        .footer-links { margin-bottom: 1.5rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; }
        .footer-links a:hover { color: var(--glow-blue); }
        .site-footer p { color: #475569; font-size: 0.9rem; }

        /* --- COOKIES & CAPTCHA --- */
       .cookie-banner { position: fixed; bottom: 0; left: 50%; transform: translate(-50%, 150%); background: rgba(15, 23, 42, 0.95); border: 1px solid var(--border-glow); padding: 1rem 2rem; border-radius: 12px 12px 0 0; z-index: 9999; display: flex; gap: 2rem; align-items: center; box-shadow: 0 -10px 40px rgba(0,0,0,0.5); backdrop-filter: blur(10px); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); width: 90%; max-width: 800px; justify-content: space-between; }
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-banner p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.cookie-banner a { color: var(--glow-blue); text-decoration: none; }
.btn-cookie { background: var(--glow-indigo); color: white; border: none; padding: 0.5rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: bold; }
.captcha-container { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; background: rgba(0,0,0,0.2); padding: 0.5rem; border-radius: 8px; border: 1px solid var(--border-subtle); }
.captcha-box { background: rgba(15, 23, 42, 0.8); color: var(--glow-blue); font-family: monospace; font-size: 1.2rem; font-weight: bold; padding: 0.5rem 1rem; border-radius: 6px; border: 1px dashed var(--glow-blue); letter-spacing: 2px;}

@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .btn-cookie { width: 100%; padding: 0.8rem; }
}

        /* --- RESPONSIVENESS --- */
        @media (max-width: 1024px) {
            nav { width: 100%; left: 0; top: 0; border-radius: 0; padding: 1rem; border-top: none; border-left: none; border-right: none; }
            .nav-placeholder { display: none; }
            .logo-img { position: relative; left: auto; transform: none; }
            .hero { padding-top: 20vh; }
            .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
            .hero h1 span { font-size: clamp(1.8rem, 5vw, 2.5rem); }
            .ai-prompt-wrapper { display: block; max-width: 95%; margin: 0 auto 3rem; }
            .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 3rem; direction: rtl; margin-bottom: 5rem; }
            .feature-visual { order: -1; } 
            .premium-ai-core { grid-template-columns: 1fr; gap: 4rem; padding: 4rem 1rem; }
            .specs-grid { grid-template-columns: 1fr; gap: 2rem; }
            .spec-full { grid-column: span 1; }
            .faq-section { padding: 2rem 1rem 4rem; }
            .contact-form-wrapper { padding: 2rem 1.5rem; border-radius: 16px; }
        }
        @media (max-width: 768px) {
            .live-ticker {display: none;}
            .cmd-tabs { flex-direction: column; align-items: center; width: 100%; }
            .cmd-tab { width: 90%; text-align: center; }
            .hero-projection { height: 40vh; min-height: 300px; }
        }
        /* --- MISSION SECTION --- */
        .mission-section { padding: 8rem 2rem; background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 70%); }
        .mission-container { max-width: 1000px; margin: 0 auto; text-align: center; }
        .mission-container h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 4rem; line-height: 1.1; }
        .mission-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; text-align: right; }
        
        .mission-item h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--glow-blue); }
        .mission-item p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

        @media (max-width: 768px) {
            .mission-grid { grid-template-columns: 1fr; gap: 2rem; }
            .mission-container { text-align: center; }
        }
        /* --- TECH STACK SECTION --- */
        .tech-stack-section { 
            padding: 8rem 2rem; 
            background: linear-gradient(to bottom, var(--bg-base) 0%, rgba(15,23,42,0.8) 100%);
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            position: relative;
        }
        .tech-stack-container { max-width: 1200px; margin: 0 auto; direction: rtl; }
        .text-center { text-align: center; }
        
        .tech-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 2rem; 
            margin-top: 4rem;
        }

        .tech-node {
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid var(--border-subtle);
            border-radius: 16px;
            padding: 2.5rem;
            backdrop-filter: blur(12px);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        /* Subtle Glow on Hover */
        .tech-node::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at top right, rgba(255,255,255,0.03) 0%, transparent 60%);
            pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
        }
        .tech-node:hover {
            border-color: rgba(255,255,255,0.2);
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
            transform: translateY(-5px);
        }
        .tech-node:hover::before { opacity: 1; }

        .tech-node-icon {
            margin-bottom: 1.5rem;
            background: rgba(255,255,255,0.05);
            width: 60px; height: 60px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 12px; border: 1px solid rgba(255,255,255,0.05);
        }

        .tech-node h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; }
        .tech-node p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 2rem; }

        .tech-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
        .tech-tags span {
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--glow-blue);
            padding: 0.4rem 1rem;
            border-radius: 6px;
            font-size: 0.85rem;
            font-family: monospace;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        @media (max-width: 768px) {
            .tech-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .tech-node { padding: 2rem; }
        }
        /* --- FLOATING SIDE NAVIGATION (DESKTOP) --- */
.side-nav {
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 990;
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.side-nav-dot:hover, .side-nav-dot.active {
    background: var(--glow-blue);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 15px var(--glow-blue);
    transform: scale(1.3);
}

.side-nav-tooltip {
    position: absolute;
    left: 25px; /* RTL fix - opens to the right of the dot */
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(4px);
}

.side-nav-dot:hover .side-nav-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-menu-btn:hover { color: var(--text-main); }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
}

.mobile-menu-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: monospace;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.mobile-menu-links a:hover {
    color: var(--glow-blue);
    padding-right: 1rem;
    border-color: var(--glow-blue);
}

/* --- RESPONSIVE UTILITIES --- */
.desktop-hidden { display: none !important; }

@media (max-width: 1024px) {
    .mobile-hidden { display: none !important; }
    .desktop-hidden { display: flex !important; }
    nav { justify-content: space-between; }
    .logo-img { left: auto; transform: none; position: relative; }
}