@import url('tokens.css');

/* === Navigation (Dark Glass) === */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(8, 8, 12, 0.70);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background-color var(--motion-base) var(--ease-standard),
                box-shadow var(--motion-base) var(--ease-standard);
}
.nav-bar.nav-scrolled {
    background: rgba(8, 8, 12, 0.90);
    box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
.nav-inner {
    max-width: var(--w-content);
    margin: 0 auto;
    padding: 0 var(--sp-5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.nav-download-link,
.nav-auth-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--motion-base) var(--ease-standard);
}
.nav-download-link:hover,
.nav-auth-link:hover {
    color: #fff;
}
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    line-height: 0;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5.5rem);
    z-index: 1;
}
.nav-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: var(--nav-logo-render-height);
    height: auto;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

/* Secondary pages: offset content below fixed nav */
body.with-fixed-nav {
    margin: 0;
    padding-top: var(--nav-height);
    font-family: -apple-system, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    color: #f5f5f7;
    background: #08080c;
    -webkit-font-smoothing: antialiased;
}
