/* ── RESET & ROOT ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:     #0f0e0b;
  --bg2:    #141310;
  --bg3:    #1a1916;
  --ink:    #f0ede6;
  --ink2:   #c8c4bc;
  --ink3:   #7a7570;
  --ink4:   #4a4642;
  --red:    #ef4444;
  --gold:   #c9a227;
  --green:  #3daf78;
  --blue:   #4a9eff;
  --purple: #a855f7;
  --b:      rgba(240,237,230,0.08);
  --b2:     rgba(240,237,230,0.04);
  --grid:   rgba(240,237,230,0.03);
  --mono:   'DM Mono', monospace;
  --sans:   'DM Sans', sans-serif;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── GRID BACKGROUND ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── NAVIGATION ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,14,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--b);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

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

.nav-logo svg {
  height: 72px;
  width: 72px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--ink2);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
  border-color: rgba(201,162,39,0.4);
  background: rgba(201,162,39,0.07);
}

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: #d32f2f !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239,68,68,0.3);
}

/* ── CONTACT DROPDOWN ─────────────────────────────────────────── */
.nav-contact {
  position: relative;
}

.nav-contact-btn {
  background: none;
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-contact-btn:hover,
.nav-contact:hover .nav-contact-btn,
.nav-contact:focus-within .nav-contact-btn {
  background: rgba(201,162,39,0.1);
  border-color: var(--gold);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(15,14,11,0.97);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 8px;
  padding: 18px 24px;
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.nav-contact:hover .nav-dropdown,
.nav-contact:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 10px;
}

.nav-dropdown-email {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-family: var(--mono) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  transition: color 0.2s !important;
}

.nav-dropdown-email:hover {
  color: var(--ink) !important;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s var(--ease) 0.1s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease) 0.2s forwards;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--ink2);
  max-width: 640px;
  margin: 0 auto 52px;
  font-family: var(--mono);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease) 0.4s forwards;
}

.hero-note {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  letter-spacing: 1.5px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.5s forwards;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn:hover::after { background: rgba(255,255,255,0.06); }

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

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239,68,68,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.07);
  transform: translateY(-2px);
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--b);
  background: var(--b2);
  position: relative;
}

.stat-cell {
  padding: 40px 28px;
  border-right: 1px solid var(--b);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-cell:last-child { border-right: none; }

.stat-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.stat-cell.visible::before { transform: scaleX(1); }
.stat-cell:nth-child(1)::before { background: var(--red); }
.stat-cell:nth-child(2)::before { background: var(--gold); }
.stat-cell:nth-child(3)::before { background: var(--green); }
.stat-cell:nth-child(4)::before { background: var(--blue); }

.stat-n {
  font-size: 52px;
  font-weight: 900;
  font-family: var(--mono);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 10px;
  display: block;
}

.stat-l {
  font-size: 10px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-family: var(--mono);
}

/* ── SECTION SHARED ──────────────────────────────────────────── */
.section { padding: 120px 0; }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 56px;
  text-align: center;
}

.section-title em { color: var(--red); font-style: normal; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--b);
}

.step-card {
  background: var(--bg2);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.step-card:hover { background: var(--bg3); }

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  transition: height 0.5s var(--ease);
}

.step-card.visible::before { height: 100%; }
.step-card:nth-child(1)::before { background: var(--red); }
.step-card:nth-child(2)::before { background: var(--gold); }
.step-card:nth-child(3)::before { background: var(--green); }
.step-card:nth-child(4)::before { background: var(--blue); }

.step-num {
  font-size: 96px;
  font-weight: 900;
  font-family: var(--mono);
  opacity: 0.04;
  position: absolute;
  top: 8px; right: 20px;
  line-height: 1;
  pointer-events: none;
}

.step-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.step-card p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
}

/* ── LEADERBOARD PREVIEW ─────────────────────────────────────── */
.lb-wrap {
  border: 1px solid var(--b);
  overflow: hidden;
  background: var(--bg2);
}

.lb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--b);
  background: rgba(201,162,39,0.04);
}

.lb-niche {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.lb-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  letter-spacing: 1px;
}

.lb-col-hdr {
  display: grid;
  grid-template-columns: 40px 1fr 140px 80px;
  padding: 8px 28px;
  border-bottom: 1px solid var(--b2);
}

