:root {
  --bg: #080b0a;
  --bg-soft: #0d1310;
  --panel: #0f1613;
  --line: #1c2822;
  --text: #eef7f1;
  --text-dim: #9db3a8;
  --accent: #3dffa3;
  --accent-dim: #22c98a;
  --accent-soft: rgba(61, 255, 163, 0.12);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', 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(8, 11, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark { width: 28px; height: 28px; 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: #06120c; 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-dim); }

/* ---------- 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;
}
.btn--buy { background: var(--accent); color: #06120c; }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--dark { background: #101a15; color: var(--text); 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% 30%, #10261c 0%, var(--bg) 60%);
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}

.hero__vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,10,0.2) 0%, rgba(8,11,10,0.85) 100%);
  pointer-events: none;
}

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

/* ---------- floating 3d orb ---------- */
.hero__orb {
  position: absolute;
  right: clamp(-40px, 4vw, 90px);
  top: 50%;
  width: clamp(280px, 34vw, 520px);
  height: clamp(280px, 34vw, 520px);
  z-index: 1;
  transform: translateY(-50%);
  transform-style: preserve-3d;
  perspective: 900px;
  pointer-events: none;
}
.hero__orb-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(61,255,163,0.30) 0%, rgba(61,255,163,0.08) 45%, transparent 72%);
  filter: blur(6px);
  animation: orbPulse 5s ease-in-out infinite;
}
.hero__orb-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(61,255,163,0.25));
  animation: orbFloat 6.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-8deg) rotateZ(-1deg); }
  50% { transform: translateY(-22px) rotateX(-4deg) rotateY(6deg) rotateZ(1.5deg); }
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@media (max-width: 900px) {
  .hero__orb { opacity: 0.5; right: -10%; }
}
@media (max-width: 640px) {
  .hero__orb { 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(--accent); box-shadow: 0 0 10px var(--accent); }

.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.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-dim);
  display: block;
  margin-bottom: 14px;
}
.eyebrow--light { color: #0f1a15; }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 22px;
  max-width: 760px;
}
.section-title--light { color: #06120c; }

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

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

/* ---------- 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;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fact-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 20px 40px -20px rgba(61,255,163,0.35);
}
.fact-card__num {
  display: block;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.fact-card h3 { font-size: 18px; margin-bottom: 10px; }
.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: #5a7368; }

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

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

.phase {
  background: rgba(6, 18, 12, 0.06);
  border: 1px solid rgba(6, 18, 12, 0.18);
  border-radius: 14px;
  padding: 26px 24px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, background 0.25s ease;
}
.phase:hover {
  background: rgba(6, 18, 12, 0.1);
  transform: translateY(-6px);
}
.phase__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #06120c;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.phase h3 { font-size: 19px; margin-bottom: 10px; color: #06120c; }
.phase p { font-size: 14px; color: #163526; 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-dim);
}
.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; }
.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%, #10261c 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: 700; letter-spacing: -1px; margin-bottom: 34px; }
.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: #5a7368; 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; }
}
