.main {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.system-hero {
    position: relative;
    width: 100%;
    height: clamp(400px, 55vw, 800px);
}

/* Background */
.system-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


/* ════════════════════════════════════════════════
   CONTENT
   ════════════════════════════════════════════════ */
.system-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 230px 100px 100px;
}
.system-content__overlay {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-80%, -55%);
    z-index: 2;
    padding: 5px;
    background-color: #ffffff;
}
.system-content__overlay-img {
    max-width: clamp(250px, 40vw, 600px);
    height: auto;
    display: block;
}
.system-content__banner {
    position: absolute;
    top: 0;
    left: 0;

    width: 500px;
    height: 100px;
    background-color: #621eff;

    transform: translate(0%, 100%);

    z-index: 2;
}
.system-content__info {
    display: flex;
    gap: 80px;
    padding: 50px 0;
}
.system-content__col {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.system-content__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 150px;
}
.system-content__category {
    font-size: 18px;
    font-weight: 400;
    color: #232323;
    text-transform: uppercase;
}
.system-content__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.system-content__kicker {
    font-size: 86px;
    font-weight: 600;
    color: #232323;
}
.system-content__title {
    font-size: 86px;
    font-weight: 700;
    color: #621eff;
    word-break: break-word;
}
.system-content__description {
    font-size: 24px;
    font-weight: 400;
    color: #232323;
    max-width: 600px;
    width: 100%;
    line-height: 1.6;
}
.system-content__paragraph {
    width: 100%;
    font-size: 24px;
    font-weight: 400;
    color: #232323;
    line-height: 1.6;
    text-align: justify;
}
.system-content__img {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-30%, 22.5%);
    z-index: 2;
}
.system-content__img-img {
    max-width: clamp(250px, 40vw, 600px);
    height: auto;
    display: block;
}
.system-content__paragraph--right {
    margin-top: 350px;
}
.system-content__col-img-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.system-content__col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.system-content__break {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
    margin-left: 150px;
    width: 660px;
}
.system-content__break--line {
    position: absolute;
    right: 0;
    max-width: 800px;
    width: 60vw;
    height: 4px;
    background-color: #621eff;
}
.system-content__col-container-img {
    position: relative;
    width: fit-content;
}
.system-content__col-img-container--break {
    margin-left: 150px;
    width: 660px;
    height: 400px;
}
.system-content__col-container--overlay-1 {
    position: absolute;;
    bottom: 0;
    right: 0;
    transform: translate(40%, 70%);
    z-index: 2;
}
.system-content__col-container--overlay-2 {
    position: absolute;;
    top: 0;
    right: 0;
    transform: translate(90%, -65%);
    z-index: 2;
}
.system-content__col-feature-card--overlay {
    width: 350px;
    height: 240px;
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 30px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}
.system-content__col-feature-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}
.system-content__col-feature-card-desc {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}
.system-content__info--3 {
    margin-top: 200px;
    align-items: center;
    flex-direction: column;
}
.system-content__intro--3 {
    margin-left: 0;
    text-align: center;
}
.system-content__paragraph--3 {
    max-width: 700px;
    width: 100%;
}
.system-content__break--3 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.system-content__break--line--3 {
    position: absolute;
    left: 0;
    width: 380px;
    height: 4px;
    background-color: #621eff;
}
.system-content__img-container--3 {
    position: relative;
    width: 100%;
    max-width: 1300px;
    height: 700px;
}
.system-content__img--3--left--overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(0%, 0%);
    z-index: 2;
}
.system-content__img--3--left {
    width: 700px;
    height: 450px;
    display: block;
}
.system-content__img--3--right--overlay {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0%, 0%);
    z-index: 2;
}
.system-content__img--3--right {
    width: 700px;
    height: 450px;
    display: block;
}
.system-content__paragraph--4 {
    max-width: 1000px;
    width: 100%;
}


