/* Code Systems Information Section */
.code-systems-info {
  padding: 60px 20px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.system-info-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.system-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.system-info-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.system-info-card:hover::before {
  transform: scaleX(1);
}

.system-badge {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.system-info-card h3 {
  font-size: 16px;
  color: #1f2937;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.system-description {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.system-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item:nth-child(4):not(:last-child) {
  padding-top: 12px;
  border-top: 1px solid #d1d5db;
  margin-top: 8px;
}

.detail-item:nth-child(4):last-child {
  padding-top: 12px;
  margin-top: 8px;
  border-top: none;
}

.detail-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  min-width: 70px;
}

.detail-value {
  font-size: 12px;
  color: #1f2937;
  text-align: right;
  flex: 1;
}

.system-info-card.highlighted {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  animation: highlightPulse 0.4s ease;
}

@keyframes highlightPulse {
  0% {
    transform: scale(0.98);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .code-systems-info {
    padding: 40px 20px;
  }

  .systems-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .system-info-card {
    padding: 16px;
  }

  .system-info-card h3 {
    font-size: 14px;
  }

  .system-description {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .detail-item {
    flex-direction: column;
    gap: 4px;
  }

  .detail-value {
    text-align: left;
  }
}
