/* Hirudyne Shared Navigation Header */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

.hirudyne-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(180deg, #0a0c10 0%, rgba(10, 12, 16, 0.95) 100%);
    border-bottom: 1px solid #1a1e28;
    padding: 1rem 2rem;
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
}

.hirudyne-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hirudyne-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.hirudyne-nav-logo-mark {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hirudyne-nav-logo-mark::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #4a6fa5;
    opacity: 0.6;
}

.hirudyne-nav-logo-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: #e8ecf4;
    text-transform: uppercase;
}

.hirudyne-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hirudyne-nav-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: #6a7282;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.hirudyne-nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a6fa5;
    transition: width 0.3s;
}

.hirudyne-nav-link:hover {
    color: #e8ecf4;
}

.hirudyne-nav-link:hover::after {
    width: 100%;
}

.hirudyne-nav-link.active {
    color: #4a6fa5;
}

.hirudyne-nav-divider {
    width: 1px;
    height: 16px;
    background: #1a1e28;
}

/* Custom tooltips for nav links */
.hirudyne-nav-link[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #12151c;
    border: 1px solid #2d4666;
    color: #c8cdd6;
    padding: 0.6rem 0.85rem;
    border-radius: 2px;
    font-size: 0.7rem;
    white-space: nowrap;
    max-width: 320px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10001;
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hirudyne-nav-link[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Don't show tooltip on active link */
.hirudyne-nav-link.active[data-tooltip]::before {
    display: none;
}

/* Add top padding to body to account for fixed nav */
body.hirudyne-nav-enabled {
    padding-top: 80px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hirudyne-nav {
        padding: 0.75rem 1rem;
    }
    
    .hirudyne-nav-links {
        gap: 1rem;
    }
    
    .hirudyne-nav-link {
        font-size: 0.6rem;
    }
    
    .hirudyne-nav-link[data-tooltip]::before {
        bottom: -40px;
        font-size: 0.65rem;
        padding: 0.5rem 0.7rem;
        max-width: 220px;
        white-space: normal;
    }
    
    body.hirudyne-nav-enabled {
        padding-top: 70px;
    }
}
