body {
    background: var(--body-background-primary);
    background-size: cover;
}

/* navbar */
.navbar-default {
    background: none;
}

/* headline-hero */
.headline-hero {
    position: relative;
    height: 670px;
    padding-top: 100px;
}

.headline-hero__text {
    width: 50%;
}
.headline-hero__text h1 {
    margin: 0 auto 23px auto;
    line-height: 1.2em;
    padding: 0;
}
.headline-hero__text h2 {
    font-size: 24px;
    line-height: 1.4em;
    margin: 0 0 70px 0;
}
.headline-hero__text h2 span {
    display: block;
}

.headline-hero__action {
    margin-bottom: 0px;
}
.headline-hero__action__demo-cnt {
    margin-left: 85px;
}
.headline-hero__action__demo {
    font-weight: 500;
    font-size: 22px;
}
.headline-hero__action__demo img {
    margin-right: 6px;
}

.headline-hero__note {
    font-size: 14px;
    margin: 30px 0 0 0;
    line-height: 1.4em;
}

.headline-hero__img-cnt {
    position: absolute;
    width: 50%;
    left: 50%;
    top: 35px;
    overflow: hidden;
}
.headline-hero__img-cnt__stripes {
    position: absolute;
    left: 540px;
    bottom: 60px;
}

/* advantages comparison */
.advantages {
    background: #fff;
    padding: 40px 0 100px 0;
}
.advantages__text {
    text-align: left;
    padding: 50px 80px 0 0px;
}

.advantages__table {
    list-style: none;
    margin: 0;
    padding: 0;
}
.advantages__table li {
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    min-height: 70px;
    justify-content: center;
    align-items: stretch;
}
.advantages__table > li:last-child {
    border-bottom: none;
}

.advantages__table-header,
.advantages__table-header-mk {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 10px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advantages__table-item-name {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
    padding: 10px 5px;
    display: flex;
    align-items: center;
}
.advantages__table-item-name--head {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    justify-content: flex-start;
}
.advantages__table-item,
.advantages__table-item-mk {
    padding: 14px 12px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: start;
}
.advantages__table-header-mk,
.advantages__table-item-mk {
    background: rgba(0, 195, 99, 0.05);
}
.advantages__table-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.advantages__table-status svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.advantages__table-item svg,
.advantages__table-item-mk svg {
    margin: 0;
}

/* features */
.features {
    background: var(--color-grey-light) url(/assets/images/app/public/home/features_shape_1.svg) no-repeat top -250px right -300px;
    padding: 100px 0;
    position: relative;
    clip-path: polygon(
        200px 0px,
        100% 0px,
        100% 100%,
        0px 100%,
        0px 200px
    );
}

.features .section__header {
    margin-bottom: 80px;
}

.features__items {
    list-style: none;
    margin: 6px 0 0 0;
    padding: 0;
}
.features__items li {
    display: flex;
}
.features__items li:not(:last-child) {
    margin-bottom: 55px;
}
.features__item--cnt {
    padding-left: 40px;
}
.features__item--cnt h3 {
    margin: 5px 0 15px 0;
}
.features__img--cnt svg {
    width: 40px;
    height: 40px;
}

.features__menu--nav {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 50px;
}
.features__menu--nav a {
    font-family: var(--font-family-primary);
    font-size: 18px;
    color: var(--color-a-ter);
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 5px;
    margin: 0 22px;
}
.features__menu--nav a.active {
    color: var(--color-default);
    border-bottom: 2px solid var(--color-red);
}

.features__menu-img {
    text-align: center;
    position: relative;
}
.features__menu-img img {
    width: 60%;
}
.features__menu-img--nav-left {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 50px;
    height: 50px;
    display: block;
    background: url(/assets/images/app/public/home/features_nav_arrows.svg) no-repeat top left;
    transform: scale(0.6);
}
.features__menu-img--nav-right {
    position: absolute;
    top: 45%;
    right: 5%;
    width: 50px;
    height: 50px;
    display: block;
    background: url(/assets/images/app/public/home/features_nav_arrows.svg) no-repeat top right;
    transform: scale(0.6);
}

/* video-rev */
.video-rev {
    padding: 0;
}

.video-rev__cnt {
    background: #fff url(/assets/images/app/public/home/video_rev_shape_1.svg) no-repeat left 0px bottom 90px;
    padding: 100px 0;
    position: relative;
}

.video-rev__text {
    padding-right: 85px;
    position: relative;
}

.video-rev__nav {
    pointer-events: auto;
    position: absolute;
    bottom: 0;
    left: -35px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.video-rev__nav li {
    border-right: 2px solid #dadada;
    width: 10px;
    height: 42px;
    position: relative;
    cursor: pointer;
}
.video-rev__nav li:last-child {
    border: none;
    height: 12px;
}
.video-rev__nav li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #dadada;
    border-radius: 50%;
}
.video-rev__nav li.active::before {
    background: var(--color-red);
}

.video-rev__nav--wrap {
    pointer-events: none;
    padding-top: 56.25%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}
.video-rev__nav--wrap::before {
    content: '';
    z-index: 11;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    background: url(/assets/images/app/public/home/loom_play_button.svg) no-repeat center;
    background-size: 120px;
}

.video-rev__carousel--wrap {
    position: relative;
}

.video-rev__carousel {
    list-style: none;
    margin: 0;
    padding: 0;
}
.video-rev__carousel > li {
    position: relative;
    z-index: 1;
    padding-top: 56.25%;
    margin-bottom: 40px;
    overflow: hidden;
    cursor: pointer;
}
.video-rev__carousel > li > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}
.video-rev__carousel > li:nth-child(n+2) {
    padding-top: revert;
    height: 200px;
    max-height: 200px;
    overflow: hidden;
}
.video-rev__carousel > li:nth-child(n+2)::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(249,249,249,0.5) 0%, rgba(255,255,255,1) 100%);
}
.video-rev__carousel > li:nth-child(n+3) {
   display: none;
}


