:root {
  --bg: #080c0a;
  --ink: #e8f0ec;
  --muted: #9aada3;
  --mint: #3dff7a;
  --teal: #7d9b8f;
  --chrome: #d5e0dc;
  --card: rgba(16, 24, 20, 0.62);
  --stroke: rgba(61, 255, 122, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}
::selection {
  background: rgba(61, 255, 122, 0.28);
  color: #f4fff8;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080c0a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3dff7a, #1c8a45);
  border: 2px solid #080c0a;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% 10%, rgba(61, 255, 122, 0.08), transparent 55%),
    radial-gradient(900px 600px at 10% 80%, rgba(125, 155, 143, 0.1), transparent 50%),
    linear-gradient(180deg, #070b09 0%, #0d1411 48%, #08100c 100%);
}
.haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}
.haze-a { width: 420px; height: 420px; left: -80px; top: 12%; background: rgba(61, 255, 122, 0.18); }
.haze-b { width: 520px; height: 360px; right: -60px; top: 28%; background: rgba(125, 155, 143, 0.22); animation-delay: -6s; }
.haze-c { width: 380px; height: 380px; left: 35%; bottom: 8%; background: rgba(214, 69, 69, 0.08); animation-delay: -11s; }
.hex-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 255, 122, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 122, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 78%);
  animation: gridShift 28s linear infinite;
}
#core-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 1px, transparent 1px, transparent 4px);
  opacity: 0.28;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 255, 122, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.is-fine .cursor-glow { opacity: 1; }
header, main, footer { position: relative; z-index: 2; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  z-index: 20;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg, var(--mint), #7d9b8f, var(--mint));
  animation: spin 10s linear infinite;
}
.brand-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #132019;
}
.brand-copy { display: flex; align-items: baseline; gap: 8px; }
.brand-script, .title-script, .script-mini {
  font-family: "Pacifico", cursive;
  color: var(--mint);
  text-shadow: 0 0 16px rgba(61, 255, 122, 0.45);
}
.brand-script { font-size: 22px; }
.brand-block, .title-chrome {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff 0%, #d7e2de 38%, #8f9c97 52%, #f3f7f5 72%, #aebbb6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(61, 255, 122, 0.28));
}
.brand-block { font-size: 18px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: "Chakra Petch", sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(16, 24, 20, 0.6);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.icon-btn img,
.btn img,
.join-card img,
.card-mark img,
.step-icon img,
.eyebrow img {
  object-fit: contain;
}
.icon-btn img { width: 16px; height: 16px; }
.icon-btn:hover, .btn:hover, .join-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 255, 122, 0.55);
  box-shadow: 0 0 24px rgba(61, 255, 122, 0.18);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn img { width: 18px; height: 18px; }
.btn-buy, .btn-primary {
  background: linear-gradient(180deg, #3dff7a, #1c8a45);
  color: #061109;
  box-shadow: 0 0 24px rgba(61, 255, 122, 0.24);
}
.btn-ghost { background: rgba(16, 24, 20, 0.7); border-color: var(--stroke); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}
.menu-toggle span {
  height: 2px;
  background: var(--ink);
  box-shadow: 0 0 8px rgba(61, 255, 122, 0.4);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 40px) 7vw 80px;
  position: relative;
}
.hud-corners {
  position: absolute;
  inset: calc(var(--nav-h) + 18px) 24px 24px;
  pointer-events: none;
}
.hud-corners i {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(61, 255, 122, 0.4);
}
.hud-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.eyebrow, .kicker, .ca-label, .unit-readout span, .chart-hud, .step-index {
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.eyebrow img { width: 16px; height: 16px; }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 1.8s ease-in-out infinite;
}
h1 { line-height: 0.86; margin-bottom: 18px; }
.title-script { display: block; font-size: clamp(54px, 8vw, 92px); }
.title-chrome { display: block; font-size: clamp(64px, 10vw, 118px); }
.ticker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--mint);
  border: 1px solid var(--stroke);
  background: rgba(61, 255, 122, 0.06);
}
.tagline {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  color: #c6d5ce;
  margin-bottom: 28px;
}
.ca-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  padding: 10px 10px 10px 16px;
  margin-bottom: 28px;
  background: rgba(10, 16, 13, 0.8);
  border: 1px solid var(--stroke);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.ca-label { color: var(--mint); font-size: 12px; }
