:root {
  --bg: #050509;
  --ink: #f6f4ee;
  --muted: #9f9b91;
  --line: rgba(246, 244, 238, .14);
  --panel: rgba(16, 17, 22, .72);
  --panel-strong: rgba(24, 25, 31, .92);
  --green: #c9ff4a;
  --cyan: #38e8ff;
  --pink: #e879f9;
  --red: #ff5757;
  --amber: #ffd166;
  --violet: #9333ea;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(140deg, rgba(147, 51, 234, .12), transparent 34%),
    linear-gradient(230deg, rgba(56, 232, 255, .09), transparent 38%),
    linear-gradient(0deg, rgba(201, 255, 74, .045), transparent 42%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 48%, rgba(201,255,74,.12) 49%, transparent 50% 100%);
  background-size: 74px 74px, 74px 74px, 420px 420px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  animation: gridDrift 22s linear infinite;
  z-index: -5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

#hero-canvas,
#three-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#hero-canvas {
  z-index: -4;
}

#three-scene {
  z-index: -2;
  opacity: .88;
  filter: saturate(1.2) contrast(1.05);
}

#three-scene.webgl-failed {
  display: none;
}

.motion-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -3;
}

.motion-background::before,
.motion-background::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(147,51,234,.18) 47%, rgba(56,232,255,.1) 50%, transparent 58% 100%),
    repeating-linear-gradient(100deg, transparent 0 42px, rgba(255,255,255,.035) 43px, transparent 45px);
  transform: translate3d(-8%, 0, 0) rotate(-8deg);
  animation: fieldSweep 18s linear infinite;
}

.motion-background::after {
  opacity: .62;
  transform: translate3d(8%, 0, 0) rotate(11deg);
  animation-duration: 26s;
  animation-direction: reverse;
}

.energy-ribbon,
.scan-beam {
  position: absolute;
  left: -12%;
  right: -12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,255,74,.72), rgba(56,232,255,.36), transparent);
  transform-origin: center;
  opacity: .52;
  filter: drop-shadow(0 0 12px rgba(201,255,74,.35));
}

.ribbon-one {
  top: 22%;
  transform: rotate(-11deg);
  animation: ribbonGlide 8s ease-in-out infinite;
}

.ribbon-two {
  top: 48%;
  transform: rotate(7deg);
  animation: ribbonGlide 10s ease-in-out infinite reverse;
}

.ribbon-three {
  top: 76%;
  transform: rotate(-4deg);
  opacity: .34;
  animation: ribbonGlide 12s ease-in-out infinite;
}

.scan-beam {
  width: 18vw;
  right: auto;
  height: 100%;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(232,121,249,.16), transparent);
  transform: skewX(-18deg);
  opacity: .34;
  filter: none;
  animation: beamPass 11s linear infinite;
}

.beam-two {
  animation-delay: 4.8s;
  opacity: .2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 30%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(56,232,255,.18), rgba(232,121,249,.12), rgba(201,255,74,.14), rgba(56,232,255,.18));
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(7, 7, 10, .66);
  backdrop-filter: blur(24px);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}

.brand img,
.site-footer img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

nav a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: rgba(246,244,238,.76);
  font-size: 13px;
  font-weight: 700;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  justify-self: end;
  color: #07070a;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 34px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 122px 0 54px;
}

.hero-rail {
  position: absolute;
  right: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 16px;
  color: rgba(246,244,238,.18);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  text-align: center;
}

.hero-rail span {
  animation: railPulse 3s ease-in-out infinite;
}

.hero-rail span:nth-child(2) { animation-delay: .14s; }
.hero-rail span:nth-child(3) { animation-delay: .28s; }
.hero-rail span:nth-child(4) { animation-delay: .42s; }
.hero-rail span:nth-child(5) { animation-delay: .56s; }

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
}

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(68px, 10vw, 156px);
  line-height: .76;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Playfair Display", Inter, system-ui, sans-serif;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .88;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Playfair Display", Inter, system-ui, sans-serif;
}

h3 {
  font-size: 20px;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  color: rgba(246,244,238,.74);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.46;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.button.primary {
  color: #07070a;
  background: var(--green);
  border-color: transparent;
}

.button.secondary {
  background: rgba(255,255,255,.04);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-3px);
}

.hero-stage {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.floating-command {
  position: absolute;
  z-index: 4;
  min-width: 142px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,7,10,.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0,0,0,.35);
  animation: floatCommand 5s ease-in-out infinite;
}

.floating-command span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.floating-command b {
  font-size: 13px;
  text-transform: uppercase;
}

.command-a {
  left: 2%;
  top: 16%;
}

.command-b {
  right: -1%;
  top: 24%;
  animation-delay: .8s;
}

