/* Header logo: larger, no padding (nav bar height unchanged) */
header #logo,
header .de-flex > .de-flex-col:first-child {
  padding: 0 !important;
}
header #logo img.logo-main,
header #logo img.logo-scroll,
header #logo img.logo-mobile {
  max-width: 200px !important;
  width: auto;
  height: auto;
  max-height: 48px !important;
}

/* Static hero header (no slider) */
#section-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Replace ticket/pricing card background images with solid colour */
.d-ticket,
.d-ticket.s2,
.d-ticket.s3 {
  background: #2d1f4e !important;
  background-image: none !important;
}

/* Data stack diagram (Pricing / Data Stack section) – 4-stage pipeline */
.data-stack-diagram .stack-row {
  min-height: 180px;
}

.data-stack-diagram .stack-stage-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.data-stack-diagram .stack-stage {
  padding: 1rem;
  min-width: 120px;
  flex: 0 1 auto;
}

.data-stack-diagram .stack-stage.stack-sources .stack-boxes {
  min-width: 140px;
}

.data-stack-diagram .stack-box {
  background: rgba(118, 77, 240, 0.35);
  border: 1px solid rgba(118, 77, 240, 0.6);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
}

.data-stack-diagram .stack-box-lg {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-stack-diagram .stack-box-multi {
  font-size: 0.85rem;
}

.data-stack-diagram .stack-box-single {
  min-width: 120px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.data-stack-diagram .stack-box-title {
  font-size: 1rem;
}

.data-stack-diagram .stack-box-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.data-stack-diagram .stack-divider {
  width: 1px;
  min-height: 100px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(118, 77, 240, 0.5),
    rgba(118, 77, 240, 0.5) 4px,
    transparent 4px,
    transparent 8px
  );
  flex-shrink: 0;
  margin: 0 0.5rem;
  align-self: center;
}

.data-stack-diagram .stack-arrow-wrap {
  flex-shrink: 0;
  padding: 0 0.25rem;
}

.data-stack-diagram .stack-arrow {
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  .data-stack-diagram .stack-row {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .data-stack-diagram .stack-divider {
    width: 80%;
    min-height: 1px;
    margin: 0.25rem 0;
    background: repeating-linear-gradient(
      to right,
      rgba(118, 77, 240, 0.5),
      rgba(118, 77, 240, 0.5) 4px,
      transparent 4px,
      transparent 8px
    );
  }
  .data-stack-diagram .stack-arrow-wrap {
    transform: rotate(90deg);
  }
}

/* Ticker banner – stack logos (white logos on dark background) */
.stack-logo-ticker {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* Contact form */
.contact-form-sourcevale .form-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.contact-form-sourcevale .form-control {
  color: #fff !important;
}

.contact-form-sourcevale .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form-sourcevale .form-control:focus {
  border-color: rgba(118, 77, 240, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(118, 77, 240, 0.2);
}
