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

:root {
  --bg: #0A0A0A;
  --fg: #FAFAFA;
  --muted: #525252;
  --border: #1C1C1C;
  --card: #111111;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--fg);
}

.logo span {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.125rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}

.nav-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #1E1E1E 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

/* Glow */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid #2A2A2A;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #A3A3A3;
  margin-bottom: 2.5rem;
  background: #111111;
  animation: fadeUp 0.6s ease both;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Title */
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: #FAFAFA;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #525252;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* Form */
.form-wrap {
  animation: fadeUp 0.6s 0.3s ease both;
}

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 0.875rem;
}

.email-input {
  flex: 1;
  padding: 0.8125rem 1.125rem;
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #FAFAFA;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.email-input::placeholder {
  color: #3A3A3A;
}

.email-input:focus {
  border-color: #525252;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.email-input.error {
  border-color: #EF4444;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  background: #FAFAFA;
  color: #0A0A0A;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
  min-width: 160px;
}

.submit-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-note {
  font-size: 0.8125rem;
  color: #3A3A3A;
}

/* Success */
.success-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 1rem;
  animation: fadeUp 0.4s ease both;
}

.success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0A0A0A;
  border: 1.5px solid #2A2A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FAFAFA;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.success-sub {
  font-size: 0.875rem;
  color: #525252;
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: #3A3A3A;
  animation: fadeUp 0.6s 0.4s ease both;
}

.avatars {
  display: flex;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  margin-left: -6px;
}

.avatars .avatar:first-child {
  margin-left: 0;
}

/* ─── PLATFORMS ─── */
.platforms {
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.platforms-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3A3A3A;
  margin-bottom: 1.5rem;
}

.platform-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.75rem;
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #737373;
  transition: all 0.15s;
  cursor: default;
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  flex-shrink: 0;
}

.tag:hover {
  background: #161616;
  color: #AAAAAA;
  border-color: #2A2A2A;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3A3A3A;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FAFAFA;
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.1;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.step {
  background: #111111;
  border: 1px solid #1C1C1C;
  border-radius: 1rem;
  padding: 2rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #3A3A3A;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.step-desc {
  font-size: 0.875rem;
  color: #525252;
  line-height: 1.65;
}

.step-arrow {
  font-size: 1.25rem;
  color: #2A2A2A;
  display: flex;
  align-items: center;
  user-select: none;
}

/* ─── FEATURES ─── */
.features {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
}

.feature-card {
  background: #0E0E0E;
  padding: 2.5rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: #111111;
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3A3A3A;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.875rem;
  color: #525252;
  line-height: 1.7;
}

/* ─── FINAL CTA ─── */
.final-cta {
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.final-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.final-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #FAFAFA;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.final-sub {
  font-size: 1rem;
  color: #525252;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.final-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: #FAFAFA;
  color: #0A0A0A;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.75rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.final-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #2A2A2A;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.steps .reveal:nth-child(1) { transition-delay: 0s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps .reveal:nth-child(5) { transition-delay: 0.32s; }

.features-inner .reveal:nth-child(1) { transition-delay: 0s; }
.features-inner .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-inner .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 1024px) {
  .features-inner {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 6rem 1.25rem 4rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .platforms {
    padding: 3.5rem 1.25rem;
  }

  .how,
  .features {
    padding: 4rem 1.25rem;
  }

  .section-title {
    margin-bottom: 2.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.75rem;
  }

  .feature-card:last-child {
    grid-column: unset;
  }

  .final-cta {
    padding: 5rem 1.25rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
    min-width: unset;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-inner {
    padding: 0 1rem;
  }

  .hero {
    padding: 5rem 1rem 3.5rem;
  }

  .badge {
    margin-bottom: 1.75rem;
  }

  .hero-sub {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  .how,
  .features {
    padding: 3rem 1rem;
  }

  .platforms {
    padding: 3rem 1rem;
  }

  .step {
    padding: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .final-cta {
    padding: 4rem 1rem;
  }

  .footer {
    padding: 1.5rem 1rem;
  }
}
