/* Main Content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.main-departure {
  --primary: #1152d4;
  --primary-hover: #0d41a8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

.main-departure .hero-departure {
  margin-bottom: 64px;
}

.main-departure .hero-departure h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.main-departure .hero-departure p {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 500;
}

/* Timeline */
.main-departure .timeline {
  position: relative;
}

.main-departure .timeline-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 40px;
}

.main-departure .timeline-item:last-child {
  padding-bottom: 0;
}

/* Vertical Line */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.main-departure .timeline-item:last-child::before {
  display: none;
}

.main-departure .timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-departure .timeline-icon svg {
  transition: transform 0.3s ease;
}

.main-departure .timeline-item:hover .timeline-icon {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(17, 82, 212, 0.25);
}

.timeline-item:hover .timeline-icon.success {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.main-departure .timeline-item:hover .timeline-icon svg {
  transform: rotate(-10deg) scale(1.1);
}

.main-departure .timeline-icon.success {
  background: var(--success);
}

.main-departure .timeline-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.main-departure .timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  border-color: #94a3b8;
}

.main-departure .timeline-item:hover .timeline-card {
  border-color: #94a3b8;
}

.timeline-card.highlighted {
  background: rgba(17, 82, 212, 0.03);
  border: 2px dashed rgba(17, 82, 212, 0.2);
}

.main-departure .timeline-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.main-departure .timeline-card p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 90%;
}

.main-departure .badge {
  background: rgba(17, 82, 212, 0.1);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-departure h1 {
    font-size: 28px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
