@import "../partials/partners.css";
@import "../partials/testimonials.css";

/* Hero */
.hp-hero {
    position: relative;
    background-color: var(--grey-100);
}

.hp-hero .section-container {
    padding-block: 40px 66px;
}

.hero-grid-bg {
    background-image:
            linear-gradient(to right, var(--dark-100-015) 1px, transparent 1px),
            linear-gradient(to bottom, var(--dark-100-015) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: transparent;
    position: absolute;
    inset: 30px;
    z-index: 0;
}

.hero-content {
    z-index: 5;
    position: relative;
    gap: 50px;
}

.hero-animation {
    justify-content: center;
}

.hero-animation video {
    margin: 0 auto;
    width: 65vw;
}

h1 {
    font: 400 36px / 39px var(--SpaceGrotesk);
    letter-spacing: -1.08px;
    margin-bottom: 17px;
    text-align: center;
}

.hero-super.title-super {
    margin-bottom: 17px;
    text-align: center;
}

p.hero-text {
    text-align: center;
}

.hero-cta {
    margin: 25px auto 0;
}

.hero-right {
    max-width: 60vw;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .hp-hero .section-container {
        padding-block: 100px;
    }

    .hero-grid-bg {
        background-image:
                linear-gradient(to right, var(--dark-100-015) 1px, transparent 1px),
                linear-gradient(to bottom, var(--dark-100-015) 1px, transparent 1px);
        background-size: 36px 36px;
    }

    .hero-content {
        grid-template-columns: calc(33.33% - 50px) calc(33.33% - 50px ) calc(33.33% - 50px );
        gap: 75px;
    }

    .hero-animation video {
        margin: 0 auto;
        width: 100%;
    }

    h1 {
        font: 400 42px / 45px var(--SpaceGrotesk);
        letter-spacing: -2.1px;
        margin-bottom: 24px;
        text-align: left;
    }

    .hero-super.title-super {
        margin-bottom: 14px;
        text-align: left;
    }

    p.hero-text {
        text-align: left;
    }

    .hero-cta {
        margin: 25px 0 0;
    }

    .hero-right {
        max-width: 100%;
    }

}

/* UI Animation */
section.ui-video {
    padding: 30px 0 35px;
}

.ui-video h2 {
    text-align: center;
}

.ui-animation {
    margin-top: 40px;
    width: 100%;
    aspect-ratio: 365 / 209;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 18px 18px 33px #1B08080F,
    57px 57px 60px #1B08080D,
    96px 96px 81px #1B080808,
    172px 170px 96px #1B080803,
    269px 266px 106px #1B080800;
}

.ui-animation video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 510px) {
    .ui-video h2 br {
        display: none;
    }
}

@media (min-width: 1025px) {

    section.ui-video {
        padding: 50px 0 70px;
    }

    .ui-animation {
        margin-top: 48px;
        border-radius: 20px;
    }
}


/* Platform */
section.platforms {
    padding: 35px 0;
}

section.platforms .section-container {
    max-width: 1100px;
}

.platforms-section-header {
    max-width: 800px;
    margin: 0 auto 90px;
    text-align: center;
}

.platform-header h3 {
    margin-bottom: 18px;
}

.platform-animation {
    position: relative;
    padding-bottom: 100px;
}

.platform-header {
    margin-bottom: 44px;
}

.platforms .title-super {
    margin: 0 auto 18px;
}

.platform-image {
    width: 87%;
    border-radius: 6px;
    overflow: hidden;
}

#platform-animation {
    position: absolute;
    top: 100px;
    width: 87%;
    left: 40px;
}

.platform-animation video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: -26px -16px 88px 0 #00000026;
}

.platform-inner:not(:last-of-type) {
    padding-bottom: 55px;
}

.platform-cta {
    margin: 30px auto 90px;
}

@media (min-width: 1025px) {
    .platform-inner {
        flex-direction: row;
        gap: 11%;
        width: 100%;
        align-items: center;
    }

    .platform-header {
        margin-bottom: 0;
    }

    .platform-inner:not(:last-of-type) {
        padding-bottom: 140px;
    }

    .platform-inner:nth-of-type(2) {
        flex-direction: row-reverse;
    }

    .platform-super.title-super {
        margin-bottom: 25px;
    }


    .platform-animation {
        width: 53.5%;
    }

    .platform-animation video {
        border-radius: 15px;
    }

    .platform-header {
        width: 35.5%
    }

    .platform-cta {
        margin: 100px auto;
    }
}

