/* 
   webn&Omega;va Tech - Next-Gen UI Foundation
   Theme: High-End Technical Excellence
   Colors: Electric Blue, Violet, Neon Pink, Orange, Space Black
*/

:root {
    /* 1. Deep Abyss Palette (Extra Dark) */
    --primary: #00C6FF; /* Electric Blue */
    --secondary: #8E2DE2; /* Violet */
    --accent: #FF4DA6; /* Neon Pink */
    --orange: #FF945A; /* Signature Orange */
    
    /* 2. Extra Dark Surface Palette */
    --bg-space: #050505;    /* Deep Abyss */
    --bg-charcoal: #0A0A0F; /* Midnight */
    --bg-dark-gray: #12121A; /* Layer 2 */
    --bg-glass: rgba(10, 10, 15, 0.8);
    
    /* 3. Typography Palette */
    --text-white: #FFFFFF;
    --text-light-gray: #D1D1D6; /* Brighter for Accessibility */
    --text-gray: #A1A1AA;      /* Brighter for Accessibility */
    --text-main: var(--text-white);
    --text-muted: var(--text-light-gray);
    --text-dim: var(--text-gray);
    
    /* 4. Amplified Glows */
    --primary-glow: rgba(0, 198, 255, 0.6);
    --secondary-glow: rgba(142, 45, 226, 0.6);
    --accent-glow: rgba(255, 77, 166, 0.5);
    
    /* 5. Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-accent: linear-gradient(135deg, var(--accent), var(--orange));
    --grad-dark: linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-space) 100%);
    
    /* 6. Layout Tokens */
    --container-width: 1400px; /* Wider for high-end feel */
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-color: rgba(255, 255, 255, 0.05);
    
    /* 7. Grid Tokens */
    --grid-color: rgba(0, 198, 255, 0.03);
    --grid-size: 50px;
}

/* --- 1. Base Layer --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-space);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 10000;
}

/* Global Ambient Lights */
.ambient-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* --- 2. Typography & UI Base --- */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-main);
}

.gradient-text {
    background: linear-gradient(135deg, #00C6FF, #8E2DE2, #FF4DA6, #FF945A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    background: linear-gradient(135deg, #FF4DA6, #FF945A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 3. Layout Components --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Layering & Technical Grid */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
}

.section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-space) 80%);
    pointer-events: none;
}

.section-charcoal { background-color: var(--bg-charcoal); }
.section-dark { background-color: var(--bg-space); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 80px 0; }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- 4. Premium Navigation --- */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-width);
    height: 64px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
}

.header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(11, 11, 15, 0.9);
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.mobile-toggle, .mobile-close {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1001;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 991px) {
    .header {
        height: 60px;
        padding: 0 20px;
        top: 15px;
    }

    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-space);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        background: transparent;
        border: none;
        color: white;
        font-size: 3rem;
        cursor: pointer;
        line-height: 1;
    }

    .nav-link {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
}

/* --- 5. Interactive Glass Cards --- */
.glass-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 198, 255, 0.1);
}

.glass-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- 6. Buttons & CTAs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- 7. Animation System --- */
.js .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* No-JS Fallback: Content is visible by default */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Bar */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; background: var(--grad-primary);
    width: 0%; z-index: 10001; 
}

