/* Final interaction polish for the homepage solution card and support ball. */

body.home-page .customer-service-container-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

body.home-page .customer-service-actions {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding-inline: 0 !important;
}

body.home-page .customer-service-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

body.home-page .customer-service-action svg {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body.home-page .customer-service-action .text {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  transform: none !important;
}

body.home-page .industry-tabs-nav-shell {
  gap: 10px !important;
  align-items: center !important;
}

body.home-page .industry-tabs-nav {
  padding: 2px !important;
  border: 1px solid #dce6f5 !important;
  border-radius: 16px !important;
  background: #f7faff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(42, 74, 137, 0.08) !important;
}

body.home-page .industry-tab-btn {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #6f7f98 !important;
  font-weight: 650 !important;
  transition: color 180ms ease, background-color 180ms ease,
    box-shadow 180ms ease !important;
}

body.home-page .industry-tab-btn.is-active {
  color: #1e4ed8 !important;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%) !important;
  box-shadow: 0 4px 12px rgba(43, 88, 249, 0.14),
    inset 0 0 0 1px rgba(111, 151, 239, 0.18) !important;
}

body.home-page .industry-tab-btn.is-active::after {
  right: auto !important;
  bottom: 3px !important;
  left: 50% !important;
  width: 34px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #2b58f9 !important;
  opacity: 1 !important;
  transform: translateX(-50%) !important;
}

body.home-page .industry-tabs-nav-arrow {
  display: none !important;
  flex: 0 0 42px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #d7e3f8 !important;
  border-radius: 50% !important;
  background: #f5f8ff !important;
  color: #3d6bd8 !important;
  box-shadow: 0 5px 14px rgba(48, 82, 151, 0.1) !important;
  transition: background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, transform 180ms ease, opacity 180ms ease !important;
}

body.home-page .industry-tabs-nav-shell[data-has-overflow='true']
  .industry-tabs-nav-arrow {
  display: inline-flex !important;
}

body.home-page .industry-tabs-nav-arrow:not(:disabled):hover {
  border-color: #a9c1f5 !important;
  background: #eaf1ff !important;
  color: #1e4ed8 !important;
  transform: translateY(-1px) !important;
}

body.home-page .industry-tabs-nav-arrow:disabled {
  opacity: 0.62 !important;
  color: #9aa9be !important;
  background: #f7f9fc !important;
  box-shadow: none !important;
}

body.home-page .industry-detail-image {
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 767px) {
  body.home-page .industry-tabs-nav-shell {
    gap: 8px !important;
  }

  body.home-page .industry-tabs-nav {
    min-width: 0 !important;
    padding: 2px !important;
  }

  body.home-page .industry-tabs-nav-arrow {
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }

  body.home-page .industry-tab-btn {
    min-height: 54px !important;
  }

  body.home-page .industry-detail-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }
}

@media (min-width: 768px) {
  body.home-page .statistics-scale-inner {
    padding-right: 120px !important;
  }

  body.home-page .statistics-scale-grid {
    grid-template-columns: repeat(4, 140px) !important;
    grid-auto-rows: minmax(58px, auto) !important;
    width: 650px !important;
  }

  body.home-page .statistics-scale-image {
    position: absolute !important;
    right: 120px !important;
    bottom: 0 !important;
    z-index: 2 !important;
    width: auto !important;
    height: 280px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28)) !important;
  }

  body.home-page .statistics-scale-section,
  body.home-page .statistics-scale-inner {
    overflow: visible !important;
  }
}
