/* ===== STEP 1: HORIZONTAL FLOW - ULTRA COMPACT ===== */

.flow-cards {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* ===== FLOW CARD - ULTRA COMPACT ===== */

.flow-card {
  width: 90px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.flow-card h3 {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: #2A2A2E;
  margin: 0 0 4px 0;
}

.flow-card p {
  font-size: 8px;
  color: #64748B;
  margin: 0;
  line-height: 1.3;
}

/* ===== CARD 1: YOUR KNOWLEDGE - CLUSTER LAYOUT ===== */

.sources-cluster {
  position: relative;
  width: 100%;
  height: 70px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-icon {
  position: absolute;
  opacity: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
  animation: fadeInDrift 4s ease-in-out forwards;
}

.source-icon svg {
  width: 22px;
  height: 22px;
  color: #64748B;
  stroke-width: 1.5;
}

.source-icon-brand img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Cluster positioning - 6 icons in 2 rows */
.source-icon:nth-child(1) {
  top: 2px;
  left: 4px;
  animation-delay: 0ms;
}

.source-icon:nth-child(2) {
  top: 2px;
  left: calc(50% - 11px);
  animation-delay: 100ms;
}

.source-icon:nth-child(3) {
  top: 2px;
  right: 4px;
  animation-delay: 200ms;
}

.source-icon:nth-child(4) {
  bottom: 2px;
  left: 4px;
  animation-delay: 300ms;
}

.source-icon:nth-child(5) {
  bottom: 2px;
  left: calc(50% - 11px);
  animation-delay: 400ms;
}

.source-icon:nth-child(6) {
  bottom: 2px;
  right: 4px;
  animation-delay: 500ms;
}

/* Gentle fade-in with subtle drift - plays once */
@keyframes fadeInDrift {
  0% {
    opacity: 0;
    transform: translateX(-3px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  70% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== CARD 2: JUST FORWARD (WHATSAPP) ===== */

.whatsapp-icon {
  width: 28px;
  height: 28px;
  color: #25D366;
  margin-bottom: 6px;
}

/* ===== CARD 3: SMART EXTRACTION ===== */

.extraction-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  margin-top: 8px;
  padding-left: 20px;
}

.funnel-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.funnel-icon svg {
  width: 14px;
  height: 14px;
  color: #C12C5A;
}

.extraction-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 500;
  color: #2A2A2E;
  white-space: nowrap;
}

/* ===== CARD 4: COMPANY BRAIN READY ===== */

.brand-logo {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C12C5A 0%, #FF4D3D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.ready-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}

.ready-check svg {
  width: 10px;
  height: 10px;
  color: #FFFFFF;
  stroke-width: 3;
}

/* ===== FLOW ARROWS ===== */

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: #CBD5E1;
  align-self: center;
}

/* ===== RESPONSIVE: MOBILE STACK ===== */

@media (max-width: 768px) {
  .flow-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 16px;
  }

  .flow-card {
    width: 100%;
    max-width: 220px;
  }

  .flow-arrow {
    display: none;
  }

  .extraction-visual {
    padding-left: 0;
    align-items: center;
  }

  .funnel-icon {
    position: static;
    transform: none;
    margin-bottom: 4px;
  }
}

/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  .flow-card,
  .source-box {
    transition: none;
  }
}
