/* ============================================================
   AURIAN CLIENT — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:        #080C12;
  --bg2:       #0D1420;
  --bg3:       #111927;
  --border:    rgba(56, 120, 220, 0.15);
  --blue:      #3878DC;
  --blue-dim:  #2255AA;
  --blue-glow: rgba(56, 120, 220, 0.25);
  --cyan:      #4DCCF5;
  --text:      #E8EDF5;
  --muted:     #6B7A99;
  --label:     #3878DC;
  --card-bg:   rgba(13, 20, 32, 0.85);
  --radius:    8px;
  --nav-h:     64px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* ── Grid noise texture overlay ─────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,120,220,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,120,220,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--blue);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--cyan) !important;
  color: var(--bg) !important;
  transform: translateY(-1px);
}

/* ── Page wrapper ───────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}

/* ── Section ────────────────────────────────────────────── */
section {
  padding: 96px 48px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Divider ────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 48px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cyan);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 3px; }

/* ── Glow blobs ─────────────────────────────────────────── */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ── Prose (docs) ───────────────────────────────────────── */
.prose h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 40px 0 12px; color: var(--text); }
.prose h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; color: var(--cyan); }
.prose p  { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.prose ul { color: var(--muted); padding-left: 20px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; line-height: 1.65; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
.prose .last-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-item::before {
  content: '◆';
  color: var(--blue);
  font-size: 8px;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  section { padding: 64px 20px; }
  .divider { margin: 0 20px; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 20px; }
  .nav-links li:not(:last-child) { display: none; }
}
