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

:root {
  --bg:        #0d0f14;
  --bg2:       #141720;
  --bg3:       #1a1e2a;
  --border:    rgba(255,255,255,0.07);
  --blue:      #4f8ef7;
  --blue-dim:  rgba(79,142,247,0.12);
  --blue-glow: rgba(79,142,247,0.3);
  --teal:      #00d4aa;
  --red:       #ff4d6d;
  --gold:      #f59e0b;
  --text:      #e8eaf0;
  --text2:     rgba(255,255,255,0.55);
  --text3:     rgba(255,255,255,0.28);
  --radius:    12px;
  --font:      'IBM Plex Sans', sans-serif;
  --mono:      'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Global Ticker ────────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}
.global-ticker {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 16px;
  gap: 20px;
  font-size: 12px;
  color: var(--text2);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.global-ticker::-webkit-scrollbar { display: none; }
.ticker-label { color: var(--text3); margin-right: 4px; }
.ticker-value { color: var(--text); font-weight: 500; }
.ticker-change.up { color: var(--teal); }
.ticker-change.down { color: var(--red); }
.ticker-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; }

/* Ticker scroll arrow buttons */
.ticker-arrow {
  position: absolute;
  top: 0; bottom: 0;
  width: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--text2);
  transition: opacity 0.2s, color 0.15s;
  z-index: 2;
  background: none;
  padding: 0;
}
.ticker-arrow:hover { color: var(--text); }
.ticker-arrow-left {
  left: 0;
  background: linear-gradient(to right, var(--bg2) 55%, transparent);
  padding-right: 6px;
  opacity: 0;
  pointer-events: none;
}
.ticker-arrow-right {
  right: 0;
  background: linear-gradient(to left, var(--bg2) 55%, transparent);
  padding-left: 6px;
}
.ticker-arrow-left.visible {
  opacity: 1;
  pointer-events: auto;
}
.ticker-arrow-right.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Ticker skeleton shimmer while loading */
.skel {
  color: transparent !important;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
  min-width: 48px;
  display: inline-block;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Header ──────────────────────────────────────────────────────────── */
header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 8px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
}
.logo-text { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.logo-text span { color: var(--blue); }

.header-nav { display: flex; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-item.active { background: var(--blue-dim); color: var(--blue); }
.nav-icon { font-size: 14px; }

/* Hamburger button (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--text2);
  border-radius: 2px;
}

/* Mobile slide-in nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
}
.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 220px;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: block; }
.mobile-nav-close {
  align-self: flex-end;
  background: none; border: none;
  color: var(--text2); font-size: 18px;
  cursor: pointer; margin-bottom: 8px;
  padding: 4px 8px;
}
.mobile-nav .nav-item {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 10px;
  width: 100%;
}

/* ── Hero Section ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(79,142,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #fff;
}
.hero-title .accent  { color: var(--blue); }
.hero-title .accent2 { color: var(--teal); }
.hero-subtitle {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
  overflow: hidden;
  max-width: 580px;
  margin: 0 auto;
}
.hero-stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  font-family: var(--mono);
}
.hero-stat-value .unit { font-size: 14px; color: var(--blue); font-family: var(--font); }
.hero-stat-label { font-size: 12px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Section Base ────────────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Values Section ──────────────────────────────────────────────────── */
.values { border-top: 1px solid var(--border); }
.values-header { text-align: center; margin-bottom: 56px; }
.values-header .section-desc { margin: 0 auto; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover {
  border-color: rgba(79,142,247,0.3);
  transform: translateY(-3px);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent, var(--blue));
  opacity: 0;
  transition: opacity 0.2s;
}
.value-card:hover::before { opacity: 1; }
.value-icon  { font-size: 28px; margin-bottom: 16px; display: block; }
.value-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.value-desc  { font-size: 13.5px; color: var(--text2); line-height: 1.65; }

/* ── Data Section ────────────────────────────────────────────────────── */
.data-section { border-top: 1px solid var(--border); }
.data-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.data-features { display: flex; flex-direction: column; gap: 24px; }
.data-feature  { display: flex; gap: 18px; align-items: flex-start; }
.data-feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.data-feature-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.data-feature-desc  { font-size: 13px; color: var(--text2); line-height: 1.6; }

.data-chart-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chart-title { font-size: 13px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }
.chart-val   { font-size: 22px; font-weight: 700; color: #fff; font-family: var(--mono); }
.chart-chg   { font-size: 12px; color: var(--teal); margin-top: 2px; }
.chart-bars  { display: flex; align-items: flex-end; gap: 5px; height: 100px; }
.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(79,142,247,0.25);
  transition: background 0.2s;
  cursor: default;
}
.chart-bar:hover  { background: rgba(79,142,247,0.5); }
.chart-bar.active { background: var(--blue); }
.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: var(--text3);
  font-family: var(--mono);
}
.chart-divider   { height: 1px; background: var(--border); margin: 20px 0; }
.chart-coins     { display: flex; flex-direction: column; gap: 10px; }
.chart-coin-row  { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.chart-coin-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.chart-coin-name { color: var(--text2); flex: 1; }
.chart-coin-bar-wrap { flex: 2; height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.chart-coin-bar  { height: 100%; border-radius: 2px; }
.chart-coin-pct  { color: var(--text3); font-family: var(--mono); min-width: 36px; text-align: right; }

/* ── Team Section ────────────────────────────────────────────────────── */
.team { border-top: 1px solid var(--border); }
.team-header { text-align: center; margin-bottom: 56px; }
.team-header .section-desc { margin: 0 auto; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: rgba(79,142,247,0.3); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: #fff;
  position: relative; overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
}
.team-name    { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.team-role    { font-size: 12px; color: var(--blue); margin-bottom: 12px; font-weight: 500; }
.team-desc    { font-size: 12px; color: var(--text2); line-height: 1.6; }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-social  {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text3);
  transition: all 0.15s; cursor: pointer;
}
.team-social:hover { background: var(--blue-dim); color: var(--blue); }

/* ── Partners Section ────────────────────────────────────────────────── */
.partners { border-top: 1px solid var(--border); }
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.partner-badge {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 14px; font-weight: 600; color: var(--text2);
  transition: all 0.2s; cursor: default;
  display: flex; align-items: center; gap: 10px;
}
.partner-badge:hover { border-color: rgba(79,142,247,0.3); color: var(--text); }
.partner-icon { font-size: 20px; }

/* ── CTA Section ─────────────────────────────────────────────────────── */
.cta-section { border-top: 1px solid var(--border); padding: 96px 0; }
.cta-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.1), transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.8px; color: #fff; margin-bottom: 14px; }
.cta-desc  { font-size: 15px; color: var(--text2); margin-bottom: 36px; }
.cta-btns  { display: flex; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #3b7af0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,142,247,0.35); }
.btn-outline { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-outline:hover { border-color: rgba(79,142,247,0.4); color: var(--blue); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer-nav-block {
  display: flex; gap: 48px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-brand-col  { flex: 0 0 260px; min-width: 0; }
.footer-brand-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -0.3px; }
.footer-brand-name span { color: var(--blue); }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin: 0; }
.footer-links-cols { display: flex; flex: 1; gap: 32px; flex-wrap: wrap; }
.footer-link-group { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer-link-title { font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-link-group a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.footer-link-group a:hover { color: var(--blue); }
.site-footer       { padding: 24px 0; border-top: 1px solid var(--border); }
.footer-copyright  { font-size: 12px; color: var(--text3); margin-bottom: 12px; }
.footer-disclaimer { font-size: 11px; color: var(--text3); line-height: 1.65; }
.disclaimer-title  { font-weight: 600; margin-bottom: 6px; }

/* ── Scroll Fade-In Animations ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }

/* ── Back to Top Button ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
              border-color 0.15s, background 0.15s;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-dim);
  border-color: rgba(79,142,247,0.35);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--text2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s;
}
.back-to-top:hover svg { stroke: var(--blue); }

@media (max-width: 600px) {
  .back-to-top { bottom: 20px; right: 16px; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .data-layout  { grid-template-columns: 1fr; gap: 40px; }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
}
@media (max-width: 600px) {
  .wrapper     { padding: 0 16px; }
  .hero        { padding: 60px 0 48px; }
  .hero-stats  { flex-direction: column; max-width: 100%; }
  .hero-stat   { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-nav-block { flex-direction: column; gap: 32px; }
  .footer-brand-col { flex: none; }
  .cta-inner   { padding: 40px 20px; }
  .cta-btns    { flex-direction: column; align-items: stretch; }
  section      { padding: 56px 0; }
}
