:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --panel: #161616;
  --line: #2a2a2a;
  --text: #f5f5f0;
  --text-dim: #9a9a95;
  --accent: #e4fa2e;
  --accent-bright: #eefc6a;
  --accent-ink: #0a0a0a;
  --danger: #ff5c4d;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Sora', ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.icon-x { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark { width: 30px; height: 30px; border-radius: 8px; }
.nav__logo { font-family: var(--mono); font-weight: 700; letter-spacing: 2px; font-size: 15px; }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pill--buy { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill--x { padding: 9px 12px; color: var(--text-dim); }
.pill:hover { transform: translateY(-1px); }
.pill--x:hover { color: var(--text); border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.btn--buy { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -10px rgba(198,255,61,0.5); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn--dark { background: var(--panel); color: #fff; border-color: var(--line); }
.btn:hover { transform: translateY(-2px); }
.btn--center { display: flex; justify-content: center; width: fit-content; margin: 48px auto 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 clamp(20px, 6vw, 90px);
  background: radial-gradient(ellipse at 75% 25%, #1a2408 0%, var(--bg) 62%);
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  opacity: 0.8;
}

.hero__content { position: relative; z-index: 2; max-width: 640px; padding-top: 90px; }

.hero__canvas3d {
  position: absolute;
  right: clamp(-60px, 1vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(340px, 42vw, 660px);
  height: clamp(340px, 42vw, 660px);
  z-index: 1;
  filter: drop-shadow(0 30px 70px rgba(228,250,46,0.25));
  pointer-events: none;
}
@media (max-width: 900px) { .hero__canvas3d { opacity: 0.6; right: -14%; } }
@media (max-width: 640px) { .hero__canvas3d { display: none; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px rgba(255,92,77,0.6); }

.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}
.hero__title em { color: var(--accent); font-style: normal; }

.hero__tagline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.scrollcue {
  position: absolute; bottom: 34px; left: clamp(20px, 6vw, 90px);
  z-index: 2;
}
.scrollcue span {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollmove 1.8s ease-in-out infinite;
}
@keyframes scrollmove { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0.4; } }

/* ---------- reveal-in (hero) ---------- */
.reveal-in { opacity: 0; transform: translateY(16px); animation: revealIn 0.7s ease forwards; }
.reveal-in--1 { animation-delay: 0.05s; }
.reveal-in--2 { animation-delay: 0.15s; }
.reveal-in--3 { animation-delay: 0.28s; }
.reveal-in--4 { animation-delay: 0.4s; }
.reveal-in--5 { animation-delay: 0.6s; }
@keyframes revealIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- section shared ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-ink); opacity: 0.6; }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 22px;
  max-width: 760px;
  color: var(--text);
}
.section-title--light { color: var(--accent-ink); }

.section-label {
  font-family: var(--mono);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 44px;
  color: var(--text);
}

.section-lede { color: var(--text-dim); font-size: 17px; max-width: 620px; margin-bottom: 48px; }
.section-lede--light { color: rgba(10,10,10,0.72); }

/* ---------- problem ---------- */
.problem { padding: 120px clamp(20px, 6vw, 90px); background: var(--bg); }

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

.fact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px rgba(198,255,61,0.25);
  transform: translateY(-4px);
}
.fact-card__num {
  display: block;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 14px;
}
.fact-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.fact-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

.problem__note { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: #5c5c58; }

/* ---------- vision ---------- */
.vision { padding: 120px clamp(20px, 6vw, 90px); background: var(--accent); color: var(--accent-ink); }

.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }

.phase {
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.phase:hover { background: rgba(10, 10, 10, 0.1); transform: translateY(-6px); }
.phase__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--accent-ink);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.phase h3 { font-size: 19px; margin-bottom: 10px; color: var(--accent-ink); }
.phase p { font-size: 14px; color: #24300a; line-height: 1.6; }

/* ---------- tokenomics ---------- */
.tokenomics { padding: 120px clamp(20px, 6vw, 90px); text-align: center; background: var(--bg-soft); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover { transform: translateY(-6px) scale(1.02); border-color: var(--accent); }
.stat-card__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  white-space: nowrap;
}
.stat-card__label { font-size: 13px; color: var(--text-dim); }

.tokenomics__ca {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
.tokenomics__ca span { color: var(--accent); }

/* ---------- howto ---------- */
.howto { padding: 120px clamp(20px, 6vw, 90px); text-align: center; background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}
.step__num { font-family: var(--mono); color: var(--accent); font-size: 13px; font-weight: 700; }
.step h3 { margin: 12px 0 8px; font-size: 17px; color: var(--text); }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ---------- join ---------- */
.join {
  padding: 130px clamp(20px, 6vw, 90px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a2408 0%, var(--bg) 65%);
  border-top: 1px solid var(--line);
}
.join__inner { max-width: 640px; margin: 0 auto; }
.join__title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; margin-bottom: 34px; color: var(--text); }
.join__title em { color: var(--accent); font-style: normal; }
.join__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.join__foot { font-family: var(--mono); font-size: 12px; color: #5c5c58; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .hero { justify-content: center; text-align: left; }
  .hero__content { padding-top: 70px; }
  .steps { text-align: center; }
}
