/* ============================================
   HERO CAROUSEL
   Animated slideshow replacing static report card
   White card with drop-shadow, tilted, auto-rotating slides
   ============================================ */
.landing-hero-graphic {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-free-credits {
  display: none;
}

.hero-carousel {
  width: 460px;
  height: 320px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-carousel-visual {
  flex: 1;
  opacity: 1;
  transform: scale(1);
  transition: all 0.2s ease-out;
}

.hero-carousel-visual.transitioning {
  opacity: 0;
  transform: scale(0.98);
}

.hero-carousel-caption {
  padding: 0 var(--space-5) var(--space-10) var(--space-6);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s ease-out;
}

.hero-carousel-caption.transitioning {
  opacity: 0;
  transform: translateY(var(--space-2));
}

.hero-carousel-insight {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--black);
  margin: 0 0 var(--spacing-2xs);
  line-height: var(--lh-body);
}

.hero-carousel-detail {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  color: var(--gray-dark);
  margin: 0;
  line-height: var(--lh-body);
}

.carousel-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: var(--space-8);
  gap: var(--space-5);
}

.carousel-stat-block {
  text-align: center;
  min-width: 110px;
}

.carousel-stat-big {
  font-size: 64px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  letter-spacing: -3px;
}

.carousel-stat-label {
  font-size: var(--text-xs);
  color: var(--black);
  font-weight: var(--font-semibold);
  margin-top: var(--spacing-2xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-chart-area {
  flex: 1;
  position: relative;
  height: 100%;
}

.carousel-svg-full {
  width: 100%;
  height: 100%;
}

.carousel-bars-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  padding: 0 var(--space-5);
}

.carousel-hbar-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.carousel-hbar-label {
  font-size: 10px;
  color: var(--gray-mid);
  width: 50px;
  text-align: right;
}

.carousel-hbar-track {
  flex: 1;
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
}

.carousel-hbar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
}

.carousel-quadrant-area {
  flex: 1;
  position: relative;
  height: 100%;
}

.carousel-quadrant-h {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.carousel-quadrant-v {
  position: absolute;
  top: 8%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.carousel-you-dot {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  box-shadow: var(--shadow-md);
}

.carousel-dot-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: var(--spacing-2xs);
  padding: var(--space-3) var(--space-5);
}

.carousel-grid-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.carousel-grid-dot.filled {
  background: var(--pink);
}

@keyframes carousel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes carousel-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes carousel-run-down {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.carousel-float {
  animation: carousel-float 3s ease-in-out infinite;
}

.carousel-pulse {
  animation: carousel-pulse 2s ease-in-out infinite;
}

.carousel-run-dot {
  offset-path: path('M15,45 C30,42 40,30 55,25 C70,20 80,35 95,40 C110,45 120,28 135,55 C150,82 170,110 195,125');
  animation: carousel-run-down 3s ease-in-out infinite;
}

/* ============================================
   HERO CAROUSEL - RESPONSIVE (768px)
   ============================================ */
@media (max-width: 768px) {
  .landing-hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px 30px;
    order: 1;
  }

  .hero-carousel {
    width: 240px;
    height: 170px;
    border-radius: 16px;
    transform: rotate(-6deg);
  }

  .hero-carousel-visual {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .hero-carousel-caption {
    flex-shrink: 0;
    padding: 6px 10px 10px 12px;
  }

  .hero-carousel-insight {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 1px;
  }

  .hero-carousel-detail {
    font-size: 8px;
    line-height: 1.3;
  }

  .carousel-slide-inner {
    padding: 6px;
    gap: 5px;
  }

  .carousel-stat-block {
    min-width: 60px;
  }

  .carousel-stat-big {
    font-size: 22px;
    letter-spacing: -1px;
  }

  .carousel-stat-label {
    font-size: 6px;
    margin-top: 1px;
  }

  .carousel-bars-area {
    gap: 5px;
    padding: 0 6px;
  }

  .carousel-hbar-row {
    gap: 5px;
  }

  .carousel-hbar-label {
    font-size: 7px;
    width: 34px;
  }

  .carousel-hbar-track {
    height: 6px;
  }

  .carousel-dot-grid {
    gap: 2px;
    padding: 4px 6px;
  }

  .carousel-grid-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-you-dot {
    font-size: 8px;
  }

  .hero-free-credits {
    display: flex;
    justify-content: center;
    padding: 19px 0;
    background: var(--white);
  }

  .hero-free-credits .btn {
    width: 251px;
    height: 62px;
    font-size: 22px;
    font-weight: var(--font-semibold);
    border-radius: 12px;
    background: var(--black);
    color: white;
    letter-spacing: -0.95px;
  }
}
