:root {
  --bg: #03080c;
  --ink: #e9fffb;
  --muted: #8eaeab;
  --cyan: #3ef3ea;
  --cyan-deep: #14b8c9;
  --line: rgba(62, 243, 234, 0.22);
  --panel: rgba(8, 22, 28, 0.72);
  --font: "Outfit", sans-serif;
  --display: "Syne", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(20, 184, 201, 0.18), transparent 60%),
    radial-gradient(700px 480px at 10% 80%, rgba(62, 243, 234, 0.08), transparent 55%),
    #03080c;
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.beams {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(62, 243, 234, 0.08) 46%, transparent 52%),
    linear-gradient(115deg, transparent 0 58%, rgba(20, 184, 201, 0.12) 63%, transparent 70%);
  animation: beams 18s linear infinite;
  mix-blend-mode: screen;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.orb-a {
  width: 340px; height: 340px;
  right: 8%; top: 12%;
  background: rgba(62, 243, 234, 0.22);
  animation: floaty 9s ease-in-out infinite;
}
.orb-b {
  width: 260px; height: 260px;
  left: -40px; bottom: 10%;
  background: rgba(12, 90, 110, 0.55);
  animation: floaty 12s ease-in-out infinite reverse;
}
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 243, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 243, 234, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
  animation: gridshift 22s linear infinite;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.cursor {
  position: fixed;
  width: 280px; height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 243, 234, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.4s;
}

.nav, main, footer { position: relative; z-index: 2; }

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 7vw;
  background: rgba(3, 8, 12, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 5;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 18px rgba(62, 243, 234, 0.45); }
.nav nav { display: flex; gap: 26px; color: var(--muted); font-size: 0.95rem; }
.nav nav a { position: relative; }
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav nav a:hover { color: var(--ink); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--line);
}
.nav-cta img, .btn img, .text-link img { width: 16px; height: 16px; object-fit: contain; }
.nav-cta {
  background: rgba(62, 243, 234, 0.12);
  color: var(--cyan);
}
.nav-cta:hover { background: rgba(62, 243, 234, 0.22); }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 4vh 7vw 8vh;
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--cyan);
  margin: 0 0 14px;
}
.eyebrow img { width: 16px; height: 16px; }
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  margin: 0;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 20%, #9ff8f2 70%, #3ef3ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
.symbol {
  margin: 18px 0 0;
  font-family: var(--display);
  letter-spacing: 0.42em;
  color: var(--cyan);
  font-weight: 700;
}
.lede {
  margin: 14px 0 0;
  max-width: 28rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: #d5f7f3;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.btn.solid {
  background: linear-gradient(180deg, #67fff4, #1ad4c8);
  color: #042226;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(62, 243, 234, 0.35);
}
.btn.solid img { filter: brightness(0) saturate(100%); }
.btn.ghost { background: rgba(4, 16, 20, 0.45); }
.btn:hover { transform: translateY(-3px); }
.btn.solid:hover { box-shadow: 0 0 36px rgba(62, 243, 234, 0.55); }
.facts {
  display: flex;
  gap: 28px;
  margin: 36px 0 0;
}
.facts div { min-width: 90px; }
.facts dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.15rem; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.logo {
  width: min(460px, 80%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(62, 243, 234, 0.35));
  animation: hovercat 5.5s ease-in-out infinite;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62, 243, 234, 0.35);
  z-index: 1;
}
.ring-1 { width: 420px; height: 420px; animation: spin 22s linear infinite; }
.ring-2 { width: 520px; height: 520px; border-style: dashed; animation: spin 36s linear infinite reverse; opacity: 0.7; }
.ring-3 { width: 300px; height: 300px; border-color: rgba(255, 255, 255, 0.15); animation: pulse 4.5s ease-in-out infinite; }
.rail {
  position: absolute;
  bottom: 70px;
  width: 78%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  filter: blur(0.5px);
  box-shadow: 0 0 24px var(--cyan);
  z-index: 3;
  animation: rail 3.2s ease-in-out infinite;
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(4, 18, 22, 0.65);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 22s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.marquee-track span:nth-child(even) { color: var(--muted); letter-spacing: 0.08em; font-family: var(--font); text-transform: none; }

.section { padding: 100px 7vw; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 12px;
  max-width: 16ch;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.panel:hover {
  transform: translateY(-8px);
  border-color: rgba(62, 243, 234, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 30px rgba(62, 243, 234, 0.08);
}
.panel-mark { width: 42px; height: 42px; object-fit: contain; margin-bottom: 18px; }
.panel h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.4rem; }
.panel p, .steps p { margin: 0; color: var(--muted); line-height: 1.6; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(62, 243, 234, 0.08), rgba(8, 22, 28, 0.4));
  border: 1px solid var(--line);
}
.num {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--cyan);
}
.steps h3 { margin: 0 0 6px; font-family: var(--display); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  font-size: 0.92em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(62, 243, 234, 0.35);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--cyan); }

.chart-frame {
  margin-top: 28px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #061014;
  box-shadow: 0 0 0 1px rgba(62, 243, 234, 0.05), 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}
.chart-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(62, 243, 234, 0.08);
}
.chart-frame iframe { width: 100%; height: 640px; border: 0; display: block; }

.banner {
  margin: 28px 0 0;
  aspect-ratio: 3 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(62, 243, 234, 0.12);
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: ken 16s ease-in-out infinite alternate;
}
.join-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.join-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(6, 18, 22, 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.join-card img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.join-card strong, .join-card em { display: block; font-style: normal; }
.join-card em { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.join-card:hover { transform: translateY(-4px); border-color: var(--cyan); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 7vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
}
.delay { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes hovercat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes rail {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes beams { to { transform: translateX(8%); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
@keyframes gridshift { to { background-position: 72px 72px; } }
@keyframes ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
@keyframes sheen {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 18px rgba(62, 243, 234, 0.25)); }
}

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .about-grid, .join-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero-art { min-height: 420px; }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 380px; height: 380px; }
  .chart-frame iframe { height: 480px; }
  .steps li { grid-template-columns: 56px 1fr; }
  .cursor { display: none; }
}

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