#ca-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--chrome);
  font-size: 13px;
}
#ca-copy {
  padding: 8px 12px;
  background: #15201a;
  color: var(--mint);
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-unit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  transition: transform 0.25s ease-out;
}
.unit-frame::after {
  content: "";
  position: absolute;
  inset: 10% -20%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(61, 255, 122, 0.18), transparent);
  animation: visor 3.8s ease-in-out infinite;
  pointer-events: none;
}
.unit-halo {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 255, 122, 0.18), transparent 64%);
  animation: breathe 4.5s ease-in-out infinite;
}
.unit-orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  animation: spin 22s linear infinite;
}
.cube-bit {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #f4f7f5;
  box-shadow: 0 0 16px rgba(61, 255, 122, 0.7);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.cube-bit:nth-child(1) { top: 0; left: 50%; }
.cube-bit:nth-child(2) { right: 0; top: 50%; }
.cube-bit:nth-child(3) { bottom: 0; left: 46%; }
.cube-bit:nth-child(4) { left: 0; top: 46%; }
.unit-frame {
  position: relative;
  width: min(460px, 86%);
  aspect-ratio: 1;
  padding: 18px;
  background: linear-gradient(180deg, rgba(61, 255, 122, 0.12), transparent 40%), rgba(10, 16, 13, 0.35);
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
  border: 1px solid rgba(61, 255, 122, 0.28);
  animation: floaty 6s ease-in-out infinite;
}
.unit-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}
.unit-readout {
  position: absolute;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.unit-readout span { font-size: 11px; color: var(--muted); }
.unit-readout strong { font-family: "Orbitron", sans-serif; font-size: 13px; color: var(--mint); }

section { padding: 110px 7vw; scroll-margin-top: 72px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker { color: var(--mint); font-size: 13px; margin-bottom: 12px; }
h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.script-mini {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.72em;
  text-transform: none;
  letter-spacing: 0;
}
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; }
.about-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
.about-portrait {
  position: relative;
  justify-self: end;
  width: min(320px, 100%);
  padding: 10px;
  border: 1px solid var(--stroke);
  background: rgba(10, 16, 13, 0.45);
  clip-path: polygon(14% 0, 86% 0, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0 86%, 0 14%);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.portrait-meta {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portrait-meta span {
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}
.portrait-meta strong {
  font-family: "Orbitron", sans-serif;
  color: var(--mint);
  font-size: 13px;
}
.about-grid, .steps { display: grid; gap: 20px; }
.about-grid { grid-template-columns: repeat(3, 1fr); }
.glass-card {
  position: relative;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  animation: scan 4.8s linear infinite;
}
.card-mark, .step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(61, 255, 122, 0.08);
  border: 1px solid var(--stroke);
}
.card-mark img, .step-icon img { width: 28px; height: 28px; }
.glass-card h3, .step h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
}
.glass-card p, .step p { color: var(--muted); line-height: 1.65; }
.steps { list-style: none; grid-template-columns: repeat(4, 1fr); }
.step-index { display: block; margin-bottom: 16px; color: var(--mint); font-size: 13px; }
.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--mint);
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.chart-shell {
  border: 1px solid var(--stroke);
  background: rgba(8, 12, 10, 0.7);
  box-shadow: var(--shadow);
}
.chart-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--stroke);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 1.6s ease-in-out infinite;
}
.chart-frame { height: 640px; }
.chart-frame iframe { width: 100%; height: 100%; border: 0; background: #0b0f0d; }

.joinus { padding-top: 40px; }
.join-banner {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.join-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 22s ease-in-out infinite alternate;
}
.join-overlay {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: linear-gradient(180deg, rgba(8, 12, 10, 0.1) 15%, rgba(8, 12, 10, 0.86) 78%);
}
.join-overlay h2 { margin-bottom: 12px; }
.join-overlay p { max-width: 560px; color: #d5e0da; margin-bottom: 24px; }
.join-links { display: flex; flex-wrap: wrap; gap: 12px; }
.join-card {
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(8, 12, 10, 0.72);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}
.join-card img { width: 22px; height: 22px; }
.join-card span {
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 7vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in { animation: rise 0.9s ease forwards; }
.reveal.in[data-delay="70"] { animation-delay: 70ms; }
.reveal.in[data-delay="80"] { animation-delay: 80ms; }
.reveal.in[data-delay="120"] { animation-delay: 120ms; }
.reveal.in[data-delay="140"] { animation-delay: 140ms; }
.reveal.in[data-delay="160"] { animation-delay: 160ms; }
.reveal.in[data-delay="210"] { animation-delay: 210ms; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
}
@keyframes gridShift { to { background-position: 56px 56px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes scan {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-12px); }
}
@keyframes visor {
  0% { transform: translateY(-180%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(280%); opacity: 0; }
}

@media (max-width: 1080px) {
  .hero, .about-grid, .steps, .about-top { grid-template-columns: 1fr; }
  .about-portrait { justify-self: start; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .hero-unit { min-height: 460px; order: -1; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 18px;
    padding: 24px 28px 28px;
    background: rgba(8, 12, 10, 0.94);
    border-bottom: 1px solid var(--stroke);
  }
  .btn-buy span { display: none; }
  .chart-frame { height: 480px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (max-width: 680px) {
  .nav { padding: 0 16px; }
  section { padding: 80px 18px; }
  .join-overlay { padding: 28px 18px; }
  .ca-bar { flex-wrap: wrap; }
  .unit-halo, .unit-orbit { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
