:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-2: #cccccc;
  --text-3: #888888;
  --primary: #4CAF50;
  --primary-soft: rgba(76, 175, 80, 0.12);
  --primary-glow: rgba(76, 175, 80, 0.35);
  --gold: #d4af37;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(76,175,80,0.08) 0%, transparent 60%);
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 24px;
}

.hero {
  text-align: center;
  padding: 8px 0 24px;
}

.logo {
  width: 200px;
  max-width: 56vw;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 40px rgba(76,175,80,0.25));
}

.title {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}

.accent {
  background: linear-gradient(135deg, #4CAF50 0%, #81C784 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 13px 18px;
  font-size: 15px;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.waitlist input::placeholder { color: var(--text-3); }

.waitlist input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.waitlist button {
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  background: var(--primary);
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 8px 32px var(--primary-glow);
}

.waitlist button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #5cbb60;
}

.waitlist button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-message {
  flex-basis: 100%;
  margin: 6px 0 0;
  min-height: 18px;
  font-size: 13.5px;
  color: var(--text-3);
}

.form-message.success { color: var(--primary); }
.form-message.error { color: #ef5350; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0 72px;
}

.feature {
  padding: 18px 18px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.feature:hover {
  border-color: rgba(76, 175, 80, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 9px;
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.footer {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--text-2);
  text-decoration: none;
  margin: 0 8px;
}

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

.footer .copy {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #555;
}

/* Static pages (terms, privacy) */
.doc {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
  color: var(--text-2);
  line-height: 1.7;
}

.doc .back {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
}

.doc h1 {
  color: var(--primary);
  font-size: 28px;
  margin-top: 24px;
}

.doc h2 {
  color: var(--text);
  font-size: 20px;
  margin-top: 32px;
}

.doc a { color: var(--primary); }

.doc .updated {
  color: var(--text-3);
  font-size: 13px;
}
