.hero-ia {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--bg-hero);
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 660px;
  justify-self: end;
  z-index: 1;
}

.hero-media-halo {
  position: absolute;
  inset: -18% -12% -18% -12%;
  background:
    radial-gradient(circle at 30% 40%, rgba(20,130,136,0.32) 0%, transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(12,109,179,0.22) 0%, transparent 55%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-media-back {
  position: absolute;
  top: 20px; right: -20px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border-default);
  box-shadow: 0 12px 30px rgba(11, 32, 85, 0.08);
  z-index: 1;
}

.hero-media-notif {
  position: absolute;
  top: -18px; right: 28px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-page);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  padding: 9px 16px 9px 12px;
  box-shadow: 0 12px 24px rgba(11,32,85,0.12);
  font-family: var(--font-family-display);
  font-size: var(--fs-xs);
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}

.hero-media-notif-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-teal-500);
  color: var(--c-white);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-media-notif strong { color: var(--c-teal-700); font-weight: 700; }

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-blue-900);
  box-shadow:
    0 24px 60px rgba(11, 32, 85, 0.22),
    0 8px 20px rgba(11, 32, 85, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.hero-video-poster {
  position: absolute; inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

.hero-video-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,
    rgba(20, 130, 136, 0.25) 0%,
    rgba(11, 32, 85, 0.45) 100%);
  cursor: pointer;
  border: none; padding: 0;
  transition: background .3s ease;
}

.hero-video-overlay:hover {
  background: linear-gradient(135deg,
    rgba(20, 130, 136, 0.15) 0%,
    rgba(11, 32, 85, 0.30) 100%);
}

.hero-video iframe {
  position: absolute; inset: 0;
  z-index: 4;
  width: 100%; height: 100%;
  border: 0;
}

.hero-video.is-playing .hero-video-poster,
.hero-video.is-playing .hero-video-overlay,
.hero-video.is-playing .hero-video-label {
  display: none;
}

.hero-video-play {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 12px rgba(255, 255, 255, 0.15);
  transition: transform .25s ease, background .2s, box-shadow .25s;
}

.hero-video-overlay:hover .hero-video-play {
  transform: scale(1.08);
  background: var(--c-white);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 0 16px rgba(255, 255, 255, 0.2);
}

.hero-video-play svg {
  color: var(--c-teal-500);
}

.hero-video-label {
  position: absolute;
  z-index: 3;
  bottom: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11, 32, 85, 0.78);
  backdrop-filter: blur(10px);
  color: var(--c-white);
  padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--font-family); font-size: 12px; font-weight: 600;
  letter-spacing: .02em;
}

.hero-video-label-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5acda8; flex-shrink: 0;
  animation: solutionpulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(90, 205, 168, 0.25);
}

@keyframes solutionpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-label-dot { animation: none; }
}

.hero-ia .hero-inner {
  position: relative; z-index: 2;
  padding: 96px 0 72px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.hero-ia .hero-content { min-width: 0; }

.hero-ia .hero-title {
  font-family: var(--font-family-display);
  font-weight: 700; font-size: var(--fs-display);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-ia .hero-desc {
  font-size: var(--fs-lg); line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-ia .hero-desc + .hero-desc { margin-top: 10px; }
.hero-ia .hero-desc strong { font-weight: 600; color: var(--text-primary); }

.hero-ia .hero-cta-row {
  display: flex; align-items: center; gap: 20px;
  margin-top: 44px; flex-wrap: wrap;
}

.hero-hl {
  background: var(--c-blue-500);
  color: var(--text-on-brand);
  padding: 4px 16px;
  border-radius: 8px;
  display: inline;
  font-style: normal;
  position: relative; top: -1px;
}

.hero-ul {
  text-decoration: underline;
  text-decoration-color: var(--c-teal-500);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
