:root {
  --bg: #050604;
  --bg-panel: #0a0d0a;
  --green: #3eff5c;
  --green-soft: rgba(62, 255, 92, 0.15);
  --green-border: rgba(62, 255, 92, 0.35);
  --green-border-dim: rgba(62, 255, 92, 0.18);
  --text: #e9ffe9;
  --text-dim: #85977f;
  --red: #ff5c5c;
  --font: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

#below { flex: 0 0 auto; }

.masthead {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px clamp(20px, 6vw, 100px) 0;
}

.masthead img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--green-border-dim);
  display: block;
}

.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.bg-fx::before {
  content: "";
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(62,255,92,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,255,92,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-pan 24s linear infinite;
}

@keyframes grid-pan {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 40px); }
}

.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(62,255,92,0.035) 0px,
    rgba(62,255,92,0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  animation: scan-flicker 5s steps(2) infinite;
}

@keyframes scan-flicker {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  filter: blur(70px);
}

.glow-a {
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(62,255,92,0.16), transparent 70%);
  animation: drift-a 20s ease-in-out infinite;
}

.glow-b {
  bottom: -22%;
  right: -10%;
  background: radial-gradient(circle, rgba(62,255,92,0.11), transparent 70%);
  animation: drift-b 26s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, 8%); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6%, -6%); }
}

@media (max-width: 700px) {
  .bg-fx::after { display: none; }
  .glow { filter: blur(50px); }
}

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

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border-dim) 20%, var(--green-border-dim) 80%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--text);
}

.brand-eye { width: 26px; height: 26px; border-radius: 50%; mix-blend-mode: screen; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.nav-links a:hover { color: var(--green); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

.btn-connect, .btn-primary, .btn-secondary {
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.06em;
  transition: all 0.15s ease;
}

.btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.btn-connect {
  background: var(--green);
  color: #041205;
  border: 1px solid var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 3px;
}

.btn-connect:hover { background: #57ff70; }
.btn-connect:disabled { opacity: 0.7; cursor: default; }

.btn-connect.connected {
  background: transparent;
  color: var(--green);
}

/* ---------- HERO ---------- */
.hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(16px, 3vh, 40px) clamp(20px, 4vw, 56px);
  position: relative;
  z-index: 2;
  min-height: 0;
}

.hero-left {
  flex: 1 1 560px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 18px);
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.tag-sep { color: var(--green-border); }

.tag-ticker { color: var(--green); font-weight: 700; }

.headline {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.headline .accent { color: var(--green); }

.cursor {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.sub {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 52ch;
}

.terminal-box {
  border: 1px solid var(--green-border-dim);
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.term-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.term-key { color: var(--text-dim); letter-spacing: 0.04em; }
.term-val { color: var(--text); font-weight: 600; }

.status-live {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(62,255,92,0.6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62,255,92,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62,255,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,255,92,0); }
}

.progress-block { display: flex; flex-direction: column; gap: 6px; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.progress-labels span:last-child { color: var(--green); font-weight: 700; }

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--green-soft);
  border: 1px solid var(--green-border-dim);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e8f34, var(--green));
  box-shadow: 0 0 12px rgba(62,255,92,0.5);
}

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

.btn-primary {
  background: var(--green);
  color: #041205;
  border: 1px solid var(--green);
  font-size: 13px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 3px;
}

.btn-primary:hover { background: #57ff70; }

.cta-hint {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.buy-panel {
  border: 1px solid var(--green-border-dim);
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.buy-row { display: flex; gap: 10px; }

.buy-input {
  flex: 1;
  background: #000;
  border: 1px solid var(--green-border-dim);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 3px;
}

.buy-input:focus { outline: none; border-color: var(--green); }

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-border);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 3px;
  white-space: nowrap;
}

.btn-secondary:not(:disabled):hover { background: var(--green-soft); }
.btn-secondary:disabled { color: var(--text-dim); border-color: var(--green-border-dim); cursor: not-allowed; }

.buy-note { font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.02em; }

/* ---------- HERO RIGHT / EYE ---------- */
.hero-right {
  flex: 1 1 380px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vh, 22px);
}

.scope-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scope-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,255,92,0.35) 0%, rgba(62,255,92,0.08) 55%, transparent 75%);
  filter: blur(6px);
  animation: glow-pulse 3.4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.eye-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.55;
  z-index: 0;
}

.eye-image {
  position: relative;
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: screen;
  animation: eye-breathe 4.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes eye-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.scan-sweep {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 10px 1px rgba(62,255,92,0.8);
  animation: sweep 3.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes sweep {
  0%, 100% { top: 12%; opacity: 0; }
  10% { opacity: 0.9; }
  50% { top: 88%; opacity: 0.9; }
  60% { opacity: 0; }
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--green-border);
  opacity: 0.8;
  z-index: 2;
}

.corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }

.ticker-line {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.id-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-panel);
  border: 1px solid var(--green-border-dim);
  border-radius: 4px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

/* ---------- SCROLL HINT ---------- */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding-bottom: 10px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.scroll-hint svg { animation: bob 1.8s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.scroll-hint:hover { color: var(--green); }

/* ---------- BELOW FOLD ---------- */
#below { position: relative; z-index: 2; }

.section {
  position: relative;
  padding: 64px clamp(20px, 6vw, 100px);
  max-width: 1200px;
  margin: 0 auto;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 100px);
  right: clamp(20px, 6vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border-dim) 20%, var(--green-border-dim) 80%, transparent);
}

.section-title {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  border: 1px solid var(--green-border-dim);
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 22px;
}

.step-num {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.step p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.section-about {
  position: relative;
}

.section-about::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 480px;
  height: 480px;
  max-width: 60vw;
  background-image: url('assets/eye-grid.webp');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.16;
  pointer-events: none;
  border-radius: 50%;
}

.about-text {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 80ch;
  margin-bottom: 18px;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.token-card {
  border: 1px solid var(--green-border-dim);
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}

.token-pct {
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}

.token-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.footer {
  position: relative;
  padding: 40px clamp(20px, 6vw, 100px) 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 100px);
  right: clamp(20px, 6vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border-dim) 20%, var(--green-border-dim) 80%, transparent);
}

.disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 90ch;
  margin-bottom: 20px;
}

.footer-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.footer-row a:hover { color: var(--green); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero { flex-direction: column; align-items: stretch; padding-top: 20px; }
  .hero-right { max-width: 100%; }
  .hero-left { max-width: 100%; }
  .headline { font-size: clamp(30px, 9vw, 46px); }
}

@media (max-width: 560px) {
  .terminal-box, .id-card { grid-template-columns: 1fr; }
  .nav { padding: 14px 18px; }
}