/* Custom Cursor */
.cursor-glow {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-glow.expand {
    transform: translate(-50%, -50%) scale(4);
    background: var(--primary-glow);
}

/* Big Footer */
.footer-big {
    background: var(--bg-charcoal);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

/* --- 8. Contact Page & Responsive Overrides --- */
.hero-contact {
    padding-top: 180px;
    padding-bottom: 60px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    margin: 24px 0;
    letter-spacing: -0.04em;
}

.badge-tech {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-body-section {
    padding-top: 50px;
}

.contact-subtitle {
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-form-card {
    padding: 60px;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-contact {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .contact-subtitle {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .contact-form-card {
        padding: 30px 24px;
    }
    
    .glass-card {
        padding: 30px 20px;
    }

    .grid-2, .grid-3, .grid-4 {
        gap: 24px;
    }

    .footer-big {
        padding: 60px 0 30px;
    }
}

/* --- 9. Engineering Terminal Feed --- */
.terminal-feed {
    background: #050505 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0 !important;
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.terminal-status {
    font-size: 0.6rem;
    color: #27c93f;
    font-weight: 700;
}

.terminal-body {
    padding: 20px;
    height: 160px;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terminal-line {
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: nowrap;
}

.log-time { color: var(--text-dim); margin-right: 10px; }
.log-info { color: var(--primary); font-weight: 600; margin-right: 5px; }
.log-success { color: #27c93f; font-weight: 600; margin-right: 5px; }
.log-warning { color: #ffbd2e; font-weight: 600; margin-right: 5px; }
.log-flex { color: var(--secondary); font-weight: 700; margin-right: 5px; }

/* --- 10. Ambient Vibe Console --- */
.vibe-console-wrap {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10002;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vibe-console-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 0.9rem;
}

.vibe-console-panel {
    width: 200px;
    padding: 0 20px 20px;
    display: none;
    border: none !important;
    background: transparent !important;
}

.vibe-console-wrap:hover .vibe-console-panel {
    display: block;
}

@media (max-width: 768px) {
    .vibe-console-wrap {
        bottom: 20px;
        left: 20px;
    }
    .vibe-console-panel {
        width: 160px;
    }
    .vibe-console-toggle {
        width: 36px;
        height: 36px;
    }
}

.vibe-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Switch Styles */
.vibe-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 16px;
}

.vibe-switch input { opacity: 0; width: 0; height: 0; }

.vibe-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.05);
    transition: .4s;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vibe-slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 2px;
    background-color: var(--text-dim);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .vibe-slider { background-color: rgba(0, 198, 255, 0.2); border-color: var(--primary); }
input:checked + .vibe-slider:before { transform: translateX(14px); background-color: var(--primary); }

/* --- 11. Global Infrastructure Map --- */
.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(11, 11, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.infra-map {
    width: 100%;
    height: auto;
    display: block;
}

.node-ripple {
    animation: ripple-out 3s infinite;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
}

@keyframes ripple-out {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.map-node:nth-child(2) .node-ripple { animation-delay: 0.5s; }
.map-node:nth-child(3) .node-ripple { animation-delay: 1.2s; }
.map-node:nth-child(4) .node-ripple { animation-delay: 2s; }

.map-node circle:first-child {
    filter: drop-shadow(0 0 5px currentColor);
}

.map-node text {
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* --- 12. NovaBot: Elite Technical Concierge (Manifesto Theme) --- */
.novabot-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10005;
    font-family: var(--font-mono); /* Technical Feel */
}

/* Pulsing Launcher */
.novabot-bubble {
    width: 60px;
    height: 60px;
    background: #050505;
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: var(--primary);
    overflow: hidden;
}

.novabot-bubble:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.3);
    transform: translateY(-4px);
}

.novabot-pulse {
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: nova-pulse 2s infinite;
    opacity: 0;
}

@keyframes nova-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Elite Chat Window */
.novabot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 480px;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 1);
    animation: nova-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Neural Grid Background */
.novabot-window::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(0, 198, 255, 0.05) 1.5px, transparent 0),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3F%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 30px 30px, auto;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
    animation: nova-grid-drift 30s linear infinite;
}

@keyframes nova-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 300px 300px, 0 0; }
}

@keyframes nova-slide {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.novabot-window.active { display: flex; }

.novabot-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.novabot-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nova-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.nova-title {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    font-weight: 700;
}

.novabot-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nova-control-btn, .novabot-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nova-control-btn:hover, .novabot-close:hover {
    color: white;
    transform: scale(1.1);
}

#nova-sound-toggle.muted .sound-wave {
    display: none;
}

#nova-sound-toggle.muted {
    opacity: 0.3;
}

.novabot-close:hover { color: white; }

/* Chat Body */
.novabot-body {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: none;
}

.msg-bot .msg-content {
    color: var(--text-dim);
    font-size: 0.75rem;
    line-height: 1.6;
    border-left: 2px solid var(--primary);
    padding-left: 12px;
}

.msg-user .msg-content {
    align-self: flex-end;
    background: rgba(0, 198, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 198, 255, 0.2);
}

/* Technical Pills */
.novabot-actions {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.bot-pill {
    padding: 5px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-dim);
    font-size: 0.6rem;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bot-pill:hover {
    border-color: var(--primary);
    color: white;
    background: rgba(0, 198, 255, 0.05);
}

.pill-wa { border-color: rgba(37, 211, 102, 0.3); color: #25D366; }
.pill-wa:hover { background: rgba(37, 211, 102, 0.1); border-color: #25D366; }

/* System Footer */
.novabot-footer {
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
}

.novabot-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 12px;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.novabot-input-group:focus-within {
    border-color: var(--primary);
}

.novabot-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    outline: none;
}

#bot-send-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#bot-send-btn:hover { opacity: 1; }

@media (max-width: 400px) {
    .novabot-window {
        width: calc(100vw - 40px);
        height: 60vh;
        bottom: 70px;
    }
}
/* ==========================================================================
   Section 4.5: Global Nexus Architecture
   ========================================================================== */
.architectural-nexus {
    background: radial-gradient(circle at 50% 50%, rgba(0, 198, 255, 0.05), transparent 70%);
}

.node-card-float {
    position: absolute;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    width: 240px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.node-card-float.active {
    opacity: 1;
    transform: translate(-50%, -10px);
}

.node-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.node-status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.node-id-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: white;
    letter-spacing: 0.1em;
}

.node-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.node-stat strong {
    color: white;
    font-family: var(--font-mono);
}

.node-resonance {
    animation: nova-node-ripple 3s infinite;
    transform-origin: center;
    opacity: 0.4;
}

@keyframes nova-node-ripple {
    0% { transform: scale(0.4); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.neural-arc {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1;
    stroke-dasharray: 4, 12;
    opacity: 0.2;
    animation: neural-flow 20s linear infinite;
}

@keyframes neural-flow {
    to { stroke-dashoffset: -100; }
}

.node-grid-mobile {
    display: grid;
    gap: 16px;
}

.node-mini-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.node-mini-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.mini-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.mini-card-head .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mini-card-head .dot.primary { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.mini-card-head .dot.secondary { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.mini-card-head .dot.accent { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.mini-card-stat {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .map-visualization { display: none; }
    .node-grid-mobile { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
    .node-grid-mobile { display: none; }
}

/* ==========================================================================
   Section 6.0: Premium Architectural CTA
   ========================================================================== */
.premium-cta-card {
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    padding: 80px 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.premium-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0, 198, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-diagnostic-marker {
 position: absolute;
 width: 20px;
 height: 20px;
 border: 1px solid rgba(255,255,255,0.1);
 opacity: 0.5;
}

.marker-tl { top: 30px; left: 30px; border-right: 0; border-bottom: 0; }
.marker-br { bottom: 30px; right: 30px; border-left: 0; border-top: 0; }

.cta-badge-row {
 display: flex;
 align-items: center;
 gap: 15px;
 margin-bottom: 32px;
}

.cta-status {
 font-family: var(--font-mono);
 font-size: 0.65rem;
 color: var(--primary);
 text-transform: uppercase;
 letter-spacing: 0.1em;
 display: flex;
 align-items: center;
 gap: 8px;
}

.cta-status .dot {
 width: 6px;
 height: 6px;
 background: var(--primary);
 border-radius: 50%;
 box-shadow: 0 0 10px var(--primary);
 animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse { 
 0% { opacity: 1; } 
 50% { opacity: 0.3; } 
 100% { opacity: 1; } 
}

.cta-heading {
 font-size: clamp(2.5rem, 6vw, 4rem);
 margin-bottom: 24px;
 letter-spacing: -0.04em;
 font-weight: 800;
}

.cta-desc {
 font-size: 1.25rem;
 color: var(--text-dim);
 line-height: 1.7;
 margin-bottom: 56px; /* High-fidelity spacing */
 max-width: 680px;
}

.cta-actions {
 display: flex;
 gap: 20px;
 flex-wrap: wrap;
}

@media (max-width: 768px) {
 .premium-cta-card { padding: 50px 30px; border-radius: 24px; }
 .cta-desc { margin-bottom: 40px; }
 .cta-actions { flex-direction: column; }
 .cta-actions .btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   Section 0.1: Premium Gradient Scrollbar (High Specificity)
   ========================================================================== */
html::-webkit-scrollbar, 
body::-webkit-scrollbar, 
*::-webkit-scrollbar {
    width: 10px !important;
}

html::-webkit-scrollbar-track, 
body::-webkit-scrollbar-track, 
*::-webkit-scrollbar-track {
    background: #0B0B0F !important;
}

html::-webkit-scrollbar-thumb, 
body::-webkit-scrollbar-thumb, 
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00C6FF 0%, #8E2DE2 35%, #FF4DA6 70%, #FF945A 100%) !important;
    border-radius: 5px !important;
    border: 2px solid #0B0B0F !important;
}

html::-webkit-scrollbar-thumb:hover, 
body::-webkit-scrollbar-thumb:hover, 
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #33d1ff 0%, #a456e8 35%, #ff70b8 70%, #ffad7b 100%) !important;
}

/* Firefox Sync */
* {
    scrollbar-width: thin !important;
    scrollbar-color: #8E2DE2 #0B0B0F !important;
}