/* Analytics */
section.analytics {
    padding: 30px 0 70px;
}

section.analytics .section-container {
    max-width: 1390px;
}

.analytics ul.features-list {
    gap: 18px;
    max-width: 1200px;
    margin: -50px auto 0;
}

.analytics .banner-inner {
    width: 100vw;
    position: relative;
    margin: 0 -20px;
}

.analytics li.feature-card {
    position: relative;
    padding: 38px 25px 28px;
    border-radius: 18px;
    background: var(--grey-10);
    box-shadow: 18px 18px 33px #1B08080F,
    57px 57px 60px #1B08080D,
    96px 96px 81px #1B080808,
    172px 170px 96px #1B080803,
    269px 266px 106px #1B080800;
}

.feature-card .card-grid-bg {
    background-image:
            linear-gradient(to right, var(--dark-100-015) 0.3px, transparent 0.3px),
            linear-gradient(to bottom, var(--dark-100-015) 0.3px, transparent 0.3px);
    background-size: 20px 20px;
    background-color: transparent;
    position: absolute;
    inset: 17px;
    z-index: 0;
}

.card-content {
    z-index: 3;
    position: relative;
    height: 100%;
}

.analytics .feature-card .card-icon svg {
    width: 40px;
    height: auto;
}

.analytics .card-icon {
    margin-bottom: 55px;
}

.feature-card .title-super {
    margin: 50px 0 10px;
}

.feature-card h4 {
    font: 400 22px / 35px var(--SpaceGrotesk);
    letter-spacing: -2%;
    margin-bottom: 12px;
}

a.card-cta {
    margin-top: 6px;
    font-weight: 700;
    color: var(--dark-100);
}

a.card-cta svg {
    margin-left: 5px;
}

.analytics .header-inner {
    max-width: unset;
}

.analytics .banner-animation {
    width: 100%;
    aspect-ratio: 390 / 310;
    overflow: hidden;
    border-radius: 0;
    max-height: 310px;
}

.analytics .banner-header {
    position: absolute;
    inset: 0;
    padding: 55px 20px;
    align-items: start;
    justify-content: flex-start;
}

.analytics .banner-header h3 {
    font: 400 23px / 34px var(--SpaceGrotesk);
    letter-spacing: -2%;
    margin-bottom: 0;
}

.card-content p {
    font-size: 15px;
}

