/* Cherryboard: reduce section bottom padding; keep it only on last section */
.section {
  padding-bottom: 0 !important;
}
.section.section-last {
  padding-bottom: 100px !important;
}

/* Supported data sources: squared icon boxes in scrolling track */
.source-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 128px;
}
.source-icon-box {
  width: 128px;
  height: 128px;
  padding: 1rem;
  flex-shrink: 0;
  box-sizing: border-box;
  background-color: white;
}
.source-icon-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.source-icon-caption {
  display: block;
  margin-top: 0.5rem;
  padding: 0.15em 0.25em;
  font-size: 16px;
  line-height: 1.2;
  color: #adadad;
  text-align: center;
  max-width: 128px;
  font-weight: bold;
  min-height: 2.4em;
  background-color: var(--bs-body-bg, #1c2836);
  position: relative;
  z-index: 1;
}
.source-icons-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.source-icons-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  animation: source-icons-scroll 25s linear infinite;
}
/* Each segment = 8 boxes (128px) + 7 gaps (1rem). align-items: flex-start keeps icons aligned when captions wrap */
.source-icons-segment {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 0 0 calc(8 * 128px + 7 * 1rem);
  min-width: 0;
  padding: 0.5rem 1rem;
}
/* Move by exactly one segment + one gap so loop has same spacing as between icons */
@keyframes source-icons-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * (8 * 128px + 8 * 1rem))); }
}

/* Nav: branding color for active/hover (override template #f7961c) */
#topnav .navigation-menu > li.active > a,
#topnav .navigation-menu > li:hover > a {
  color: #fd6a03 !important;
}
@media (min-width: 992px) {
  #topnav .navigation-menu > li.active > a,
  #topnav .navigation-menu > li:hover > a {
    color: #fd6a03 !important;
  }
}

/* Back to top button: branding color */
#back-to-top.back-to-top,
a.back-to-top {
  background: #fd6a03 !important;
}
#back-to-top.back-to-top:hover,
a.back-to-top:hover {
  background: #e05d02 !important;
}

/* Hero: centered stack layout (title → laptop → description → buttons) */
.hero-section {
  overflow: visible;
}
/* Override bg-half-170 padding (170px → 40px) */
.hero-section.bg-half-170 {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
/* Laptop wrapper: in-flow, centered */
.hero-laptop-outer {
  position: relative;
  width: 70%;
  max-width: 820px;
  margin: 0 auto;
  pointer-events: none;
}
/* Override glow blob color to match new brand color #fd6a03 */
.hero-laptop-outer.ai-hero .image:after {
  background-color: rgba(253, 106, 3, 0.35) !important;
}
/* Center the ai-hero spinning rings around the laptop */
.hero-laptop-outer.ai-hero::before,
.hero-laptop-outer.ai-hero::after {
  left: 50%;
  right: auto;
}
.hero-laptop-outer.ai-hero::after {
  margin-left: -288px; /* half of 576px */
}
.hero-laptop-outer.ai-hero::before {
  margin-left: -384px; /* half of 768px */
}
/* Responsive: shrink on smaller screens */
@media (max-width: 991px) {
  .hero-laptop-outer {
    width: 90%;
  }
}
/* Hide laptop animation on small screens to avoid horizontal scrolling */
@media (max-width: 767px) {
  .hero-laptop-outer {
    display: none !important;
  }
}
.hero-laptop-wrap {
  width: 100%;
  position: relative;
}
.hero-laptop-wrap::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 18px;
  background: #2d3748;
  border-radius: 0 0 10px 10px;
}
.hero-laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b0e14;
  border: 14px solid #2d3748;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.4);
}
.hero-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}
/* All cards use same background #222e3d */
.hero-slot {
  background: #222e3d;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-slot-tall {
  grid-row: span 2;
}
.hero-content-layer {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-weight: bold;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  will-change: transform;
  padding: 6px;
  box-sizing: border-box;
}
/* Images fit inside slot without cropping */
.hero-content-layer img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-s1,
.hero-s2,
.hero-s3 {
  background: #222e3d;
}
/* S2/S3 hidden by CSS until GSAP initializes; after that, clipped by overflow:hidden via transform */
.hero-s2,
.hero-s3 {
  visibility: hidden;
}

/* Lists with check icon: wrapped text aligns with statement start, not under the icon */
.list-icon-wrap li {
  position: relative;
  padding-left: 2rem;
}
.list-icon-wrap li > span.text-primary {
  position: absolute;
  left: 0;
  top: 0.2em;
}

/* Footer: prevent logo from causing horizontal scroll or misalignment on small screens */
.footer {
  overflow-x: hidden;
}
.footer .container {
  max-width: 100%;
}
.logo-footer {
  display: inline-block;
  max-width: 100%;
}
.logo-footer img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 767px) {
  .logo-footer {
    max-width: 220px;
    margin-top: 25px;
  }
  .logo-footer img {
    max-width: 220px;
  }
}

/* Footer badges (Stripe + Privacy) */
.footer-stripe-img {
  width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}
.footer-badges {
  font-size: 0.875rem;
}
.footer-badge-stripe .footer-stripe-badge {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.9;
}
.footer-badge-stripe:hover .footer-stripe-badge {
  opacity: 1;
}
.footer-badge-privacy {
  color: var(--bs-body-color, #adb5bd);
  white-space: nowrap;
}
.footer-badge-privacy .uil-shield-check {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.footer-badge-text {
  font-size: 0.8rem;
}
@media (max-width: 575px) {
  .footer-badges {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  .footer-badge-privacy {
    white-space: normal;
    text-align: center;
  }
}

/* Security / Trust Center: Zero-ETL highlight card */
.security-zerotl-card {
  background: linear-gradient(135deg, rgba(253, 106, 3, 0.08) 0%, rgba(253, 106, 3, 0.02) 100%);
}

/* Cookie consent banner (GDPR) */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(33, 37, 41, 0.98);
  color: #e9ecef;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.cookie-consent-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cookie-consent-text {
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
.cookie-consent-actions {
  flex-shrink: 0;
}
.cookie-consent-banner .btn-primary {
  background: #fd6a03;
  border-color: #fd6a03;
}
.cookie-consent-banner .btn-primary:hover {
  background: #e05d02;
  border-color: #e05d02;
}
@media (max-width: 575px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}

