/* ===== Header — extracted from Astro landing build ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000d41f2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: clamp(60px, 8vw, 72px);
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-image { height: clamp(36px, 5vw, 44px); width: auto; }

/* Desktop Nav */
.nav-desktop { display: none; gap: clamp(1.5rem, 3vw, 2.5rem); }
.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}
.nav-link:hover { color: #fff; }

/* Desktop Buttons */
.header-buttons-desktop { display: none; align-items: center; gap: 0.75rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  min-height: 44px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger-line {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90; }
.mobile-overlay.open { display: block; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 85vw); height: 100vh;
  background: #000d41; z-index: 1001;
  transform: translateX(100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 1.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
  background: none; border: none; cursor: pointer;
  width: 28px; height: 28px; color: rgba(255,255,255,0.7);
  min-height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
}
.close-btn svg { width: 24px; height: 24px; }

.nav-mobile { display: flex; flex-direction: column; padding: 0.75rem; }
.nav-link-mobile {
  display: flex; align-items: center;
  padding: 1rem; color: rgba(255, 255, 255, 0.9);
  text-decoration: none; font-size: 1.0625rem; font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
  border-radius: 8px; transition: background-color 0.2s ease;
  min-height: 44px;
}
.nav-link-mobile:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.drawer-buttons {
  padding: 1rem clamp(1rem, 4vw, 1.5rem);
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary-mobile {
  display: flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.5rem; color: #fff;
  font-size: 1rem; font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px; transition: background-color 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
}
.btn-primary-mobile:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

/* Desktop breakpoint — matching Astro's 768px */
@media (min-width: 768px) {
  .nav-desktop, .header-buttons-desktop { display: flex; }
  .menu-toggle { display: none; }
}