@media (min-width: 768px) {

    .analytics .banner-header h3 {
        font: 400 37px / 58px var(--SpaceGrotesk);
        letter-spacing: -4%;
        margin-bottom: 0;
    }

    .analytics .header-inner {
        max-width: 725px;
    }

    .feature-card h4 {
        margin-bottom: 10px;
    }

    .analytics .banner-animation {
        aspect-ratio: 390 / 260;
    }

    .analytics .banner-header {
        padding: 110px 70px;
        justify-content: flex-start;
    }

    .analytics ul.features-list {
        gap: 14px;
        margin: -170px auto 0;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    section.analytics {
        padding: 70px 0 140px;
    }

    .card-content p {
        font-size: 17px;
    }


    .analytics .banner-inner {
        width: 100%;
        margin: 0;
        border-radius: 32px;
        overflow: auto;
    }

    .analytics .banner-animation {
        aspect-ratio: 1310 / 540;
        max-height: unset;
    }

    .analytics .banner-header {
        padding: 110px 70px;
        justify-content: flex-start;
    }

    .analytics ul.features-list {
        gap: 14px;
        margin: -190px auto 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card {
        padding: 60px 40px 45px;
    }

    .feature-card .card-grid-bg {
        background-image:
                linear-gradient(to right, var(--dark-100-015) 0.4px, transparent 0.4px),
                linear-gradient(to bottom, var(--dark-100-015) 0.4px, transparent 0.4px);
        background-size: 28px 28px;
        inset: 17px;
    }

    .analytics li.feature-card {
        padding: 45px 30px 35px;
        border-radius: 22px;
    }

    .analytics .card-icon {
        margin-bottom: 65px;
    }

    .analytics .feature-card .card-icon svg {
        width: 48px;
    }

    .feature-card h4 {
        font: 400 27px / 123% var(--SpaceGrotesk);
        letter-spacing: -2%;
        margin-bottom: 14px;
    }
}



/* Process */
section.process {
    position: relative;
}

section.process .section-container {
    padding-block: 50px 70px;
}

.section-bg-video {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.section-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process h2 {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
}

p.process-subtitle {
    margin-top: 70px;
    font: 400 16px / 157% var(--PlusJakartaSans);
    letter-spacing: 0;
    text-align: center;
}

.process-content {
    position: relative;
}

div#process-animation {
    overflow: hidden;
}

video#process-video {
    width: 440px;
    /*width: 113vw;*/
    height: auto;
    transform: translate(-6%, 40px);
}

.process-steps > a {
    cursor: pointer;
    color: unset;
}

p.step-title {
    font: 600 14px / 117% var(--PlusJakartaSans);
    letter-spacing: 0;
    text-align: center;
    margin: 4px auto 6px;
}

.step-box span.index {
    font: 600 7px / 117% var(--PlusJakartaSans);
    text-align: center;
}

p.step-text {
    font: 400 12px / 117% var(--PlusJakartaSans);
    letter-spacing: 0;
    text-align: center;
}

.step-box {
    max-width: 95px;
    position: absolute;
}


.step-box.box-1 {
    top: 12%;
    left: 43%;
}

.step-box.box-2 {
    top: 32%;
    left: -5%;
}

.step-box.box-3 {
    bottom: 18%;
    left: auto;
    right: 8%;
}

.step-box.box-4 {
    top: 53%;
    left: -5%;
}

.step-box.box-5 {
    top: auto;
    right: auto;
    bottom: 11%;
    left: 1px;
}

.step-box.box-6 {
    bottom: 0;
    right: 15%;
}

@media (min-width: 500px) and (max-width: 767px) {
    video#process-video {
        transform: translate(10%, 40px);
    }
}


@media (min-width: 768px) {
    section.process {
        padding-bottom: calc(50vw - 100px);
    }

    .process h2 {
        max-width: 630px;
    }

    .process-inner.d-flex.f-col {
        position: absolute;
        inset: 100px 0 0;
    }

    video#process-video {
        width: 100%;
        transform: none;
    }

    p.step-title {
        font: 700 12px / 117% var(--PlusJakartaSans);
    }

    .step-box span.index {
        font: 800 12px / 117% var(--PlusJakartaSans);
    }

    .step-box {
        max-width: 125px;
    }

}


@media (min-width: 1025px) {
    .process h2 {
        max-width: 900px;
    }

    p.process-subtitle {
        font-size: 17px;
        position: absolute;
        max-width: 600px;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
    }

    section.process .section-container {
        padding-block: 50px 140px;
    }

    .process-content {
        position: relative;
        max-width: 1920px;
        margin: 0 auto;
    }

    p.step-title {
        font: 700 12px / 117% var(--PlusJakartaSans);
    }

    .step-box span.index {
        font: 800 12px / 117% var(--PlusJakartaSans);
    }

    .step-box {
        width: max-content;
        max-width: unset;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .step-box.box-1 {
        top: 38%;
        left: 10%;
    }

    .step-box.box-2 {
        top: 16%;
        left: 33%;
    }

    .step-box.box-3 {
        bottom: 8%;
        left: 40%;
    }

    .step-box.box-4 {
        top: 17%;
        left: 52%;
    }

    .step-box.box-5 {
        top: 35%;
        right: 15%;
        bottom: auto;
        left: auto;
    }

    .step-box.box-6 {
        bottom: 35%;
        right: 1%;
    }
}

@media (min-width: 1025px) and (max-width: 1399px) {
    .step-box.box-1 {
        top: 38%;
        left: 19%;
    }

    .step-box.box-2 {
        top: 23%;
        left: 34%;
    }

    .step-box.box-3 {
        bottom: 11%;
        left: 44%;
        right: auto;
    }

    .step-box.box-4 {
        top: 17%;
        left: 52%;
    }

    .step-box.box-5 {
        top: 35%;
        right: 15%;
        bottom: auto;
        left: auto;
    }

    .step-box.box-6 {
        bottom: 35%;
        right: 1%;
    }
}

@media (min-width: 1400px) {
    .step-box.box-1 {
        top: 40%;
        left: 20%;
    }

    .step-box.box-2 {
        top: 25%;
        left: 35%;
    }

    .step-box.box-3 {
        bottom: 12%;
        left: 44%;
    }

    .step-box.box-4 {
        top: 25%;
        left: 55%;
    }

    .step-box.box-5 {
        top: 35%;
        right: 20%;
        bottom: auto;
        left: auto;
    }

    .step-box.box-6 {
        bottom: 39%;
        right: 8%;
    }
}
@media (min-width: 1920px) {
    section.process {
        padding-bottom: 860px;
    }

    section.process .section-container {
        padding-top: 80px;
    }
}
@media (min-width: 768px) {

}


/* Video Section */
.video-section h2 {
    text-align: center;
    margin: 40px 0 28px;
}

.testimonial-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

.video-overlay-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-right: auto;
    color: var(--grey-10);
}

