/* ─────────────────────────────────────────────────────
   MODUS — Shared Design System
   Loaded by every page via <link rel="stylesheet">
   ───────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Variables ── */
:root {
  --bg:      #0A0A0A;
  --bg2:     #0D0D0D;
  --card:    #111111;
  --card2:   #141414;
  --border:  #1E1E1E;
  --border2: #252525;
  --violet:  #7F00FF;
  --vlight:  #9B3FFF;
  --vdim:    rgba(127,0,255,.12);
  --lime:    #CCFF00;
  --ldim:    rgba(204,255,0,.09);
  --cyan:    #00D1FF;
  --red:     #FF4757;
  --white:   #FFFFFF;
  --gray:    #AAAAAA;
  --muted:   #666666;
  --subtle:  #333333;
  --fd:      'Barlow Condensed', sans-serif;
  --fb:      'DM Sans', sans-serif;
  --r:       16px;
  --rsm:     10px;
  --rlg:     24px;
}

/* ── Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 2px; }

/* ────────────────────────────────
   SITE NAV
   ──────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: border-color .3s;
}
.site-nav.scrolled { border-bottom-color: rgba(127,0,255,.25); }

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 28px; width: auto; display: block; }

.nav-right { display: flex; align-items: center; gap: 24px; }

.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s; display: none;
}
.nav-link:hover { color: var(--white); }

.btn-nav {
  padding: 10px 20px;
  background: var(--lime); color: #000;
  font-family: var(--fb); font-size: 13px; font-weight: 700;
  border-radius: var(--rsm); text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.btn-nav:hover {
  background: #d9ff26;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(204,255,0,.3);
}

@media (min-width: 768px) { .nav-link { display: block; } }
@media (max-width: 600px) { .site-nav { padding: 0 20px; } }

/* ────────────────────────────────
   SITE FOOTER
   ──────────────────────────────── */
.site-footer {
  padding: 48px 32px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px;
  margin-bottom: 40px; flex-wrap: wrap;
}

.footer-logo-wrap { }
.footer-logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.footer-logo img { height: 30px; width: auto; display: block; }
.footer-tagline {
  font-size: 13px; color: var(--muted);
  margin-top: 8px; max-width: 200px; line-height: 1.5;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--subtle); margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-made { font-size: 12px; color: var(--subtle); }

@media (max-width: 768px) {
  .site-footer { padding: 48px 20px 32px; }
  .footer-top { flex-direction: column; gap: 28px; }
}
