:root {
  color-scheme: dark;
  --bg: #0f172a;
  --surface: #17213a;
  --surface-alt: #1f2944;
  --border: rgba(148, 163, 184, 0.18);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --text: #f8fafc;
  --muted: #94a3b8;
  --success: #4ade80;
  --error: #fb7185;
}

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

.landing-page {
  position: relative;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(circle at 100% 20%, rgba(56, 189, 248, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-shape {
  position: fixed;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.background-shape--one {
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 60%);
  animation: shift 18s ease-in-out infinite;
}

.background-shape--two {
  bottom: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.45), transparent 60%);
  animation: shift 24s ease-in-out infinite reverse;
}

main.landing {
  width: min(1100px, 92vw);
  margin: clamp(2.75rem, 4vw + 1rem, 4.25rem) auto 2.5rem;
  display: grid;
  gap: 4rem;
}

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }
}

.hero__copy {
  display: grid;
  gap: 1.25rem;
  max-width: clamp(520px, 48vw, 620px);
}

.hero-headline {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.75rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(3.2rem, 6vw + 1rem, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 45%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
  text-align: center;
  max-width: 18ch;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
}

.cta-row {
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:not(.disabled):hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.22);
}

.btn-primary.disabled,
.btn-primary.disabled:hover {
  background: rgba(59, 130, 246, 0.35);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.proof-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-link__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand-link--base {
  background: rgba(0, 82, 255, 0.18);
  border-color: rgba(0, 82, 255, 0.3);
  color: #dbeafe;
}

.brand-link--base:hover {
  background: rgba(0, 82, 255, 0.28);
  border-color: rgba(0, 82, 255, 0.5);
}

.brand-link--x {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--text);
}

.brand-link--x:hover {
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(148, 163, 184, 0.45);
}

.brand-link--x svg path {
  fill: currentColor;
}

.hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.card {
  background: linear-gradient(145deg, var(--surface), var(--surface-alt));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 2rem;
  width: min(320px, 90vw);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.12);
  pointer-events: none;
}

.card--glow {
  background: linear-gradient(150deg, rgba(30, 64, 175, 0.85), rgba(37, 99, 235, 0.3)),
    linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  animation: float 10s ease-in-out infinite;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 15% 10%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.35), transparent 70%);
  filter: blur(40px);
  opacity: 0.8;
  z-index: -1;
}

.card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.75);
  margin-bottom: 1rem;
}

.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: rgba(191, 219, 254, 0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.card__time {
  font-variant-numeric: tabular-nums;
  color: rgba(226, 232, 240, 0.8);
}

.card__title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--muted);
}

.card__scores {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 2.4rem;
  margin: 1.6rem 0 1.75rem;
  font-weight: 700;
}

.card__meta {
  display: grid;
  gap: 0.65rem;
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.95rem;
}

.card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  display: inline-block;
}

.dot--success {
  background: var(--success);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.65);
}

.dot--pulse {
  background: rgba(125, 211, 252, 0.8);
  animation: pulse 2.8s ease-in-out infinite;
}

.waitlist {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.waitlist h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.waitlist p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.inputs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.inputs input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font-size: 1rem;
}

.inputs input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.5);
}

.status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.status.pending {
  color: var(--muted);
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--error);
}

.privacy {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.7);
}

.steps {
  text-align: center;
}

.steps h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.steps__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps__grid article {
  padding: 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.15);
  text-align: left;
}

.steps__grid h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.steps__grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.roadmap {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2.5rem;
}

.roadmap h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.3rem);
}

.roadmap ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.roadmap li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--muted);
}

.roadmap .label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer {
  margin: 3rem auto 1.5rem;
  width: min(1100px, 92vw);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.footer-link__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .background-shape {
    animation: none;
  }

  .card--glow {
    animation: none;
  }

  .dot--pulse {
    animation: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  main.landing {
    margin-top: 2.5rem;
  }

  .hero {
    text-align: center;
  }

  .hero__copy {
    justify-items: center;
    gap: 1.5rem;
  }

  .hero__visual {
    order: -1;
    margin: 0 auto;
  }

  .brand-strip {
    justify-content: center;
  }

  .proof-points {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.65rem;
  }

  .card__scores {
    font-size: 2.1rem;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, -4px, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(0, 6px, 0) rotate(0.4deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    box-shadow: 0 0 0 rgba(56, 189, 248, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
  }
}

@keyframes shift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  33% {
    transform: translate3d(-40px, 20px, 0);
  }
  66% {
    transform: translate3d(30px, -20px, 0);
  }
}

