/* ═══════════════════════════════════════════════════════
   BuildAIModels — global.css
   Shared design system: vars, reset, nav, footer, utils
═══════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:ital,wght@0,400;0,500;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── Variables ── */
:root {
  --bg: #080808;
  --panel: #101010;
  --panel2: #141414;
  --panel3: #1a1a1a;
  --border: #1c1c1c;
  --border2: #252525;
  --text: #efefef;
  --muted: #777;
  --muted2: #444;
  --accent: #b8f054;
  --accent2: rgba(184,240,84,0.07);
  --accent3: rgba(184,240,84,0.14);
  --red: #ff4f6a;
  --orange: #f5a623;
  --green: #4fd18a;
  --font: 'DM Sans', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 56px; padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* ── Nav logo ── */
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 1px;
  color: var(--text); text-decoration: none;
  margin-right: auto;
}
.nav-logo em { color: var(--accent); font-style: normal; }

/* ── Nav links ── */
.nav-link {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.nav-link:hover { color: var(--text); }

.nav-signin {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.nav-signin:hover { color: var(--text); }

.nav-cta {
  padding: 7px 18px; border-radius: 6px;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 13px;
  text-decoration: none; transition: all .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #ceff6b; transform: translateY(-1px); }

.nav-btn {
  padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-family: var(--font);
  font-weight: 500; cursor: pointer;
  border: 1px solid var(--border2); background: none;
  color: var(--muted); text-decoration: none;
  transition: all .15s;
}
.nav-btn:hover { color: var(--text); border-color: var(--muted2); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  font-size: 12px;
  color: var(--muted2);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
footer a:hover { color: var(--accent); }

/* ── Utility: btn-primary ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px;
  background: var(--accent); color: #000;
  font-family: var(--font); font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
  text-decoration: none; transition: all .15s;
}
.btn-primary:hover { background: #ceff6b; transform: translateY(-1px); }
.btn-primary:disabled { background: var(--border2); color: var(--muted); cursor: not-allowed; transform: none; }

/* ── Utility: btn-ghost ── */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px;
  background: none; color: var(--muted);
  font-family: var(--font); font-size: 14px;
  border: 1px solid var(--border2); cursor: pointer;
  text-decoration: none; transition: all .15s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted2); }

/* ── Utility: badge ── */
.badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px;
  background: var(--accent2); color: var(--accent);
  border: 1px solid rgba(184,240,84,0.2);
}

/* ── Utility: mono-label ── */
.mono-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted2);
}
