/* ========== TIMELINE ========== */
.timeline {
  background: var(--bg);
  padding: 8rem 2rem;
  position: relative;
  z-index: 7;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

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

.tab--active {
  background: var(--gradient-accent);
  color: #fff;
}

.timeline__panels {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  min-height: 400px;
}

.timeline__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.timeline__panel--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.timeline__item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 3rem;
  border-left: 1px solid var(--border);
}

.timeline__item:last-child {
  border-left-color: transparent;
}

.timeline__dot {
  position: absolute;
  left: -5px;
  top: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline__content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.timeline__content p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