.tes-video svg {
    width: 50px;
    height: auto;
}

.testimonial-video .tes-video {
    position: relative;
    top: 0;
    right: 0;
    padding: 0;
    min-width: unset;
    margin-right: auto;
    margin-bottom: auto;
    cursor: pointer;
}

.video-logo {
    margin-bottom: 0;
}

.video-logo svg {
    width: 70px;
    height: auto;
}

.video-logo svg * {
    fill: white;
    opacity: 1;
}

p.hero-quote {
    font: 400 24px / 33px var(--PlusJakartaSans);
    letter-spacing: 0%;
}



@media (min-width: 1025px) {
    .testimonial-video {
        border-radius: 30px;

        aspect-ratio: 1200 / 675;
    }

    .video-box {
        height: 100%;
    }

    .video-box img {
        object-fit: cover;
        height: 100%;
    }

    .video-section h2 {
        margin: 85px 0 40px;
    }

    .video-overlay-content {
        width: 45%;
    }

    .tes-video svg {
        width: 103px;
    }

    .video-overlay {
        padding: 50px;
    }

    .video-logo {
        margin-bottom: 28px;
    }

    .video-logo svg {
        width: 157px;
    }

    .name-role {
        margin-top: 28px;
    }

    .name-role p {
        font: 700 18px / 39px var(--SpaceGrotesk);
        letter-spacing: -2%;
    }

    .name-role p span {
        font-weight: 400;
        border-left: 1px solid;
        padding-left: 7px;
        margin-left: 5px;
    }

}


/* Banner CTA */
section.cta-banner .section-container {
    max-width: 1390px;
}

.banner-inner {
    width: 100%;
    position: relative;
    margin: 20px 0 50px;
}

.banner-animation {
    width: 100%;
    aspect-ratio: 330 / 495;
    overflow: hidden;
    border-radius: 25px;
}

.banner-animation video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-header {
    position: absolute;
    inset: 0;
    padding: 40px 24px;
    align-items: center;
    justify-content: flex-end;
}

.banner-header h3 {
    font: 400 34px / 36px var(--SpaceGrotesk);
    letter-spacing: -0.68px;
    color: var(--grey-50);
    margin-bottom: 24px;
}

.header-inner {
    max-width: unset;
}

.banner-cta.btn-outline {
    color: var(--grey-50);
    border: 1.2px solid var(--grey-50);
}

p.banner-text {
    color: var(--grey-50);
    margin-bottom: 30px;
}

span.arrow-box.tablet-only {
    margin-left: 16px;
    width: 30px;
    height: 14px;
    overflow: hidden;
    position: relative;
}

.btn span.arrow-box.tablet-only svg {
    margin-left: 0;
    position: absolute;
    right: 0;
}

@media (min-width: 768px) {
    .banner-header {
        padding: 40px 14.3%;
        align-items: flex-start;
        justify-content: center;
    }

    .header-inner {
        max-width: 750px;
    }

    .banner-header h3 {
        font: 400 62px / 65px var(--SpaceGrotesk);
        letter-spacing: -1.24px;
        margin-bottom: 40px;
    }
}

@media (min-width: 1025px) {
    .banner-animation {
        aspect-ratio: 1330 / 630;
        border-radius: 45px;
    }

    .banner-inner {
        margin: 100px 0 50px;
    }

}