/* =========================================================
   MORDMINI HERO — ALIGNMENT CORRECTION
   ========================================================= */

:root {
    --hero-primary: #1268e8;
    --hero-primary-dark: #0b4fc1;
    --hero-heading: #0c1b35;
    --hero-text: #506985;
    --hero-container: 1280px;
    --hero-transition: 0.3s ease;

    /*
       MAIN DESKTOP HERO HEIGHT
       Text and image both use this exact height.
    */
    --hero-height: 405px;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;
    isolation: isolate;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #ffffff;
}


/* =========================================================
   MAIN HERO CONTAINER
   ========================================================= */

.hero-container {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: stretch;

    width: min(100% - 40px, var(--hero-container));

    /*
       Text and image now have exactly the same height.
    */
    height: var(--hero-height);
    min-height: var(--hero-height);

    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   LEFT HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 6;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 52%;
    height: var(--hero-height);

    max-width: 650px;

    /*
       No large top/bottom padding.
       This removes the unwanted yellow area.
    */
    margin: 0;
    padding: 0 0 0 0;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.hero-eyebrow {
    margin: 0 0 17px;

    color: #4f6380;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero-title {
    max-width: 650px;

    margin: 0 0 18px;

    color: var(--hero-heading);

    font-size: clamp(40px, 4vw, 56px);
    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -2px;
}


.hero-title-highlight {
    color: var(--hero-primary);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-description {
    max-width: 585px;

    margin: 0 0 20px;

    color: var(--hero-text);

    font-size: 14px;
    font-weight: 400;

    line-height: 1.55;
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 14px;

    margin: 0;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 25px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        transform var(--hero-transition),
        box-shadow var(--hero-transition),
        background var(--hero-transition);
}


.hero-actions .button-primary {
    gap: 10px;

    min-width: 225px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1268e8,
            #0963f0
        );

    border: 1px solid #1268e8;

    box-shadow:
        0 7px 18px rgba(18, 104, 232, 0.17);
}


.hero-actions .button-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(18, 104, 232, 0.25);
}


.hero-actions .button-secondary {
    min-width: 200px;

    color: var(--hero-primary);

    background: #ffffff;

    border: 1px solid var(--hero-primary);
}


.hero-actions .button-secondary:hover {
    transform: translateY(-2px);

    background: #f5f9ff;
}


/* =========================================================
   RIGHT HERO IMAGE
   ========================================================= */

/*
   IMPORTANT CORRECTION:

   Previously image = 405px but container = 450px.
   That created the large empty yellow-marked area.

   Now BOTH are exactly 405px.
*/

.hero-visual {
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;
    bottom: auto;

    width: 60%;
    height: var(--hero-height);

    overflow: hidden;

    clip-path:
        polygon(
            16% 0,
            100% 0,
            100% 100%,
            0 100%
        );

    background: #dfeaf4;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-background-image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       Adjust this if you want the woman slightly
       more left/right.
    */
    object-position: center center;
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.hero-image-overlay {
    position: absolute;
    z-index: 2;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.86) 0%,
            rgba(255,255,255,0.42) 9%,
            rgba(255,255,255,0.06) 21%,
            rgba(0,63,122,0.02) 55%,
            rgba(0,53,105,0.07) 100%
        );

    pointer-events: none;
}


/* =========================================================
   CLOUD ILLUSTRATION
   ========================================================= */

.hero-cloud-illustration {
    position: absolute;
    z-index: 4;

    top: 85px;
    left: 42%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 120px;
    height: 82px;

    color: #ffffff;

    background:
        rgba(49, 164, 231, 0.20);

    border:
        1px solid rgba(255,255,255,0.35);

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(3,61,110,0.12);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


.cloud-icon {
    font-size: 54px;

    line-height: 1;

    opacity: 0.92;
}


.cloud-arrow {
    position: absolute;

    top: 32px;
    left: 50%;

    color: #2d9de9;

    font-size: 23px;
    font-weight: 800;

    transform: translateX(-50%);
}


/* =========================================================
   TECHNOLOGY FEATURE CARDS
   ========================================================= */

.technology-features {
    position: absolute;
    z-index: 6;

    top: 14px;
    right: 35px;

    display: flex;
    flex-direction: column;

    width: 230px;

    gap: 7px;
}


.technology-feature {
    display: grid;

    grid-template-columns:
        40px minmax(0, 1fr);

    align-items: center;

    min-height: 57px;

    padding: 7px 13px 7px 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(75,163,219,0.76),
            rgba(36,108,160,0.68)
        );

    border:
        1px solid rgba(255,255,255,0.24);

    border-radius: 12px;

    box-shadow:
        0 8px 18px rgba(8,60,105,0.13);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    transition:
        transform var(--hero-transition),
        box-shadow var(--hero-transition);
}


.technology-feature:hover {
    transform: translateX(-4px);

    box-shadow:
        0 11px 24px rgba(8,60,105,0.19);
}


