/* Video hero overlay */
.video-hero-overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(29, 39, 105, 0.85) 0%,
      rgba(29, 39, 105, 0) 35%
    ),
    rgba(29, 39, 105, 0.4);
}

/* Video play/pause toggle button */
.video-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.video-toggle-btn:focus {
  outline: none;
}

.video-toggle-btn.is-paused {
  background-color: rgba(255, 255, 255, 0.3);
}

.video-toggle-btn.is-loading {
  opacity: 0.5;
  cursor: default;
}

/* Hero CTA white curved shape with inverted border radius */
.hero-cta-shape {
  position: relative;
  background: white;
  border-top-right-radius: 1.5rem;
  /* padding: top right bottom left - left matches header px-4/md:px-6 */
  padding: 1rem 1.5rem 1rem 1rem;
  align-self: flex-start;
}

/* Inverse curve - top left (dark curves down into white) */
.hero-cta-shape::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: radial-gradient(circle at 1.5rem 0, transparent 1.5rem, white 1.5rem);
}

/* Inverse curve - bottom right (dark curves left into white) */
.hero-cta-shape::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 1.5rem;
  height: 1.5rem;
  background: radial-gradient(circle at 1.5rem 0, transparent 1.5rem, white 1.5rem);
}

@media (min-width: 768px) {
  .hero-cta-shape::before,
  .hero-cta-shape::after {
    width: 2rem;
    height: 2rem;
    background: radial-gradient(circle at 2rem 0, transparent 2rem, white 2rem);
  }
}

.hero-cta-shape-inner {
  max-width: 1400px;
}
