.hero-main-card h1 {
    font-size: 53px;
    line-height: 96%;
      margin-bottom: 9px;
}
.hero-main-card p {
    line-height: 1.2;
    color: #111;
    margin-bottom: 38px;
}
.hero-main-card {
    text-align: center;
}
a.btn.btn-schedule-demo {
    border-radius: 100px;
    font-weight: 600;
    padding: 13px 32px;
    background: #1A1515;
      display: inline-block;
      color: #fff;
}
.btn-wrap-shadow {
    width: auto;
    display: inline-block;
    background: linear-gradient(180deg, #862DFD 0%, #F73DF1 49.52%, rgba(63, 217, 251, 0.973695) 100%);
    padding: 2px;
    border-radius: 100px;
}
.video-player-card {
    max-width: 800px;
    margin: 0px auto;
}

.video-player-card-wrap{
    position: relative;
        max-width: 700px;
    margin: auto;
margin-top:43px;
}

a.video-play-button {
    text-decoration: none!important;
    color: #000!important;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 9px 16px;
    border-radius: 100px;
    border: 2px solid #DDDDDD;
}


/* --- SHOW YOUR OVERLAY INITIALLY --- */
.video-overlay {
    position: absolute; /* Position it absolutely to cover the video */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    background-size: cover!important; /* From your HTML, to make thumbnail cover */
    background-position: center!important; /* From your HTML */
    display: flex; /* Make it a flex container to center content */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2; /* Ensure it's above the video widget */
    opacity: 1; /* Initially visible */
    visibility: visible; /* Initially visible */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
}

.video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* --- STATES CONTROLLED BY JAVASCRIPT --- */

/* Class to make the video widget visible */
.video-player-card .hs-video-widget.active-video {
    opacity: 1;
    visibility: visible;
    /* pointer-events: auto; /* Re-enable pointer events if you used none above */ */
}

/* Class to hide the overlay */
.video-player-card .video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Disable interaction when hidden */
}

/* Ensure HubSpot's internal iframe isn't interfering with position/size */
/* This ensures the iframe fills its wrapper */
.hs-video-widget .hs-video-container,
.hs-video-widget .hs-video-wrapper,
.hs-video-widget iframe {
    
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
body .dnd_area-row-0-background-layers {
   background-position: top -20px center !important;
}
section.hero-section {
    padding: 275px 0 0;
  overflow: hidden;
    width: 100%;
}
.video-player-card video {
    border-radius: 20px;
}
.video-overlay {
    border-radius: 20px;
      background-size: cover;
    background-position: center;
}
.video-player-card-wrap {
    padding: 40px;
    background: url(https://stackgen.com/hubfs/stackgen%20new%20home/Rectangle%2022.png);
    background-size: cover;
    background-position: center;
}
.video-player-card {
    position: relative;
}
@media (max-width: 1024px) {
.video-player-card-wrap {
    padding: 27px;
}
}

@media (max-width: 640px) {
.hero-main-card {
    text-align: left;
}
  .hero-main-card h1 {
    font-size: 38px;
            width: 70%;
  }
  .hero-main-card p {
    margin-bottom: 13px;
    font-size: 14px;
}
  section.hero-section {
    padding: 52px 25px 0;
}
  body .dnd_area-row-0-background-layers {
    background-image: none !important;
}
  div#hs_cos_wrapper_widget_1753508970008 {
    background: url(https://stackgen.com/hubfs/stackgen%20new%20home/Mobile.svg) no-repeat top -55px left 0;
    background-size: cover;
    width: calc(100% + 50px);
    left: -25px;
    position: relative;
}
  main#main-content {
    padding-top: 125px;
}
  .hero-main-card p br{
    display:none;
  }
}
@media (max-width: 480px) {
      .hero-main-card h1 {
        font-size: 38px;
        width: 54%;
        line-height: 93%;
        margin-bottom: 13px;
    }
  .video-player-card-wrap {
    padding: 17px;
  }
main#main-content {
    padding-top: 110px;
}
}
@media (max-width: 450px) {
    .hero-main-card h1 {
        font-size: 38px;
        width: 58%;
  }
}
@media (max-width: 420px) {
    .hero-main-card h1 {
        font-size: 38px;
        width: 63%;
  }
}
@media (max-width: 390px) {
    .hero-main-card h1 {
        font-size: 38px;
        width: 69%;
  }
}
@media (max-width: 360px) {
    .hero-main-card h1 {
        font-size: 38px;
        width: 76%;
  }
}
