.aigenix-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--aigenix-core-border);
  border-radius: var(--aigenix-core-radius-xl);
  background: linear-gradient(135deg, rgba(59, 109, 246, 0.12), rgba(246, 63, 136, 0.08)), var(--aigenix-core-surface);
  color: var(--aigenix-core-text);
  padding: clamp(3rem, 7vw, 7rem);
}


.aigenix-hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.aigenix-hero--content-left .aigenix-hero__inner,
.aigenix-hero--visual-left .aigenix-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.aigenix-hero--centered .aigenix-hero__inner,
.aigenix-hero--content-only .aigenix-hero__inner {
  justify-items: center;
  text-align: center;
}

.aigenix-hero--visual-left .aigenix-hero__media {
  order: -1;
}

.aigenix-hero__content {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.aigenix-hero--centered .aigenix-hero__content,
.aigenix-hero--content-only .aigenix-hero__content {
  align-items: center;
}

.aigenix-hero__badge {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  border: 1px solid var(--aigenix-core-border);
  border-radius: var(--aigenix-core-radius-full);
  background: var(--aigenix-core-glass);
  color: var(--aigenix-core-text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding-inline: 0.9rem;
}

.aigenix-hero__title {
  margin: 0;
  color: var(--aigenix-core-text);
  font-family: var(--aigenix-core-font-display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.aigenix-hero .aigenix-highlight {
  background: var(--aigenix-core-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aigenix-hero__description {
  color: var(--aigenix-core-text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.aigenix-hero__description>* {
  margin: 0;
}

.aigenix-hero__actions,
.aigenix-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.aigenix-hero__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aigenix-core-border);
  border-radius: var(--aigenix-core-radius-full);
  font-weight: 700;
  padding-inline: 1.25rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.aigenix-hero__button--primary {
  background: var(--aigenix-core-gradient);
  color: #fff;
}

.aigenix-hero__button--secondary {
  background: var(--aigenix-core-glass);
  color: var(--aigenix-core-text);
}

.aigenix-hero__button:hover {
  transform: translateY(-1px);
}

.aigenix-hero__trust {
  color: var(--aigenix-core-text-muted);
  font-size: 0.9rem;
}

.aigenix-hero__media {
  position: relative;
  display: grid;
  place-items: center;
}

.aigenix-hero__video-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.aigenix-hero__video-wrapper video {
  width: 100%;
  border-radius: inherit;
}

.aigenix-hero__play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.aigenix-hero__play-overlay i,
.aigenix-hero__play-overlay svg {
  display: block;
}

.aigenix-hero__image,
.aigenix-hero__abstract {
  inline-size: min(100%, 560px);
  border: 1px solid var(--aigenix-core-border);
  border-radius: var(--aigenix-core-radius-xl);
  background: var(--aigenix-core-surface-strong);
}

.aigenix-hero__image {
  block-size: auto;
}

.aigenix-hero__abstract {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 20% 15%, rgba(59, 109, 246, 0.72), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.52), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(246, 63, 136, 0.38), transparent 32%),
    var(--aigenix-core-surface-strong);
}

.aigenix-hero__floating {
  position: absolute;
  inset-block-end: 8%;
  inset-inline: 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aigenix-hero__floating span {
  border: 1px solid var(--aigenix-core-border);
  border-radius: var(--aigenix-core-radius-full);
  background: rgba(8, 14, 32, 0.72);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
}

@media (min-width: 64rem) {

  .aigenix-hero--content-left .aigenix-hero__inner,
  .aigenix-hero--visual-left .aigenix-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 47.99rem) {
  .aigenix-hero {
    padding: 2rem;
  }
}