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

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #09090f;
  --bg2:       #0d0d16;
  --bg3:       #12121c;
  --border:    #1c1c2a;
  --border2:   #222234;
  --accent:    #7eb8f7;
  --accent2:   #4a90d9;
  --text:      #e2e2f0;
  --text2:     #8888aa;
  --text3:     #44445e;
  --danger:    #e05252;
  --success:   #52c47a;
  --warn:      #e0a052;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre {
  font-family: 'DM Mono', monospace;
  font-size: 0.875em;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  font-size: 20px;
  width: 34px;
  height: 34px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg3);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent);
  background: rgba(126,184,247,0.08);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #9eceff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Page container ── */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text2); }

.footer-copy {
  font-size: 12px;
  color: var(--text3);
  width: 100%;
}

/* ── Utilities ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid;
}

.badge-blue  { color: var(--accent); border-color: rgba(126,184,247,0.25); background: rgba(126,184,247,0.07); }
.badge-green { color: var(--success); border-color: rgba(82,196,122,0.25); background: rgba(82,196,122,0.07); }
.badge-warn  { color: var(--warn); border-color: rgba(224,160,82,0.25); background: rgba(224,160,82,0.07); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.5s ease both;
}

.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.12s; }
.fade-up-3 { animation-delay: 0.20s; }
.fade-up-4 { animation-delay: 0.28s; }
.fade-up-5 { animation-delay: 0.36s; }
