:root {
  --green: #7cff4f;
  --emerald: #1ed760;
  --ink: #050706;
  --panel: rgba(13, 20, 17, 0.74);
  --panel-strong: rgba(17, 29, 24, 0.9);
  --line: rgba(124, 255, 79, 0.2);
  --muted: #a7b4ad;
  --text: #f4fff7;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 16%, rgba(124, 255, 79, 0.16), transparent 26rem),
    radial-gradient(circle at 78% 26%, rgba(30, 215, 96, 0.12), transparent 30rem),
    linear-gradient(145deg, #020403 0%, #07100c 48%, #030504 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(124, 255, 79, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 79, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -2;
  height: 48vh;
  content: "";
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124, 255, 79, 0.3), transparent 62%),
    linear-gradient(to top, rgba(3, 9, 6, 0.9), transparent);
  pointer-events: none;
}

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

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.site-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(4, 9, 7, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #d9e7df;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.footer a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--green);
  text-shadow: 0 0 22px rgba(124, 255, 79, 0.55);
}

.nav-cta,
.button,
.copy-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  min-width: max-content;
  padding: 13px 18px;
  color: #061006;
  background: var(--green);
  box-shadow: 0 0 30px rgba(124, 255, 79, 0.28);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.35fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: calc(100vh - 96px);
  padding: clamp(54px, 8vw, 108px) 0 68px;
}

.hero > *,
.split > *,
.market-backdrop > * {
  min-width: 0;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: auto 0 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(124, 255, 79, 0.55), transparent);
  box-shadow: 0 0 34px rgba(124, 255, 79, 0.55);
  transform: rotate(-5deg);
}

.hero::after {
  inset: 26% 2% auto;
  opacity: 0.4;
  transform: rotate(7deg);
}

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

.logo-orbit {
  position: absolute;
  width: min(100%, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(124, 255, 79, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(124, 255, 79, 0.12), 0 0 58px rgba(124, 255, 79, 0.22);
  animation: pulse 4.8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: min(86%, 340px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 34px rgba(124, 255, 79, 0.3));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  max-width: 100%;
  overflow-wrap: normal;
  font-size: clamp(3.4rem, 5vw, 5.55rem);
  line-height: 0.88;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.7vw, 5rem);
  line-height: 0.96;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.subtitle {
  margin-bottom: 18px;
  color: #f5fff7;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 900;
}

.description {
  max-width: 760px;
  margin-bottom: 32px;
  color: #c9d7d0;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-primary {
  color: #041006;
  background: linear-gradient(135deg, var(--green), #4fe236);
  box-shadow: 0 0 42px rgba(124, 255, 79, 0.32);
}

.button-secondary {
  color: #eaffee;
  background: rgba(124, 255, 79, 0.12);
  border-color: rgba(124, 255, 79, 0.28);
}

.button-ghost {
  color: #effff4;
  background: rgba(255, 255, 255, 0.06);
}

.button:hover,
.nav-cta:hover,
.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124, 255, 79, 0.36);
}

.hero-panel,
.glass-card,
.dashboard-card,
.contract-panel,
details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(16, 26, 22, 0.72), rgba(6, 10, 8, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel {
  padding: 24px;
  border-radius: 28px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--green);
}

.metric-grid {
  display: grid;
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border: 1px solid rgba(124, 255, 79, 0.16);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.metric-grid span,
.contract-panel span,
.dashboard-card span,
.glass-card span,
.roadmap-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid strong {
  color: #effff4;
  font-size: 1rem;
}

.mini-terminal {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  color: #c7d7cf;
  background: rgba(124, 255, 79, 0.08);
}

.mini-terminal span {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.mini-terminal p {
  margin: 0;
  line-height: 1.55;
}

.market-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 30px;
  min-height: 320px;
  margin-bottom: 80px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 79, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(124, 255, 79, 0.08), transparent 44%),
    rgba(2, 6, 4, 0.58);
}

.network-map {
  position: relative;
  min-height: 260px;
  background:
    radial-gradient(circle at 20% 58%, rgba(124, 255, 79, 0.18), transparent 4px),
    radial-gradient(circle at 42% 42%, rgba(124, 255, 79, 0.2), transparent 5px),
    radial-gradient(circle at 60% 64%, rgba(124, 255, 79, 0.16), transparent 4px),
    radial-gradient(circle at 78% 36%, rgba(124, 255, 79, 0.22), transparent 5px);
}

.network-map::before {
  position: absolute;
  inset: 12% 6% -45%;
  content: "";
  border: 2px solid rgba(124, 255, 79, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(124, 255, 79, 0.22);
}

.node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
  animation: pulse 3s ease-in-out infinite;
}

.node-a { left: 18%; top: 60%; }
.node-b { left: 38%; top: 44%; animation-delay: 0.3s; }
.node-c { left: 58%; top: 64%; animation-delay: 0.6s; }
.node-d { left: 78%; top: 38%; animation-delay: 0.9s; }
.node-e { left: 88%; top: 66%; animation-delay: 1.2s; }

.connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 255, 79, 0.8), transparent);
  transform-origin: left center;
}

