/* nav.css */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 64px; display: flex; align-items: center; gap: 0; padding: 0 40px; background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%); transition: all .3s ease; }
nav.scrolled { background: rgba(5,5,5,.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(20px); }
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 36px; flex-shrink: 0; cursor: pointer; }
.logo-mark { width: 32px; height: 32px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -1px; box-shadow: 0 4px 12px var(--red-glow); }
.logo-name { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; letter-spacing: 2px; color: var(--text); }
.logo-name span { color: var(--red); }
.nav-tabs { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-tab { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text2); cursor: pointer; border: none; background: none; transition: all .2s; white-space: nowrap; }
.nav-tab:hover { color: var(--text); }
.nav-tab.active { background: rgba(255,255,255,.1); color: var(--text); }
.nav-tab .tab-icon { font-size: 15px; }
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.search-wrap { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid transparent; border-radius: 20px; padding: 8px 16px; transition: all .3s; }
.search-wrap:focus-within { border-color: var(--red); background: rgba(0,0,0,.5); box-shadow: 0 0 10px var(--red-glow); }
.search-wrap input { background: none; border: none; outline: none; color: var(--text); font-size: 13px; width: 180px; }
.search-wrap input::placeholder { color: var(--text3); }
.nav-contact { display: flex; align-items: center; gap: 6px; padding: 8px 20px; background: var(--red); color: #fff; border: none; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.nav-contact:hover { background: var(--red2); transform: scale(1.05); }
.nav-user { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(255,255,255,.05); border: 1px solid transparent; border-radius: 20px; cursor: pointer; transition: all .3s; font-size: 14px; font-weight: 500; }
.nav-user:hover { background: rgba(255,255,255,.1); }
.nav-avatar { width: 28px; height: 28px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }

@media (min-width: 1440px) { nav { padding: 0 60px; } }
@media (max-width: 1024px) { nav { padding: 0 30px; } }
@media (max-width: 768px) {
  nav { padding: 0 15px; height: 56px; justify-content: space-between; }
  .nav-logo { margin-right: 0; }
  .logo-name { font-size: 18px; letter-spacing: 1px; }
  .logo-mark { width: 28px; height: 28px; font-size: 16px; }
  .nav-tabs { gap: 10px; flex: unset; }
  .nav-tabs .nav-tab { padding: 5px; }
  .nav-tabs .nav-tab span:not(.tab-icon) { display: none; } 
  .nav-tab .tab-icon { font-size: 20px; } 
  .nav-right { gap: 10px; margin-left: 0; }
  .search-wrap { display: none; }
  .nav-user { padding: 0; background: transparent; border: none; }
  .nav-avatar { width: 32px; height: 32px; font-size: 14px; }
}
