@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #050506;
  --bg-2: #0c0d10;
  --card: rgba(17, 19, 23, 0.6);
  --card-solid: #111317;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f4f5f7;
  --ink-soft: #b7bcc6;
  --ink-mute: #6f7682;
  --accent: #BFFD03;
  --accent-ink: #131f00;
  --accent-glow: rgba(191, 253, 3, 0.55);
  --accent-soft: rgba(191, 253, 3, 0.16);
  --violet: #8B3DFF;
  --violet-glow: rgba(139, 61, 255, 0.4);
  --magenta: #E11FD0;
  --teal: #2FD9C4;
  --maxw: 1200px;
  --r: 22px;
  --font-main: 'Space Grotesk', system-ui, sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s infinite alternate ease-in-out;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.9); }
}

/* Container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.tagline {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(191, 253, 3, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, var(--ink-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.input-group {
  display: flex;
  background: var(--card-solid);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 6px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.input-group input::placeholder {
  color: var(--ink-mute);
}

.btn-submit {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 0 32px;
  border-radius: calc(var(--r) - 6px);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #d4ff33;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.success-message {
  display: none;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 500;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Thunderstorm Effect */
.thunderstorm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.1s ease-in-out;
}

.flash {
  background-color: rgba(255, 255, 255, 0.8);
}

.rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
  background: transparent;
}

.drop {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  width: 1px;
  height: 20px;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

