.custom-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 10px 30px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(26, 26, 26, .95), rgba(0, 0, 0, .95));
  box-shadow: 0 15px 35px rgba(0, 0, 0, .7);
  backdrop-filter: blur(10px);
  z-index: 9999;
}
.custom-nav .brand { display: flex; flex: none; align-items: center; margin-right: 0; }
.nav-logo-img { display: block; height: 55px; transition: transform .2s; }
.nav-logo-img:hover { transform: scale(1.1); }
.nav-center { display: flex; align-items: center; justify-content: center; gap: 35px; flex: 1; margin: 0 20px; }
.nav-link-item { padding-bottom: 4px; border-bottom: 2px solid transparent; color: #fff; font-size: 1.05rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: all .2s; }
.nav-link-item:hover, .nav-link-item[aria-current] { color: #ffd700; border-color: #ffd700; }
.custom-nav-cta {
  display: flex;
  align-items: center;
  flex: none;
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 99px;
  background: linear-gradient(145deg, #fff, #e0e0e0);
  box-shadow: inset 0 2px 4px #fff, 0 4px 15px rgba(0, 0, 0, .5);
  color: #000;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .4s cubic-bezier(.25, .8, .25, 1);
}
.custom-nav-cta:hover { transform: translateY(-2px); box-shadow: inset 0 2px 4px #fff, 0 10px 25px rgba(255, 255, 255, .6); }
.custom-nav-cta .material-symbols-outlined { margin-right: 6px; font-size: 1.2rem; }
.mobile-menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mobile-menu-icon { display: none; }

@media (max-width: 1150px) {
  .nav-center { gap: 20px; margin: 0 10px; }
  .nav-link-item { font-size: .95rem; }
  .custom-nav-cta { padding: 6px 18px; font-size: .9rem; }
}
@media (max-width: 900px) {
  .custom-nav { padding: 12px 20px; border-radius: 24px; }
  .custom-nav .brand { margin-right: auto; }
  .nav-logo-img { height: 40px; }
  .mobile-menu-icon { display: flex; align-items: center; justify-content: center; padding: 5px; color: #fff; cursor: pointer; }
  .mobile-menu-icon .material-symbols-outlined { font-size: 1.8rem; }
  .custom-nav-cta { padding: 6px 14px; margin-right: 15px; font-size: .85rem; }
  .custom-nav-cta .material-symbols-outlined { font-size: 1.1rem; }
  .nav-center { display: none; order: 10; width: 100%; flex: none; flex-direction: column; gap: 15px; margin: 15px 0 0 !important; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .mobile-menu-toggle:checked ~ .nav-center { display: flex; }
  .mobile-menu-toggle:focus-visible ~ .mobile-menu-icon { outline: 2px solid #ffd700; outline-offset: 3px; }
}
@media (max-width: 375px) {
  .custom-nav { padding: 10px 12px; }
  .custom-nav-cta { margin-right: 8px; }
}
