.af-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.af-nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.af-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.af-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.af-nav-brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.af-nav-mark {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    object-fit: cover;
}

.af-nav-mark-fallback {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.75rem;
    background: #0ea5e9;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

.af-nav-wordmark {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    background: none;
}

.af-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.af-nav-link {
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.af-nav-link:hover {
    color: #0284c7;
}

.af-nav-link.is-current {
    color: #0284c7;
    font-weight: 600;
}

.af-nav-cta {
    background: #0f172a;
    color: #fff !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    transition: background-color 0.2s ease;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.af-nav-cta:hover {
    background: #1e293b;
}

.af-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 0;
    background: none;
    border-radius: 0.375rem;
    color: #64748b;
    cursor: pointer;
}

.af-nav-toggle:hover {
    color: #0284c7;
    background: #f1f5f9;
}

.af-nav-toggle svg {
    height: 1.5rem;
    width: 1.5rem;
}

.af-nav-toggle .af-icon-open {
    display: none;
}

.af-nav-panel {
    display: none;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 0 0.75rem;
}

.af-nav-panel.is-open {
    display: block;
}

.af-nav-panel .af-nav-link {
    display: block;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.af-nav-panel .af-nav-link:hover {
    background: #f0f9ff;
}

.af-nav-panel .af-nav-cta {
    display: block;
    text-align: center;
    margin: 0.5rem 0.75rem 0;
    padding: 0.625rem 1rem;
    font-size: 1rem;
}

.af-nav-panel-lang {
    padding: 0.5rem 0.75rem 0;
}

@media (min-width: 640px) {
    .af-nav-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .af-nav-inner {
        padding: 0 2rem;
    }

    .af-nav-menu {
        gap: 0.5rem;
    }
}

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

    .af-nav-toggle {
        display: inline-flex;
    }
}

@media (min-width: 1280px) {
    .af-nav-panel {
        display: none !important;
    }
}

.af-nav-toggle.is-open .af-icon-closed {
    display: none;
}

.af-nav-toggle.is-open .af-icon-open {
    display: block;
}

body.af-nav-locked {
    overflow: hidden;
}

.af-nav-panel-lang .lang-selector-wrapper {
    width: 100%;
}

.af-nav-panel-lang .lang-selector-btn {
    width: 100%;
    justify-content: center;
}

.af-nav-panel-lang .lang-selector-btn span:not(.lang-selector-icon) {
    display: inline;
}

.af-nav-panel-lang .lang-selector-dropdown {
    width: 100%;
    left: 0;
    right: auto;
    transform: translateY(-10px);
}

.af-nav-panel-lang .lang-selector-dropdown.active {
    transform: translateY(0);
}

.af-nav-spacer {
    height: 4rem;
}
