:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-soft: rgba(5, 11, 31, 0.86);
  --bg-card: rgba(9, 12, 39, 0.8);
  --brand: #4f9bff;
  --brand-strong: #2a6edb;
  --brand-soft: rgba(79, 155, 255, 0.15);
  --text: #f9fbff;
  --text-dim: #cdd7f6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(3, 7, 18, 0.6);
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(79, 155, 255, 0.25), transparent 40%),
    radial-gradient(circle at 20% 20%, rgba(128, 69, 255, 0.3), transparent 45%),
    var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/5/58/Noise_texture.jpg')
    center/400px repeat;
  opacity: 0.05;
  mix-blend-mode: screen;
  z-index: 0;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.5rem, 6vw, 5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.tagline {
  color: var(--text-dim);
  opacity: 0.8;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 0 clamp(1.5rem, 6vw, 5rem) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-copy .accent {
  color: var(--brand);
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--text);
}

.hero-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.hero-points li::before {
  content: '•';
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
}

.hero-card {
  background: linear-gradient(145deg, rgba(6, 10, 28, 0.85), rgba(9, 16, 46, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 25px 70px rgba(3, 7, 18, 0.55);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 0 0 0.25rem;
}

.card-header h3 {
  margin: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(60px, 1fr));
  gap: 0.8rem;
  text-align: center;
}

.countdown .value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  background: var(--brand-soft);
  border-radius: 18px;
  padding: 1.2rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 0.4rem;
}

.countdown .label {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.waitlist-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.9rem;
  color: var(--text-dim);
}

input,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.4);
  color: var(--text);
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 2px solid var(--brand);
  background: rgba(3, 7, 18, 0.7);
}

.primary-btn {
  border: none;
  border-radius: 16px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  color: var(--bg);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 35px rgba(47, 115, 255, 0.45);
}

.helper {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.form-feedback {
  min-height: 1.5em;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-feedback.success {
  color: #65ffb5;
}

.form-feedback.error {
  color: #ffa0a0;
}

.hero-support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.glass-card {
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(8, 10, 36, 0.6);
  backdrop-filter: blur(30px);
  box-shadow: var(--shadow);
}

.glass-card.secondary {
  background: rgba(8, 10, 36, 0.4);
}

.glass-title {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.glass-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.glass-body {
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.share-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-row button {
  flex: 1 1 45%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.share-row button:hover {
  border-color: var(--brand);
}

@media (max-width: 540px) {
  .share-row button {
    flex: 1 1 100%;
  }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--text-dim);
}

.section {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: rgba(5, 8, 26, 0.7);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: rgba(8, 10, 36, 0.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pillar-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pillar-card p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.5;
}

.steps .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.step-list li {
  counter-increment: step;
  background: rgba(8, 10, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1rem 1.2rem 3.5rem;
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
}

.step-list li span {
  margin-left: 0.6rem;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list span {
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
  }

  .share-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }
}

@media (max-width: 540px) {
  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .waitlist-card,
  .glass-card {
    padding: 1.5rem;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .primary-btn {
    width: 100%;
  }
}

