/* Shared top navigation (pill) - VPSStorages */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.85);
  position: sticky;
  top: 12px;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.nav-left { display: flex; align-items: center; gap: 12px; }

.logo-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(59,130,246,0.45), transparent 55%),
             rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 0 0 1px rgba(15,23,42,0.7);
}

.logo-pill img {
  height: 38px;
  width: auto;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(15,23,42,0.9);
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 17px;
}

.brand-text-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9ca3af;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #9ca3af;
  flex-wrap: wrap;
}

.nav-menu a {
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a span { transition: color 0.17s ease-out; }

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #3b82f6, #a855f7);
  transition: width 0.22s ease-out;
}

.nav-menu a:hover span { color: #e5e7eb; }
.nav-menu a:hover::after { width: 100%; }

.nav-menu .active span {
  color: #e5e7eb;
  font-weight: 500;
}
.nav-menu .active::after { width: 100%; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  background: rgba(22,163,74,0.16);
  border: 1px solid rgba(34,197,94,0.4);
  font-size: 11px;
  color: #bbf7d0;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.8);
}

.badge-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.22);
}

.btn-primary-pill {
  padding: 9px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #dbeafe;
  background: radial-gradient(circle at 0 0, #3b82f6, #1d4ed8);
  box-shadow: 0 14px 32px rgba(37,99,235,0.65);
  white-space: nowrap;
}
.btn-primary-pill:hover { filter: brightness(1.06); transform: translateY(-0.5px); }
.btn-primary-pill:active { transform: translateY(1px); box-shadow: 0 8px 18px rgba(15,23,42,0.9); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-right: 6px;
}
.nav-lang span, .nav-lang a { color: #e5e7eb; }
.nav-lang .lang-active { font-weight: 600; }
.nav-lang .lang-sep { color: #6b7280; }

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-radius: 22px;
  }
}
