/* ================================================================
 HERO PARALLAX — Mouse-tracking depth illusion
 STEMulus v 3.0 — cinematic immersive hero
 ================================================================ */

/* ── Hero Scene Container ─────────────────────────────────────── */
.hero-parallax-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #FFF8EE;
  display: flex;
  align-items: stretch;
}

/* ── Two-column layout ─────────────────────────────────────────── */
.hero-parallax-left {
  position: relative;
  z-index: 10;
  width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh 4vw 10vh 5vw;
  padding-top: calc(10vh + 80px); /* account for fixed nav */
}

.hero-parallax-right {
  position: relative;
  width: 48%;
  overflow: hidden;
}

/* ── Parallax Stage (right side) ───────────────────────────────── */
.parallax-stage {
  position: absolute;
  inset: -8%;  /* bleed out so edges don't show when tilting */
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.08s linear;
}

/* ── Image Layers ──────────────────────────────────────────────── */
.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Background gradient layer — slowest */
.parallax-layer--bg {
  background: radial-gradient(ellipse at 60% 50%, rgba(244, 96, 12, 0.12) 0%, transparent 65%),
 radial-gradient(ellipse at 30% 80%, rgba(91, 45, 142, 0.08) 0%, transparent 55%),
 radial-gradient(ellipse at 80% 20%, rgba(26, 35, 126, 0.06) 0%, transparent 50%);
  z-index: 1;
}

/* Floating blobs — medium speed */
.parallax-layer--blobs {
  z-index: 2;
  pointer-events: none;
}

.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.parallax-blob--1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(244, 96, 12, 0.6), transparent);
  top: 5%; right: 10%;
}
.parallax-blob--2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(91, 45, 142, 0.5), transparent);
  bottom: 15%; left: 8%;
}
.parallax-blob--3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(26, 35, 126, 0.4), transparent);
  top: 40%; right: 5%;
}

/* Main hero image — medium-fast */
.parallax-layer--image {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  display: block;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

/* Floating badges — fastest (most depth) */
.parallax-layer--badges {
  z-index: 10;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #1f2937;
  white-space: nowrap;
  will-change: transform;
  transition: transform 0.09s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: badge-float 4s ease-in-out infinite;
}

.floating-badge__icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge--1 { top: 12%; left: 2%; animation-delay: 0s; }
.badge--2 { bottom: 22%; left: 0%; animation-delay: 1s; }
.badge--3 { top: 55%; right: 2%; animation-delay: 2s; }
.badge--4 { top: 8%; right: 5%; animation-delay: 0.5s; }

@keyframes badge-float {
  0%, 100% { translate: 0 0px; }
  50%  { translate: 0 -8px; }
}

/* ── Hero Text Typography ──────────────────────────────────────── */
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange, #f4600c);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange, #f4600c);
  border-radius: 2px;
}

.hero-headline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1A237E;
  margin-bottom: 1.5rem;
}

.hero-headline .accent-word {
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: var(--orange, #f4600c);
  position: relative;
  display: inline-block;
}

/* Underline squiggle */
.hero-headline .accent-word::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 4px;
  background: url("data:image/svg+xml,% 3Csvg xmlns='http://www.w 3.org/2000/svg' viewBox='0 0 120 8'% 3E% 3Cpath d='M0 4 Q15 0 30 4 Q45 8 60 4 Q75 0 90 4 Q105 8 120 4' stroke='% 23f 4600c' stroke-width='2.5' fill='none' stroke-linecap='round'/% 3E% 3C/svg% 3E") repeat-x center;
  background-size: 60px 8px;
  opacity: 0.7;
}

.hero-body-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4A5568;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* ── CTA Buttons (hero) ────────────────────────────────────────── */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange, #f4600c);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* GPU-composite only properties — no flicker */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 20px rgba(244, 96, 12, 0.35);
}

.btn-hero-primary:hover {
  background: #d4520a;
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 8px 30px rgba(244, 96, 12, 0.45);
  color: white;
}

.btn-hero-primary:active {
  transform: translateY(-1px) translateZ(0);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #1A237E;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(26, 35, 126, 0.35);
  cursor: pointer;
  /* GPU-composite only — no flicker */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.btn-hero-secondary:hover {
  border-color: #1A237E;
  background: rgba(26, 35, 126, 0.06);
  transform: translateY(-3px) translateZ(0);
  color: #1A237E;
}

.btn-hero-secondary .wa-icon {
  width: 20px; height: 20px;
  fill: #25D366;
}

/* ── Trust Row ─────────────────────────────────────────────────── */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4600c, #FFB366);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  font-family: 'Nunito', sans-serif;
}

.hero-trust-avatars .avatar:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.4;
}

.hero-trust-text strong {
  color: #1f2937;
  font-weight: 700;
}

/* ── Stats strip inside hero ───────────────────────────────────── */
.hero-stats-strip-new {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A237E;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--orange, #f4600c);
}

.hero-stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-parallax-scene {
 flex-direction: column;
 min-height: auto;
  }

  .hero-parallax-left {
 width: 100%;
 padding: calc(90px + 4vh) 6vw 4vh;
 order: 1;
  }

  .hero-parallax-right {
 width: 100%;
 height: 50vw;
 min-height: 280px;
 max-height: 420px;
 order: 0;
  }

  .parallax-stage {
 inset: 0;
  }

  .parallax-hero-img {
 border-radius: 0;
 width: 100%;
 height: 100%;
 object-position: center 20%;
  }

  .hero-headline {
 font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .floating-badge {
 font-size: 0.72rem;
 padding: 8px 12px;
  }

  .badge--1 { top: 8%; left: 4%; }
  .badge--2 { display: none; }
  .badge--3 { top: auto; bottom: 12%; right: 4%; }
  .badge--4 { top: 8%; right: 4%; }

  .hero-stats-strip-new {
 gap: 1.2rem;
 margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  .hero-cta-group {
 flex-direction: column;
 align-items: flex-start;
  }

  .hero-trust-row {
 flex-direction: column;
 align-items: flex-start;
  }
}
