:root {
  --bg-gradient-start: #ffe9f4;
  --bg-gradient-end: #ffe4f0;
  --accent: #f472b6;
  --accent-soft: rgba(244, 114, 182, 0.22);
  --accent-strong: #ec4899;
  --card-bg: rgba(255, 249, 252, 0.98);
  --card-border: rgba(244, 114, 182, 0.35);
  --text-main: #4b1f33;
  --text-muted: #a56c86;
  --text-soft: #7f3456;
  --timeline-line: rgba(244, 114, 182, 0.35);
  --node-bg: rgba(255, 255, 255, 0.96);
  --node-bg-active: rgba(255, 228, 240, 0.9);
  --shadow-soft: 0 18px 40px rgba(244, 114, 182, 0.35);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Helvetica Neue', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, #ffeaf5 0, transparent 55%),
    radial-gradient(circle at bottom right, #ffd6eb 0, transparent 60%),
    linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  position: relative;
  overflow-x: hidden;
}

.background-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(244, 114, 182, 0.26), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.22), transparent 55%);
  opacity: 0.85;
  mix-blend-mode: soft-light;
  z-index: -1;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 250, 252, 0.15);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  letter-spacing: 0.03em;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 540px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.timeline-container {
  backdrop-filter: blur(20px);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 60%),
    rgba(255, 246, 252, 0.96);
  border-radius: 28px;
  border: 1px solid rgba(244, 114, 182, 0.3);
  box-shadow: var(--shadow-soft);
  padding: 26px 26px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr);
  gap: 26px;
  position: relative;
  overflow: hidden;
}

.timeline-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 10% -10%, rgba(255, 255, 255, 0.7), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 4px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 13px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-soft),
    var(--timeline-line),
    rgba(148, 163, 184, 0.15)
  );
  border-radius: 999px;
}

.timeline-progress {
  position: absolute;
  top: 10px;
  left: 13px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-strong));
  border-radius: 999px;
  transform-origin: top;
  transform: scaleY(0.2);
  transition: transform 380ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.timeline-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.timeline-node:hover {
  background-color: rgba(255, 244, 249, 0.95);
  border-color: rgba(244, 114, 182, 0.4);
  transform: translateX(1px);
}

.timeline-node.is-active {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 60%),
    var(--node-bg-active);
  border-color: rgba(244, 114, 182, 0.9);
  color: #7b213d;
}

.timeline-node.final {
  margin-top: 4px;
}

.timeline-node.future {
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(244, 114, 182, 0.5);
}

.timeline-node.future .node-dot {
  border-style: dashed;
  background: #fff7fb;
}

.timeline-node.future .node-label::after {
  content: 'soon';
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244, 114, 182, 0.08);
  color: #b91c56;
}

.timeline-node.future.is-active {
  opacity: 1;
  border-style: solid;
}

.node-dot {
  position: absolute;
  left: 7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(244, 114, 182, 0.55);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(248, 187, 208, 0.9);
  z-index: 1;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.timeline-node.is-active .node-dot {
  border-color: rgba(236, 72, 153, 0.95);
  background: radial-gradient(circle, #ffffff, #fecdd3);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 0 6px rgba(244, 114, 182, 0.35),
    0 0 24px rgba(244, 114, 182, 0.7);
  transform: scale(1.05);
}

.timeline-node.final .node-dot {
  border-color: rgba(244, 114, 182, 0.9);
}

.timeline-node.final.is-active .node-dot {
  box-shadow:
    0 0 0 3px rgba(248, 250, 252, 0.14),
    0 0 0 10px rgba(244, 114, 182, 0.32),
    0 0 30px rgba(236, 72, 153, 0.75);
}

.node-glow {
  position: absolute;
  inset: -14px -6px;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(244, 114, 182, 0.35), transparent 70%);
  opacity: 0.0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.timeline-node.final.is-active .node-glow {
  opacity: 1;
}

.node-label {
  position: relative;
  z-index: 1;
}

.timeline-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 55%),
    var(--card-bg);
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
  min-height: 180px;
  animation: fadeInCard 200ms ease-out;
}

.timeline-card.future-card {
  border-style: dashed;
  border-color: rgba(236, 72, 153, 0.55);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 1), transparent 55%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.18), transparent 60%),
    rgba(255, 249, 252, 0.98);
}

.timeline-card.future-card h2::after {
  content: 'up next';
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244, 114, 182, 0.1);
  color: #b91c56;
  vertical-align: middle;
}

.timeline-card.future-card .future-generic {
  margin-top: 10px;
  font-weight: 500;
  color: #b91c56;
}

.timeline-card h2 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.timeline-card p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.timeline-card .final-line {
  margin-top: 6px;
  font-weight: 500;
  color: #c01a5b;
}

.final-card {
  border-color: rgba(236, 72, 153, 0.85);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 1), transparent 55%),
    radial-gradient(circle at bottom right, rgba(253, 164, 175, 0.7), transparent 60%),
    rgba(255, 244, 248, 0.98);
}

.footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer strong {
  color: #e2e8f0;
}

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

@media (max-width: 720px) {
  .page {
    padding: 26px 16px 36px;
  }

  .timeline-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px 16px 18px;
    border-radius: 24px;
  }

  .timeline {
    padding-left: 2px;
  }

  .timeline::before,
  .timeline-progress {
    left: 10px;
  }

  .timeline-node {
    padding-left: 26px;
    padding-right: 10px;
  }

  .node-dot {
    left: 5px;
  }
}

