/* Journeys */
.journeys {
  position: relative;
  background: var(--color-white);

  padding-bottom: 100px;
}

.VDJedC {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.journeys svg,
.journeys img {
  max-width: 980px;
  width: 100%;
  height: auto;
  display: block;
}

.journeys__notch {
  height: 18px;
  background: var(--color-border-light);
  position: relative;
}

.journeys__notch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid rgb(236, 236, 236);
}

.journeys__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 16px 72px;
  text-align: center;
}

.journeys__title {
  margin: 0 0 48px;
  color: var(--color-black);
  font-family: "Roboto Primary", sans-serif;
  text-align: center;
  font-size: 50px;
  font-weight: 400;
}

.journeys__title strong {
  font-family: "Roboto Accent", sans-serif;
  font-weight: bold;
}

.journeys__text {
  color: var(--color-black);
  font-family: "Roboto Primary", sans-serif;
  text-align: center;
  font-size: 22px;
  font-weight: 400;
}

/* ============================================
   USER JOURNEY SVG ANIMATION
   ============================================ */
============================================ */ .journey-animation svg {
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Force SVG text to use the loaded web fonts */

/* Initial hidden state */
.journey-animation #arrow-visit,
.journey-animation #arrow-visit-text,
.journey-animation #divider-top,
.journey-animation #divider-down,
.journey-animation #label-top-without,
.journey-animation #label-top-rebounce,
.journey-animation #arrow-bounce,
.journey-animation #arrow-bounce-text,
.journey-animation #arrow-competitor,
.journey-animation #arrow-competitor-text,
.journey-animation #arrow-competitor-icon,
.journey-animation #label-down-with,
.journey-animation #label-down-rebounce,
.journey-animation #arrow-rebouncepage,
.journey-animation #arrow-rebouncepage-text,
.journey-animation #arrow-recovery,
.journey-animation #arrow-recovery-text,
.journey-animation #arrow-purchase,
.journey-animation #arrow-purchase-text,
.journey-animation #arrow-purchase-icon {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* 1. Visits & Consideration */
.journey-animation.is-visible #arrow-visit,
.journey-animation.is-visible #arrow-visit-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* 2. Divider lines (slightly delayed after visits & consideration arrow) */
.journey-animation.is-visible #divider-top,
.journey-animation.is-visible #divider-down {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* 3. "Without" and then slightly delayed "rebounce.ai" */
.journey-animation.is-visible #label-top-without {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.journey-animation.is-visible #label-top-rebounce {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* 4. Then the upper arrow cascade */
.journey-animation.is-visible #arrow-bounce,
.journey-animation.is-visible #arrow-bounce-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.journey-animation.is-visible #arrow-competitor,
.journey-animation.is-visible #arrow-competitor-text,
.journey-animation.is-visible #arrow-competitor-icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* 5. "With" and then slightly delayed "rebounce.ai" */
.journey-animation.is-visible #label-down-with {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.3s;
}
.journey-animation.is-visible #label-down-rebounce {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

/* 6. Then the lower arrow cascade */
.journey-animation.is-visible #arrow-rebouncepage,
.journey-animation.is-visible #arrow-rebouncepage-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.7s;
}

.journey-animation.is-visible #arrow-recovery,
.journey-animation.is-visible #arrow-recovery-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.9s;
}

.journey-animation.is-visible #arrow-purchase,
.journey-animation.is-visible #arrow-purchase-text,
.journey-animation.is-visible #arrow-purchase-icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.1s;
}

@media (max-width: 900px) {
  .journeys__inner {
    padding: 54px 16px 60px;
  }
  .journeys__title {
    font-size: 32px;
  }
}
