/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(8,11,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  position: relative;
}
.nav-logo-text {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.nav-right {
  display: flex; align-items: center; gap: 16px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}
.lang-btn {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  background: transparent; border: 1px solid var(--border);
  padding: 6px 12px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 120px;
  display: none; flex-direction: column;
  z-index: 300;
}
.lang-dropdown.open { display: flex; }
.lang-option {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.1em;
  padding: 10px 16px; color: var(--muted);
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
}
.lang-option:hover { background: var(--surface2); color: var(--accent); }
.lang-option.current { color: var(--accent); }

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--muted); transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--ink); padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 20px; align-items: flex-start;
    z-index: 199;
  }
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: var(--ink2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px; margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; color: var(--muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
