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

:root {
  --bg: #000000;
  --bg2: #0a0a0a;
  --bg3: #111111;
  --text: #F0F0F0;
  --muted: #666666;
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-dim: #15803d22;
  --border: #222222;
  --border-light: #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* CANVAS */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

/* MARQUEE BANNER */
.marquee-bar {
  position: relative;
  z-index: 101;
  background: #000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.45rem 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-status {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 3rem;
  text-align: center;
}

.hero-content { max-width: 720px; }

.hero-label {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  min-height: 2.2em;
}

.cursor {
  color: var(--green);
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.subheadline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.3s;
  font-weight: 400;
}

/* FORM */
.waitlist-form {
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

.form-label {
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: none;
  border-right: 1px solid var(--border-light);
  background: var(--bg3);
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: background 0.2s;
}

input[type="email"]:focus { background: #161616; }
input[type="email"]::placeholder { color: #444; }

button[type="submit"] {
  padding: 0.85rem 1.4rem;
  background: var(--green);
  color: #000;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  border-radius: 0;
}

button[type="submit"]:hover { background: var(--green-dark); }
button[type="submit"]:active { transform: scale(0.98); }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.form-message.success { color: var(--green); }
.form-message.error { color: #ef4444; }
.hidden { display: none; }

/* COUNTDOWN */
.countdown {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.countdown #days-count {
  color: var(--green);
  font-weight: 700;
}

/* SECTION LABEL */
.section-label {
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.75rem;
}

/* STATS */
.stats {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-block { display: flex; flex-direction: column; gap: 0.4rem; }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.stat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.stat-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0.3rem;
}

/* MODULES */
.modules {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.module-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.3s;
}

.module-card:hover { background: var(--bg3); }

.module-tag {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.module-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.module-card > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.module-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.module-card ul li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
  font-family: 'JetBrains Mono', monospace;
}

.module-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #333;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-disclaimer {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: #333;
  max-width: 560px;
  line-height: 1.7;
}

/* MOBILE */
@media (max-width: 680px) {
  nav { padding: 1rem 1.5rem; }
  .nav-status { display: none; }
  .hero { padding: 4rem 1.5rem; }
  .stats, .modules { padding: 3.5rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .modules-grid { grid-template-columns: 1fr; }
  form { flex-direction: column; border-radius: 4px; }
  input[type="email"] { border-right: none; border-bottom: 1px solid var(--border-light); }
  footer { padding: 2rem 1.5rem; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