.connection-a { left: 20%; top: 58%; width: 34%; transform: rotate(-16deg); }
.connection-b { left: 42%; top: 45%; width: 27%; transform: rotate(28deg); }
.connection-c { left: 62%; top: 62%; width: 30%; transform: rotate(-26deg); }

.dashboard-card {
  align-self: center;
  padding: 28px;
  border-radius: 28px;
}

.dashboard-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.dashboard-card p {
  margin-bottom: 0;
  color: #c5d4cc;
  line-height: 1.65;
}

.section {
  padding: clamp(60px, 9vw, 116px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section-text {
  color: #cbd8d1;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.8;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

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

.glass-card {
  min-height: 214px;
  padding: 28px;
  border-radius: 26px;
}

.glass-card p {
  margin-bottom: 0;
  color: #c1cec7;
  line-height: 1.65;
}

.utility-band {
  border-top: 1px solid rgba(124, 255, 79, 0.12);
  border-bottom: 1px solid rgba(124, 255, 79, 0.12);
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.utility-item {
  min-height: 180px;
  padding: 24px;
  border-left: 1px solid rgba(124, 255, 79, 0.3);
  background: linear-gradient(90deg, rgba(124, 255, 79, 0.07), transparent);
}

.utility-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.utility-item span {
  color: #c2d0c8;
  line-height: 1.6;
}

.link-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.link-matrix a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid rgba(124, 255, 79, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-matrix a::after {
  content: "Open";
  color: var(--green);
  font-size: 0.82rem;
}

.link-matrix a:hover {
  transform: translateY(-2px);
  background: rgba(124, 255, 79, 0.1);
  box-shadow: 0 0 34px rgba(124, 255, 79, 0.18);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-card {
  position: relative;
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 79, 0.16);
  border-radius: 26px;
  background: var(--panel);
}

.roadmap-card::before {
  position: absolute;
  inset: auto 24px 24px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), transparent);
  box-shadow: 0 0 22px rgba(124, 255, 79, 0.6);
}

.roadmap-card strong {
  display: block;
  font-size: 1.45rem;
}

.contract-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 26px;
}

code {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  color: #f4fff7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
}

.copy-button {
  min-height: 52px;
  padding: 0 24px;
  color: #041006;
  background: var(--green);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.stats-row span {
  padding: 12px 16px;
  border: 1px solid rgba(124, 255, 79, 0.16);
  border-radius: 999px;
  color: #c8d7cf;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  margin-bottom: 14px;
  padding: 22px 24px;
  border-radius: 22px;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: #c4d2cb;
  line-height: 1.65;
}

.community {
  padding-bottom: 80px;
}

.community-inner {
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(124, 255, 79, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 28%, rgba(124, 255, 79, 0.2), transparent 24rem),
    linear-gradient(145deg, rgba(18, 32, 25, 0.88), rgba(5, 8, 7, 0.84));
  box-shadow: var(--shadow);
}

.community-inner p:not(.eyebrow) {
  max-width: 720px;
  color: #c7d5ce;
  line-height: 1.7;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-items: center;
  justify-content: center;
  padding: 34px 0 46px;
  color: #b7c6be;
  font-size: 0.92rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .hero-panel {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 820px) {
  .site-shell {
    width: 100%;
    padding: 0 14px;
  }

  .nav {
    align-items: center;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .market-backdrop {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

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

  .hero-logo {
    width: min(78%, 280px);
    max-width: calc(100vw - 80px);
  }

  h1 {
    font-size: clamp(2.85rem, 9vw, 4.15rem);
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .feature-grid,
  .roadmap,
  .utility-grid,
  .link-matrix {
    grid-template-columns: 1fr;
  }

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

  .copy-button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: min(390px, 100vw);
    margin-left: 0;
    margin-right: 0;
    padding: 0 14px;
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.05rem);
  }

  .nav-cta {
    padding-inline: 16px;
  }

  .hero-panel,
  .market-backdrop,
  .community-inner {
    border-radius: 24px;
  }

  .panel-head {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
