/* ============================================================
   BNB INU AI — Design Tokens & Base
   ============================================================ */

:root {
  /* Color system — matte black canvas, gold as primary accent,
     purple and electric blue used as secondary signals only */
  --black-0:        #060608;
  --black-1:        #0b0b0e;
  --black-2:        #111114;
  --black-3:        #17171b;
  --line:           rgba(244, 240, 230, 0.08);
  --line-strong:    rgba(244, 240, 230, 0.16);

  --gold:           #d8ad55;
  --gold-bright:    #f2c877;
  --gold-dim:       #8a6f3a;

  --purple:         #7c5cc4;
  --purple-soft:    #a488dd;

  --blue:           #49c6e8;
  --blue-soft:      #8fdcf0;

  --white:          #f6f3ec;
  --ink-2:          #c9c5bd;
  --ink-3:          #8d8a86;
  --ink-4:          #55534f;

  --success:        #6fbf8a;

  /* Type */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black-0);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

p { margin: 0; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold-dim);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 540px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-dim));
  color: #1a1305;
  box-shadow: 0 8px 24px -8px rgba(216, 173, 85, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(216, 173, 85, 0.55); }

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--gold-dim); background: rgba(216,173,85,0.06); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink-2);
  font-size: 0.86rem;
  padding: 0.7rem 1rem;
}
.btn-ghost:hover { color: var(--gold-bright); }

.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.82rem; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }
