/* QRCL Global Styles - Consistent Across All Pages */
:root {
  --bg: #000008;
  --bg-grad: #020510;
  --fg: #eaf0fb;
  --fg-dim: #7b89a8;
  --accent: #6ea8ff;
  --border: rgba(110, 168, 255, 0.13);
  
  /* Standardized Font System */
  --mono: ui-monospace, "SF Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  
  /* Additional Colors */
  --red: #ff4455;
  --amber: #ffb870;
  --green: #00ff88;
  --purple: #9b59f5;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Navigation - Consistent Across All Pages */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 36px;
  background: rgba(0, 0, 8, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color .2s;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 500;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(0,0,8,0.97);
    backdrop-filter: blur(20px);
    z-index: 450;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 15px;
    letter-spacing: .18em;
  }
  nav {
    padding: 11px 16px;
  }
}

/* Footer - Consistent Across All Pages */
footer {
  padding: 24px 36px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  line-height: 1.8;
  border-top: 0.5px solid var(--border);
  background: rgba(0, 0, 8, 0.72);
  backdrop-filter: blur(10px);
}

footer .inner {
  max-width: 1100px;
  margin: 0 auto;
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  align-items: flex-end;
}

footer a {
  color: var(--fg-dim);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(110, 168, 255, 0.18);
  transition: all .2s;
}

footer a:hover {
  color: var(--accent);
}

.foot-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(110, 168, 255, 0.08);
  font-size: 10px;
  opacity: .38;
  letter-spacing: .08em;
}

@media (max-width: 700px) {
  footer {
    padding: 18px 16px;
  }
}