.lb-col-hdr span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink3);
}

.lb-col-hdr span:last-child { text-align: right; }

.lb-row {
  display: grid;
  grid-template-columns: 40px 1fr 140px 80px;
  align-items: center;
  padding: 13px 28px;
  border-bottom: 1px solid var(--b2);
  transition: background 0.15s;
  cursor: default;
}

.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.02); }
.lb-row.top { background: rgba(239,68,68,0.04); }

.lb-rank {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink3);
}

.lb-rank.g { color: var(--gold); font-size: 15px; }

.lb-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.lb-bar-wrap { padding-right: 16px; }

.lb-bar-bg {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.lb-bar-fill {
  height: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

.lb-row.visible .lb-bar-fill { transform: scaleX(1); }

.lb-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.lb-sub {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
  margin-top: 2px;
  font-weight: 400;
}

.lb-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--b);
  overflow-x: auto;
  scrollbar-width: none;
}

.lb-tabs::-webkit-scrollbar { display: none; }

.lb-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.lb-tab:hover { color: var(--ink2); }
.lb-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── AUDIENCE ────────────────────────────────────────────────── */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--b);
}

.aud-card {
  background: var(--bg2);
  padding: 40px 36px;
  transition: background 0.3s;
}

.aud-card:hover { background: var(--bg3); }

.aud-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.aud-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gold);
}

.aud-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}

/* ── LOOKUP SECTION ──────────────────────────────────────────── */
.lookup-section {
  padding: 120px 0;
  border-top: 1px solid var(--b);
}

.lookup-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: var(--bg2);
  border: 1px solid var(--b);
  position: relative;
  overflow: hidden;
}

.lookup-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.lookup-box h3 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.lookup-box p {
  font-size: 15px;
  color: var(--ink2);
  font-family: var(--mono);
  line-height: 1.7;
  margin-bottom: 32px;
}

.lookup-socials {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink3);
}

.lookup-socials a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.lookup-socials a:hover { color: var(--ink); }

/* ── TICKER ──────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--b);
  border-bottom: 1px solid var(--b);
  padding: 14px 0;
  background: var(--bg2);
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
  padding: 0 40px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-item::after {
  content: '✦';
  color: var(--red);
  font-size: 8px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--b);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink3);
  letter-spacing: 1px;
}

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

.footer-links a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.2s;
  padding: 8px 16px;
  border-radius: 4px;
}

.footer-links a[href*="mailto"],
.footer-links a[href*="facebook"] {
  background: rgba(201,162,39,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.3);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold);
  background: rgba(201,162,39,0.2);
  border-color: var(--gold);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CHAIN VISUAL ────────────────────────────────────────────── */
.chain-visual {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 48px 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.chain-block {
  background: var(--bg2);
  border: 1px solid var(--b);
  padding: 28px 32px;
  min-width: 240px;
  flex-shrink: 0;
  position: relative;
}

.chain-block.active {
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.04);
}

.chain-block-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.chain-block-hash {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  word-break: break-all;
  line-height: 1.6;
}

.chain-arrow {
  font-size: 24px;
  color: rgba(201,162,39,0.3);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

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

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  animation: pulse 2s infinite;
  vertical-align: middle;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--b); }
  .steps-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 80px 0 100px; }
  .lb-col-hdr { display: none; }
  .lb-row { grid-template-columns: 36px 1fr 72px; }
  .lb-bar-wrap { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1.5px; }
  .stat-n { font-size: 40px; }
  .lookup-box { padding: 36px 24px; }
}

/* ── NICHE LINKS ──────────────────────────────────────────────── */
.niche-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: rgba(201,162,39,0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.niche-link:hover {
  color: var(--bg);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(201,162,39,0.15);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--bg2); border: none; overflow: hidden; }
.faq-q {
  font-size: 17px; font-weight: 700; color: var(--ink);
  padding: 22px 28px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; transition: background 0.2s; letter-spacing: -0.2px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; color: var(--gold); font-size: 20px; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { background: var(--bg3); }
.faq-a { padding: 0 28px 24px; font-size: 15px; color: var(--ink2); line-height: 1.7; }
.faq-a a { color: var(--gold); }