@media (max-width: 1440px) {

    .system-content {
        padding: 180px 60px 80px;
    }

    .system-content__info {
        gap: 60px;
    }

    .system-content__intro {
        margin-left: 80px; /* reduce from 150 */
    }

    /* typography scaling */
    .system-content__kicker,
    .system-content__title {
        font-size: 64px;
    }

    .system-content__description {
        font-size: 20px;
        max-width: 500px;
        width: 100%;
    }

    .system-content__paragraph {
        font-size: 20px;
    }

    /* overlay control */
    .system-content__overlay {
        transform: translate(-120%, -50%);
    }

    .system-content__img {
        transform: translate(-20%, 20%);
    }

    /* feature card overlays — pull into normal flow to prevent overflow */
    .system-content__col-container--overlay-1 {
        position: relative;
        bottom: auto;
        right: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .system-content__col-container--overlay-2 {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }

    .system-content__col-feature-card--overlay {
        width: 100%;
        height: auto;
        padding: 30px;
    }

    /* section 3 images — switch from absolute to flex layout */
    .system-content__img-container--3 {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        height: auto;
    }

    .system-content__img--3--left--overlay,
    .system-content__img--3--right--overlay {
        position: relative;
        width: 49%;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .system-content__img--3--left,
    .system-content__img--3--right {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* paragraph widths */
    .system-content__paragraph--3,
    .system-content__paragraph--4 {
        width: 80%;
    }
}


@media (max-width: 1024px) {

    .system-content {
        padding: 150px 40px 60px;
    }

    .system-content__info {
        flex-direction: column;
        gap: 60px;
    }

    .system-content__intro {
        margin-left: 0;
    }

    .system-content__kicker,
    .system-content__title {
        font-size: 56px;
        text-wrap: wrap;
    }

    .system-content__description {
        width: 100%;
        font-size: 20px;
    }

    .system-content__paragraph {
        font-size: 18px;
    }

    /* overlay adjust */
    .system-content__overlay {
        transform: translate(-60%, -40%);
    }

    .system-content__img {
        position: relative;
        transform: none;
        margin-top: 40px;
    }

    .system-content__paragraph--right {
        margin-top: 0;
    }

    /* break section fix */
    .system-content__break {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        margin-left: 0;
    }

    .system-content__break--line {
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    .system-content__col-img-container--break {
        width: 100%;
        margin-left: 0;
    }

    /* feature card overlays — pull back into normal flow */
    .system-content__col-container--overlay-1 {
        position: relative;
        bottom: auto;
        right: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .system-content__col-container--overlay-2 {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }

    .system-content__col-feature-card--overlay {
        width: 100%;
    }

    /* section 3 images — already flex from 1440px query; stack on tablet */
    .system-content__img-container--3 {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .system-content__img--3--left--overlay,
    .system-content__img--3--right--overlay {
        width: 100%;
    }

    .system-content__img--3--left,
    .system-content__img--3--right {
        width: 100%;
        height: auto;
    }

    .system-content__paragraph--3,
    .system-content__paragraph--4 {
        width: 100%;
    }
}


@media (max-width: 768px) {

    .system-content {
        padding: 100px 20px 40px;
    }

    /* remove complex overlays */
    .system-content__overlay,
    .system-content__banner,
    .system-content__col-container--overlay-1,
    .system-content__col-container--overlay-2 {
        display: none;
    }

    .system-content__kicker,
    .system-content__title {
        font-size: 36px;
    }

    .system-content__category {
        font-size: 12px;
    }

    .system-content__description {
        font-size: 16px;
    }

    .system-content__paragraph {
        font-size: 15px;
        text-align: left; /* better readability */
    }

    .system-content__col {
        gap: 30px;
    }

    .system-content__info {
        gap: 40px;
    }

    /* feature cards stack */
    .system-content__col-feature-card--overlay {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    /* images */
    .system-content__col-img-container {
        height: 250px;
    }

    /* section 3 spacing */
    .system-content__info--3 {
        margin-top: 60px;
    }

    /* break line — full width on mobile */
    .system-content__break--line--3 {
        position: relative;
        left: auto;
        width: 100%;
        max-width: 100%;
    }

    .system-content__break--3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
}


@media (max-width: 480px) {

    .system-content__kicker,
    .system-content__title {
        font-size: 28px;
    }

    .system-content__description {
        font-size: 14px;
    }

    .system-content__paragraph {
        font-size: 14px;
    }

    .system-content {
        padding: 80px 16px 30px;
    }
}