.iframe-hero {
    padding-top: calc(80px + 72px);
    padding-bottom: 80px;
    background: linear-gradient(180deg, #010C25 56.28%, #032576 100%);
    margin-top: -72px;
    position: relative;
    overflow: hidden;
}

body{
    background-color: var(--d-dark) !important;
}

#masthead.scrolled-hover {
    background-color: var(--d-dark) !important;
}

.iframe-hero-section2 {
    position: absolute;
    width: 345vw;
    height: 762.5vw;
    left: 50%;
    bottom: 0;
    border-radius: 10.42vw;
    pointer-events: none;
}

.iframe-hero .n-container {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
}

.iframe-hero .img-1 {
     will-change: transform;

    position: absolute;  
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    animation: iframe-hero-circle-enter 4000ms ease-out forwards;
    bottom: -36.82vw;
    height: 58.17vw; 
}

@keyframes iframe-hero-circle-enter {
    0% {
        bottom: -36.82vw;
        height: 58.17vw; 
    }
    100% {
        bottom: calc(181.614vw / (-2));
        height: 181.614vw;
    }
}

.iframe-hero .img-2-wr {
    position: absolute;
    right: -14vw;
    bottom: -14vw;
    width: 21.56vw;
    height: 21.56vw;
}

.iframe-hero .img-2 {
    width: 21.56vw;
    height: auto;
    transform: scale(1);
    will-change: transform;

    animation: 
        iframe-hero-circle2-grow 4000ms ease-in-out 4000ms forwards,
        iframe-hero-circle2-sway 6000ms ease-in-out 8000ms infinite;
}

@keyframes iframe-hero-circle2-grow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(5);
    }
}

@keyframes iframe-hero-circle2-sway {
    0%, 100% {
        transform: translate(0, 0) scale(5);
    }
    50% {
        transform: translate(-100vw, 0) scale(5);
    }
}

.iframe-hero .content {
    max-width: 680px;
    z-index: 1;
    position: relative;
}

.iframe-hero .content h1 {
    color: var(--n-white);
    margin-bottom: 24px;
} 

.iframe-hero .content .main-text-medium {
    color: var(--d-white);
    margin-bottom: 48px;
    max-width: 480px;
}

.iframe-hero .model {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: calc(100vh - 72px - 2*40px);
    border-radius: 20px;
    overflow: hidden;
}

.iframe-hero .model {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-hero .model iframe,
.model .sketchfab-embed-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.iframe-hero .title {
    text-align: center;
    color: var(--n-black);
}

.iframe-hero iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-hero .model {
    position: relative;
}

.iframe-hero .sketchfab-embed-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-hero .arrows-button {
    width: max-content;
    margin-top: 32px;
    align-self: end;
}

.iframe-hero a.arrows-button.inner.outer {
    display: block;
}

.iframe-hero .title.h2 br {
    display: none;
}

.model-placeholder{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://storage.googleapis.com/dev_resources_voka_io_303011/model-builds/Product/3d-model-brain-preview.webp');
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    isolation: isolate;
}

.iframe-hero .ios-unsupported-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    border-radius: 12px;
    background: rgba(49, 78, 122, 0.50);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-align: center;
    max-width: 320px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.iframe-hero .ios-unsupported-message p {
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--n-white);
}

.iframe-hero .start-model{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    padding-inline-end: 24px;
    transition: 0.3s;
    border-radius: 12px;
    border: 0;
    outline: 0;
    background: rgba(49, 78, 122, 0.40);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.iframe-hero .start-model p{
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--n-white);
}

[dir=rtl] .iframe-hero .start-model p{
    font-family: "Noto Sans Arabic";
}

.iframe-hero .start-model .loader{
    display: none;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg)}
} 

