/* .wf-hero .section-card.hero-card-v3 { background-color:#eae8fc; } */
/* public/css/webflow-hero-only.css */
/* Scoped Webflow-like hero styles — ONLY affects elements inside .wf-hero */

/* ---------- small safety resets scoped ---------- */
.wf-hero,
.wf-hero * {
  box-sizing: border-box;
}

.wf-hero img {
  max-width: 100%;
  display: block;
}

/* ---------- wrappers ---------- */
.wf-hero .page-wrapper {
  position: relative;
}

.wf-hero .pd-sides-24px {
  padding-left: 24px;
  padding-right: 24px;
}

/* Webflow container behavior */
.wf-hero .w-layout-blockcontainer,
.wf-hero .w-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ---------- main card ---------- */
.wf-hero .section-card {
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  border-radius: 40px;     /* close to br-size-6 */
  background: #fff;        /* base (overridden below) */
}

.wf-hero .section-card.hero-card-v3 {
  background-color: #eae8fc;   /* your important hero bg */
  padding-top: 120px;          /* desktop */
  padding-bottom: 220px;       /* desktop */
}

/* ---------- text container layering ---------- */
.wf-hero .container-default.z-index-1 {
  position: relative;
  z-index: 2; /* above image */
}

.wf-hero .inner-container {
  position: relative;
}

.wf-hero .inner-container._480px {
  max-width: 480px;
}

.wf-hero .inner-container._100-tablet {
  /* on tablet it goes full width (handled in media queries too) */
}

/* ---------- typography (scoped) ---------- */
.wf-hero .inner-container h1 {
  margin: 0;
  color: #100a3e;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.115em;
  font-size: 60px; /* desktop-ish */
}

.wf-hero .inner-container p {
  margin: 0;
  color: #403b65;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5em;
  font-size: 18px;
}

/* spacing utility classes used in your markup */
.wf-hero .mg-top-4x-extra-small { margin-top: 12px; }
.wf-hero .mg-top-small { margin-top: 24px; }

/* ---------- buttons ---------- */
.wf-hero .buttons-row.left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.wf-hero .w-inline-block {
  display: inline-block;
}

.wf-hero .primary-button {
  background: #8186ff; /* Webflow template primary */
  color: #fff;
  text-decoration: none;
  border-radius: 300px;
  padding: 16px 26px;
  box-shadow: 0 12px 30px rgba(25, 33, 61, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.wf-hero .primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(25, 33, 61, 0.16);
  filter: brightness(1.02);
}

.wf-hero .button-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- image block ---------- */
/* Desktop: image on the right, filling the card height */
.wf-hero .image-wrapper.hero-v3-image {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  bottom: 0; /* you set bottom:0 inline, this matches */
  width: 56%;
  overflow: hidden;
}

.wf-hero .hero-v3-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  
    /* 1) TOP fade uses the same purple as the card (not white)
       2) LEFT fade blends the image edge into the card bg so it looks seamless */
    background:
      linear-gradient(180deg, rgba(234,232,252,0.85) 0%, rgba(234,232,252,0) 45%),
      linear-gradient(90deg,  rgba(234,232,252,1) 0%, rgba(234,232,252,0) 45%);
  }
  
  

.wf-hero .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- responsive like Webflow breakpoints ---------- */
@media screen and (max-width: 991px) {
  /* container max width */
  .wf-hero .w-layout-blockcontainer,
  .wf-hero .w-container {
    max-width: 728px;
  }

  /* hero paddings on tablet */
  .wf-hero .section-card.hero-card-v3 {
    padding-top: 80px;
    padding-bottom: 350px; /* IMPORTANT: makes room for bottom image */
  }

  /* on tablet, image moves to bottom full width */
  .wf-hero .image-wrapper.hero-v3-image {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 350px;
  }

  /* text can go wider */
  .wf-hero .inner-container._100-tablet {
    max-width: 100%;
  }

  .wf-hero .inner-container h1 {
    font-size: 56px;
  }
}

@media screen and (max-width: 767px) {
  .wf-hero .pd-sides-24px {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* mobile hero paddings */
  .wf-hero .section-card.hero-card-v3 {
    padding-top: 48px;
    padding-bottom: 0; /* image becomes normal flow */
    border-radius: 24px;
  }

  /* mobile: image becomes below content (no absolute) */
  .wf-hero .image-wrapper.hero-v3-image {
    position: relative;
    width: 100%;
    height: auto;
    inset: auto;
  }

  .wf-hero .cover-image {
    height: auto;
  }

  .wf-hero .inner-container h1 {
    font-size: 40px;
  }

  .wf-hero .inner-container p {
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .wf-hero .inner-container h1 {
    font-size: 36px;
  }
}
