/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* Ambient grain - FIXED: Removed circular gradient to eliminate half-circle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
}

/* Hero / Top Section */
.hero {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.terminal-line {
  font-family: "VT323", monospace;
  font-size: 1.6rem;
  color: #fff;
  margin: 0.2rem 0;
}

#fade-in-line {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.sub {
  color: #888;
  font-size: 1.2rem;
  margin-top: 0.6rem;
}

.brand-name {
  font-family: "VT323", monospace;
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: #2563eb;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(37, 99, 235, 0.3), 0 0 12px rgba(37, 99, 235, 0.2);
  line-height: 1;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
}

.caret {
  display: inline-block;
  animation: blinkCaret 1s step-end infinite;
  opacity: 0.9;
}

.headline {
  font-family: "VT323", monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.5rem;
  margin: 0;
  padding: 0;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* CTA Section */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 0;
}

.waitlist-fields {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.4rem;
  transition: border-color 0.3s ease;
}

.waitlist-fields:focus-within {
  border-color: #3b82f6;
}

.waitlist-input {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  flex: 1;
  caret-color: #3b82f6;
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.waitlist-input:focus {
  outline: none;
  animation: glowPulse 2s infinite ease-in-out;
}

.waitlist-submit {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #3b82f6;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, text-shadow 0.3s ease;
}

.waitlist-submit:hover {
  transform: translateX(2px);
  text-shadow: 0 0 8px #3b82f6;
}

.microcopy {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.25rem;
}

.waitlist-response {
  font-family: "VT323", monospace;
  color: #edf2f7;
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

/* Footer */
.footer {
  font-size: 0.8rem;
  opacity: 0.4;
  text-align: center;
  font-family: "VT323", monospace;
}

/* Animations */
@keyframes blinkCaret {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0px rgba(59, 130, 246, 0.1);
  }
  50% {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  }
  100% {
    box-shadow: 0 0 0px rgba(59, 130, 246, 0.1);
  }
}

/* Responsive */
@media (max-width: 500px) {
  .brand-name {
    font-size: 4rem;
  }
  .headline {
    font-size: 1.4rem;
  }
  .terminal-line {
    font-size: 1.4rem;
  }
  .sub {
    font-size: 1rem;
  }
  .waitlist-input {
    font-size: 1rem;
  }
  .waitlist-submit {
    font-size: 1.4rem;
  }
  .waitlist-response {
    font-size: 1rem;
  }
}