/* ==========================================================
   HUMANIDAT – Main Stylesheet (black theme)
   1. Tokens  2. Base  3. Buttons  4. Header  5. Hero
   ========================================================== */


/* ---------- 1. TOKENS ---------- */
:root {
  --bg: #000;
  --text: #f4f4f2;
  --muted: #8b8b86;
  --accent: #7dd3fc;
  --font-head: "Sora", "Geist", sans-serif; /* heading font */
}


/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fixed 3D canvas (the network) sits behind everything */
#scene3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

main, header { position: relative; z-index: 1; }

.nx-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; text-align: center; }


/* ---------- 3. BUTTONS ---------- */
.nx-btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s, background .25s;
}
.nx-btn:hover { transform: translateY(-2px); }

.nx-btn-outline { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: rgba(0, 0, 0, .4); }
.nx-btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .nx-btn { transition: none; }
  .nx-btn:hover { transform: none; }
}


/* ---------- 4. HEADER (logo, top left) ---------- */
/* Floats over the hero so the headline stays centered on screen */
.nx-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding-top: 33px; }

/* Same width and inset as the template's navbar, so the logo sits where it did */
.nx-header-inner { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 34px; }
@media (min-width: 1400px) { .nx-header-inner { max-width: 1320px; } }

.nx-brand { text-decoration: none; font-family: var(--font-head); display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; letter-spacing: .22em; font-size: 1rem; }
.nx-brand:hover { color: #fff; }

@media (max-width: 575px) { .nx-header { padding-top: 24px; } .nx-header-inner { padding: 0 24px; } }


/* ---------- 5. HERO ---------- */
/* Fills the screen and centers the text */
.nx-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 80px 0; }

.nx-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 26px;
}

/* Second line of the heading is dimmer */
.nx-dim { color: #75756f; }

.nx-lead { color: #cfcfca; font-size: 1.1rem; line-height: 1.7; max-width: 560px; margin: 0 auto 34px; }

.nx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
