#app-landing img {
    max-width: 100%;
    object-position: center;
    object-fit: contain;
}

.app-site {
    max-width: 1280px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}

.app-landing-top {
    background-image: url(/images/app/banner.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.flex-b {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 48px;
}

.app-right-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.app-left-wrapper {
    --qr: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 540px;
}

.download-app-header {
    width: 100%;
    white-space: nowrap;
    margin-bottom: 24px;
    text-align: center;
}

.download-app-qr {
    width: 40%;
}

.download-app-action {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.download-app-action a {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    margin: 10px 0;
}

.download-app-action img {
    width: 240px;
    object-fit: contain;
}

.app-right-wrapper img {
    width: 400px;
    object-fit: contain;
    pointer-events: none;
}

.download-app-heading {
    font-size: 31px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.download-app-desc {
    font-weight: bold;
    font-size: 19px;
    margin: 0;
    text-transform: uppercase;
}

.download-app-qr {
    width: var(--qr);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
}

.download-app-qr::after {
    content: "";
    padding-top: 100%;
    display: block;
}

.download-app-qr img {
    width: 98%;
    height: 98%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.download-app-action {
    --space: 24px;
    width: calc(100% - var(--qr) - var(--space));
    padding-left: var(--space);
    margin-left: var(--space);
    border-left: 2px solid #fff;
}

.app-landing-step {
    background-color: #fbf6f0;
    padding: 32px 0;
}

.app-landing-step .app-site {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 32px;
    line-height: 1;
    font-size: calc(17px + (19 - 17) * ((100vw - 300px) / (1920 - 300)));
}

.landing-step-item-txt {
    margin-top: 12px;
}

.app-landing-step .app-site img {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    display: block;
}

.app-landing-middle .app-left-wrapper {
    width: 620px;
    text-align: center;
}

.download-app-now {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: 2px solid #35aedc;
    border-radius: 7px;
    width: fit-content;
    width: -moz-fit-content;
    margin: 10px auto;
    user-select: none;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.download-app-now span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 70px;
    color: #35aedc;
    font-size: 19px;
    text-transform: uppercase;
}

.download-app-now button {
    background-color: #35aedc;
    color: #fff;
    text-transform: uppercase;
    padding: 16px 70px;
    border: none;
    outline: none;
    border-radius: 0 5px 5px 0;
    text-align: center;
    font-size: 23px;
    letter-spacing: 1px;
    transition: all 300ms ease-in-out;
}

.download-app-now:hover {
    border-color: #0796b0;
}

.download-app-now:hover button {
    background-color: #0796b0;
}

.download-app-desc {
    text-transform: none;
    font-size: 16px;
    font-weight: 500;
}

.download-app-desc .download-app-desc-heading {
    font-size: 33px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 20px auto 10px;
}

.download-app-desc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 19px;
    line-height: 1.3;
}

.app-landing-middle .download-app-action {
    border-color: #aaa;
    position: relative;
    width: fit-content;
    width: -moz-fit-content;
}

.app-landing-middle .download-app-action::before {
    content: "Hoặc";
    position: absolute;
    top: 50%;
    left: -18px;
    background-color: #aaa;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    font-size: 12px;
}


.app-landing-bottom {
    background-color: #f1f1f1;
    padding: 48px 0 32px;
    margin-bottom: 32px;
}
.app-landing-bottom > .download-app-heading {
    text-align: center;
    margin: 0 auto;
}

.step-by-step {
    max-width: 1280px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-step-item {
    padding-left: 24px;
    padding-right: 24px;
}

.guide-step-item img {
    max-width: 300px;
    margin: 0 auto;
}

.guide-step-item-arrow {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    color: #ddd;
}

.guide-step-item-arrow svg {
    width: 64px;
    height: 64px;
}

.app-landing-footer {
    padding: 24px;
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
    text-align: center;
    margin-top: 32px;
}

.app-landing-footer {
    font-size: 21px;
    line-height: 1.2;
}

.app-content-footer {
    max-width: 1280px;
    padding: 10px 16px;
    margin: 0 auto;
    position: relative;
}
.app-content-footer:not(.show-full-app-content) {
    overflow: hidden;
    height: 200px;
}

.app-content-footer.extra-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-image: linear-gradient(180deg,hsla(0,0%,100%,0),#f1f1f1);
    pointer-events: none;
    z-index: 1;
}

.app-content-footer.extra-content .app-content-box {
    pointer-events: none
}

.app-content-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    background-image: linear-gradient(180deg,hsla(0,0%,100%,0),#f1f1f1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease-in-out;
}

.app-content-footer.extra-content .app-content-action {
    opacity: 1;
    pointer-events: all;
}

.app-content-footer.show-full-app-content .app-content-action  {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.app-content-action span {
    display: block;
    padding: calc(6px + (10 - 6) * ((100vw - 300px) / (1920 - 300))) 20px;
    border-radius: 5px;
    border: 2px solid #e1e1e1;
    background-color: #fff;
    color: #34b0dd;
    text-transform: uppercase;
    user-select: none;
    cursor: pointer;
    font-size: calc(13px + (16 - 13) * ((100vw - 300px) / (1920 - 300)));
}

.app-content-action span:hover {
    color: #ee2624
}

@media (max-width: 760px) and (orientation:portrait), (max-width: 990px) and  (orientation:landscape) {
    .app-landing-top .flex-b {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .app-right-wrapper,
    .guide-step-item-arrow {
        display: none;
    }

    .app-left-wrapper {
        width: 92vw;
        margin: 0 auto;
    }

    .download-app-header {
        white-space: normal;
    }

    .app-landing-step .app-site {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-app-now button,
    .download-app-now span {
        padding-left: 30px;
        padding-right: 30px;
    }

    .download-app-qr {
        width: 40%;
    }

    .app-landing-middle .download-app-action {
        width: 50%;
    }

    .step-by-step {
        flex-wrap: wrap;
    }

    .guide-step-item {
        width: 48%;
        margin-bottom: 32px;
    }

    .app-landing-footer {
        font-size: 17px;
    }

    .download-app-heading {
        font-size: 21px;
    }
}
