.site-navigation {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(21, 94, 239, 0.15);
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: min(240px, calc(100vw - 2rem));
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.15);
  animation: menu-in 0.2s ease;
}

.main-menu a {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.main-menu a:hover {
  background: #eaf1ff;
  color: var(--blue);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand-badge {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 46px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(21, 94, 239, 0.15);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  animation: brand-pulse 2s ease-in-out infinite;
}

.brand-words {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #155eef, #5b9bff, #155eef);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shine 4s linear infinite;
}

@keyframes brand-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21, 94, 239, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(21, 94, 239, 0); }
}

@keyframes brand-shine {
  to { background-position: 200% center; }
}

@media (max-width: 480px) {
  .brand-words { font-size: 0.8rem; }
  .brand-badge { padding: 0 0.8rem; }
}