.video-rev__carousel__btn-play {
    pointer-events: auto;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-rev__carousel__btn-play img {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-rev__logos {
    position: relative;
    z-index: 1;
    background: url(/assets/images/app/public/home/video_rev_bg.jpg) bottom;
    height: 600px;
    clip-path: polygon(
        0% 200px,
        calc(100% - 200px) 200px,
        100% 0%,
        100% calc(100% - 200px),
        200px calc(100% - 200px),
        0% 100%
    );
    margin: -200px 0;
}

/*** video modal ***/
.video-rev__modal .modal-dialog {
    border-radius: 25px;
    width: 80vw;
    margin: 0 auto;
    padding: 100px;
    background-color: transparent;
}
.video-rev__modal .modal-dialog .modal-content .close {
    opacity: 1;
    position: absolute;
    right: -30px;
    font-weight: 100;
    font-size: 40px;
    color: #fff;
}
.video-rev__modal .modal-content {
    background-color: #fff;
    height: 80%;
    border-radius: 25px;
}
.video-rev__modal .modal-body {
    width: 100%;
    height: 100%;
}
.video-rev__modal .modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: block; /* required to remove bottom white bar gap */
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 25px;
}

/* why  */
.why {
    background: url(/assets/images/app/public/home/why_bg.jpg) no-repeat top right;
    padding: 100px 0;
    overflow: hidden;
}

.why__header {
    margin-bottom: 140px;
    padding-left: 20px;
}

.why__cnt-left {
    position: relative;
    min-height: 500px;
    padding-right: 35px;
    text-align: right;
}
.why__cnt-right {
    position: relative;
    padding-left: 35px;
}
.why__cnt-left h3,
.why__cnt-right h3 {
    margin-top: -3px;
    margin-bottom: 25px;
}
.why__cnt-left p,
.why__cnt-right p {
    margin-bottom: 26px;
}
.why__cnt-vline {
    position: absolute;
    top: 0;
    right: 0;
    border-right: 2px dashed var(--color-red);
    width: 1px;
    height: 100%;
    z-index: 200;
}
.why__cnt-bubble {
    position: absolute;
    top: 0;
    right: -10px;
    border-radius: 50%;
    z-index: 250;
    width: 21px;
    height: 21px;
    background: #fff;
    border: 2px solid var(--color-red);
}
.why__cnt-left--2 .why__cnt-bubble {
    top: 2px;
}
.why__cnt-left--3 .why__cnt-vline {
    height: 200px;
}
.why__cnt-left--3 .why__cnt-bubble {
    top: 200px;
}
.why__cnt-right--3 {
    padding-top: 200px;
}
.why__cnt-left--1 img {
    position: absolute;
    top: -170px;
    right: 2px;
    z-index: 100;
}
.why__cnt-right--1 {
    z-index: 300;
}
.why__cnt-left--2 img {
    display: none;
    z-index: 100;
}
.why__cnt-right--2 img {
    position: absolute;
    top: -100px;
    left: 30px;
    z-index: 100;
}
.why__cnt-left--3 img {
    position: absolute;
    top: 0px;
    right: 70px;
}

/* pros */
.pros {
    overflow: hidden;
    position: relative;
    height: 650px;
    background: url(/assets/images/app/public/home/pros_collage_4.jpg) center;
}
.pros img {
    position: absolute;
    top: 0;
    right: -50px;
}

/*** Setup ***/
.setup {
    background-color: var(--color-grey-light);
    padding-top: 100px;
    padding-bottom: 120px;
}

.setup__video > div > img {
    width: 100%;
}

.setup__video--play {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.setup__video--play::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(/assets/images/app/public/home/loom_play_button.svg) no-repeat center;
    background-size: 120px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.setup__video--play:hover::after {
    width: 135px;
    height: 135px;
    background-size: 135px;
}

/*** Solution ***/
.solutions {
    background-color: var(--color-btn-primary);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}
.solutions::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: url(/assets/images/app/public/home/mobile-solutions-bg.png) no-repeat top center white;
    background-size: contain;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 200px), calc(100% - 200px) 100%, 0 100%); /* 45 degree at 200x200 */
}

