/* ─────────────────────────────────────────────────────────────────
   ETHWEI — Main Stylesheet
   Aesthetic: Dark luxury / editorial. Deep navy-black, warm gold accents,
   mono code details, sharp geometric forms.
───────────────────────────────────────────────────────────────── */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --black:      #080a0f;
  --navy:       #0c0f1a;
  --navy-mid:   #111627;
  --navy-light: #1a2035;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);

  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim:   rgba(201,168,76,0.15);
  --gold-glow:  rgba(201,168,76,0.25);

  --text:       #e8eaf0;
  --text-mid:   #9aa0b8;
  --text-dim:   #5a6080;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --font-mono:  'DM Mono', monospace;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.64, 0, 0.78, 0);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #080a0f;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-ghost {
  color: var(--text-mid);
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
  border: 1px solid var(--border-mid);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
}

/* ── SECTION LABELS ──────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8,10,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--gold-light); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover,
.nav-link.active { color: var(--text); background: var(--border); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-mid);
  border-radius: 1px;
  transition: all 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.5rem 1.2rem;
  border-top: 1px solid var(--border);
  background: rgba(8,10,15,0.95);
  backdrop-filter: blur(16px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 0.7rem 0.5rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.mobile-cta { margin-top: 0.75rem; text-align: center; justify-content: center; }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hex-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s var(--ease-out) both;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeUp 0.8s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(12,15,26,0.6);
  backdrop-filter: blur(12px);
  animation: fadeUp 0.8s 0.4s var(--ease-out) both;
  flex-wrap: wrap;
}

.stat {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════════════════════════════
   PILLARS
════════════════════════════════════════════════════════════════ */
.pillars {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy);
}

.pillars .container {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.pillar {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-line {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.pillar-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.pillar p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════════
   RWA SECTION
════════════════════════════════════════════════════════════════ */
.rwa-section {
  padding: 8rem 0;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.asset-card {
  background: var(--navy-mid);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.asset-card:hover { background: var(--navy-light); }

.asset-card--featured {
  grid-column: 1 / 3;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
}

.asset-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06), transparent 65%);
  pointer-events: none;
}

.asset-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.asset-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.asset-card--featured .asset-value { font-size: 2.8rem; }

.asset-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.asset-icon {
  color: var(--gold);
  opacity: 0.6;
  margin: 0.5rem 0;
}

.asset-chart {
  margin-top: auto;
  height: 40px;
}
.asset-chart svg { width: 100%; height: 100%; }

/* ════════════════════════════════════════════════════════════════
   TOKEN SECTION
════════════════════════════════════════════════════════════════ */
.token-section {
  padding: 8rem 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.token-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.token-info > p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.token-uses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.token-use {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.token-use:hover { border-color: var(--gold); }

.token-use-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.token-use strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.token-use span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Token visual */
.token-visual {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.token-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotateRing 20s linear infinite;
}
.token-ring--outer {
  width: 340px; height: 340px;
  border-color: rgba(201,168,76,0.12);
  animation-duration: 30s;
}
.token-ring--mid {
  width: 260px; height: 260px;
  border-color: rgba(201,168,76,0.18);
  animation-direction: reverse;
  animation-duration: 20s;
}
.token-ring--inner {
  width: 180px; height: 180px;
  border-color: rgba(201,168,76,0.3);
  animation-duration: 12s;
}

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

.token-coin {
  width: 110px; height: 110px;
  background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 60%, #7a5a1a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #080a0f;
  letter-spacing: 0.04em;
  box-shadow: 0 0 60px var(--gold-glow), 0 8px 32px rgba(0,0,0,0.5);
  z-index: 2;
  animation: coinFloat 4s ease-in-out infinite;
}

@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.token-orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  top: 50%; left: 50%;
  transform-origin: 0 0;
  animation: orbit 8s linear infinite;
  --radius: 130px;
}

.token-orbit-dot:nth-child(5) { animation-delay: -2.67s; }
.token-orbit-dot:nth-child(6) { animation-delay: -5.33s; }

@keyframes orbit {
  0%   { transform: rotate(var(--angle, 0deg)) translateX(130px) translateY(-50%); }
  100% { transform: rotate(calc(var(--angle, 0deg) + 360deg)) translateX(130px) translateY(-50%); }
}

/* ════════════════════════════════════════════════════════════════
   TECH SECTION
════════════════════════════════════════════════════════════════ */
.tech-section {
  padding: 8rem 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tech-card {
  padding: 2.5rem;
  background: var(--navy);
  transition: background 0.2s;
  position: relative;
}
.tech-card:hover { background: var(--navy-light); }

.tech-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.tech-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.cta-inner p {
  color: var(--text-mid);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 5rem 2.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-flex;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a:hover { color: var(--text-mid); }

/* ════════════════════════════════════════════════════════════════
   INNER PAGES — Base styles for content pages
════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 10rem 2.5rem 5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* Content section layout */
.content-section {
  padding: 6rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.content-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.content-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
}

.content-card-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.content-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.content-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Tokenomics donut */
.tokenomics-chart {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.donut-wrap {
  flex-shrink: 0;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-label { color: var(--text-mid); flex: 1; }
.legend-pct {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

/* Stat bar */
.stat-bar-row {
  margin-bottom: 1.25rem;
}
.stat-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.stat-bar-label span:last-child {
  font-family: var(--font-mono);
  color: var(--gold);
}
.stat-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1s var(--ease-out);
}

/* Docs layout */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 2.5rem 8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
}

.docs-sidebar h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}
.docs-sidebar h4:first-child { margin-top: 0; }

.docs-sidebar a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  margin-bottom: 0.1rem;
  transition: all 0.15s;
}
.docs-sidebar a:hover,
.docs-sidebar a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-dim);
}

.docs-content h2 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.docs-content h2:first-child {
  margin-top: 0; padding-top: 0; border-top: none;
}

.docs-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.docs-content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--navy-light);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--gold-light);
}

.docs-content pre {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.docs-content pre code {
  background: none;
  padding: 0;
  color: var(--text);
  font-size: 0.875rem;
}

.docs-content ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.docs-content ul li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.docs-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.callout {
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* Blog card */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
}

.blog-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.4;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.blog-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.blog-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .pillars .container { flex-direction: column; }
  .pillar-line { width: 100%; height: 1px; }

  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-card--featured { grid-column: 1 / 3; }

  .token-grid { grid-template-columns: 1fr; }
  .token-visual { width: 280px; height: 280px; }
  .token-ring--outer { width: 260px; height: 260px; }
  .token-ring--mid   { width: 200px; height: 200px; }
  .token-ring--inner { width: 140px; height: 140px; }
  .token-coin { width: 90px; height: 90px; font-size: 1.2rem; }

  .tech-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; display: none; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .hero { padding: 7rem 1.25rem 5rem; }
  .hero-stats { gap: 0; }
  .stat { padding: 1rem 1.2rem; }
  .stat-divider { display: none; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-card--featured { grid-column: 1; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .tokenomics-chart { flex-direction: column; }
}