.technology-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    color: #ffffff;

    background:
        rgba(255,255,255,0.15);

    border:
        1px solid rgba(255,255,255,0.18);

    border-radius: 9px;

    font-size: 16px;
}


.technology-feature-label {
    padding-left: 7px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
   VALUE STRIP
   ========================================================= */

/*
   Reduced from 115px.

   This moves the next section upward and allows
   more of the page to appear on the landing screen.
*/

.hero-value-strip {
    position: relative;
    z-index: 10;

    width: 100%;

    min-height: 92px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(18,104,232,0.05),
            transparent 24%
        ),

        radial-gradient(
            circle at 88% 30%,
            rgba(44,174,238,0.05),
            transparent 26%
        ),

        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fcff 100%
        );

    border-top:
        1px solid #edf3f9;
}


/* =========================================================
   VALUE STRIP BACKGROUND
   ========================================================= */

.hero-value-strip::before {
    position: absolute;

    right: -4%;
    bottom: -130px;
    left: -4%;

    height: 185px;

    content: "";

    opacity: 0.45;

    background:
        repeating-radial-gradient(
            ellipse at 20% 100%,
            transparent 0,
            transparent 10px,
            rgba(18,104,232,0.07) 11px,
            transparent 12px,
            transparent 20px
        );

    transform: rotate(-2deg);

    pointer-events: none;
}


/* =========================================================
   VALUE STRIP CONTAINER
   ========================================================= */

.hero-value-strip-container {
    position: relative;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width:
        min(
            100% - 40px,
            var(--hero-container)
        );

    min-height: 92px;

    margin: 0 auto;
    padding: 0;

    gap: 35px;
}


/* =========================================================
   VALUE ITEMS
   ========================================================= */

.hero-value-items {
    display: flex;
    align-items: center;

    flex: 1 1 auto;

    min-width: 0;

    gap: 24px;
}


.hero-value-item {
    display: flex;
    align-items: center;

    min-width: 160px;

    gap: 12px;
}


/* =========================================================
   VALUE ICON
   ========================================================= */

.hero-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    color: #0759bd;

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #dceeff
        );

    border:
        1px solid #bdd9f7;

    border-radius: 50%;

    box-shadow:
        0 6px 18px rgba(18,104,232,0.06);

    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   VALUE TEXT
   ========================================================= */

.hero-value-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.12;
}


.hero-value-copy strong {
    margin-bottom: 3px;

    color: #0b3472;

    font-size: 17px;
    font-weight: 800;
}


