/* =============================================
   NIXBIT — BASE
   Reset, body, scrollbar, buttons, section labels, scroll animations
   ============================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(112,97,242,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.6); }

.btn-full { width: 100%; justify-content: center; }

/* ── SECTION LABELS / HEADINGS ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── LIGHT MODE OVERRIDES ── */
html.light .btn-ghost { color: #555; border-color: rgba(0,0,0,0.2); }
html.light .btn-ghost:hover { color: #0d0d0d; border-color: rgba(0,0,0,0.5); }
