.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.5);
}
.security-overlay {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.security-overlay:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(186, 0, 19, 0.4);
  transform: translateY(-2px);
}
.micro-grid {
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}
.blade-transition {
  transition: flex-grow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: flex-grow, width, transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.blade:hover {
  flex-grow: 2;
}

/* Timeline Layout */
.timeline-container {
  position: relative;
  width: 100%;
  padding: 40px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(186, 0, 19, 0.15);
}
.timeline-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 64px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ba0013;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(186, 0, 19, 0.15);
  z-index: 10;
  transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-badge {
  transform: translateX(-50%) scale(1.25);
}
.timeline-panel {
  width: 44%;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid rgba(231, 189, 184, 0.3);
  border-radius: 24px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
}
.timeline-empty {
  width: 44%;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }
  .timeline-item {
    flex-direction: row !important;
    margin-bottom: 40px;
  }
  .timeline-badge {
    left: 20px;
    transform: translateX(-50%);
  }
  .timeline-item:hover .timeline-badge {
    transform: translateX(-50%) scale(1.25);
  }
  .timeline-panel {
    width: calc(100% - 48px);
    margin-left: 48px;
  }
  .timeline-empty {
    display: none;
  }
}
