*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: #0a0a0a;
}

/* Full-viewport background image */
.bg-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: url("/assets/background.jpg") center center / cover no-repeat;
  z-index: 0;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

/* Top navbar - full width, sticky */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.6rem clamp(1rem, 3vw, 2.5rem);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Main content - vertically centered */
.content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem clamp(1rem, 4vw, 3rem) 6rem;
  text-align: center;
}
.hero {
  max-width: 720px;
}
.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hero-sub {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  line-height: 1.5;
}

/* Footer - full width, sticky bottom */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
}
.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3px;
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { gap: 1.25rem; }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15,15,20,0.95);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .content { padding: 5rem 1rem 5rem; }
}

/* Brand logo sizing — fits within navbar height */
.nav-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0;
}
.brand-logo {
  display: block;
  height: 32px;
  max-height: 32px;
  width: 32px;
  max-width: 32px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
@media (max-width: 640px) {
  .brand-logo { height: 28px; width: 28px; }
}
