/* NAVIGATION-ONLY CSS - Soul AI Website */

/* Emoji Icons via CSS */
.nav-brand-icon::before { content: "\1F9E0"; } /* 🧠 */
.home-icon::before { content: "\1F3E0"; } /* 🏠 */
.gamepad-icon::before { content: "\1F3AE"; } /* 🎮 */
.puzzle-icon::before { content: "\1F9E9"; } /* 🧩 */
.star-icon::before { content: "\1F31F"; } /* 🌟 */
.map-icon::before { content: "\1F5FA\FE0F"; } /* 🗺️ */
.docs-icon::before { content: "\1F4DA"; } /* 📚 */
.question-icon::before { content: "\2753"; } /* ❓ */
.rocket-icon::before { content: "\1F680"; } /* 🚀 */
.overview-icon::before { content: "\1F4CB"; } /* 📋 - for Demos Overview */
.play1-icon::before { content: "\1F3AF"; } /* 🎯 - for General Demos */
.play2-icon::before { content: "\2699\FE0F"; } /* ⚙️ - for System Demos */
.legal-icon::before { content: "\2696\FE0F"; } /* ⚖️ */



/* CSS Variables for Navigation */
.nav-logo {
    height: 45px; /* Adjust size as needed */
    width: auto;
    margin-right: 8px; /* Space between logo and text */
    vertical-align: middle;
	/* Force SVG to use its own colors */
    color: inherit !important;
    fill: none !important;
}

/* CSS Variables for Navigation */
:root {
    /* Primary Colors */
    --neural-primary: #667eea;
    --neural-secondary: #764ba2;
    
    /* Background Colors */
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, var(--neural-primary) 0%, var(--neural-secondary) 100%);
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    
    /* Interactive Colors */
    --hover-primary: #5a67d8;
    --hover-secondary: #6b73d9;
    
    /* Border & Shadow */
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
}

/* ===== TOP NAVIGATION ===== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Navigation Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-brand:hover {
    color: var(--neural-primary);
}

.nav-brand-icon {
    font-size: 1.5rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-link:hover {
    color: var(--neural-primary);
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
    color: var(--neural-primary);
    background: rgba(102, 126, 234, 0.15);
}

.nav-link.neural-map {
    background: var(--bg-gradient);
    color: white;
    font-weight: 600;
}

.nav-link.neural-map:hover {
    background: linear-gradient(135deg, var(--hover-primary) 0%, var(--hover-secondary) 100%);
    color: white;
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    margin-bottom: var(--space-lg);
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dropdown-link:hover {
    background: var(--bg-secondary);
    color: var(--neural-primary);
}

.dropdown-icon {
    font-size: 1rem;
    opacity: 0.7;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: var(--space-lg);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu-active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: var(--space-md);
        border-radius: 8px;
    }
    
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-secondary);
        border: none;
        box-shadow: none;
        margin-top: var(--space-sm);
        border-radius: 8px;
    }
}
