:root {
  --rh: #00c805;
  --rh-hover: #12e318;
  --rh-dim: rgba(0, 200, 5, 0.14);
  --bg: #050505;
  --bg-2: #0a0c0a;
  --gold: #d4b45a;
  --gold-2: #f0dc96;
  --teal: #1d8f82;
  --teal-2: #2ec4b6;
  --magenta: #ff2d7a;
  --magenta-2: #ff6b9d;
  --text: #f4f4f4;
  --muted: #9aa39a;
  --line: rgba(212, 180, 90, 0.18);
  --nav-h: 76px;
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Syne", "Instrument Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.45s steps(4) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-1%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, -2%); }
}

.fx-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 45, 122, 0.16) 0%, rgba(0, 200, 5, 0.08) 38%, transparent 70%);
  transform: translate(-9999px, -9999px);
  mix-blend-mode: screen;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 200, 5, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.nav-logo-wrap {
  position: relative;
  width: 42px;
  height: 42px;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(255, 45, 122, 0.35);
}

.logo-ring,
.core-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 5, 0.55);
  animation: ring 2.8s ease-out infinite;
}

.logo-ring.delay,
.core-pulse.delay {
  animation-delay: 0.9s;
}

.core-pulse.delay-2 {
  animation-delay: 1.8s;
}

@keyframes ring {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.nav-word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--rh);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--text);
  margin: 6px auto;
  transition: transform 0.25s, opacity 0.2s;
}

.nav.open .nav-toggle span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav.open .nav-toggle span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-buy {
  background: var(--rh);
  color: #041204;
  padding: 10px 18px;
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5);
  animation: buyglow 2.8s ease-in-out infinite;
}

.btn-buy:hover {
  background: var(--rh-hover);
}

@keyframes buyglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.35); }
  50% { box-shadow: 0 0 28px 2px rgba(0, 200, 5, 0.45); }
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 13px 25px;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 180, 90, 0.08);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-h));
}

.hero-banner {
  position: relative;
  height: min(52vh, 560px);
  overflow: hidden;
  isolation: isolate;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: bannerBreath 14s ease-in-out infinite;
}

@keyframes bannerBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.hero-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.2) 55%, var(--bg) 100%),
    radial-gradient(circle at 18% 50%, rgba(29, 143, 130, 0.2), transparent 40%),
    radial-gradient(circle at 78% 60%, rgba(255, 45, 122, 0.18), transparent 42%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(212, 180, 90, 0.22);
  border-radius: 50%;
  pointer-events: none;
  animation: spin 48s linear infinite;
}

.orbit-a {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: -12vw;
}

.orbit-b {
  width: 28vw;
  height: 28vw;
  right: 6vw;
  top: 8vw;
  animation-duration: 36s;
  animation-direction: reverse;
  border-color: rgba(0, 200, 5, 0.2);
}

.orbit-c {
  width: 18vw;
  height: 18vw;
  right: 18vw;
  bottom: -6vw;
  animation-duration: 22s;
  border-color: rgba(255, 45, 122, 0.22);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 28px 48px 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.kicker {
  color: var(--rh);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(4.2rem, 10vw, 7.4rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.gold-shimmer {
  background: linear-gradient(100deg, #8a7028 0%, var(--gold-2) 22%, #fff6d4 36%, var(--gold) 50%, #8a7028 78%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 220% center; }
}

.hero-tag {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 22px;
}

.ca-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 200, 5, 0.06);
  border: 1px solid rgba(0, 200, 5, 0.28);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  margin-bottom: 22px;
}

.ca-label {
  color: var(--rh);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.ca-value {
  font-size: 0.92rem;
  color: var(--text);
}

.ca-copy {
  border: 0;
  background: var(--rh);
  color: #041204;
  font-weight: 700;
  font-family: inherit;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-brain {
  position: relative;
  min-height: 420px;
}

.brain-canvas {
  width: 100%;
  height: 420px;
  display: block;
}

.brain-core {
  position: absolute;
  left: 54%;
  top: 46%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brain-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: floaty 5s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 45, 122, 0.45));
}

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

.core-pulse {
  inset: -10px;
  border-color: rgba(255, 45, 122, 0.55);
}

.eeg {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12px;
  height: 54px;
  opacity: 0.85;
}

.eeg svg {
  width: 100%;
  height: 100%;
}

.eeg-path {
  fill: none;
  stroke: var(--rh);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--rh));
  stroke-dasharray: 180 520;
  animation: eeg 2.2s linear infinite;
}

@keyframes eeg {
  to { stroke-dashoffset: -700; }
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid rgba(0, 200, 5, 0.2);
  background: linear-gradient(90deg, rgba(0, 200, 5, 0.08), transparent 30%, transparent 70%, rgba(255, 45, 122, 0.08));
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
}

.ticker-track span:nth-child(odd) {
  color: var(--rh);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  z-index: 2;
  padding: 96px 48px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2,
.join-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(13, 18, 13, 0.9), rgba(8, 8, 8, 0.92));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.16), transparent 70%);
  pointer-events: none;
}

.card h3 {
  font-family: var(--display);
  margin: 12px 0 8px;
  font-size: 1.4rem;
}

.card p {
  color: var(--muted);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
}

.card-icon.mind {
  background: radial-gradient(circle at 40% 40%, var(--magenta), var(--teal) 70%);
  box-shadow: 0 0 18px rgba(255, 45, 122, 0.45);
}

.card-icon.chain {
  background: var(--rh);
  box-shadow: 0 0 18px rgba(0, 200, 5, 0.4);
}

.card-icon.signal {
  background: radial-gradient(circle, var(--gold-2), var(--gold));
  box-shadow: 0 0 18px rgba(212, 180, 90, 0.4);
}

.steps {
  list-style: none;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 12, 10, 0.7);
}

.step-num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--rh);
  font-size: 1.4rem;
  min-width: 2.4rem;
}

.step h3 {
  margin-bottom: 4px;
}

.step p {
  color: var(--muted);
}

.how-cta {
  margin-top: 32px;
}

.join-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(0, 200, 5, 0.25);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 45, 122, 0.16), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(0, 200, 5, 0.12), transparent 36%),
    rgba(8, 10, 8, 0.85);
  overflow: hidden;
}

.join-copy p:not(.kicker) {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 36rem;
}

.x-icon {
  width: 16px;
  height: 16px;
}

.join-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.join-logo {
  width: 168px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: floaty 5.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255, 45, 122, 0.35), 0 0 80px rgba(0, 200, 5, 0.18);
}

.join-rays {
  position: absolute;
  inset: 10%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 45, 122, 0.16) 0 2deg, transparent 2deg 18deg);
  border-radius: 50%;
  animation: spin 18s linear infinite;
  filter: blur(0.4px);
  mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%);
}

.footer {
  position: relative;
  z-index: 2;
  padding: 36px 48px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.footer-ca {
  color: var(--gold);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--rh);
  color: #041204;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 90;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(2) { transition-delay: 0.08s; }
.step:nth-child(3) { transition-delay: 0.16s; }
.step:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--nav-h);
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid rgba(0, 200, 5, 0.2);
  }

  .nav.open .nav-links { display: flex; }

  .hero-grid,
  .about-grid,
  .join-panel,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-row {
    justify-items: start;
  }

  .hero-grid,
  .section,
  .footer,
  .nav,
  .join-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .join-panel { padding: 28px 20px; }

  .hero-banner { height: 34vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
