.hero-workflow {
  background: linear-gradient(180deg, #101827 0%, #0f1726 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  max-width: 620px;
  min-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(24px);
}

.workflow-header {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbeafe;
  font-weight: 600;
}

.live-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #57c84d;
  box-shadow: 0 0 12px rgba(87, 200, 77, 0.6);
}

.workflow-camera {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.workflow-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-image-bird {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease-in-out;
}

.workflow-image-bird.is-visible {
  opacity: 1;
}

.detection-box {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 115px;
  height: 95px;
  border: 2px solid #03a9f4;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: scale(0.75);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.detection-box.is-visible {
  opacity: 1;
  transform: scale(1);
}

.species-card {
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 190px;
  min-height: 230px;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 18px;
  background: rgba(8, 22, 51, 0.82);
  border: 1px solid rgba(3, 169, 244, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.species-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.species-label {
  display: block;
  margin-bottom: 14px;
  color: #03a9f4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.species-card h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 1.25rem;
}

.confidence {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}

.confidence-value {
  color: #57c84d;
  font-size: 1.45rem;
  font-weight: 800;
}

.confidence-label {
  color: #a8b3cf;
  font-size: 0.85rem;
}

.observation-status {
  margin-top: 20px;
  color: #57c84d;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.observation-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}
