/* ================================
   LOVABLE ROADMAP
================================ */

.lovable-roadmap {
  padding: 120px 20px;
  background: #ffffff;
  position: relative;
}

.lovable-header {
  text-align: center;
  margin-bottom: 100px;
}

.lovable-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
}

.lovable-title {
  font-size: 56px;
  font-weight: 800;
  margin: 12px 0;
}

.lovable-title span {
  background: linear-gradient(90deg, #2563eb, #22c55e, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lovable-subtitle {
  color: #6b7280;
  font-size: 16px;
}

/* === GRID TIMELINE WRAPPER === */
.lovable-timeline-grid {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

/* Curved line sits behind center column */
.lovable-timeline-grid .timeline-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 210px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 1;
}

/* Each row is a 3-column grid: left card | center node | right card */
.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;          /* 🔥 ICON + CARD LOCKED */
  gap: 28px;
  margin: 36px 0;               /* spacing between milestones */
  z-index: 1;
}

/* Columns */
.tl-col { position: relative; }
.tl-center { display: flex; justify-content: center; }

/* Cards (same style you had) */
.timeline-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid rgba(17,24,39,0.06);
}

.timeline-card .year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 999px;
}

.timeline-card h4 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.timeline-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.timeline-node {
  width: 46px;
  height: 46px;
  border-radius: 14px; /* softer */
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.08),
    0 0 0 6px rgba(255,255,255,0.85); /* halo */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-node:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 16px 36px rgba(0,0,0,0.12),
    0 0 0 8px rgba(255,255,255,0.9);
}

.timeline-node.blue   { background: #eef4ff; color: #2563eb; border: 1px solid; }
.timeline-node.green  { background: #ecfdf5; color: #16a34a; border: 1px solid; }
.timeline-node.orange { background: #fff7ed; color: #f59e0b; border: 1px solid; }


.timeline-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px 30px;
  max-width: 420px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.06);
  border: 1px solid rgba(17,24,39,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.10);
}

.timeline-card h4 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.timeline-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.timeline-origin {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 10px;
  text-align: center;
}

.timeline-origin-wrap {
  position: relative;
  margin-top: 40px;
}

/* This aligns origin with the vertical spine */
.timeline-origin-center {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-origin-line {
  width: 3px;
  height: 42px;
  background: linear-gradient(
    to top,
    #f59e0b,
    #22c55e,
    #2563eb
  );
  border-radius: 2px;
}

/* "Now" badge */
.status {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #f59e0b;
  font-weight: 700;
  border: 1px solid rgba(245,158,11,0.25);
}

/* Bottom caption */
.tl-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #9ca3af;
  font-weight: 700;
}

/* Mobile: stack nicely */
@media (max-width: 900px) {
  .lovable-timeline-grid .timeline-spine {
    left: 28px;
    transform: none;
    width: 90px;
  }

  .tl-row {
    grid-template-columns: 70px 1fr;
    gap: 16px;
    align-items: flex-start;
  }

  .tl-left, .tl-right {
    grid-column: 2;
  }

  .tl-center {
    grid-column: 1;
    justify-content: flex-start;
    padding-top: 10px;
  }

  .timeline-card {
    max-width: 100%;
  }
}

/* CTA */
.timeline-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Button (safe default) */
.journey-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 600;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.journey-btn .icon {
    border: none;
}

.journey-btn:hover {
  transform: translateY(-2px);
}