.hero-text-section {
    flex: 0 0 50pc;
}

.hero-gradient-text {
    display: block;
    background: #121FCF;
    background: linear-gradient(to right, #a855f7 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheader {
    color: var(--mutedgray3);
}

.mockup-container {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center elements horizontally */
    justify-content: center; /* Align them nicely */
    position: relative; /* Keeps the structure contained */
    margin: 0 auto; /* Center the entire container horizontally */
    text-align: center;
    /*gap: -50px; /* Optional: Negative gap for overlap effect */
  }

.hero-image {
    max-height: 575px;
    /*margin-bottom: -50%; /* Pull up the mobile mockup slightly */
    margin-left: 15%;
    display: block;
}

.hero-image-mobile-mockup {
    max-height: 625px;
    margin-top: -43%; /* Overlap effect */
    margin-left: -80%;
    z-index: 10; /* Optional, ensures it's visually on top */
}

.hiw-element, .hiw-element-rev, .help-element, .help-element-rev{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section-header {
    text-align: center;
}

.ender {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 700px;
    background-image: url(/images/landing-page-pre-footer-image.jpg);
    background-position-x: center;
    background-repeat: no-repeat;
}

.ender-content {
    max-width: 1300px;
    width: 100%;
    margin-inline: auto;
    padding: 10px;
}

@media screen and (max-height: 850px) {
    .hero-image {
        max-height: 450px;
    }
    .hero-image-mobile-mockup {
        max-height: 500px;
    }
}

@media screen and (max-height: 720px) {
    .hero-image {
        max-height: 350px;
    }
    .hero-image-mobile-mockup {
        max-height: 400px;
    }
}

@media screen and (max-width: 1280px) {
    .hero-image {
        max-height: 450px;
    }
    .hero-image-mobile-mockup {
        max-height: 500px;
    }
}

@media screen and (max-width: 1100px) {
    .hero {
        flex-direction: column;
    }
    .hero-text-section {
        flex: 0 0 0;
    }
    .hero-image {
        max-width: 90vw;
        height: auto;
    }
}

@media screen and (max-width: 880px) {
    .hero-image {
        display: none;
    }
    .hero-image-mobile-mockup {
        max-height: 650px;
        margin: auto;
    }
}

@media screen and (max-width: 786px) {
    .hiw-element, .help-element {
        flex-direction: column;
        align-items: flex-start;
    }
    .hiw-element-rev, .help-element-rev {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .hiw-image, .help-image {
        margin-inline: auto;
    }
}

@media screen and (max-width: 550px) {
    .section-header {
        text-align: left;
    }
}