:root {
  --bg: #020810;
  --grid: rgba(0, 255, 180, 0.04);
  --green: #00ffb2;
  --cyan: #00d4ff;
  --gold: #f0c040;
  --dim: rgba(0, 255, 178, 0.15);
  --glass: rgba(0, 255, 178, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--green);
  font-family: "Share Tech Mono", monospace;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Grid Background */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 48px;
  }
}

/* Glow orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  animation: pulse 6s ease-in-out infinite alternate;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--green);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -100px;
  right: -100px;
  animation-delay: 2s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}
@keyframes pulse {
  from {
    opacity: 0.12;
  }
  to {
    opacity: 0.26;
  }
}

/* Ticker */
.ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(0, 255, 178, 0.06);
  border-bottom: 1px solid var(--dim);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker {
  display: flex;
  gap: 56px;
  animation: tickerScroll 24s linear infinite;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ticker span {
  color: var(--green);
}
.ticker span.up {
  color: #00ffb2;
}
.ticker span.dn {
  color: #ff4d6d;
}
@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Main layout */
.scene {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
}

/* Hexagon logo */
.hex-wrap {
  margin-bottom: 40px;
  position: relative;
}
.hex {
  width: 90px;
  height: 90px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  animation: hexSpin 8s linear infinite;
  position: relative;
}
@keyframes hexSpin {
  0% {
    box-shadow: 0 0 0px var(--green);
  }
  50% {
    box-shadow: 0 0 40px var(--cyan);
  }
  100% {
    box-shadow: 0 0 0px var(--green);
  }
}
.hex-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(0, 255, 178, 0.3);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: hexRingPulse 2s ease-in-out infinite;
}
@keyframes hexRingPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

/* Tag */
.tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 5px 16px;
  margin-bottom: 18px;
  animation: fadeIn 1s ease 0.2s both;
}

/* Title */
h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.9;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeIn 1s ease 0.4s both;
}
h1 .line1 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green);
}
h1 .line2 {
  display: block;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(0, 255, 178, 0.5);
  text-align: center;
  max-width: 480px;
  margin-bottom: 52px;
  line-height: 1.8;
  animation: fadeIn 1s ease 0.6s both;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  animation: fadeIn 1s ease 0.8s both;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--dim);
  padding: 18px 24px;
  position: relative;
  min-width: 80px;
}
.cd-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.cd-num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 20px var(--green);
}
.cd-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(0, 255, 178, 0.4);
  margin-top: 6px;
  text-transform: uppercase;
}
.cd-sep {
  font-family: "Syne", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--dim);
  align-self: flex-start;
  margin-top: 16px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Email */
.email-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--dim);
  overflow: hidden;
  margin-bottom: 48px;
  animation: fadeIn 1s ease 1s both;
}
.email-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--green);
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  width: 260px;
}
.email-row input::placeholder {
  color: rgba(0, 255, 178, 0.3);
}
.email-row button {
  background: var(--green);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 14px 22px;
  text-transform: uppercase;
  transition: background 0.2s;
  font-weight: bold;
}
.email-row button:hover {
  background: var(--cyan);
}

/* Stats */
.stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeIn 1s ease 1.2s both;
}
.stat {
  text-align: center;
}
.stat-val {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(240, 192, 64, 0.5);
}
.stat-lbl {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(0, 255, 178, 0.35);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dim);
  border: 1px solid var(--dim);
  margin-bottom: 52px;
  max-width: 700px;
  width: 100%;
  animation: fadeIn 1s ease 1.4s both;
}
.feat {
  background: var(--bg);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.feat:hover {
  background: var(--glass);
}
.feat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dim), transparent);
}
.feat-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.feat-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.feat-desc {
  font-size: 10px;
  color: rgba(0, 255, 178, 0.4);
  line-height: 1.7;
}

/* Terminal */
.terminal {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--dim);
  padding: 20px 24px;
  font-size: 11px;
  line-height: 1.9;
  max-width: 520px;
  width: 100%;
  margin-bottom: 48px;
  position: relative;
  animation: fadeIn 1s ease 1.6s both;
}
.terminal::before {
  content: "● ● ●";
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 10px;
  color: rgba(0, 255, 178, 0.25);
  letter-spacing: 6px;
}
.terminal-body {
  margin-top: 18px;
}
.t-line {
  color: rgba(0, 255, 178, 0.5);
}
.t-key {
  color: var(--cyan);
}
.t-val {
  color: var(--gold);
}
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--green);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

/* Footer */
footer {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(0, 255, 178, 0.2);
  text-align: center;
  text-transform: uppercase;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 10px;
  }
  .cd-block {
    min-width: 64px;
    padding: 14px 16px;
  }
  .cd-num {
    font-size: 32px;
  }
  .stats {
    gap: 28px;
  }
  .email-row input {
    width: 180px;
  }
}
