:root {
  --bg: #020403;
  --panel: rgba(7, 18, 12, 0.72);
  --panel-strong: rgba(9, 28, 17, 0.88);
  --green: #00c853;
  --yellow: #d4ff00;
  --text: #f6fff8;
  --muted: #a8b8ad;
  --line: rgba(212, 255, 0, 0.22);
  --glass: rgba(255, 255, 255, 0.065);
  --shadow: 0 0 42px rgba(0, 200, 83, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 200, 83, 0.24), transparent 26rem),
    radial-gradient(circle at 85% 8%, rgba(212, 255, 0, 0.16), transparent 28rem),
    linear-gradient(180deg, #000 0%, var(--bg) 45%, #010201 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

#market-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.68;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 200, 83, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand-lockup,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 0.72rem;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(212, 255, 0, 0.42));
}

.nav-links {
  gap: clamp(0.8rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.header-actions a,
.entry-grid a,
.site-footer a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--yellow);
}

.header-actions {
  gap: 0.6rem;
}

.header-actions a {
  border: 1px solid rgba(212, 255, 0, 0.3);
  border-radius: 999px;
  padding: 0.64rem 0.9rem;
  color: #eaffc2;
  background: rgba(212, 255, 0, 0.045);
}

.header-actions a:hover {
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: calc(100vh - 86px);
  padding: clamp(2rem, 6vw, 6rem) 0 3rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(98%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 0, 0.22), rgba(0, 200, 83, 0.12), transparent 67%);
  filter: blur(4px);
  animation: pulseGlow 4.5s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 0 34px rgba(0, 200, 83, 0.48));
}

.orbit {
  position: absolute;
  z-index: 1;
  width: min(110%, 500px);
  height: 150px;
  border: 2px solid rgba(212, 255, 0, 0.78);
  border-left-color: rgba(0, 200, 83, 0.18);
  border-bottom-color: rgba(0, 200, 83, 0.5);
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(212, 255, 0, 0.38));
  transform: rotate(-17deg);
  animation: orbitSweep 6s linear infinite;
}

.orbit-two {
  width: min(94%, 420px);
  height: 122px;
  opacity: 0.46;
  animation-duration: 8.5s;
  animation-direction: reverse;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.82rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.05rem, 8vw, 6.9rem);
  overflow-wrap: normal;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
}

.hero-copy,
.about-section > p,
.ecosystem-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-copy {
  max-width: 720px;
  margin: 1.55rem 0 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.15rem;
}

.button,
.contract-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #001705;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  box-shadow: 0 0 30px rgba(0, 200, 83, 0.35);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.contract-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: end;
  max-width: 760px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contract-panel code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #e9ffd0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.8rem, 1.4vw, 0.98rem);
  line-height: 1.45;
}

.contract-panel button {
  border-color: rgba(212, 255, 0, 0.42);
  color: var(--yellow);
  background: rgba(212, 255, 0, 0.08);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
  max-width: 760px;
  margin-top: 1rem;
}

.entry-grid a,
.feature-grid article,
.utility-list span,
.roadmap li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(18px);
}

.entry-grid a {
  padding: 0.9rem 0.72rem;
  text-align: center;
  color: #eaffc7;
  font-weight: 750;
}

.entry-grid a:hover {
  border-color: var(--green);
  background: rgba(0, 200, 83, 0.12);
  transform: translateY(-2px);
}

.banner-strip {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto clamp(5rem, 8vw, 8rem);
  border: 1px solid rgba(212, 255, 0, 0.2);
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 54px rgba(0, 200, 83, 0.18);
}

.banner-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.about-section,
.ecosystem,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.about-section > p {
  margin: 0;
}

.stack-section,
.roadmap {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article {
  min-height: 150px;
  padding: 1.2rem;
  color: #f7fff8;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.45);
}

.network-card {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(0, 200, 83, 0.24);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 200, 83, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.network-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(212, 255, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.6;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 128px;
  min-height: 48px;
  border: 1px solid rgba(212, 255, 0, 0.38);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: rgba(3, 13, 8, 0.78);
  color: #efffd6;
  font-weight: 800;
  box-shadow: 0 0 26px rgba(0, 200, 83, 0.28);
  animation: nodeFloat 5s ease-in-out infinite;
}

.node-core {
  top: 50%;
  left: 50%;
  min-width: 170px;
  transform: translate(-50%, -50%);
  color: #001705;
  background: linear-gradient(135deg, var(--yellow), var(--green));
}

.node-a {
  top: 16%;
  left: 10%;
}

.node-b {
  top: 18%;
  right: 8%;
  animation-delay: -1.2s;
}

.node-c {
  bottom: 14%;
  left: 12%;
  animation-delay: -2.1s;
}

.node-d {
  right: 12%;
  bottom: 16%;
  animation-delay: -3s;
}

.network-line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(212, 255, 0, 0.86), transparent);
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.45);
}

.line-one {
  transform: rotate(210deg);
}

.line-two {
  transform: rotate(326deg);
}

.line-three {
  transform: rotate(145deg);
}

.line-four {
  transform: rotate(34deg);
}

.utility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.utility-list span {
  padding: 1.2rem;
  font-weight: 800;
}

.roadmap ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap li {
  min-height: 150px;
  padding: 1.1rem;
  color: #f4fff5;
  font-weight: 800;
}

.roadmap li span {
  display: block;
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes orbitSweep {
  to {
    rotate: 360deg;
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -9px;
  }
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .about-section,
  .ecosystem,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-content {
    text-align: left;
  }

  .feature-grid,
  .roadmap ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .site-footer,
  .banner-strip {
    width: min(100% - 24px, 1180px);
  }

  .brand-lockup span {
    font-size: 0.95rem;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    gap: 0.5rem;
  }

  .header-actions a {
    flex: 1;
    min-width: 0;
    padding-inline: 0.55rem;
    text-align: center;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.5vw, 3.15rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .hero-visual {
    min-height: 295px;
  }

  .hero-logo {
    width: min(82vw, 310px);
    border-radius: 22px;
  }

  .orbit {
    width: min(96vw, 360px);
    height: 108px;
  }

  .contract-panel {
    grid-template-columns: 1fr;
  }

  .contract-panel button {
    width: 100%;
  }

  .entry-grid,
  .feature-grid,
  .utility-list,
  .roadmap ol {
    grid-template-columns: 1fr;
  }

  .network-card {
    min-height: 420px;
  }

  .node {
    min-width: 116px;
    font-size: 0.78rem;
  }

  .node-core {
    min-width: 148px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
