/* Home interaction layer */
.tx-process-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tx-process-band div {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 36, 67, 0.1);
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(23, 105, 255, 0.14), transparent 46%);
  box-shadow: 0 18px 52px rgba(7, 27, 58, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.tx-process-band div::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(23, 105, 255, 0.14) 34.2% 34.8%, transparent 35%),
    linear-gradient(60deg, transparent 0 68%, rgba(0, 191, 216, 0.16) 68.2% 68.8%, transparent 69%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.tx-process-band div::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal));
  transform: scaleX(0.34);
  transform-origin: center;
  transition: transform 220ms ease;
}

.tx-process-band div:hover {
  transform: translateY(-10px);
  border-color: rgba(23, 105, 255, 0.32);
  background:
    linear-gradient(180deg, #fff, rgba(244, 247, 250, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(23, 105, 255, 0.2), transparent 52%);
  box-shadow: 0 28px 70px rgba(7, 27, 58, 0.14);
}

.tx-process-band div:hover::before {
  opacity: 1;
}

.tx-process-band div:hover::after {
  transform: scaleX(1);
}

.tx-process-band .tx-step {
  position: absolute;
  left: 18px;
  top: 16px;
  margin: 0;
  color: rgba(7, 27, 58, 0.18);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.tx-process-band .tx-process-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(23, 105, 255, 0.25);
  font-size: 30px;
  line-height: 1;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tx-process-band div:hover .tx-process-icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.04);
  box-shadow: 0 22px 42px rgba(23, 105, 255, 0.34);
}

.tx-process-band strong,
.tx-process-band p {
  position: relative;
  z-index: 1;
}

.tx-process-band strong {
  margin-top: 0;
  font-size: 24px;
}

.tx-process-band p {
  max-width: 220px;
  margin: 12px auto 0;
  line-height: 1.55;
}

.tx-capability-list {
  gap: 14px;
}

.tx-audience-row .tx-capability-list li {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 36, 67, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 27, 58, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.tx-audience-row .tx-capability-list li .dashicons {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 10px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.1);
  font-size: 18px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.tx-audience-row .tx-capability-list li:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 255, 0.28);
  color: var(--ink);
  box-shadow: 0 20px 44px rgba(7, 27, 58, 0.1);
}

.tx-audience-row .tx-capability-list li:hover .dashicons {
  color: #fff;
  background: var(--blue);
  transform: rotate(-6deg) scale(1.04);
}

.tx-connection-path {
  isolation: isolate;
  gap: 14px;
}

.tx-connection-path::before {
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal));
}

.tx-connection-path span {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, #0d2a55, #071b3a);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.tx-connection-path span .dashicons {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.tx-connection-path span b {
  font-size: 14px;
}

.tx-connection-path span:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, #123569, #092247);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.24);
}

.tx-connection-path span:hover .dashicons {
  color: #fff;
  background: var(--blue);
  transform: translateY(-4px);
}

.tx-integration-list {
  gap: 14px;
}

.tx-integration-list span,
.tx-integration-list strong {
  position: relative;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(7, 27, 58, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tx-integration-list span {
  border: 1px solid rgba(15, 36, 67, 0.1);
}

.tx-integration-list span .dashicons {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.1);
  font-size: 22px;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.tx-integration-list strong {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.95), rgba(0, 191, 216, 0.86)),
    var(--ink);
  box-shadow: 0 24px 70px rgba(23, 105, 255, 0.22);
}

.tx-integration-list span:hover,
.tx-integration-list strong:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 105, 255, 0.28);
  box-shadow: 0 26px 62px rgba(7, 27, 58, 0.14);
}

.tx-integration-list span:hover .dashicons {
  color: #fff;
  background: var(--blue);
  transform: rotate(-5deg) scale(1.05);
}

@media (max-width: 980px) {
  .tx-process-band,
  .tx-connection-path,
  .tx-integration-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tx-integration-list strong {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .tx-process-band,
  .tx-connection-path,
  .tx-integration-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx-process-band div,
  .tx-process-band .tx-process-icon,
  .tx-audience-row .tx-capability-list li,
  .tx-connection-path span,
  .tx-integration-list span,
  .tx-integration-list strong {
    transition: none;
  }
}

/* Refined connection and integration blocks */
.tx-connection-path {
  position: relative;
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  gap: 0;
  margin-top: 54px;
  padding: 28px 20px 8px;
  overflow: visible;
}

.tx-connection-path::before {
  left: 8%;
  right: 8%;
  top: 54px;
  height: 2px;
  background: linear-gradient(90deg, rgba(23, 105, 255, 0.18), var(--cyan), rgba(29, 195, 177, 0.22));
  animation: txPathPulse 3s ease-in-out infinite;
}

.tx-connection-path > span {
  min-height: 116px;
  display: grid;
  grid-template-rows: 52px auto;
  justify-items: center;
  gap: 12px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tx-connection-path > span::before {
  content: "";
  position: absolute;
  top: 48px;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(0, 191, 216, 0.46);
  border-radius: 50%;
  background: #071b3a;
  transform: translateY(-50%);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.tx-connection-path > span .dashicons {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    #0c264f;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  font-size: 22px;
}

.tx-connection-path > span b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tx-connection-path > span:hover {
  transform: translateY(-6px);
  background: transparent;
  box-shadow: none;
}

.tx-connection-path > span:hover::before {
  border-color: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 191, 216, 0.08);
  transform: translateY(-50%) scale(1.08);
}

.tx-connection-path > span:hover .dashicons {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transform: translateY(-3px);
}

.tx-connection-path > span:hover b {
  color: #fff;
  border-color: rgba(0, 191, 216, 0.28);
  background: rgba(0, 191, 216, 0.08);
}

.tx-integration-list {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 36, 67, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(23, 105, 255, 0.08), transparent 36%),
    #fff;
  box-shadow: 0 24px 70px rgba(7, 27, 58, 0.08);
}

.tx-integration-list::before,
.tx-integration-list::after {
  content: "";
  position: absolute;
  inset: 19% 12%;
  border: 1px dashed rgba(23, 105, 255, 0.18);
  border-radius: 22px;
  pointer-events: none;
}

.tx-integration-list::after {
  inset: 12% 27%;
}

.tx-integration-list span,
.tx-integration-list strong {
  z-index: 1;
  min-height: 88px;
  gap: 8px;
  border-radius: 16px;
  box-shadow: none;
}

.tx-integration-list span {
  border: 1px solid rgba(15, 36, 67, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.tx-integration-list span .dashicons {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
}

.tx-integration-list span b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.tx-integration-list strong {
  min-height: 132px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  letter-spacing: 0.06em;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.96), rgba(0, 191, 216, 0.9)),
    var(--ink);
  box-shadow: 0 28px 78px rgba(23, 105, 255, 0.24);
}

.tx-integration-list span:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 255, 0.24);
  box-shadow: 0 18px 44px rgba(7, 27, 58, 0.1);
}

.tx-integration-list strong:hover {
  transform: translateY(-5px) scale(1.02);
}

@media (max-width: 980px) {
  .tx-connection-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
  }

  .tx-connection-path::before,
  .tx-connection-path > span::before {
    display: none;
  }

  .tx-connection-path > span {
    min-height: 92px;
    grid-template-rows: auto;
    grid-template-columns: 44px 1fr;
    justify-items: start;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .tx-integration-list strong {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