.command-c {
  left: 8%;
  bottom: 15%;
  animation-delay: 1.45s;
}

.orbit {
  position: absolute;
  width: min(74vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(18deg);
}

.world-section {
  width: min(calc(100% - 40px), var(--max));
  min-height: 112vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 44px;
  margin: 0 auto;
  padding: 80px 0 118px;
}

.world-copy {
  position: sticky;
  top: 130px;
}

.world-copy p {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(246,244,238,.68);
  font-size: 19px;
  line-height: 1.65;
}

.world-track {
  min-height: 700px;
  position: relative;
  perspective: 1200px;
}

.world-card {
  position: absolute;
  width: min(100%, 440px);
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.025)),
    rgba(9,10,14,.82);
  box-shadow: 0 32px 90px rgba(0,0,0,.45);
  transform-style: preserve-3d;
  transition: transform .35s ease, border-color .35s ease;
}

.world-card:hover {
  border-color: rgba(201,255,74,.48);
}

.world-card span {
  display: inline-flex;
  margin-bottom: 74px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.world-card h3 {
  max-width: 320px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .92;
  text-transform: uppercase;
}

.world-card p {
  color: rgba(246,244,238,.64);
  line-height: 1.55;
}

.world-card-one {
  left: 0;
  top: 24px;
  transform: rotateY(-16deg) rotateZ(-2deg);
}

.world-card-two {
  right: 0;
  top: 164px;
  transform: translateZ(90px) rotateY(13deg) rotateZ(2deg);
}

.world-card-three {
  left: 8%;
  top: 362px;
  transform: translateZ(40px) rotateY(-10deg) rotateZ(1deg);
}

.world-card-four {
  right: 7%;
  top: 520px;
  transform: translateZ(120px) rotateY(18deg) rotateZ(-2deg);
}

.orbit-one {
  box-shadow: 0 0 80px rgba(79,255,234,.08);
  animation: spin 18s linear infinite;
}

.orbit-two {
  width: min(66vw, 520px);
  border-color: rgba(201,255,74,.18);
  animation: spin 24s linear reverse infinite;
}

.product-shell {
  width: min(100%, 610px);
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    rgba(10, 10, 14, .88);
  box-shadow:
    0 34px 100px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.13);
  transform: rotateX(7deg) rotateY(-12deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

.window-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: rgba(246,244,238,.62);
  font-size: 12px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: var(--red); }
.window-bar span:nth-child(2) { background: var(--amber); }
.window-bar span:nth-child(3) { background: var(--green); }
.window-bar strong { margin-left: auto; }

.dashboard-mock {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 430px;
}

.dashboard-mock aside {
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
}

.mini-logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
}

.mini-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.dashboard-mock aside > span {
  width: 34px;
  height: 7px;
  background: rgba(255,255,255,.16);
}

.dashboard-mock aside > span.active {
  background: var(--green);
  box-shadow: 0 0 22px rgba(201,255,74,.65);
}

.mock-content {
  padding: 24px;
}

.mock-head,
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.mock-head small,
.mock-content small,
.preview-top span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .14em;
}

.mock-head strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.mock-head b {
  color: #071007;
  background: var(--green);
  padding: 8px 10px;
  font-size: 11px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 18px;
}

.stat-grid article,
.feature-strip article,
.module-preview,
.timeline article,
.faq details {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
}

.stat-grid article {
  min-height: 98px;
  padding: 15px;
}

.stat-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 36px;
}

