body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: .2px;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}
.hero-sub {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline layout */
.timeline {
  margin: 2rem 0 1rem;
  padding-left: 42px;                /* espacio para línea y dots */
  position: relative;
}

/* Línea base (gris claro) */
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;                        /* centrado con dot */
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e9ecef;
  border-radius: 2px;
}

/* Línea de progreso (se rellena con scroll) */
.timeline-progress {
  position: absolute;
  left: 22px;
  top: 0;
  width: 4px;
  height: 0;                         /* se animará con JS */
  background: linear-gradient(180deg, #0d6efd 0%, #5b8cff 100%);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.25);
  transition: height 0.2s ease-out;
}

/* Cada hito */
.timeline-item {
  position: relative;
  margin-bottom: 2.75rem;
}

/* Dot del hito */
.timeline-item .dot {
  position: absolute;
  left: 14px;
  top: 24px;                         /* alineado con la tarjeta */
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #0d6efd;
  border-radius: 50%;
  z-index: 2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* Estado activo al pasar el scroll */
.timeline-item.active .dot {
  background: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 0 0 6px rgba(13, 110, 253, .15);
  transform: scale(1.1);
}

/* Tarjeta */
.timeline-item .card {
  margin-left: 1.5rem;
  border: 0;
}

/* Ajustes responsivos */
@media (max-width: 575.98px) {
  .timeline { padding-left: 36px; }
  .timeline::before,
  .timeline-progress { left: 18px; }
  .timeline-item .dot { left: 10px; }
  .timeline-item .card { margin-left: 1.25rem; }
}
/* Línea base (gris claro) */
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e9ecef;
  border-radius: 2px;
}

/* Línea de progreso: se ajusta la altura con JS */
.timeline-progress {
  position: absolute;
  left: 22px;
  top: 0;
  width: 4px;
  height: 0; /* se modifica con JS: 0..timeline.height */
  background: linear-gradient(180deg, #0d6efd, #3f7bff);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(13,110,253,.25);
  transition: height .12s ease-out;
}

/* Dot por defecto: gris */
.timeline-item .dot {
  position: absolute;
  left: 14px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #cdd5df;   /* gris sutil */
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(13,110,253,0);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* Dot activo: azul */
.timeline-item.active .dot {
  background: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 0 0 6px rgba(13,110,253,.15);
  transform: scale(1.08);
}

/* SECTION 1 · Suggest */
.cta-suggest {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}
.cta-suggest h2 { font-weight: 800; }
.cta-suggest .btn:hover {
  background-color: #0d6efd;
  transform: translateY(-1px);
  transition: all .25s ease;
  border:none;
}

/* SECTION 2 · Join Beta */
.cta-join {
  background: linear-gradient(135deg, #0d6efd 0%, #0b1e2d 100%);
}
.cta-join h2 { font-weight: 800; }

/* Botón blanco sobre fondo oscuro */
.btn-white {
  background: #fff;
  color: #0d6efd;
  border: none;
}
.btn-white:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 .75rem 1.25rem rgba(13,110,253,.28);
  transition: all .25s ease;
}