/* SpringOwl Shared Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148,163,184,0.10);
  padding: 0 2rem;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1rem;
}
.header-brand img {
  height: 32px;
  width: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.header-nav a:hover {
  color: #f8fafc;
  background: rgba(148,163,184,0.08);
}
.header-nav a.active {
  color: #00d4ff;
}
.header-cta {
  background: #00d4ff;
  color: #000 !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px;
  transition: background 0.15s !important;
}
.header-cta:hover {
  background: #33e0ff !important;
  color: #000 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f8fafc;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.97);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(148,163,184,0.08); }
.mobile-nav a.active { color: #00d4ff; }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: block; }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148,163,184,0.10);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  background: #050508;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.footer-column h4 {
  color: #00d4ff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-column a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color 0.15s;
}
.footer-column a:hover { color: #f8fafc; }
.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148,163,184,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 0.8125rem;
}
.footer-bottom a { color: #475569; text-decoration: none; }
.footer-bottom a:hover { color: #94a3b8; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-column a { padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #00d4ff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0.5rem;
}

/* Focus indicators */
*:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

/* Active nav link (enhanced) */
.header-nav a.active,
.mobile-nav a.active {
  color: #00d4ff;
  border-bottom: 2px solid #00d4ff;
  padding-bottom: calc(0.5rem - 2px);
}
