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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #000000;
  margin: 0;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* ---- Content layer ---- */
.container {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

/* ---- COMING SOON ---- */
.coming-soon {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.char {
  display: inline-block;
  opacity: 0;
  animation: fadeUp 0.55s ease calc(var(--i) * 0.06s + 0.2s) forwards;
}

.char-space {
  display: inline-block;
  width: 0.35em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Brand header ---- */
.brand-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .char,
  .brand-header {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.launch-date {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
}

.launch-date #launchDate {
  color: #92b4d9;
  font-weight: 500;
}

.rail {
  margin: 80px auto 0;
  width: 520px;
  max-width: 90vw;
  position: relative;
  z-index: 1;
}

.rail-line {
  position: absolute;
  top: 12px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.rail-line-fill {
  position: absolute;
  top: 12px;
  left: 60px;
  height: 1px;
  width: 33%;
  background: rgba(90, 110, 220, 0.6);
}

.rail-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  opacity: 0;
  animation: nodeIn 0.6s ease calc(var(--n) * 0.2s + 0.2s) forwards;
}

@keyframes nodeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dot {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s, border-color 0.3s;
}

.dot-num {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  line-height: 1;
}

.dot.done {
  background: #5a6edc;
  border-color: #5a6edc;
}

.dot.done .dot-num {
  color: #fff;
}

.dot.current {
  background: #5a6edc;
  border-color: #5a6edc;
  box-shadow: 0 0 0 4px rgba(90, 110, 220, 0.25), 0 0 16px 4px rgba(90, 110, 220, 0.5);
  animation: dot-pulse 2.5s ease-in-out infinite;
}

.dot.current .dot-num {
  color: #fff;
}

@keyframes dot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(90, 110, 220, 0.25), 0 0 16px 4px rgba(90, 110, 220, 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(90, 110, 220, 0.15), 0 0 24px 8px rgba(90, 110, 220, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node { animation: none; opacity: 1; }
  .dot.current { animation: none; }
}

.label {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.label.active {
  color: #dce1f5;
}

.label-desc {
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .rail { width: 100%; }
  .node { width: auto; }
  .label { font-size: 9px; }
  .label-desc { display: none; }
  .dot { width: 22px; height: 22px; }
  .dot-num { font-size: 9px; }
}
