/* ============================================================
   Component: Embedding & PractAIce Hero Card (embedding-hero.css)
   BEM Notation: block_element--modifier
   Matched to Figma Node 0:4512 (Hero 0:4538)
   Card width: 1416px, Hero height: 707px
   Total left/right padding: 80px (12px outer card margin + 68px inner padding)
   ============================================================ */

/* Hero Card Section (Enclosing Header and Content) */
.embedding_hero_card {
  position: relative;
  width: calc(100% - 8px);
  max-width: var(--hero-card-max-width, 1416px);
  margin: 4px auto 48px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 16px;
  border: 1px solid var(--color-card-border);
  background-color: var(--color-surface);
  overflow: hidden;
  padding-block: 0 40px;
  z-index: 2;
}

@media (min-width: 768px) {
  .embedding_hero_card {
    width: calc(100% - 24px);
    margin: 12px auto 48px;
    border-radius: var(--hero-card-radius, 24px);
    border: 1px solid var(--color-card-border);
  }
}

@media (min-width: 992px) {
  .embedding_hero_card {
    min-height: 760px;
    padding-block: 0;
    margin: 12px auto 64px;
  }
}

/* 68px inner padding + 12px outer card margin = 80px total padding from screen edge */
.embedding_hero_container {
  width: 100%;
  max-width: 1416px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-top: 40px;
  position: relative;
  z-index: 3;
}

@media (min-width: 768px) {
  .embedding_hero_container {
    padding-inline: 40px;
    padding-top: 40px;
  }
}

@media (min-width: 992px) {
  .embedding_hero_container {
    padding-inline: 68px;
    /* 12px card margin + 68px = 80px total */
    padding-top: 68px;
  }
}

/* Right Grid Pattern Background (Figma Node 0:4543: x=468, y=0, width=937, height=702.75) */
.embedding_hero_grid-bg-picture {
  position: absolute;
  top: 0;
  left: 468px;
  width: 937px;
  height: 703px;
  z-index: 2;
  /* ABOVE white ellipse blur at z-index 1 */
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 1440px) {
  .embedding_hero_grid-bg-picture {
    left: auto;
    right: 0;
    width: clamp(280px, 66%, 937px);
  }
}

.embedding_hero_grid-bg {
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* Two-column layout grid */
.embedding_hero_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 992px) {
  .embedding_hero_grid {
    grid-template-columns: 564px 1fr;
    /* Figma Node 0:4546 text block is 564px */
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .embedding_hero_grid {
    grid-template-columns: 564px 1fr;
    gap: 72px;
  }
}

/* Left Content Column (Figma Node 0:4546) */
.embedding_hero_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 564px;
}

/* Eyebrow Badge / Tagline */
.embedding_hero_eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-eyebrow);
  animation: embedding_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.1s both;
}

/* Main Heading H1 */
.embedding_hero_title {
  margin: 0 0 24px 0;
  font-size: clamp(1.85rem, 4.2vw, 58px);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.12;
  letter-spacing: var(--letter-spacing-tighter);
  color: var(--color-text-primary);
  animation: embedding_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.2s both;
}

/* Multi-color Brand Gradient on "behavior" */
.embedding_hero_gradient-text {
  display: inline-block;
  background-image: var(--gradient-behavior);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description / Value Proposition Copy */
.embedding_hero_copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 564px;
  animation: embedding_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.32s both;
}

.embedding_hero_desc {
  margin: 0;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
}

/* Action Button Container */
.embedding_hero_actions {
  display: flex;
  align-items: center;
  animation: embedding_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.44s both;
}

/* Primary CTA Button (width: 226px, height: 60px in Figma Node 0:4553) */
.embedding_hero_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 226px;
  height: 60px;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--color-surface);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-fast) var(--ease-out-smooth),
    box-shadow var(--duration-fast) var(--ease-out-smooth);
}

.embedding_hero_btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(131, 74, 224, 0.35);
}

.embedding_hero_btn:active {
  transform: translateY(0);
}

.embedding_hero_btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Right Visual Column (Figma Node 0:4557: width 532px, height 404px) */
.embedding_hero_visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  animation: embedding_hero_fade-up var(--duration-slow) var(--ease-out-smooth) 0.35s both;
}

@media (min-width: 992px) {
  .embedding_hero_visual {
    justify-content: flex-end;
  }
}

.embedding_hero_chart-wrapper {
  position: relative;
  width: 100%;
  max-width: 532px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--duration-base) var(--ease-out-smooth);
}

.embedding_hero_chart-wrapper:hover {
  transform: translateY(-3px);
}

.embedding_hero_chart-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(131, 74, 224, 0.09));
}

/* Subtle Staggered Entrance Animation */
@keyframes embedding_hero_fade-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Mobile Viewport Refinements */
@media (max-width: 767px) {
  .embedding_hero_card {
    padding-block: 0 40px;
    margin: 4px auto 36px;
    height: auto;
    min-height: auto;
  }

  .embedding_hero_container {
    padding-inline: 20px;
  }

  .embedding_hero_content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .embedding_hero_eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    text-align: center;
  }

  .embedding_hero_title {
    font-size: 52px;
    font-weight: var(--font-weight-medium, 500);
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: 24px;
  }

  .embedding_hero_copy {
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin-bottom: 32px;
    gap: 14px;
  }

  .embedding_hero_desc {
    font-size: 16px;
    font-weight: var(--font-weight-regular, 400);
    line-height: 1.55;
    text-align: center;
  }

  .embedding_hero_actions {
    justify-content: center;
    width: 100%;
  }

  .embedding_hero_btn {
    width: 242px;
    height: 52px;
    font-size: 16px;
    padding: 12px 24px;
  }

  .embedding_hero_chart-wrapper {
    max-width: 100%;
  }
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  .embedding_hero_eyebrow,
  .embedding_hero_title,
  .embedding_hero_copy,
  .embedding_hero_actions,
  .embedding_hero_visual {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .embedding_hero_btn,
  .embedding_hero_chart-wrapper {
    transition: none;
  }
}