.nav {
    background-color: #000000;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle .material-icons {
    font-size: 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav .logo {
    width: 45px;
    height: 45px;
    filter: invert(1);
    transition: transform 0.2s ease;
}

.nav-brand:hover .logo {
    transform: scale(1.05);
}

.nav .name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-left: 15px;
    letter-spacing: 0.5px;
}

/* Hide brand name on very small screens */
@media (max-width: 480px) {
    .nav .name {
        display: none;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.subscription-timer {
    display: flex;
    align-items: center;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    display: none;
}

.subscription-timer i {
    margin-right: 5px;
    font-size: 18px;
}

.subscription-timer span {
    font-family: monospace;
}

.subscription-timer .material-icons {
    font-size: 18px;
    color: #ffd700; /* gold color for timer icon */
}

.subscription-timer.warning {
    background-color: rgba(255, 193, 7, 0.2);
}

.subscription-timer.danger {
    background-color: rgba(220, 53, 69, 0.2);
    animation: pulse 1.5s infinite;
}

.subscription-timer.expired {
    background-color: rgba(220, 53, 69, 0.4);
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.subscription-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.subscription-nav-btn:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.subscription-nav-btn .material-icons {
    font-size: 20px;
}

.subscription-nav-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* Hide button text on mobile, show only icons */
@media (max-width: 768px) {
    .subscription-nav-btn span,
    .book-demo-btn span {
        display: none;
    }
    
    .subscription-nav-btn,
    .book-demo-btn {
        padding: 10px;
        min-width: 44px;
        justify-content: center;
    }
}

.book-demo-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #5e9eff;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.book-demo-btn:hover {
    background-color: #4a7ecc;
    transform: translateY(-2px);
}

.book-demo-btn .material-icons {
    font-size: 20px;
}

.book-demo-btn span {
    font-size: 14px;
    font-weight: 500;
}

.profile-dropdown {
    position: relative;
    cursor: pointer;
}

.profileImg {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: invert(1);
}

.profile-dropdown:hover .profileImg {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.dropdown-menu {
    position: absolute;
    right: -15px;
    top: 60px;
    background-color: #191919;
    padding: 12px 5px;
    border-radius: 8px;
    list-style: none;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    margin-top: 10px;
    z-index: 1000;
}

.profile-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-menu li:hover {
    background-color: #333333;
    border-radius: 4px;
}

.dropdown-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.dropdown-menu li .material-icons {
    margin-right: 12px;
    font-size: 20px;
    color: #ffffff;
}

.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 22px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #191919;
}

a {
    text-decoration: none;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        padding: 12px 20px;
    }
    
    .nav-actions {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-actions {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #191919;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    
    .nav-actions.mobile-open {
        right: 0;
    }
    
    /* Mobile menu overlay - handled by JavaScript */
    
    .subscription-timer {
        margin-right: 0;
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    
    .subscription-nav-btn,
    .book-demo-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    
    .profile-dropdown {
        width: 100%;
    }
    
    .profileImg {
        margin: 0 auto;
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 15px;
        box-shadow: none;
        background-color: #2a2a2a;
    }
    
    .dropdown-menu:before {
        display: none;
    }
    
    .dropdown-menu li {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 10px 12px;
    }
    
    .nav .logo {
        width: 38px;
        height: 38px;
    }
    
    .nav-actions {
        width: 100%;
        right: -100%;
        padding: 70px 15px 20px;
    }
    
    .mobile-menu-toggle {
        font-size: 24px;
        padding: 3px;
    }
    
    .mobile-menu-toggle .material-icons {
        font-size: 24px;
    }
    
    .subscription-timer {
        font-size: 12px;
        padding: 8px;
    }
    
    .subscription-timer .material-icons {
        font-size: 16px;
    }
    
    .subscription-nav-btn,
    .book-demo-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .subscription-nav-btn .material-icons,
    .book-demo-btn .material-icons {
        font-size: 18px;
    }
    
    .profileImg {
        width: 38px;
        height: 38px;
    }
    
    .dropdown-menu {
        margin-top: 12px;
        padding: 10px 3px;
    }
    
    .dropdown-menu li {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .dropdown-menu li .material-icons {
        font-size: 18px;
        margin-right: 10px;
    }
}

