/* ═══════════════════════════════════════════════════════════════
   LESHGO — Components: nav, footer, cards, badges
   ═══════════════════════════════════════════════════════════════ */

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
}
.nav__brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  position: relative;
  overflow: hidden;
}
.nav__brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 93, 4, 0.25), transparent 70%);
}
.nav__brand-mark span { position: relative; z-index: 1; }
.nav__brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.8;
  margin-top: 2px;
}
.nav__brand-text { line-height: 1; }

.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--cream); }
.nav__link.is-active { color: var(--ember); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--ember);
}

.nav__cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 64px;
}
.footer__brand p {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--ember); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--body);
  transition: all 0.2s;
}
.footer__socials a:hover { border-color: var(--ember); color: var(--ember); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ── Pill / Tag ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
}
.pill.gold { border-color: var(--border-gold); color: var(--gold); }
.pill.gold .dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--border-strong); }

/* ── Stat ── */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  color: var(--ember);
  letter-spacing: -0.01em;
}
.stat-num .small { font-size: 0.5em; color: var(--gold); margin-left: 4px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── Avatar group ── */
.avatars { display: flex; align-items: center; }
.avatars .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--warm-grey);
  border: 2px solid var(--charcoal);
  margin-left: -10px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cream);
  overflow: hidden;
}
.avatars .avatar:first-child { margin-left: 0; }
.avatars .avatar.a1 { background: linear-gradient(135deg, #7A2E0E, #E85D04); }
.avatars .avatar.a2 { background: linear-gradient(135deg, #1A0F08, #C9962D); color: var(--charcoal); }
.avatars .avatar.a3 { background: linear-gradient(135deg, #221610, #7A2E0E); }
.avatars .avatar.a4 { background: linear-gradient(135deg, #C9962D, #E0AE3F); color: var(--charcoal); }
.avatars .avatar.a5 { background: linear-gradient(135deg, #15100B, #E85D04); }
