/* 
   DCM CORE INSTITUTE - STRATEGIC NAV REFACTOR
   6 PILLARS MEGA-MENU STYLES
*/

:root {
    --nav-bg: rgba(2, 6, 23, 0.95);
    --nav-border: rgba(255, 255, 255, 0.08);
    --pillar-blue: #3b82f6;
    --pillar-purple: #8b5cf6;
    --pillar-emerald: #10b981;
    --pillar-amber: #f59e0b;
    --pillar-rose: #f43f5e;
    --pillar-cyan: #06b6d4;
    --text-muted: #94a3b8;
}

.navbar-pro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    z-index: 10000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 48px;
    text-decoration: none;
    cursor: pointer;
}

.logo-orb {
    width: 22px;
    height: 22px;
    background: var(--pillar-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: white;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 300;
    opacity: 0.7;
}

/* MEGA-MENU STRUCTURE */
.nav-pillars {
    display: flex;
    gap: 32px;
    height: 100%;
    align-items: center;
}

.pillar-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.pillar-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.pillar-link:hover,
.pillar-item:hover .pillar-link {
    opacity: 1;
    color: var(--pillar-blue);
}

/* THE DROPDOWN */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 450px;
    background: #0f172a;
    border: 1px solid var(--nav-border);
    border-radius: 12px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pillar-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-header {
    grid-column: span 2;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.03);
}

.link-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--pillar-blue);
}

.link-text {
    display: flex;
    flex-direction: column;
}

.link-title {
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.link-desc {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
}

/* ACTIONS */
.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-btn:hover {
    color: white;
}

.connect-btn {
    background: var(--pillar-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.connect-btn:hover {
    transform: translateY(-2px);
    background: #2563eb;
}

@media (max-width: 1024px) {
    .nav-pillars {
        display: none;
    }
}