/* Keeps each integration lane distinct and readable at all breakpoints. */
.integration-visual {
  min-height: 420px;
  padding: 28px;
}

.flow-title { margin: 0; }

.flow-row {
  position: absolute;
  left: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
  gap: 4px;
  align-items: center;
}

.flow-row:first-of-type { top: 85px; }
.flow-row.second { top: 155px; margin: 0; }

.flow-row span {
  padding: 9px 4px;
  text-align: center;
  font-size: 9px;
  line-height: 1.2;
}

.flow-row i { text-align: center; }

.flow-core {
  top: 238px;
  transform: translateX(-50%);
  width: 210px;
  padding: 13px 8px;
}

.external { bottom: 30px; }

.integration-highlights {
  display: grid;
  gap: 10px;
  margin: 24px 0 20px;
}

.integration-highlight {
  border: 1px solid #dbe7f2;
  border-left: 3px solid #1677ff;
  border-radius: 6px;
  padding: 13px 14px;
  background: #fff;
}

.integration-highlight.cloud { border-left-color: #16c6c2; }
.integration-highlight span { color: #1677ff; font: 800 9px Inter, sans-serif; letter-spacing: .1em; }
.integration-highlight.cloud span { color: #078b88; }
.integration-highlight h3 { margin: 5px 0 4px; font-size: 14px; }
.integration-copy .integration-highlight p { margin: 0; color: #617289; font-size: 12px; line-height: 1.5; }

@media (max-width: 560px) {
  .integration-visual { min-height: 400px; padding: 22px; }
  .flow-row {
    left: 20px;
    right: 20px;
    grid-template-columns: minmax(0, 1fr) 13px minmax(0, 1fr) 13px minmax(0, 1fr);
    gap: 2px;
  }
  .flow-row:first-of-type { top: 72px; }
  .flow-row.second { top: 138px; }
  .flow-row span { font-size: 8px; padding: 8px 3px; }
  .flow-core { top: 210px; width: 190px; }
  .external { bottom: 24px; }
  .integration-highlights { margin-top: 20px; }
}

/* Subtle motion communicates continuity without turning the page into a dashboard. */
@keyframes flow-pulse {
  0%, 62%, 100% { color: #1677ff; opacity: .45; transform: translateX(0); }
  72% { color: #16c6c2; opacity: 1; transform: translateX(2px); }
}

@keyframes connect-glow {
  0%, 100% { box-shadow: 0 10px 22px rgba(16,36,63,.2); }
  50% { box-shadow: 0 13px 28px rgba(22,119,255,.24), 0 0 0 5px rgba(22,198,194,.07); }
}

@keyframes endpoint-pulse {
  0%, 100% { border-color: #ccd9e6; color: #5c7087; }
  50% { border-color: #9cdedb; color: #087c7b; }
}

.flow-row i { animation: flow-pulse 4.8s ease-in-out infinite; }
.flow-row i:nth-of-type(2) { animation-delay: .45s; }
.flow-row.second i { animation-delay: 1.1s; }
.flow-row.second i:nth-of-type(2) { animation-delay: 1.55s; }
.flow-core { animation: connect-glow 4.8s ease-in-out infinite; }
.external b { animation: endpoint-pulse 4.8s ease-in-out infinite; }
.external b:nth-child(2) { animation-delay: .6s; }
.external b:nth-child(3) { animation-delay: 1.2s; }

.module, .sector-card, .integration-highlight {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.module:hover, .sector-card:hover, .integration-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16,36,63,.08);
}

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .button:disabled { cursor: wait; opacity: .72; transform: none; }

/* Give the product mark enough presence in the primary navigation. */
.brand img { width: 154px; }

@media (max-width: 560px) {
  .brand img { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
