#platform-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  background: rgba(8, 12, 16, .88);
  backdrop-filter: blur(18px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.pnav-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2dd4bf, #7dd3fc);
  color: #041314;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), 0 10px 26px rgba(45,212,191,.18);
}
.pnav-title {
  font-size: 15px;
  font-weight: 800;
  color: #edf6f8;
  letter-spacing: 0;
}

.pnav-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.pnav-steps::-webkit-scrollbar { display: none; }
.pnav-step {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.pnav-step a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  color: #718295;
  font-size: 13px;
  font-weight: 700;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.pnav-step a:hover {
  color: #c7d2de;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(148, 163, 184, .13);
}
.pnav-step.active a {
  color: #edf6f8;
  background: rgba(45, 212, 191, .09);
  border-color: rgba(45, 212, 191, .22);
}
.pnav-step.soon a { cursor: default; }
.pnav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #17212b;
  color: #7b8da0;
  font-size: 11px;
  font-weight: 800;
  transition: background .15s ease, color .15s ease;
}
.pnav-step.active .pnav-num {
  background: #2dd4bf;
  color: #041314;
}
.pnav-home-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: #7b8da0;
  font-size: 17px;
  line-height: 1;
}
.pnav-home-step.active .pnav-home-icon { color: #2dd4bf; }
.pnav-arrow {
  color: #334152;
  margin: 0 1px;
  font-size: 14px;
}
.pnav-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: #17212b;
  color: #718295;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pnav-user {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  flex: 0 0 auto;
}
.pnav-username { color: #aebccc; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnav-login, .pnav-logout {
  color: #90a0b1;
  text-decoration: none;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #26313d;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.pnav-login:hover, .pnav-logout:hover {
  color: #edf6f8;
  border-color: rgba(45, 212, 191, .36);
  background: rgba(45, 212, 191, .07);
}

@media (max-width: 860px) {
  #platform-nav {
    gap: 12px;
    padding: 0 14px;
  }
  .pnav-title { display: none; }
  .pnav-user { display: none; }
}
