/* =========================================================
   VARIABLES
========================================================= */
:root {
  --topbar-h: 36px;
  --menu-h: 120px;
  --header-h: calc(var(--topbar-h) + var(--menu-h));

  --blue: #0c00ff;
  --yellow: #f5bd09;

  --bg-dark: #05071a;
  --bg-header: rgba(6, 8, 20, 0.92);

  --text: #f4f6ff;
  --muted: rgba(255,255,255,.65);
}

/* =========================================================
   BASE
========================================================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #070914;
  color: var(--text);
}

body.has-header-offset {
  padding-top: var(--header-h);
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--bg-dark);
}

/* ================= TOP BAR ================= */
.header-topbar {
  height: var(--topbar-h);
  background: #0a0c22;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 12px;
  letter-spacing: .6px;
  color: var(--muted);
}

/* ================= MENU ================= */
.header-menu {
  height: var(--menu-h);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
}

.menu-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  gap: 28px;
}

/* ================= LOGO ================= */
.brand-logo {
  height: 72px;
  width: auto;
  aspect-ratio: 300 / 171;
  object-fit: contain;
  display: block;
}

/* ================= NAV DESKTOP ================= */
.nav-main {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-main a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;

  color: var(--text);
  text-decoration: none;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width .25s ease;
}

.nav-main a:hover::after {
  width: 100%;
}

/* ================= CTA ================= */
.menu-cta {
  margin-left: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--yellow);

  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.menu-cta span {
  font-size: 11px;
  color: var(--muted);
}

.menu-cta strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--yellow);
}

/* ================= BURGER ================= */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 26px;
  position: relative;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { bottom: 0; }

/* ================= MOBILE MENU ================= */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  padding-top: var(--header-h);

  display: flex;
  flex-direction: column;

  transform: translateY(-100%);
  transition: transform .3s ease;
  z-index: 3000;
}

.nav-mobile.open {
  transform: translateY(0);
}

.nav-mobile a {
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-mobile a:hover {
  background: #0b0f33;
  color: var(--yellow);
}

.mobile-cta {
  margin: 28px;
  padding: 16px;
  background: var(--yellow);
  color: #000;
  text-align: center;
  border-radius: 10px;
  font-weight: 800;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {

  :root {
    --topbar-h: 0px;
    --menu-h: 76px;
  }

  .header-topbar {
    display: none;
  }

  .nav-main,
  .menu-cta {
    display: none;
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  .brand-logo {
    height: 52px;
  }
}