.user-row {
  display: grid;
  grid-template-columns: 13px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.user-row span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.user-row.approved span { background: var(--green); }
.user-row.warning span { background: var(--amber); }
.user-row.danger span { background: var(--pink); }

.user-row b {
  display: block;
  font-size: 14px;
}

.user-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.price-token {
  position: absolute;
  right: 2%;
  bottom: 10%;
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(201,255,74,.35);
  background: rgba(201,255,74,.12);
  backdrop-filter: blur(16px);
  animation: floaty 4s ease-in-out infinite;
}

.system-token strong {
  font-size: 38px;
}

.price-token small {
  color: rgba(246,244,238,.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price-token strong {
  display: block;
  color: var(--green);
  font-size: 40px;
}

.scroll-hint {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.scroll-hint span {
  width: 42px;
  height: 1px;
  background: var(--green);
}

section {
  position: relative;
}

.intro-band,
.explorer,
.flow,
.portfolio,
.pricing,
.admin-section,
.faq {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.section-kicker {
  color: var(--green);
}

.split-heading,
.explorer-head,
.portfolio-head,
.flow-grid,
.admin-panel,
.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 42px;
  align-items: start;
}

.split-heading p,
.explorer-head p,
.portfolio-head p,
.flow-copy p,
.admin-panel p,
.price-panel p,
.faq p {
  color: rgba(246,244,238,.68);
  font-size: 18px;
  line-height: 1.65;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.feature-strip article {
  min-height: 238px;
  padding: 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-strip article:hover {
  transform: translateY(-8px);
  border-color: rgba(201,255,74,.42);
  background: rgba(201,255,74,.06);
}

.feature-strip span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.feature-strip p,
.timeline p {
  color: rgba(246,244,238,.62);
  line-height: 1.55;
}

.module-explorer {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 44px;
}

.module-list {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 8px;
}

.module-item {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: rgba(246,244,238,.66);
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.module-item:last-child {
  border-bottom: 0;
}

.module-item span {
  color: var(--muted);
  font-size: 12px;
}

.module-item.active,
.module-item:hover {
  color: var(--ink);
  background: rgba(255,255,255,.07);
  transform: translateX(4px);
}

.module-preview {
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(79,255,234,.18), transparent 18rem),
    radial-gradient(circle at 24% 82%, rgba(255,79,216,.12), transparent 18rem),
    rgba(15,16,22,.78);
  transition: transform .18s ease-out;
}

.preview-top strong {
  font-size: clamp(30px, 5vw, 72px);
  line-height: .88;
  text-transform: uppercase;
}

.module-preview p {
  max-width: 680px;
  margin: 24px 0 30px;
  color: rgba(246,244,238,.74);
  font-size: 20px;
  line-height: 1.55;
}

.terminal-lines {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}

.terminal-lines span {
  display: block;
  height: 12px;
  width: var(--w, 78%);
  background: linear-gradient(90deg, rgba(201,255,74,.42), rgba(79,255,234,.18), transparent);
  animation: pulseLine 2.2s ease-in-out infinite;
}

.terminal-lines span:nth-child(2) { --w: 58%; animation-delay: .1s; }
.terminal-lines span:nth-child(3) { --w: 86%; animation-delay: .2s; }
.terminal-lines span:nth-child(4) { --w: 48%; animation-delay: .3s; }

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-actions span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(246,244,238,.72);
  background: rgba(255,255,255,.05);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.flow {
  padding-top: 68px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
}

.timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #07070a;
  background: var(--green);
  font-weight: 900;
  font-size: 12px;
}

.org-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.timeline h3 {
  margin-bottom: 8px;
}

.metrics-band {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.metric {
  min-height: 210px;
  display: grid;
  align-content: center;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .85;
  text-transform: uppercase;
}

.metric span {
  color: rgba(246,244,238,.62);
  line-height: 1.45;
}

.portfolio {
  padding-top: 118px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 14px;
  margin-top: 44px;
}

.portfolio-card {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: start;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.025)),
    rgba(12,13,18,.84);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
  transition: border-color .28s ease, transform .18s ease-out, background .28s ease;
}

.portfolio-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
  transform: translateX(-100%);
  animation: scanBar 4.4s ease-in-out infinite;
}

.portfolio-card:hover {
  border-color: rgba(201,255,74,.44);
  background:
    linear-gradient(135deg, rgba(201,255,74,.1), rgba(79,255,234,.05)),
    rgba(12,13,18,.9);
}

.portfolio-card-wide {
  grid-row: span 2;
  min-height: 520px;
  padding-top: 154px;
}

.portfolio-mark {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,255,74,.38);
  background: rgba(201,255,74,.1);
  color: var(--green);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: 42px;
  line-height: .92;
  text-transform: uppercase;
}

.portfolio-card p {
  max-width: 650px;
  color: rgba(246,244,238,.66);
  line-height: 1.6;
}

.portfolio-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.ghost-link {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pricing {
  padding-bottom: 70px;
}

.admin-section {
  padding-bottom: 70px;
}

.admin-panel {
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(201,255,74,.22);
  background:
    linear-gradient(135deg, rgba(147,51,234,.12), rgba(56,232,255,.05)),
    rgba(255,255,255,.04);
  overflow: hidden;
}

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

.admin-grid article {
  min-height: 150px;
  display: grid;
  align-content: end;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
    rgba(9,10,14,.68);
  position: relative;
  overflow: hidden;
}

.admin-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 45%, rgba(201,255,74,.15) 50%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: cardSweep 5s ease-in-out infinite;
}

.admin-grid article:nth-child(2)::before { animation-delay: .5s; }
.admin-grid article:nth-child(3)::before { animation-delay: 1s; }
.admin-grid article:nth-child(4)::before { animation-delay: 1.5s; }

.admin-grid span,
.admin-grid strong,
.admin-grid small {
  position: relative;
  z-index: 1;
}

.admin-grid span {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.admin-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: .9;
  text-transform: uppercase;
}

.admin-grid small {
  color: rgba(246,244,238,.6);
  font-size: 13px;
}

.price-panel {
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(201,255,74,.28);
  background:
    radial-gradient(circle at 82% 12%, rgba(201,255,74,.17), transparent 24rem),
    rgba(255,255,255,.045);
}

.price-box {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 18px;
  padding: 28px;
  background: #f6f4ee;
  color: #08080b;
}

.price-box small {
  color: rgba(8,8,11,.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.price-box strong {
  font-size: clamp(72px, 10vw, 128px);
  line-height: .8;
  font-weight: 900;
}

.faq {
  padding-top: 60px;
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  padding: 22px 24px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
}

.faq details p {
  margin: 18px 0 0;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: rgba(246,244,238,.72);
}

.site-footer a {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header[data-reveal] {
  transform: translateX(-50%) translateY(28px);
}

.site-header[data-reveal].visible {
  transform: translateX(-50%) translateY(0);
}

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

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(3deg); }
}

@keyframes pulseLine {
  0%, 100% { opacity: .45; transform: scaleX(.9); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes railPulse {
  0%, 100% { opacity: .16; transform: translateX(0); }
  50% { opacity: .7; transform: translateX(8px); }
}

@keyframes floatCommand {
  0%, 100% { transform: translate3d(0, 0, 22px); }
  50% { transform: translate3d(0, -16px, 22px); }
}

@keyframes scanBar {
  0%, 38% { transform: translateX(-100%); opacity: .2; }
  52% { opacity: 1; }
  100% { transform: translateX(100%); opacity: .22; }
}

@keyframes gridDrift {
  to { background-position: 74px 74px, -74px 74px, 420px 0; }
}

@keyframes fieldSweep {
  0% { background-position: 0 0, 0 0; transform: translate3d(-10%, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(3%, -2%, 0) rotate(-8deg); }
  100% { background-position: 760px 0, 380px 0; transform: translate3d(12%, 0, 0) rotate(-8deg); }
}

@keyframes ribbonGlide {
  0%, 100% { translate: -3% 0; opacity: .28; }
  50% { translate: 4% -18px; opacity: .72; }
}

@keyframes beamPass {
  0% { translate: -130vw 0; }
  100% { translate: 150vw 0; }
}

@keyframes cardSweep {
  0%, 44% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: auto;
  }

  nav {
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    justify-content: start;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .split-heading,
  .explorer-head,
  .portfolio-head,
  .flow-grid,
  .admin-panel,
  .price-panel,
  .world-section,
  .module-explorer {
    grid-template-columns: 1fr;
  }

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

  .hero-stage {
    min-height: 520px;
  }

  .hero-rail {
    display: none;
  }

  .world-copy {
    position: relative;
    top: auto;
  }

  .world-track {
    min-height: 760px;
  }

  .feature-strip,
  .metrics-band,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card-wide {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .intro-band,
  .explorer,
  .flow,
  .portfolio,
  .pricing,
  .admin-section,
  .faq,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    top: 10px;
    padding: 8px;
  }

  .nav-cta {
    padding-inline: 11px;
    font-size: 12px;
  }

  nav a {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 132px;
  }

  h1 {
    font-size: 46px;
    line-height: .86;
    max-width: 100%;
  }

  h2 {
    font-size: 40px;
    line-height: .92;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding-inline: 16px;
    text-align: center;
  }

  .hero-stage {
    min-height: 460px;
  }

  .floating-command {
    min-width: 118px;
    padding: 10px;
  }

  .command-b {
    right: 0;
  }

  .world-section {
    width: min(calc(100% - 24px), var(--max));
    min-height: auto;
    padding-top: 70px;
  }

  .world-track {
    min-height: auto;
    display: grid;
    gap: 14px;
    perspective: none;
  }

  .world-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 220px;
    transform: none;
  }

  .product-shell {
    transform: rotateX(4deg) rotateY(-4deg);
  }

  .dashboard-mock {
    grid-template-columns: 52px 1fr;
    min-height: 390px;
  }

  .dashboard-mock aside {
    padding-inline: 8px;
  }

  .mock-content {
    padding: 18px;
  }

  .mock-head strong {
    font-size: 23px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid article {
    min-height: 76px;
  }

  .stat-grid strong {
    font-size: 28px;
  }

  .price-token {
    width: 112px;
    height: 112px;
    right: 0;
  }

  .feature-strip,
  .metrics-band,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card-wide {
    min-height: 300px;
  }

  .portfolio-card h3 {
    font-size: 30px;
  }

  .admin-panel {
    padding: 24px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-mark {
    width: 78px;
    height: 78px;
    font-size: 29px;
  }

  .feature-strip article {
    min-height: 210px;
  }

  .metric {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }
}

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