/* Shared PicklePro top navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.site-nav .logo {
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .nav-links a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.site-nav .nav-links a:hover {
    color: #007AFF;
}

.site-nav .nav-links a.active {
    color: #007AFF;
    font-weight: 600;
}

.site-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007AFF;
    transition: width 0.2s ease;
}

.site-nav .nav-links a:hover::after,
.site-nav .nav-links a.active::after {
    width: 100%;
}

.site-nav .logo::after {
    display: none;
}

.site-nav .nav-sep {
    width: 1px;
    height: 1.25rem;
    background: #e2e8f0;
    padding: 0;
    margin: 0;
    align-self: center;
    list-style: none;
}

.site-nav .nav-mobile-cta {
    display: none;
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms ease;
}

.site-nav .nav-mobile-cta:active {
    transform: scale(0.97);
}

body.has-site-nav {
    padding-top: 0;
}

body.has-site-nav [id] {
    scroll-margin-top: 72px;
}

@media (max-width: 900px) {
    .site-nav .nav-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-nav {
        height: 52px;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .site-nav .logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .site-nav .nav-links {
        gap: 0;
        flex: 1;
        justify-content: center;
    }

    .site-nav .nav-links a.nav-audience {
        padding: 0.35rem 0.75rem;
        font-size: 0.82rem;
        font-weight: 600;
        border-radius: 20px;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .site-nav .nav-links a.nav-audience.active {
        background: #E8F5FF;
        color: #0056b3;
    }

    .site-nav .nav-links a::after {
        display: none;
    }

    .site-nav .nav-sep {
        display: none;
    }

    /* CTA hidden on mobile — logo + pill tabs are sufficient */
    .site-nav .nav-mobile-cta {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .site-nav .nav-mobile-cta:hover {
        box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25);
    }
}
