/* Home hero: centered horizontal layout + video */

.home-hero-agents {
  --hha-accent: #155eee;
  --hha-accent-soft: #eef4ff;
  --hha-accent-border: rgba(21, 94, 238, 0.18);
  margin: 0 auto;
  max-width: var(--landing-content-width);
  opacity: 0;
  padding: 56px 20px 12px;
  position: relative;
  width: 100%;
  animation: homeHeroAgentsIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

@keyframes homeHeroAgentsIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.home-hero-agents-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 820px;
  padding: 0.5rem 0.75rem 0;
  text-align: center;
}

.home-hero-agents .th-feature-kicker {
  align-items: center;
  color: var(--hha-accent);
  display: inline-flex;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.14em;
  margin: 0 0 0.95rem;
  text-transform: uppercase;
}

.home-hero-agents .th-feature-kicker-icon {
  align-items: center;
  background: var(--hha-accent-soft);
  border: 1px solid var(--hha-accent-border);
  border-radius: 9px;
  color: var(--hha-accent);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 14px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.home-hero-agents .th-feature-title {
  color: #050505;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 3.05rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 1rem;
  max-width: 780px;
}

.home-hero-agents .th-feature-title .th-feature-accent {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #155eee;
  display: block;
  text-decoration: underline;
  text-decoration-color: rgba(21, 94, 238, 0.58);
  text-decoration-style: dashed;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.home-hero-agents .th-feature-sub {
  color: #5f6777;
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 640px;
}

.home-hero-agents-points {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.home-hero-agents-points li {
  align-items: center;
  color: #374151;
  display: inline-flex;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 550;
  gap: 6px;
}

.home-hero-agents-points i {
  color: #155eee;
  font-size: 1.05rem;
}

.home-hero-agents-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1.45rem;
  opacity: 0;
  animation: homeHeroAgentsIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.home-hero-agents-actions .btnPrimary {
  min-height: 44px;
  min-width: 156px;
}

.home-hero-agents-proof {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 1.5rem;
  opacity: 0;
  animation: homeHeroAgentsIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.hero-preview-video {
  margin: 0 auto;
  max-width: 1180px;
  padding: 8px 10px 0;
  width: 100%;
}

.hero-preview-video-shell {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.5), transparent 18%),
    linear-gradient(180deg, rgba(135, 184, 205, 0.78), rgba(229, 240, 232, 0.72));
  border: 1px solid #cfd8df;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  padding: 14px 14px 0;
  position: relative;
}

.hero-preview-video-shell::before {
  background-image: radial-gradient(circle, rgba(20, 28, 36, 0.17) 0.6px, transparent 0.65px);
  background-size: 4px 4px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.hero-preview-video-frame {
  background: #0b1220;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  z-index: 1;
}

.hero-preview-video-frame iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.lazyYoutube {
  cursor: pointer;
}

.lazyYoutube .iframeWrappperPreview {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.lazyYoutube .play-button {
  background: url("/core/assets/images/play.svg") center center no-repeat;
  background-size: cover;
  bottom: 0;
  box-shadow: 0 3px 13px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  height: 48px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
  width: 100px;
  -webkit-box-shadow: 0 3px 13px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s ease;
  z-index: 2;
}

.lazyYoutube:hover .play-button {
  top: -5px;
}

.home-ceo-section {
  background: #fff;
  border-bottom: 1px dashed #e4e5e1;
}

.home-ceo-inner {
  border-left: 1px dashed #e4e5e1;
  border-right: 1px dashed #e4e5e1;
  margin: 0 auto;
  max-width: var(--landing-content-width);
  padding: 56px 24px 40px;
  text-align: center;
}

.home-ceo-title {
  color: #050505;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 auto 28px;
  max-width: 780px;
}

.home-ceo-accent {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #155eee;
  display: inline;
  text-decoration: underline;
  text-decoration-color: rgba(21, 94, 238, 0.58);
  text-decoration-style: dashed;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.home-ceo-video {
  margin-top: 0;
}

@media (max-width: 768px) {
  .home-hero-agents {
    padding: 36px 16px 8px;
  }

  .home-hero-agents .th-feature-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .home-hero-agents-points {
    flex-direction: column;
    gap: 8px;
  }

  .hero-preview-video-shell {
    padding: 10px 10px 0;
  }
}

@media (max-width: 640px) {
  .home-hero-agents-actions {
    flex-direction: column;
    width: 100%;
  }

  .home-hero-agents-actions a,
  .home-hero-agents-actions .gsi-material-button {
    width: 100%;
  }

  .home-hero-agents-proof {
    gap: 12px;
    justify-content: center;
  }

  .home-hero-agents-proof-avatars .review-avatar {
    height: 34px !important;
    margin-left: -14px !important;
    width: 34px !important;
  }

  .home-hero-agents-proof-avatars .review-avatar:first-child {
    margin-left: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-agents,
  .home-hero-agents-actions,
  .home-hero-agents-proof {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
