/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 14, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(14, 14, 16, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo img {
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
}

.nav-menu-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #7FBFF2 100%);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(74, 192, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 192, 255, 0.3);
}

.nav-cta-google {
    padding: 10px 20px;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1F1F1F;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-cta-google:hover {
    background: #F8F9FA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-cta-google svg {
    width: 18px;
    height: 18px;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 14, 16, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 24px;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--accent-blue);
}

.mobile-menu .nav-cta-google {
    margin-top: 8px;
    justify-content: center;
    width: 100%;
}

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

    .burger-menu {
        display: flex;
    }

    nav {
        position: relative;
    }
}
