/* ==========================================================================
   LEAP for Business page
   ========================================================================== */

.business-page {
  --b2b-ink: #17113f;
  --b2b-ink-soft: #4d4670;
  --b2b-muted: #6f6890;
  --b2b-purple: #5b2bd6;
  --b2b-purple-deep: #4318a8;
  --b2b-purple-bright: #7a45ee;
  --b2b-lilac: #ede5ff;
  --b2b-lilac-soft: #f6f2fe;
  --b2b-line: #e6defa;
  background: #ffffff;
  color: var(--b2b-ink);
}

.b2b-container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ---- Shared pieces ---- */
.b2b-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #e6dbff;
  color: var(--b2b-purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.b2b-eyebrow {
  margin-bottom: 0.6rem;
  color: var(--b2b-purple);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.b2b-heading {
  margin-bottom: 1rem;
  color: var(--b2b-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  text-wrap: balance;
}

.b2b-heading--small {
  font-size: clamp(1.3rem, 1.8vw, 1.45rem);
}

.b2b-copy {
  margin-bottom: 1.5rem;
  color: var(--b2b-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.b2b-copy strong {
  color: var(--b2b-ink);
  font-weight: 600;
}

.b2b-copy--small {
  font-size: 0.875rem;
}

.b2b-text-gradient {
  color: var(--b2b-purple);
  background: linear-gradient(100deg, #5a26d9 0%, #8247f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.b2b-btn svg {
  flex: 0 0 auto;
}

.b2b-btn--small {
  min-height: 2.65rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.b2b-btn--primary {
  background: linear-gradient(135deg, #6a35e0 0%, #4a1db4 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(83, 38, 194, 0.26);
}

.b2b-btn--primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(83, 38, 194, 0.36);
}

.b2b-btn--outline {
  border-color: #b9a3f0;
  background: rgba(255, 255, 255, 0.82);
  color: var(--b2b-purple);
}

.b2b-btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--b2b-purple);
  background: #ffffff;
}

.b2b-btn--white {
  background: #ffffff;
  color: var(--b2b-purple-deep);
  box-shadow: 0 10px 24px rgba(28, 8, 84, 0.28);
}

.b2b-btn--white:hover {
  transform: translateY(-2px);
  color: var(--b2b-purple);
}

.b2b-btn:focus-visible {
  outline: 3px solid #a98bf5;
  outline-offset: 3px;
}

.b2b-icon-circle {
  display: grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f4edff 0%, #e2d5ff 100%);
  color: var(--b2b-purple-deep);
}

.b2b-icon-circle svg {
  width: 56%;
  height: 56%;
}

.b2b-icon-circle--lg {
  width: 3.4rem;
  height: 3.4rem;
}

.b2b-icon-circle--xl {
  width: 4.1rem;
  height: 4.1rem;
}

.b2b-icon-circle--xl svg {
  width: 50%;
  height: 50%;
}

/* ---- 2. Hero ---- */
.b2b-hero {
  position: relative;
  padding-top: 5.3rem;
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 10% 25%, rgba(124, 58, 237, 0.38) 0%, rgba(124, 58, 237, 0) 70%),
    radial-gradient(40% 55% at 88% 45%, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0) 70%),
    linear-gradient(160deg, #0c0626 0%, #1a0947 35%, #2a0f6b 60%, #1a0947 80%, #0c0626 100%);
  color: #ffffff;
}

.b2b-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  grid-template-areas:
    'content phone'
    'benefits phone';
  column-gap: 2rem;
}

.b2b-hero__photo {
  position: absolute;
  top: 0;
  right: 60px;
  z-index: 0;
  height: 27.5rem;
  aspect-ratio: 784 / 634;
  background:
    linear-gradient(180deg, rgba(42, 15, 107, 0.42) 0%, rgba(26, 9, 71, 0.62) 100%),
    url('../images/Business/hero-photo.jpg') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

.b2b-hero__content {
  position: relative;
  z-index: 2;
  grid-area: content;
  max-width: 34rem;
  padding: 2.4rem 0 2.6rem;
}

.b2b-hero__title {
  margin: 1rem 0 1.1rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.b2b-hero__description {
  max-width: 27.5rem;
  margin-bottom: 1.75rem;
  color: rgba(244, 240, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.6;
}

.b2b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
}

.b2b-hero__phone {
  position: relative;
  z-index: 3;
  grid-area: phone;
  align-self: center;
  padding: 1.5rem 0;
}

.b2b-hero__phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(5, 1, 33, 0.55)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.35));
}

.b2b-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-area: benefits;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2.1rem;
  list-style: none;
}

.b2b-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.b2b-benefit + .b2b-benefit {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.b2b-benefit__text {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Dark-hero variants of the shared pieces */
.b2b-hero .b2b-pill {
  border: 1px solid rgba(213, 190, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #dfd3ff;
}

.b2b-hero .b2b-text-gradient {
  color: #c4a6ff;
  background: linear-gradient(100deg, #d4bdff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.b2b-hero .b2b-btn--primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 10px 26px rgba(109, 40, 217, 0.45);
}

.b2b-hero .b2b-btn--outline {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.b2b-hero .b2b-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.b2b-hero .b2b-icon-circle {
  border: 1px solid rgba(213, 190, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: #d9c8ff;
}

/* ---- 3. Why LEAP ---- */
.b2b-why {
  padding: 3.5rem 0;
  background: var(--b2b-lilac-soft);
}

.b2b-why__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.b2b-why__intro .b2b-copy {
  max-width: 24rem;
}

.b2b-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.b2b-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.15rem 1rem;
  border: 1px solid #efe8fc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(71, 39, 150, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.b2b-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(71, 39, 150, 0.12);
}

.b2b-card__title {
  margin-bottom: 0.3rem;
  color: var(--b2b-ink);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.b2b-card__desc {
  color: var(--b2b-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ---- 4. Results + value ---- */
.b2b-value {
  padding: 3.75rem 0 2.5rem;
}

.b2b-value__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 2.25rem;
}

.b2b-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 0.42fr);
  align-self: stretch;
  overflow: hidden;
  border-radius: 16px;
  background: #f3edff;
}

.b2b-results__story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 23rem;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #6b3fd8 0%, #4a1fae 100%);
  color: #ffffff;
}

.b2b-results__photo {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 62%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
}

.b2b-results__quote,
.b2b-results__author {
  position: relative;
  z-index: 1;
  padding: 0 1.75rem;
}

.b2b-results__quote p {
  max-width: 19rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.b2b-results__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.9rem 0 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.b2b-results__avatar,
.b2b-testimonial__avatar {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.b2b-results__avatar svg,
.b2b-testimonial__avatar svg {
  width: 60%;
  height: 60%;
}

.b2b-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.5rem;
}

.b2b-stat {
  padding: 1.35rem 0;
}

.b2b-stat + .b2b-stat {
  border-top: 1px solid #ddd0f8;
}

.b2b-stat__value {
  color: var(--b2b-purple);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.b2b-stat__label {
  margin-top: 0.3rem;
  color: var(--b2b-ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.b2b-value__content .b2b-copy {
  max-width: 27rem;
  margin-bottom: 1.25rem;
}

.b2b-compare {
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(71, 39, 150, 0.05);
}

.b2b-compare__title {
  margin-bottom: 0.75rem;
  color: var(--b2b-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.b2b-compare__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  border: 1px solid #eee7fb;
  border-radius: 10px;
  overflow: hidden;
}

.b2b-compare__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0.9rem 0.3rem 0.8rem;
  text-align: center;
}

.b2b-compare__item + .b2b-compare__item {
  border-left: 1px solid #eee7fb;
}

.b2b-compare__item--leap {
  background: linear-gradient(180deg, #f1e9ff 0%, #e7dbff 100%);
  box-shadow: inset 0 0 0 1.5px #b79cf3;
  border-radius: 10px 0 0 10px;
}

.b2b-compare__item img {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 9px;
  object-fit: contain;
}

.b2b-compare__name {
  margin-top: 0.5rem;
  color: var(--b2b-ink);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.b2b-compare__item--leap .b2b-compare__name {
  letter-spacing: 0.12em;
}

.b2b-compare__price {
  display: flex;
  flex-direction: column;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  width: 100%;
  border-top: 1px solid #eee7fb;
  color: var(--b2b-ink);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
}

.b2b-compare__item--leap .b2b-compare__price {
  border-top-color: #cdbaf5;
  color: var(--b2b-purple);
  font-size: 1.25rem;
}

.b2b-compare__price small {
  margin-top: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
}

.b2b-compare__tag {
  margin-top: 0.6rem;
  color: var(--b2b-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.b2b-compare__item--leap .b2b-compare__tag {
  color: var(--b2b-purple);
  font-weight: 600;
}

.b2b-compare__note {
  margin-top: 0.75rem;
  color: var(--b2b-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* ---- 5. How it works ---- */
.b2b-how {
  padding: 0.5rem 0 1.25rem;
}

.b2b-how__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 18px;
  background: var(--b2b-lilac-soft);
}

.b2b-how__intro {
  padding-right: 1.5rem;
  border-right: 1px solid #dfd4f8;
}

.b2b-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.b2b-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.b2b-step + .b2b-step::before {
  content: '';
  position: absolute;
  top: 2.05rem;
  left: calc(-0.5rem - 11px);
  width: 22px;
  height: 14px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16' fill='none' stroke='%23b9a3f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8h19M15 2l6 6-6 6'/%3E%3C/svg%3E");
  transform: translateY(-50%);
}

.b2b-step__number {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.75rem 0 0.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--b2b-purple);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.b2b-step__title {
  margin-bottom: 0.35rem;
  color: var(--b2b-ink);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.b2b-step__desc {
  max-width: 10.5rem;
  color: var(--b2b-ink-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.b2b-testimonial {
  padding: 1.35rem 1.4rem;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(71, 39, 150, 0.07);
}

.b2b-testimonial blockquote p {
  color: #3a1f8f;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.b2b-testimonial__stars {
  margin: 0.7rem 0 0.8rem;
  color: #f6b921;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.b2b-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--b2b-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.b2b-testimonial__avatar {
  border-color: #c9b7f4;
  background: var(--b2b-lilac);
  color: var(--b2b-purple);
}

/* ---- 6. CTA banner ---- */
.b2b-cta {
  padding: 0 0 1.5rem;
}

.b2b-cta__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 15.5rem);
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 2.25rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(55% 140% at 45% 50%, rgba(167, 128, 255, 0.4) 0%, rgba(167, 128, 255, 0) 70%),
    linear-gradient(100deg, #4a1dab 0%, #6a35d8 50%, #4a1dab 100%);
  color: #ffffff;
}

.b2b-cta__leaf {
  width: 4.75rem;
  height: 4.75rem;
}

.b2b-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.b2b-cta__title span {
  color: #d9c8ff;
}

.b2b-cta__note {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---- Motion: ambient hero, staggered reveals, CTA sheen ---- */
.b2b-hero__inner {
  z-index: 1;
}

.b2b-hero__glow,
.b2b-hero__star {
  position: absolute;
  pointer-events: none;
}

.b2b-hero__glow {
  border-radius: 50%;
  filter: blur(70px);
}

.b2b-hero__glow--one {
  top: -6rem;
  left: -4rem;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(124, 58, 237, 0) 70%);
}

.b2b-hero__glow--two {
  right: 2%;
  bottom: -8rem;
  width: min(460px, 60vw);
  height: min(460px, 60vw);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(168, 85, 247, 0) 70%);
}

.b2b-hero__star {
  color: #d9b8ff;
  opacity: 0.7;
}

.b2b-hero__star--one { top: 20%; left: 44%; font-size: 1.1rem; }
.b2b-hero__star--two { top: 66%; left: 52%; font-size: 0.8rem; }
.b2b-hero__star--three { top: 17%; right: 4%; font-size: 1.5rem; }

.b2b-hero__phone::before {
  content: '';
  position: absolute;
  inset: 14% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55) 0%, rgba(168, 85, 247, 0) 68%);
  filter: blur(26px);
}

.b2b-cta__card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 32%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
}

.b2b-btn svg,
.b2b-card .b2b-icon-circle,
.b2b-step .b2b-icon-circle {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .b2b-hero__glow--one { animation: b2bDrift 9s ease-in-out infinite alternate; }
  .b2b-hero__glow--two { animation: b2bDrift 11s ease-in-out 1.5s infinite alternate-reverse; }

  .b2b-hero__star { animation: b2bTwinkle 3.6s ease-in-out infinite; }
  .b2b-hero__star--two { animation-delay: 1.1s; }
  .b2b-hero__star--three { animation-delay: 2s; }

  .b2b-hero__phone { animation: b2bFloat 6s ease-in-out 1.2s infinite; }
  .b2b-hero__phone::before { animation: b2bPulse 5s ease-in-out infinite alternate; }

  .b2b-benefit { animation: b2bFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .b2b-benefit:nth-child(1) { animation-delay: 0.4s; }
  .b2b-benefit:nth-child(2) { animation-delay: 0.5s; }
  .b2b-benefit:nth-child(3) { animation-delay: 0.6s; }
  .b2b-benefit:nth-child(4) { animation-delay: 0.7s; }

  .b2b-btn:hover svg { transform: translateX(4px); }
  .b2b-card:hover .b2b-icon-circle,
  .b2b-step:hover .b2b-icon-circle { transform: scale(1.1) rotate(-6deg); }

  /* Stats and steps arrive one after another once their panel is on screen */
  html.leap-js .b2b-results .b2b-stat,
  html.leap-js .b2b-how__panel .b2b-step,
  html.leap-js .b2b-how__panel .b2b-testimonial {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.leap-js .b2b-results.is-visible .b2b-stat,
  html.leap-js .b2b-how__panel.is-visible .b2b-step,
  html.leap-js .b2b-how__panel.is-visible .b2b-testimonial {
    opacity: 1;
    transform: none;
  }

  html.leap-js .b2b-results .b2b-stat:nth-child(1) { transition-delay: 0.2s; }
  html.leap-js .b2b-results .b2b-stat:nth-child(2) { transition-delay: 0.35s; }
  html.leap-js .b2b-results .b2b-stat:nth-child(3) { transition-delay: 0.5s; }

  html.leap-js .b2b-how__panel .b2b-step:nth-child(1) { transition-delay: 0.15s; }
  html.leap-js .b2b-how__panel .b2b-step:nth-child(2) { transition-delay: 0.3s; }
  html.leap-js .b2b-how__panel .b2b-step:nth-child(3) { transition-delay: 0.45s; }
  html.leap-js .b2b-how__panel .b2b-step:nth-child(4) { transition-delay: 0.6s; }
  html.leap-js .b2b-how__panel .b2b-testimonial { transition-delay: 0.75s; }

  .b2b-step + .b2b-step::before { animation: b2bNudge 1.8s ease-in-out infinite; }

  .b2b-compare__item--leap { animation: b2bHighlight 3.2s ease-in-out infinite; }

  .b2b-cta__card.is-visible::after { animation: b2bSheen 5.5s ease-in-out 0.8s infinite; }
  .b2b-cta__leaf { transform-origin: 50% 92%; animation: b2bSway 4.5s ease-in-out infinite alternate; }
}

@keyframes b2bDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(5%, 4%, 0) scale(1.12); }
}

@keyframes b2bTwinkle {
  0%, 100% { transform: scale(0.8); opacity: 0.35; }
  50% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes b2bFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes b2bPulse {
  from { transform: scale(0.92); opacity: 0.6; }
  to { transform: scale(1.08); opacity: 1; }
}

@keyframes b2bNudge {
  0%, 100% { transform: translate(0, -50%); opacity: 0.7; }
  50% { transform: translate(4px, -50%); opacity: 1; }
}

@keyframes b2bHighlight {
  0%, 100% { box-shadow: inset 0 0 0 1.5px #b79cf3, 0 0 0 rgba(122, 69, 238, 0); }
  50% { box-shadow: inset 0 0 0 1.5px #9a78ee, 0 0 18px rgba(122, 69, 238, 0.28); }
}

@keyframes b2bSheen {
  0% { left: -45%; }
  45%, 100% { left: 120%; }
}

@keyframes b2bSway {
  from { transform: rotate(-5deg); }
  to { transform: rotate(5deg); }
}

/* ---- Scroll reveal (only when JS is running) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.leap-js .b2b-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  }

  html.leap-js .b2b-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  html.leap-js .b2b-why__grid .b2b-reveal:nth-child(2),
  html.leap-js .b2b-why__grid .b2b-reveal:nth-child(5) { transition-delay: 0.07s; }
  html.leap-js .b2b-why__grid .b2b-reveal:nth-child(3),
  html.leap-js .b2b-why__grid .b2b-reveal:nth-child(6) { transition-delay: 0.14s; }

  html.leap-js .b2b-card.is-visible:hover {
    transform: translateY(-4px);
    transition-delay: 0s;
  }

  .b2b-hero__content > * {
    animation: b2bFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .b2b-hero__content > :nth-child(2) { animation-delay: 0.08s; }
  .b2b-hero__content > :nth-child(3) { animation-delay: 0.16s; }
  .b2b-hero__content > :nth-child(4) { animation-delay: 0.24s; }

  .b2b-hero__phone img {
    animation: b2bFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  }
}

@keyframes b2bFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .b2b-why__inner { grid-template-columns: 1fr; gap: 2rem; }
  .b2b-why__intro .b2b-copy { max-width: 38rem; }
  .b2b-how__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
  .b2b-testimonial { grid-column: 1 / -1; }
  .b2b-cta__card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .b2b-cta__note { display: none; }
}

@media (max-width: 1024px) {
  .b2b-hero__inner { grid-template-columns: minmax(0, 1fr) 215px; }
  .b2b-hero__photo {
    right: 40px;
    height: 25rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 58%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 12%, #000 58%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
  }
  .b2b-hero__description { max-width: 23rem; }
  .b2b-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
  .b2b-benefit + .b2b-benefit { padding-left: 0; border-left: 0; }
  .b2b-value__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .b2b-how__panel { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; }
  .b2b-how__intro { padding: 0 0 1.5rem; border-right: 0; border-bottom: 1px solid #dfd4f8; }
  .b2b-cta__card { grid-template-columns: auto minmax(0, 1fr); padding: 1.5rem; }
  .b2b-cta__card .b2b-btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 768px) {
  .b2b-container { width: min(1180px, calc(100% - 2.5rem)); }

  .b2b-hero { padding-top: 4.7rem; }

  .b2b-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      'content'
      'phone'
      'benefits';
  }

  .b2b-hero__photo {
    right: -1.25rem;
    left: -1.25rem;
    height: 19rem;
    aspect-ratio: auto;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 45%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }

  .b2b-hero__content { padding: 2rem 0 0.5rem; }
  .b2b-hero__phone { justify-self: center; width: min(250px, 66vw); padding: 1.25rem 0 0; }
  .b2b-benefits { padding: 1.5rem 0 2.25rem; }
  .b2b-why { padding: 2.75rem 0; }
  .b2b-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2b-value { padding: 2.75rem 0 2rem; }
}

@media (max-width: 600px) {
  .b2b-results { grid-template-columns: 1fr; }
  .b2b-results__story { min-height: 21rem; }
  .b2b-stats { flex-direction: row; gap: 1rem; padding: 0.5rem 1.25rem; }
  .b2b-stat { flex: 1 1 0; }
  .b2b-stat + .b2b-stat { padding-left: 1rem; border-top: 0; border-left: 1px solid #ddd0f8; }
  .b2b-stat__value { font-size: 1.55rem; }
  .b2b-stat__label { font-size: 0.76rem; }

  .b2b-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .b2b-step:nth-child(3)::before { display: none; }

  .b2b-compare__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2b-compare__item--leap { grid-column: 1 / -1; border-radius: 10px 10px 0 0; }
  .b2b-compare__item + .b2b-compare__item { border-top: 1px solid #eee7fb; }
  .b2b-compare__item:nth-child(2),
  .b2b-compare__item:nth-child(4) { border-left: 0; }
}

@media (max-width: 480px) {
  .b2b-hero__actions .b2b-btn { width: 100%; }
  .b2b-benefits { grid-template-columns: 1fr; }
  .b2b-why__grid { grid-template-columns: 1fr; }
  .b2b-cta__leaf { display: none; }
  .b2b-cta__card { grid-template-columns: 1fr; }
  .b2b-cta__card .b2b-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .b2b-btn,
  .b2b-card {
    transition: none;
  }

  .business-page .leap-footer .footer-brand,
  .business-page .leap-footer .footer-col,
  .business-page .leap-footer .footer-divider,
  .business-page .leap-footer .footer-copyright {
    opacity: 1 !important;
    transform: none !important;
  }
}
