/* ============================================
   AlStableCoin — Vision Page Styles
   ============================================ */

/* --- Timeline --- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-2),
    var(--accent-3)
  );
  transform: translateX(-50%);
  border-radius: 1px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

/* --- Timeline Marker --- */
.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-light);
  z-index: 1;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.timeline-item:hover .timeline-marker {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  background: rgba(240, 165, 0, 0.12);
}

.timeline-item:nth-child(1) .timeline-marker { color: var(--accent);   border-color: rgba(240, 165, 0, 0.4); }
.timeline-item:nth-child(2) .timeline-marker { color: var(--accent-2); border-color: rgba(249, 115, 22, 0.4); }
.timeline-item:nth-child(3) .timeline-marker { color: var(--accent-3); border-color: rgba(251, 191, 36, 0.4); }

/* --- Timeline Content --- */
.timeline-content {
  width: calc(50% - 60px);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 40px rgba(240, 165, 0, 0.12);
  transform: translateY(-2px);
}

.timeline-phase {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.timeline-content h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.3;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  word-break: break-word;
}

/* --- Timeline Dots --- */
.timeline-dots {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.timeline-item:nth-child(odd) .timeline-dots {
  justify-content: flex-end;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 165, 0, 0.15);
  transition: all var(--transition-fast);
}

.timeline-dot.active {
  background: var(--accent-light);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ============================================
   Responsive — 768px
   ============================================ */
@media (max-width: 768px) {
  .timeline::before {
    left: 26px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-marker {
    left: 26px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .timeline-content {
    width: calc(100% - 56px);
    margin-left: 56px;
    margin-right: 0;
    padding: var(--space-md);
  }

  .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dots {
    justify-content: flex-start;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}

/* ============================================
   Responsive — 480px
   ============================================ */
@media (max-width: 480px) {
  .timeline {
    gap: var(--space-lg);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .timeline-content {
    width: calc(100% - 44px);
    margin-left: 44px;
    margin-right: 0;
    padding: var(--space-md);
  }

  .timeline-content h3 {
    font-size: 1.05rem;
  }

  .timeline-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}