.solutions__detail-title {
    color: var(--color-text-sec);
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.solutions__content {
    position: absolute !important;
    display: flex;
    flex-flow: column nowrap;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.solutions__detail {
    flex: 1;
}
.solutions__detail-dashboard,
.solutions__detail-scheduling,
.solutions__detail-customers {
    position: relative;
}
.solutions__detail-dashboard .solutions__connector,
.solutions__detail-scheduling .solutions__connector,
.solutions__detail-customers .solutions__connector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.solutions__detail-dashboard .solutions__connector,
.solutions__detail-customers .solutions__connector {
    width: 250px;
    right: -270px;
}
.solutions__detail-scheduling .solutions__connector {
    width: 370px;
    left: -390px;
}
.solutions__detail-dashboard {
    top: 120px;
}
.solutions__detail-scheduling {
    top: 140px;
}
.solutions__detail-customers {
    bottom: 20px;
}
.solutions__detail-description {
    color: var(--color-text-sec);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.solutions__app-buttons {
    padding-top: 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 20px;
}
.solutions__app-buttons a {
    height: 60px;
}
.solutions__app-buttons .btn {
    display: inline-block;
    padding: 10px 50px;
    text-align: center;
    border-radius: 5px;
}

.solutions__connector {
    display: flex;
    align-items: center;
}
.solutions__connector--circle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    background-color: var(--color-white);
    z-index: 1;
}
.solutions__connector--line {
    flex-grow: 1;
    height: 2px;
    border-top: 2px dashed var(--color-red);
    position: relative;
    z-index: 0;
    margin: 2px;
}

/*** Support ***/
.support {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-btn-primary);
}
.support .tagline {
    font-size: 16px;
}
.support svg.support__bg-image {
    position: absolute;
    left: -190px;
    z-index: 0;
    bottom: -30px;
}
.support h2, .support h3 {
    color: #ffffff;
}
.support h3 {
    font-size: 14px;
}
.support h4 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 36.12px;
    text-align: left;
    margin-top: 0;
}

.support__item-title {
    font-family: var(--font-family-primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 10px;
}

.support__item-description {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.support__content {
    color: #ffffff;
}

.support__list {
    list-style-type: none;
    padding: 0;
}

.support__item {
    display: flex;
    flex-flow: row nowrap;
    gap: 1rem;
    margin-bottom: 30px;
}
.support__item svg {
    width: 50px;
    height: 50px;
}

.support__rep {
    position: relative;
    max-height: 400px;
    z-index: 1;
}