/* Hero motion — canvas aurora + clean panel float */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f1 100%);
  --hero-scroll: 0px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-visual {
  min-width: 0;
}

.hero-visual-inner {
  transform: translate3d(0, var(--hero-scroll), 0);
}

.platform-shell {
  background: #ffffff;
  box-shadow:
    0 20px 60px rgba(17, 17, 17, 0.08),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.platform-float {
  animation: float-panel 9s ease-in-out infinite;
}

@keyframes float-panel {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

.inbox-row.highlight {
  box-shadow: 0 0 0 1px rgba(26, 79, 214, 0.14);
}

.hero .reveal {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .reveal.is-visible {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.solution-card,
.price-card,
.proof-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover,
.price-card:hover,
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.07);
}

.stat-value {
  background: linear-gradient(135deg, #111 0%, #3d3d38 70%, #1a4fd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee {
  position: relative;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
  .platform-float {
    animation: none;
  }

  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual-inner {
    transform: none;
  }

  #hero-canvas {
    display: none;
  }
}