/* === DESKTOP NAVIGATION (refined) === */
nav.desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
}

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

nav.desktop-nav .logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 126, 95, 0.3);
}

nav.desktop-nav .logo-text {
  font-size: 1.8em;
  font-weight: bold;
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav.desktop-nav .nav-links {
  display: flex;
  gap: 30px;
}

nav.desktop-nav .nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav.desktop-nav .nav-links a:hover {
  color: #ff7e5f;
}

/* === TOGGLE ICON (hidden on desktop) === */
.toggle-menu-btn {
  display: none;
}

.mobile-nav-menu button {
  margin-top: 1rem;
}

      .logo-text {
   font-family: Orbitron;
    font-size: 1.8em;
    margin-top: 10px;
   margin-left: 20%;
    color: #ff7e5f;
   background: linear-gradient(to right, white, #feb47b);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    width: 0;
    animation: typing 1s steps(10000) 0.5s forwards;
  }

  @keyframes typing {
    to { width: 8ch; } /* Adjust for text length */
  }

/* Desktop-only Nexa homepage logo styling */
.nexa-desktop-logo {
  position: absolute;            /* place over hero content */
  left: 50%;
  top: 28px;                     /* tweak to sit visually above hero copy */
  transform: translateX(-50%) translateZ(0);
  width: 520px;                  /* size for desktop */
  height: auto;
  z-index: 120;
  pointer-events: none;          /* hero remains interactive */
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), opacity 280ms;
  opacity: 1;
  will-change: transform, opacity;
}

/* micro-hover lift on desktop (container treated as visual only) */
.nexa-desktop-logo:hover {
  transform: translateX(-50%) translateZ(0) translateY(-6px) scale(1.02);
}

/* sheen animation */
@keyframes sheenMove {
  0%   { transform: translateX(-900px); opacity: 0; }
  20%  { opacity: 0; }
  40%  { transform: translateX(-300px); opacity: 0.75; }
  55%  { transform: translateX(40px); opacity: 1; }
  75%  { transform: translateX(420px); opacity: 0.6; }
  100% { transform: translateX(1200px); opacity: 0; }
}
#sheenRect {
  animation: sheenMove 3.6s ease-in-out infinite;
  will-change: transform, opacity;
}

/* particle rise animation fallback */
@keyframes particleFloat {
  0% { transform: translateY(8px) scale(.85); opacity: 0; }
  30% { opacity: 0.85; transform: translateY(-6px) scale(1); }
  100% { transform: translateY(-20px) scale(1.05); opacity: 0; }
}

/* Desktop-only visibility; hides on smaller viewports */
@media (max-width: 1023px) {
  .nexa-desktop-logo { display: none !important; opacity: 0; pointer-events: none; }
}

/* responsive tweak for very large screens */
@media (min-width: 1600px) {
  .nexa-desktop-logo { width: 760px; top: 40px; }
}

/* accessibility: prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  #sheenRect { animation: none; opacity: 0; }
  #particlesLayer > * { animation: none; opacity: 0; }
  .nexa-desktop-logo, .nexa-desktop-logo:hover { transform: translateX(-50%) translateZ(0); transition: none; }
}