.hero-value-copy span {
    color: #315b96;

    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   VALUE DIVIDER
   ========================================================= */

.hero-value-divider {
    flex: 0 0 1px;

    width: 1px;
    height: 38px;

    background:
        linear-gradient(
            180deg,
            transparent,
            #9ab7da,
            transparent
        );
}


/* =========================================================
   HERO QUOTE
   ========================================================= */

.hero-value-quote {
    position: relative;

    display: flex;
    align-items: flex-start;

    flex: 0 0 auto;

    min-width: 290px;
    max-width: 350px;

    margin: 0;

    padding:
        5px 10px 5px 36px;

    color: #144783;
}


.hero-value-quote p {
    margin: 0;

    font-size: 17px;
    font-weight: 500;

    line-height: 1.28;
}


.hero-value-quote strong {
    color: #1268e8;

    font-weight: 800;
}


.hero-quote-mark {
    position: absolute;

    top: -5px;
    left: 0;

    color: #8ebdf5;

    font-family: Georgia, serif;

    font-size: 42px;
    font-weight: 700;

    line-height: 1;
}


.hero-quote-mark-end {
    top: auto;
    right: -2px;
    bottom: -6px;
    left: auto;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {

    :root {
        --hero-height: 420px;
    }


    .hero-container,
    .hero-value-strip-container {
        width:
            min(
                100% - 70px,
                1400px
            );
    }


    .hero-visual {
        height: var(--hero-height);
    }


    .hero-content {
        height: var(--hero-height);

        max-width: 700px;
    }


    .technology-features {
        right: 40px;
    }
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    :root {
        --hero-height: 395px;
    }


    .hero-container {
        height: var(--hero-height);
        min-height: var(--hero-height);
    }


    .hero-content {
        width: 54%;
        height: var(--hero-height);

        max-width: 590px;
    }


    .hero-visual {
        width: 60%;
        height: var(--hero-height);
    }


    .hero-title {
        font-size:
            clamp(
                38px,
                4vw,
                51px
            );
    }


    .hero-description {
        max-width: 530px;
    }


    .technology-features {
        top: 12px;
        right: 22px;

        width: 205px;
    }


    .technology-feature {
        min-height: 51px;
    }


    .technology-feature-label {
        font-size: 14px;
    }


    .hero-value-strip,
    .hero-value-strip-container {
        min-height: 88px;
    }


    .hero-value-items {
        gap: 18px;
    }


    .hero-value-item {
        min-width: 145px;
    }


    .hero-value-quote {
        min-width: 270px;
    }
}


/* =========================================================
   TABLET LANDSCAPE
   ========================================================= */

@media (max-width: 1000px) {

    :root {
        --hero-height: 390px;
    }


    .hero-content {
        width: 57%;
    }


    .hero-visual {
        width: 59%;

        clip-path:
            polygon(
                20% 0,
                100% 0,
                100% 100%,
                0 100%
            );
    }


    .hero-title {
        font-size: 42px;
    }


    .hero-description {
        max-width: 480px;

        font-size: 13.5px;
    }


    .technology-features {
        right: 16px;

        width: 185px;

        gap: 5px;
    }


    .technology-feature {
        min-height: 46px;
    }


    .technology-feature-label {
        font-size: 12px;
    }


    .hero-value-divider {
        display: none;
    }


    .hero-value-strip-container {
        gap: 22px;
    }
}


/* =========================================================
   TABLET / STACKED LAYOUT
   ========================================================= */

@media (max-width: 850px) {

    .hero-section {
        display: flex;
        flex-direction: column;
    }


    .hero-container {
        order: 1;

        display: block;

        width:
            min(
                100% - 40px,
                var(--hero-container)
            );

        height: auto;
        min-height: auto;

        padding:
            32px 0;
    }


    .hero-content {
        width: 100%;
        height: auto;

        max-width: 700px;
    }


    .hero-title {
        font-size:
            clamp(
                39px,
                7vw,
                50px
            );
    }


    .hero-visual {
        position: relative;

        order: 2;

        top: auto;
        right: auto;

        width: 100%;
        height: 340px;

        clip-path: none;
    }


    .hero-image-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,0.08),
                rgba(0,65,120,0.05)
            );
    }


    .technology-features {
        top: 24px;
        right: 28px;

        width: 215px;
    }


    .hero-cloud-illustration {
        top: 85px;
        left: 45%;
    }


    .hero-value-strip {
        order: 3;

        min-height: auto;
    }


    .hero-value-strip-container {
        flex-direction: column;
        align-items: flex-start;

        width:
            min(
                100% - 40px,
                var(--hero-container)
            );

        min-height: auto;

        padding:
            20px 0;

        gap: 20px;
    }


    .hero-value-items {
        width: 100%;

        justify-content:
            space-between;
    }


    .hero-value-quote {
        width: 100%;
        min-width: 0;
        max-width: 430px;

        margin-left: auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hero-container {
        width:
            min(
                100% - 32px,
                var(--hero-container)
            );

        padding:
            26px 0;
    }


    .hero-eyebrow {
        margin-bottom: 15px;

        font-size: 11px;

        letter-spacing: 1.7px;
    }


    .hero-title {
        margin-bottom: 17px;

        font-size: 36px;

        line-height: 1.07;

        letter-spacing: -1.2px;
    }


    .hero-description {
        margin-bottom: 19px;

        font-size: 14px;
    }


    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }


    .hero-actions .button {
        width: 100%;
        min-width: 0;
    }


    .hero-visual {
        height: 300px;
    }


    .technology-features {
        top: 17px;
        right: 14px;

        width: 170px;

        gap: 5px;
    }


    .technology-feature {
        min-height: 41px;

        grid-template-columns:
            34px minmax(0,1fr);

        padding:
            4px 8px;
    }


    .technology-feature-icon {
        width: 30px;
        height: 30px;

        font-size: 14px;
    }


    .technology-feature-label {
        padding-left: 4px;

        font-size: 11px;
    }


    .hero-cloud-illustration {
        top: 85px;
        left: 27%;

        width: 100px;
        height: 70px;
    }


    .cloud-icon {
        font-size: 46px;
    }


    .cloud-arrow {
        top: 27px;

        font-size: 20px;
    }


    .hero-value-strip-container {
        width:
            min(
                100% - 32px,
                var(--hero-container)
            );

        padding:
            18px 0;
    }


    .hero-value-items {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;
    }


    .hero-value-item {
        width: 100%;

        padding-bottom: 12px;

        border-bottom:
            1px solid #e3edf7;
    }


    .hero-value-item:last-child {
        padding-bottom: 0;

        border-bottom: 0;
    }


    .hero-value-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 21px;
    }


    .hero-value-copy strong {
        font-size: 16px;
    }


    .hero-value-copy span {
        font-size: 13px;
    }


    .hero-value-quote {
        margin-left: 0;

        padding-left: 32px;
    }


    .hero-value-quote p {
        font-size: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .hero-title {
        font-size: 32px;
    }


    .hero-visual {
        height: 275px;
    }


    .technology-features {
        width: 155px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-actions .button,
    .technology-feature {
        transition-duration:
            0.01ms !important;
    }
}