.iframe-hero .start-model svg{
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.iframe-hero .try-in-app-button{
    display: none !important;
    position: absolute;
    top: auto;
    bottom: 20px;
    left: 20px;
    right: auto;
    z-index: 5;
}

.iframe-hero .model-video{
    display: none;
}
@media (hover:hover){
    .iframe-hero .start-model:hover{
        background:  rgba(49, 78, 122, 0.60);
    }
}

@media screen and (max-width: 1919px) {
    .iframe-hero .iframe-hero {
        padding: 100px 80px 120px 80px;
        margin: auto;
        max-width: none;
        gap: 60px;
    }

    .iframe-hero .info {
        padding-inline-start: 80px;
        padding-inline-end: 80px;
    }



.iframe-hero {
    padding-top: calc(80px + 72px);
    padding-bottom: 100px;
}

.iframe-hero .content{
    max-width: 524px;
}
    
}

@media screen and (max-width: 1439px) {
    .iframe-hero .iframe-hero {
        padding: 80px 60px 100px 60px;
    }

    .iframe-hero .iframe-hero .model {
        border-radius: 16px;
    }

    .iframe-hero .main-text-medium {
        font-size: 16px;
        line-height: 24px;
    }

    .iframe-hero .button-semibold {
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        /* 27px */
    }

    .iframe-hero .n-container{
        gap: 24px;
    }

    .iframe-hero .content h1{
        margin-bottom: 20px;
    }

    .iframe-hero .content .main-text-medium{
        margin-bottom: 40px;
    }

    .iframe-hero .model-video-wrapper{
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 688 / 387;
        border-radius: 16px;
overflow: hidden;
    }
    .iframe-hero .model-video-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    background:
linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, #000000 100%);
    }
    .iframe-hero .model-video{
        display: none;
        width: 100%;
      
    }
}

@media screen and (max-width: 1279px) {
    .iframe-hero .n-container{
        flex-direction: column-reverse;
        gap: 60px;
    }

    .iframe-hero .model {
        display: none;
    }

    .iframe-hero {
        padding-top: calc(60px + 72px);
        padding-bottom: 60px;
    }

    .iframe-hero .content h1 {
        text-align: center;
    }

    .iframe-hero .content .main-text-medium {
        margin: 0 auto 32px auto;
        text-align: center;
        max-width: 440px;
    }

    .iframe-hero .button-semibold{
        margin: 0 auto;
        display: flex;
        width: max-content;
    }

    .iframe-hero .model-video{
        display: block;
        width: 100%;
    }

   
}

@media screen and (max-width: 1079px) {
    .iframe-hero .info {
        background-image: none;
    }

    .model-placeholder{
        background-image: url('https://storage.googleapis.com/dev_resources_voka_io_303011/model-builds/Product/3d-model-brain-preview-tablet.webp');
    }

    .iframe-hero .iframe-hero {
        padding: 80px 40px 100px 40px;
    }

    .iframe-hero .iframe-hero .model {
        aspect-ratio: auto;
        max-height: unset;
    }

    .iframe-hero .sketchfab-embed-wrapper{
        height: auto;
        aspect-ratio: 688 / 800;
        max-height: calc(100vh - 72px - 2*32px);
    }

    .iframe-hero .info {
        padding: unset;
    }

    .iframe-hero .title.h2 br {
        display: block;
    }

    .iframe-hero .start-model{
        gap: 10px;
        padding: 12px 14px;
        padding-inline-end: 16px;
    }

    .iframe-hero .start-model p{
        font-size: 18px;
    }

    .iframe-hero .start-model svg{
        width: 24px;
        height: 24px;
    }


}

@media screen and (max-width: 1079px) {
    .iframe-hero .try-in-app-button{
        display: flex !important;
        position: static;
        width: 100%;
        border-radius: 0 0 16px 16px;
        gap: 0px;
        font-size: 16px !important;
        font-weight: 600 !important;
        background: var(--n-very-light-accent) !important;
        color: var(--n-black) !important;
    }

    .iframe-hero .try-in-app-button svg rect{
        fill: transparent;
    }

    .iframe-hero .iframe-hero .model {
        border-radius: 16px 16px 0 0;
    }
}

@media screen and (max-width: 576px) {
    .iframe-hero .sketchfab-embed-wrapper {
        aspect-ratio: unset;
        height: 100vh;
        max-height: calc(100vh - 56px - 2*50px - 2*20px);
    }

    .iframe-hero .iframe-hero .model {
        border-radius: 12px 12px 0 0;
    }

    .iframe-hero .try-in-app-button{
        border-radius: 0 0 12px 12px;
    }

    .iframe-hero .iframe-hero {
        padding: 60px 24px 40px 24px;
        gap: 40px;
    }

    .iframe-hero .info .title {
        padding-inline-start: 16px;
        padding-inline-end: 16px;
        font-size: 26px;
        font-style: normal;
        font-weight: 800;
        line-height: 40px;
        /* 153.846% */
    }

    .iframe-hero .title.h2 br {
        display: none;
    }

    .iframe-hero {
        padding-top: calc(40px + 72px);
        padding-bottom: 40px;
    }

    .iframe-hero .n-container{
        gap: 40px;
    }

    .iframe-hero .content h1 {
        text-align: left;
    }

    .iframe-hero .content .main-text-medium{
        text-align: left;
        margin-bottom: 32px;
    }

    .iframe-hero .button-semibold{
        margin: 0;
    }
}