.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.75), rgba(12, 14, 20, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo-ph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: conic-gradient(
    from 210deg,
    var(--brand-1),
    var(--brand-2),
    var(--brand-3)
  );
  box-shadow: 0 6px 24px rgba(79, 124, 255, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}

.logo-ph::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 3.5s linear infinite;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

@keyframes shine {
  to {
    transform: translateX(140%) rotate(25deg);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-weight: 500;
  color: rgba(232, 236, 244, 0.8);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 14px;
}

.mobile-menu a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
}

.mobile-menu.show {
  display: flex;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}
