/* ─── Shared Nav Component ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  height: 80px; width: 100%;
  background: linear-gradient(to bottom, rgba(0,2,18,0.92) 0%, rgba(0,2,18,0.6) 80%, rgba(0,2,18,0) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex: 1; width: 100%; max-width: 1200px; padding: 0 40px;
}
.logo {
  width: 48px; height: 48px; display: flex; align-items: center;
  justify-content: center; transition: transform 0.3s ease; flex-shrink: 0;
}
.logo:hover { transform: scale(1.05); }
.nav__links {
  display: flex; align-items: center; gap: 48px;
  font-size: 20px; line-height: 30px; font-weight: 400;
}
.nav__links a {
  position: relative; color: #fff; text-decoration: none; transition: color 0.2s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: #00FFEA; }
.nav__links a.is-active::after { transform: scaleX(1); background: #00FFEA; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 20px;
  border: 1px solid rgba(135,134,145,0.42); border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap; text-decoration: none;
}
.nav-cta:hover { border-color: #00FFEA; color: #00FFEA; background: rgba(0,255,234,0.05); }
.nav-cta::after { display: none !important; }
.nav__hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.nav__hamburger span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  border-radius: 2px; transform-origin: center;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
}
@media (max-width: 960px) { .nav__inner { padding: 0 32px; } }
@media (max-width: 640px) {
  .nav { height: auto; background: rgba(0,2,18,0.95); backdrop-filter: blur(12px); }
  .nav__inner { flex: none; flex-wrap: wrap; min-height: 80px; padding: 0 24px; align-content: flex-start; }
  .logo { order: 1; }
  .nav__hamburger { display: flex; order: 2; margin-left: auto; }
  .nav__links { display: none; order: 3; flex-direction: column; width: 100%; gap: 32px; padding: 16px 42px 48px; font-size: 20px; }
  .nav__links a::after { display: none; }
  .nav.is-open { background: rgba(0,2,18,0.98); }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open .nav__hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
