.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: .75rem 1.5rem;
}
.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: .6rem 1.5rem;
}
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.logo-mark {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.logo-name {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nav-ctas {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.btn-ghost {
    padding: .45rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.15);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-primary-pill {
    padding: .45rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 2px 12px rgba(99,102,241,.3);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}
.btn-primary-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,.45); color: #fff; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: .3rem;
    line-height: 1;
}
.nav-cta-mobile {
    display: none;
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    background: none;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
}
.nav-dropdown-caret {
    font-size: .65rem;
    transition: transform .2s;
    margin-right: -.15rem;
}
.nav-dropdown.open .nav-dropdown-caret,
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    min-width: 220px;
    background: rgba(15,15,26,.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .18s ease;
    z-index: 50;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .8rem;
    border-radius: 10px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-dropdown-item i { font-size: 1rem; color: #a5b4fc; flex-shrink: 0; }

@media (max-width: 1140px) {
    .nav-toggle { display: block; }
    .nav-ctas .nav-cta-desktop { display: none; }
    .nav-links {
        position: absolute;
        top: 100%; right: 0; left: 0;
        background: rgba(12,12,24,.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,.08);
        border-top: none;
        border-radius: 0 0 14px 14px;
        padding: .75rem 1rem;
        margin-right: 0;
        flex-direction: column;
        gap: .5rem;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: .6rem 1rem;
    }
    .nav-dropdown {
        width: 100%;
    }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        margin-top: .25rem;
        background: rgba(255,255,255,.03);
        box-sizing: border-box;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .nav-dropdown-item { justify-content: center; }
    .nav-links .nav-cta-mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: .25rem;
    }
}
