/* ============================================
   PROFESSIONAL NAVIGATION SYSTEM
   ============================================ */

/* Remove any old/duplicate navbars */
.old-nav,
.duplicate-nav {
    display: none !important;
}

/* Main Professional Navbar */
.pro-navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.pro-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

/* Logo Section */

/* Professional Logo Styling */
.pro-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pro-nav-brand:hover {
    opacity: 0.85;
}

.pro-nav-logo-img {
    height: 32px;
    width: auto;
}

@media (max-width: 767px) {
    .pro-nav-logo-img {
        height: 28px;
    }
}


.pro-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0F172A;
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.2s;
}

.pro-nav-brand:hover {
    opacity: 0.8;
}

.pro-nav-logo-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.pro-nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation Links */
.pro-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pro-nav-link {
    position: relative;
    padding: 0.625rem 1rem;
    color: #64748B;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.pro-nav-link:hover {
    background: #F1F5F9;
    color: #3B82F6;
}

.pro-nav-link.active {
    color: #3B82F6;
    background: #EFF6FF;
}

.pro-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3B82F6;
}

/* User Section */
.pro-nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pro-nav-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.pro-nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.pro-nav-user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pro-nav-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
}

.pro-nav-user-plan {
    font-size: 0.75rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pro-nav-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pro-nav-plan-badge.free {
    background: #F1F5F9;
    color: #64748B;
}

.pro-nav-plan-badge.pro {
    background: #FEF3C7;
    color: #D97706;
}

.pro-nav-plan-badge.business {
    background: #DBEAFE;
    color: #3B82F6;
}

/* CTA Buttons */
.pro-nav-cta {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.pro-nav-cta-primary {
    background: #3B82F6;
    color: white;
    border: 2px solid #3B82F6;
}

.pro-nav-cta-primary:hover {
    background: #1E40AF;
    border-color: #1E40AF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pro-nav-cta-outline {
    background: white;
    color: #3B82F6;
    border: 2px solid #3B82F6;
}

.pro-nav-cta-outline:hover {
    background: #3B82F6;
    color: white;
}

.pro-nav-logout {
    color: #64748B;
    text-decoration: none;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.pro-nav-logout:hover {
    background: #FEE2E2;
    color: #DC2626;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .pro-navbar-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .pro-nav-links {
        display: none; /* Will use hamburger menu */
    }
    
    .pro-nav-user-info {
        display: none; /* Show in hamburger menu */
    }
    
    .pro-nav-logo-text {
        font-size: 1.1rem;
    }
    
    .pro-nav-logo-icon {
        font-size: 1.4rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .pro-navbar-container {
        padding: 0 1.5rem;
    }
    
    .pro-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .pro-nav-user-details {
        display: none; /* Show only avatar on tablet */
    }
}
