/* ===== NEON HEADER — GREEN ELECTRIC STYLE ===== */

.site-header {
  position: relative;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(2, 6, 15, 0.96),
    rgba(2, 6, 15, 0.9),
    rgba(2, 6, 15, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(186, 255, 79, 0.45);
  box-shadow:
    0 1px 0 rgba(2, 4, 10, 0.9),
    0 18px 40px rgba(0, 0, 0, 0.85);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* ===== LOGO ===== */
.logo {
  font: 900 22px/1 "Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  background: linear-gradient(100deg, #ffffff, #baff4f 40%, #8aff8a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(186, 255, 79, 0.8));
}

/* ===== NAVIGATION ===== */

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a,
.header__nav > ul a {
  position: relative;
  color: rgba(229, 231, 235, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.18s ease;
}

/* ===== DYNAMIC ELECTRIC NEON HOVER ===== */
.nav a::before,
.header__nav > ul a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(186, 255, 79, 0.6) 20%,
    rgba(186, 255, 79, 0.9) 50%,
    rgba(186, 255, 79, 0.6) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.nav a:hover,
.header__nav > ul a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(186, 255, 79, 0.9),
    0 0 16px rgba(186, 255, 79, 0.6);
  transform: translateY(-2px);
}

.nav a:hover::before,
.header__nav > ul a:hover::before {
  opacity: 1;
  transform: scale(1);
  animation: neonPulse 1.6s linear infinite;
}

/* ===== Electric pulse animation ===== */
@keyframes neonPulse {
  0% {
    background-position: 200% 0;
    opacity: 0.7;
  }
  50% {
    background-position: 100% 0;
    opacity: 1;
  }
  100% {
    background-position: -200% 0;
    opacity: 0.7;
  }
}

/* ===== BURGER BUTTON ===== */
.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(186, 255, 79, 0.7);
  background: rgba(7, 11, 24, 0.95);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow:
    0 0 18px rgba(186, 255, 79, 0.8),
    0 12px 24px rgba(0, 0, 0, 0.8);
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e5ffbf, #baff4f, #8aff8a);
  box-shadow: 0 0 10px rgba(186, 255, 79, 0.9);
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.burger::before {
  top: 16px;
}

.burger::after {
  bottom: 16px;
}

.burger .icon-left {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background: linear-gradient(90deg, #e5ffbf, #baff4f, #8aff8a);
  box-shadow: 0 0 10px rgba(186, 255, 79, 0.9);
  transition: all 0.3s ease;
}

.burger .icon-right {
  display: none;
}

.burger:hover {
  border-color: rgba(186, 255, 79, 0.95);
  background: rgba(9, 13, 30, 0.98);
  box-shadow:
    0 0 26px rgba(186, 255, 79, 0.95),
    0 12px 28px rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

/* OPEN STATE */
.burger.open {
  border-color: rgba(186, 255, 79, 0.95);
  background: rgba(5, 8, 18, 0.98);
}

.burger.open::before {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.burger.open::after {
  top: 50%;
  bottom: auto;
  transform: translateX(-50%) rotate(-45deg);
}

.burger.open .icon-left {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

/* ===== MOBILE MENU ===== */
.mobile__menu {
  display: none;
}

.header__nav > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  margin-inline: auto;
}

/* ===== MOBILE (off-canvas) ===== */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background:
      radial-gradient(800px 800px at 20% 10%, rgba(186, 255, 79, 0.26), transparent 60%),
      radial-gradient(900px 900px at 80% 90%, rgba(255, 255, 255, 0.15), transparent 60%),
      rgba(3, 5, 16, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 50;
    transform: translateX(-120%);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex;
    flex-direction: column;
  }

  .header__nav > ul {
    margin-top: 80px;
    margin-left: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .header__nav > ul a {
    font-size: 18px;
    color: #ffffff;
  }

  .header__nav > a {
    display: inline-block !important;
    margin: auto 24px 40px;
    max-width: 90%;
    text-align: center;
    color: #02030a !important;
    background: linear-gradient(100deg, #fafff0, #baff4f 45%, #8aff8a 90%);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.6),
      0 0 50px rgba(186, 255, 79, 0.55);
  }

  .navOpen {
    transform: translateX(0%);
  }
}

/* ===== ACCESSIBILITY ===== */
.header__nav > ul a:focus-visible,
.burger:focus-visible {
  outline: 2px solid #baff4f;
  outline-offset: 4px;
}

.mobile__menu {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .burger,
  .burger * {
    transition: none !important;
  }
  .header__nav {
    transition: none !important;
  }
}


