/* Promo banner styles */
.promo-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--text-inverse);
  padding: var(--spacing-9) 0;
  margin: var(--spacing-8) 0;
  border-radius: var(--radius-base);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.promo-banner .promo-bg {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary-color) 0%, #1f6af0 30%, #1c4ef2 60%, #1131ef 80%, #4256da 100%);
}
.promo-banner .promo-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.12;
  mix-blend-mode: screen;
}

/* Integration header: make the intro paragraph more visible */
.integration-header {
  margin-bottom: 1.2rem;
}
.integration-header .section-title {
  margin-bottom: 0.5rem;
  text-align: center;
}
.integration-header p {
  margin: 0 auto;
  font-size: clamp(1rem, calc(0.95rem + 1.2vw), 1.68rem);
  color: rgba(35, 61, 99, 0.9);
  max-width: 880px;
  opacity: 0.95;
  padding: var(--spacing-5) 0;
  text-align: center;
}

/* service-card badge */
.service-card {
  position: relative;
  display: block;
  padding: var(--spacing-5);
  border-radius: var(--radius-card);
  background: var(--bg-primary);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  box-shadow: 0 6px 18px rgba(3, 45, 90, 0.04);
}
.service-card:focus {
  outline: 3px solid rgba(11, 116, 222, 0.14);
  outline-offset: 2px;
}

.service-head{
    display: flex;
    align-items: center;
    gap: var(--spacing-3);

}

.service-card h3{
    margin: 0;
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}
.service-card p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
  font-size: var(--text-base);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}
.service-card-badge {
  position: absolute;
  top: var(--spacing-3);
  right: var(--spacing-3);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-card-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* service-card illustration */
.service-card .service-illustration {
  margin: var(--spacing-2) 0 var(--spacing-3);
}
.service-card .service-illustration img {
  width: auto;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 767px) {
  .service-card .service-illustration img {
    height: 48px;
  }
}

.promo-banner .promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-7);
  padding: 0 var(--spacing-4);
}
.promo-banner .promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.promo-banner .promo-content {
  flex: 1;
  min-width: 0;
}

.promo-title {
  margin: 0 0 var(--spacing-3);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.03;
  /* Fluid typography: grows with viewport but stays within bounds */
  font-size: clamp(1.6rem, calc(1.1rem + 4.2vw), 4.4rem);
  background: linear-gradient(90deg, var(--text-inverse) 0%, #dbeeff 30%, rgba(255, 255, 255, 0.9) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-word;
}
.promo-sub {
  margin: 0 0 var(--spacing-4);
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
}

.banner-cta-soft {
  display: inline-block;
  background: var(--bg-primary);
  color: var(--link-color);
  padding: var(--spacing-3) var(--spacing-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  box-shadow: 0 6px 18px rgba(11, 116, 222, 0.18);
}
.promo-cta-row {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--spacing-2);
}

.promo-illustration {
  width: 360px;
  flex: 0 0 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illustration-placeholder {
  width: 320px;
  height: 200px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.video-wrap {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: 0 8px 30px rgba(3, 45, 90, 0.18);
}
.promo-video {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 0;
  filter: contrast(1.02) saturate(1.05) brightness(0.96) hue-rotate(-4deg);
}

/* Decorative subtle shapes */
.promo-shape {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(36px);
  opacity: 0.25;
  transform: translate3d(0, 0, 0);
}
.promo-shape.s1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, #1da1ff, #0b74de);
  left: -8%;
  top: -10%;
}
.promo-shape.s2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 70% 70%, #7be6ff, #2fa7ff);
  right: -6%;
  bottom: -8%;
}

@media (max-width: 991px) {
  /* fluid clamp covers most cases; reduce illustration size on smaller tablets */
  .promo-illustration {
    width: 260px;
    flex: 0 0 260px;
  }
  .illustration-placeholder {
    width: 220px;
    height: 160px;
  }
  /* center CTA on tablets via flex wrapper */
  .promo-cta-row {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .promo-inner {
    padding: 0;
  }
  .promo-row {
    flex-direction: column-reverse;
    gap: var(--spacing-5);
  }
  .promo-illustration {
    width: 100%;
    flex: 0 0 auto;
  }
  .illustration-placeholder {
    width: 100%;
    height: 220px;
  }
  /* keep text centered on small screens; font-size controlled by clamp */
  .promo-title {
    text-align: center;
  }
  .promo-sub {
    text-align: center;
  }
  .promo-cta-row {
    justify-content: center;
  }
}
