.eden-site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: auto;
  padding: 16px 16px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  font-family: "Hanken Grotesk", Arial, sans-serif;
}

.eden-site-header *,
.eden-site-header *::before,
.eden-site-header *::after,
.eden-site-mobile-nav *,
.eden-site-mobile-nav *::before,
.eden-site-mobile-nav *::after {
  box-sizing: border-box;
}

.eden-site-nav {
  position: relative;
  width: min(1200px, 100%);
  height: 58px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.35vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(223, 183, 255, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(88, 60, 132, 0.46), rgba(25, 31, 68, 0.3)),
    rgba(12, 17, 44, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(145, 211, 200, 0.05),
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  pointer-events: auto;
  direction: rtl;
}

.eden-site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 36%, rgba(145, 211, 200, 0.06)),
    radial-gradient(circle at 78% 0%, rgba(223, 183, 255, 0.12), transparent 36%);
  pointer-events: none;
}

.eden-site-brand {
  position: relative;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(139, 92, 246, 0.28);
}

.eden-site-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.8vw, 11px);
  min-width: 0;
}

.eden-site-link {
  position: relative;
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 218, 255, 0.1);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(145, 211, 200, 0.012)),
    rgba(11, 16, 43, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition:
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.eden-site-link:hover {
  border-color: rgba(223, 183, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(223, 183, 255, 0.1), rgba(145, 211, 200, 0.025)),
    rgba(28, 26, 69, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.eden-site-link--active,
.eden-site-link[aria-current="page"] {
  border-color: rgba(223, 183, 255, 0.38);
  background:
    linear-gradient(115deg, rgba(128, 73, 184, 0.28), rgba(91, 42, 134, 0.12)),
    rgba(30, 27, 72, 0.2);
  color: #fff;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 7px 18px rgba(32, 16, 68, 0.16);
}

.eden-site-cta {
  min-height: 36px;
  padding: 0 16px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(223, 183, 255, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(115deg, rgba(128, 73, 184, 0.42), rgba(91, 42, 134, 0.18)),
    rgba(30, 27, 72, 0.22);
  color: #f2e7ff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(33, 16, 71, 0.18);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.eden-site-cta:hover {
  border-color: rgba(223, 183, 255, 0.55);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.eden-site-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  display: none;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(223, 183, 255, 0.25);
  border-radius: 12px;
  background: rgba(91, 42, 134, 0.22);
  color: #f8f3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.eden-site-toggle .material-symbols-outlined {
  font-size: 21px;
  line-height: 1;
}

.eden-site-brand:focus-visible,
.eden-site-link:focus-visible,
.eden-site-cta:focus-visible,
.eden-site-toggle:focus-visible {
  outline: 2px solid #91d3c8;
  outline-offset: 3px;
}

.eden-site-mobile-nav {
  position: fixed;
  z-index: 999;
  top: 88px;
  right: 16px;
  left: 16px;
  width: min(568px, calc(100% - 32px));
  margin-inline: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(223, 183, 255, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(91, 42, 134, 0.18), rgba(145, 211, 200, 0.035)),
    rgba(12, 16, 43, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(4, 5, 18, 0.46);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  direction: rtl;
  font-family: "Hanken Grotesk", Arial, sans-serif;
}

.eden-site-mobile-nav[hidden] {
  display: none;
}

.eden-site-mobile-nav .eden-site-link {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.eden-site-mobile-nav .eden-site-link:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 1023px) {
  .eden-site-links,
  .eden-site-cta {
    display: none;
  }

  .eden-site-toggle {
    display: grid;
  }
}

@media (max-width: 767px) {
  .eden-site-header {
    padding: 10px 10px 0;
  }

  .eden-site-nav {
    height: 56px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .eden-site-brand {
    min-width: 0;
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
  }

  .eden-site-mobile-nav {
    top: 74px;
    right: 10px;
    left: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eden-site-link,
  .eden-site-cta {
    transition: none;
  }
}
