:root{
    --bg: #000000;
    --ink: #ffffff;
    --muted: #d0d0d0;
    --logo: #5860E0;
    --line: #333333;
}

html > body > section{
    scrollbar-width: thin;
    scrollbar-color: var(--muted) transparent;
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
}

a{
    text-decoration: none !important;
    color: var(--ink);
}

hr{
    border: none;
    width: 30%;
    height: 3px;
    background: var(--muted);
    margin: 0 7rem;
}

html, body{
    height: 100%;
    overflow: hidden;
}

body{
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    overflow: hidden;
    --active-slide: 0; 
    position: relative;
}

.header{
    width: 100%;
    display: flex;
    padding-top: 0.7rem;
    padding-bottom: 0.5rem;
    padding-left: 7rem;
    padding-right: 15rem;
}

.header-brand{
    background: linear-gradient(to right, #5860E0 50%, #000 50%);
    background-size: 200% 100%;
    background-position: 100% 0%;
    border: none;
    border-radius: 50px;
    transition: background-position 0.5s ease-in-out;
    display: flex;
    gap: 2rem;
}

.brand-logo{
    width: 85px;
    height: 75px;
    align-self: center;
    overflow: hidden;
    position: relative;
    padding-left: 0.5rem;
}

.brand-dark{
    position: absolute;
    width: 75px;
    height: 75px;
    background-image: url(https://softovertechs.com/assets/img/darklogo.svg);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.brand-color{
    width: 75px;
    height: 75px;
    background-image: url(https://softovertechs.com/assets/img/logo.svg);
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.header-brand:hover .brand-color{
    opacity: 1;
}

.header-brand:hover .brand-dark{
    opacity: 0;
}

.header-text{
    padding-right: 15px;
    margin: 0;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.header-h{
    font-size: 2rem;
    height: 1.3rem;
    color: var(--ink);
    letter-spacing: 1.5px;
    word-spacing: 5px;
    transition: color 0.6s ease-in-out;
}

.header-t{
    font-size: 1rem;
    font-weight: 500;
    height: 1rem;
    color: var(--muted);
    letter-spacing: 1.1px;
    padding: 1.5px 3rem 1.5px 3rem;
    transition: color 0.6s ease-in-out;
}

.social-icon{
    border-bottom: 2px solid var(--line);
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 7rem;
    margin-right: 15rem;
    padding-bottom: 2px;
}

.icon-links{
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.icon{
    font-size: 1.5rem;
    color: var(--muted);
    transition: color 0.3s ease-in-out;
}

.icon:hover{
    color: var(--logo);
}

.header-brand:hover{
    background-position: 0% 0%;
}

.header-brand:hover 
.header-h{
    color: #000;
}

.header-brand:hover 
.header-t{
    color: #000;
}

main{
    padding-left: 7rem;
    padding-right: 15rem;
    padding-top: 1.2rem;
    padding-bottom: 1.5rem;
}

.container{
    display: flex;
    gap: 35rem;
    pointer-events: none;
}

.arc-wrapper{
    position: relative;
    width: 100%;
    height: 360px;
    cursor: none;
}

.arc-bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    background-repeat: no-repeat;
}

.arc-bg-bw{
    z-index: 0;
    background-image: url(https://softovertechs.com/assets/img/darkarc.png);
}

.arc-bg-colored{
    z-index: 1;
    background-image: url(https://softovertechs.com/assets/img/colorarc.png);
    clip-path: circle(0px at 50% 50%);
    -webkit-clip-path: circle(0px at 50% 50%);
    transition: clip-path 0.01s ease-in-out;
}

.text-area{
    display: flex;
    padding: 3.5rem 0;
    pointer-events: none;
}

.text-area h1{
    font-size: 4.5rem;
    margin-top: 1rem;
    padding: 0;
    color: var(--ink);
    letter-spacing: 1.5px;
    word-spacing: 15px;
    line-height: 6rem;
    font-family: 'Inter', sans-serif;
}

.text-area p{
    font-size: 1.5rem;
    margin-top: 1.5rem;
    width: 1000px;
    padding-left: 1rem;
    padding-right: 8rem;
    line-height: 2.5rem;
    letter-spacing: 1.2px;
}

.side-text{
    position: absolute;
    top: 60%;
    right: 30px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right top;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
    white-space: nowrap; 
    pointer-events: none;
}

.side-img{
    position: absolute;
    width: 500px;
    height: 100%;
    top: 0;
    right: 200px;
    background-image: url(https://softovertechs.com/assets/img/darkkarma.png);
    background-repeat: no-repeat;
    background-position: center;
}

.content-text{
    width: 500px;
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 5.5rem;
    color: #ffffff;
}

.last-content{
    display: flex;
    flex-direction: column;
    width: 700px;
}

.last-content h1{
    margin-top: 1rem;
    font-size: 3.5rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 8px;
    pointer-events: none;
}

.last-content p{
    margin-top: -0.5rem;
    font-size: 1.5rem;
    letter-spacing: 4px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.form-box{
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    padding-left: 20px;
    width: 350px;
    height: 150px;
    border-left: #FF1B1B 3px solid;
    border-bottom: #FF1B1B 3px solid;
}

.form-box a{
    width: 150px;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #000;
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 35px;
    transition: all 0.5s ease-in-out;
}

.form-box a:hover{
    background-color: #FF1B1B;
    color: #ffffff;
}

.form-box h3{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    height: 5px;
    pointer-events: none;
}

.form-box h3 span{
    display: block;
}

.last-content-icon{
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 4.85rem;
    gap: 24px;
}

.last-content-icon .icon{
    max-width: 220px;
}

.last-content-icon span{
    font-family: 'Inter', sans-serif;
    margin-left: 16px;
    font-weight: 500;
}

.content-text span{
    display: block;
}

.red{
    color: #FF1B1B;
}

.content-img{
    background-image: url(https://softovertechs.com/assets/img/fikir.svg);
    width: 100%;
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
}

.bottom-content{
    padding-left: 7rem;
    padding-right: 15rem;
    padding-top: 1.2rem;
    padding-bottom: 2rem;
}

.bottom-content p{
    font-size: 1.7rem;
    line-height: 1.7rem;
    color: var(--muted);
    width: 700px;
    height: 270px;
    pointer-events: none;
}

.bottom-site{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding-left: 7rem;
    padding-right: 15rem;
    align-items: center;
}

.web-link{
    justify-self: start;
    font-size: 0.8rem;
    color: var(--muted);
}

.dots{
    justify-self: center;
    display: flex;
    gap: 24px;
}

.dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
}

.dot.active{
    background: #ffffff;
}

.bottom-line{
    justify-self: end;
}

.line{
    display: block;
    width: 600px;
    max-width: 100%;
    height: 3px;
    background: #ffffff;
    opacity: 0.8;
}

body > section{
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform;
    transition: transform 1550ms cubic-bezier(.16, 1, .3, 1);
    transform: translate3d(calc((var(--i) - var(--active-slide)) * 100vw), 0, 0);
}

body > section:nth-of-type(1){ --i: 0; }
body > section:nth-of-type(2){ --i: 1; }
body > section:nth-of-type(3){ --i: 2; }

.corner-loader{
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    background: #000;
    opacity: 1;
    pointer-events: auto;
}

.corner-loader_row{
    --logoSize: clamp(85px, 12vw, 135px);
    --gap: clamp(10px, 2.8vw, 18px);
    display: inline-flex;
    align-items: center;
    gap: var(--gap);
    --preShift: 0px;
    transform: translateX(var(--preShift));
}

.corner-logo{
    --size: var(--logoSize);
    --overlap: 1px;
    width: var(--size);
    height: var(--size);
    position: relative;
    perspective: 900px;
    transform-style: preserve-3d;
}

.corner-loader.run .corner-loader_row{
    animation: rowToCenter .55s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 2.10s;
}

@keyframes rowToCenter{
    to{ transform: translateX(0); }
}

.corner-logo_under{
    position: absolute;
    inset: 0;
    background: url(https://softovertechs.com/assets/img/darklogo.svg) center/contain no-repeat;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,.55));
    opacity: 1;
}

.flap{
    position: absolute;
    width: calc(50% + var(--overlap));
    height: calc(50% + var(--overlap));
    background-image: url(https://softovertechs.com/assets/img/logo.svg);
    background-size: calc(200% + (var(--overlap) * 2)) calc(200% + (var(--overlap) * 2));
    background-repeat: no-repeat;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    outline: none;
    box-shadow: none;
}

.flap.tl{
    top: 0;
    left: 0;
    background-position: 0% 0%;
    transform-origin: 0% 0%;
}

.flap.tr{
    top: 0;
    left: calc(50% - var(--overlap));
    background-position: 100% 0%;
    transform-origin: 100% 0%;
}

.flap.br{
    top: calc(50% - var(--overlap));
    left: calc(50% - var(--overlap));
    background-position: 100% 100%;
    transform-origin: 100% 100%;
}

.flap.bl{
    top: calc(50% - var(--overlap));
    left: 0;
    background-position: 0% 100%;
    transform-origin: 0% 100%;
}

.corner-copy{
    display: inline-flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateX(-10px);
}

.corner-sep{
    width: 2.5px;
    height: clamp(44px, 6.5vw, 88px);
    background: #ffff;
    opacity: .9;
    transform: scaleY(0);
    transform-origin: center;
}

.corner-text{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: clamp(1px, 0.35vw, 2px);
    color: #ffff;
    font-size: clamp(1.15rem, 3.4vw, 5rem);
    white-space: nowrap;
}

.corner-loader.run .flap.tl{
    animation: foldTL .58s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: .10s;
}
.corner-loader.run .flap.tr{
    animation: foldTR .58s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: .62s;
}
.corner-loader.run .flap.br{
    animation: foldBR .58s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 1.14s;
}
.corner-loader.run .flap.bl{
    animation: foldBL .58s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 1.66s;
}

.corner-loader.run .corner-copy{
    animation: copyIn .55s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 2.10s;
}
.corner-loader.run .corner-sep{
    animation: sepIn .45s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 2.10s;
}

.corner-loader.run{
    animation: loaderOut .7s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 3.3s;
}

@keyframes foldTL{
    0% { transform: rotateY(0deg); opacity: 1; }
    100%{ transform: rotateY(-105deg) translateX(10%); opacity: 0; }
}

@keyframes foldTR{
    0% { transform: rotateX(0deg); opacity: 1; }
    100%{ transform: rotateX(105deg) translateY(10%); opacity: 0; }
}

@keyframes foldBR{
    0% { transform: rotateY(0deg); opacity: 1; }
    100%{ transform: rotateY(105deg) translateX(-10%); opacity: 0; }
}

@keyframes foldBL{
    0% { transform: rotateX(0deg); opacity: 1; }
    100%{ transform: rotateX(-105deg) translateY(-10%); opacity: 0; }
}

@keyframes copyIn{
    from{ opacity: 0; transform: translateX(-10px); }
    to  { opacity: 1; transform: translateX(0); }
}

@keyframes sepIn{
    from{ transform: scaleY(0); }
    to  { transform: scaleY(1); }
}

@keyframes loaderOut{
    to{ opacity: 0; transform: scale(1.02); pointer-events:none; }
}

@media (prefers-reduced-motion: reduce){
  .corner-loader, .flap, .corner-copy, .corner-sep{ animation: none !important; }
  .corner-copy{ opacity: 1; transform: none; }
  .corner-sep{ transform: scaleY(1); }
}


@media (max-width: 1440px){
    hr{
        margin: 0 4rem;
    }

    .header{
        padding-left: 4rem;
        padding-right: 10rem;
    }

    main{
        padding-left: 4rem;
        padding-right: 10rem;
    }

    .container{
        gap: 300px;
    }

    .social-icon{
        margin-left: 4rem;
        margin-right: 10rem;
    }

    .text-area{
        padding: 1rem 0;
    }

    .text-area h1{
        font-size: 5rem;
        line-height: 5.5rem;
    }

    .text-area p{
        padding-right: 4rem;
    }

    .bottom-content{
        padding-top: 1rem;
        padding-left: 4rem;
        padding-right: 10rem;
    }

    .bottom-site{
        padding-left: 4rem;
        padding-right: 10rem;
    }

    .line{
        width: 500px;
    }

    .side-text{
        top: 62%;
    }

    .side-img{
        right: 75px;
    }

    .btm-1,
    .btm-2,
    .btm-3{
        margin-bottom: 2rem;
    }
}

/* @media(max-width: 1280px){
    hr{
        margin: 0 3rem;
        width: 35%;
    }

    .header{
        padding-left: 3rem;
        padding-right: 8rem;
    }

    main{
        padding-left: 3rem;
        padding-right: 8rem;
    }

    .container{
        gap: 200px;
    }

    .social-icon{
        margin-left: 3rem;
        margin-right: 8rem;
    }

    .text-area h1{
        font-size: 4.5rem;
        line-height: 5.5rem;
    }

    .text-area p{
        padding-right: 3rem;
    }

    .bottom-content{
        padding-top: 1rem;
        padding-left: 3rem;
        padding-right: 8rem;
    }

    .side-text{
        top: 63%;
    }

    .side-img{
        right: 125px;
    }

    .bottom-site{
        padding-left: 3rem;
        padding-right: 8rem;
    }

    .btm-1,
    .btm-2,
    .btm-3{
        margin-bottom: 2rem;
    }
} */

@media(max-width: 1024px){
    hr{
        margin: 0 2rem;
        width: 40%;
    }

    body > section{
        overflow-y: auto;
    }

    .header{
        padding-left: 2rem;
        padding-right: 6rem;
    }

    main{
        padding-left: 2rem;
        padding-right: 6rem;
    }

    .container{
        gap: 55px;
    }

    .social-icon{
        margin-left: 2rem;
        margin-right: 6rem;
    }

    .text-area h1{
        font-size: 4rem;
        margin-top: 0;
        word-spacing: 0;
        line-height: 5.5rem;
    }

    .text-area p{
        margin-top: 0;
        padding-right: 3px;
    }

    .bottom-content{
        padding-top: 0;
        padding-left: 2rem;
        padding-right: 6rem;
    }

    .side-text{
        top: 65%;
    }

    .side-img{
        display: none;
    }

    .bottom-site{
        padding-left: 2rem;
        padding-right: 6rem;
    }

    .bottom-line{
        display: none;
    }

    .btm-1,
    .btm-2,
    .btm-3{
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 992px){
    hr{
        margin: 0 1.5rem;
        width: 42.5%;
    }

    .header{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .header

    main{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .container{
        padding-right: 55px;
    }

    .text-area h1{
        font-size: 4rem;
        line-height: 5.5rem;
    }

    .text-area p{
        padding-right: 3rem;
    }

    .social-icon{
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .bottom-site{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bottom-content{
        padding-top: 1.2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .side-text{
        display: none;
    }
}

@media (max-width: 768px){
    hr{
        width: 55%;
    }

    .container{
        gap: 0;
        flex-direction: column-reverse;
    }

    .text-area{
        padding: 1.5rem 0;
        flex-direction: column;
    }

    .text-area h1{
        font-size: 4rem;
        margin-top: 0;
        letter-spacing: 0;
        line-height: 4.5rem;
    }

    .text-area p{
        width: 700px;
        font-size: 1.5rem;
        padding: 0;
        line-height: 2rem;
    }

    .bottom-content{
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .form-box{
        height: 140px;
    }

    .form-box a{
        width: 140px;
        font-size: 1.3rem;
    }

    .bottom-site{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

}

@media (max-width: 435px){
    hr{
        margin: 0 1rem;
        width: 85%;
    }

    main{
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .header{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-brand{
        gap: 0;
    }

    .brand-logo{
        width: 105px;
        padding-left: 0;
    }

    .header-text{
        padding-right: 0;
        padding-left: 1rem;
    }

    .header-h{
        font-size: 2rem;
    }

    .header-t{
        font-size: 0.9rem;
    }

    .container{
        gap: 0;
        flex-direction: column-reverse;
    }

    .text-area p{
        width: 350px;
    }

    .social-icon{
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .content-text{
        font-size: 56px;
        line-height: 4rem;
        margin-top: -2.5rem;
    }

    .bottom-content{
        padding-left: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        padding-right: 1rem;
    }

    .bottom-content p{
        font-size: 1.3rem;
        width: 350px;
    }

    .content-img{
        height: 300px;
    }

    .last-content{
        width: 350px;
    }

    .last-content h1{
        font-size: 3.5rem;
        line-height: 4.5rem;
        letter-spacing: 7px;
    }

    .last-content p{
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .form-box{
        margin-left: 0;
        width: 350px;
        height: 125px;
        padding-left: 15px;
    }

    .form-box h3{
        font-size: 1.2rem;
    }

    .form-box a{
        margin-top: 30px;
        width: 110px;
        font-size: 1rem;
    }

    .last-content-icon{
        padding-top: 3rem;
        gap: 24px;
        padding-bottom: 4rem;
    }


    .bottom-site{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dots{
        display: none;
    }

    .btm-1,
    .btm-2,
    .btm-3{
        margin-bottom: 1rem;
    }
}

@media (max-width: 375px){
    hr{
        margin: 0 1rem;
        width: 80%;
    }

    .header-text{
        padding-left: 0;
    }

    .header-h{
        font-size: 1.8rem;
    }

    .social-icon{
        margin-top: 1rem;
    }

    .text-area{
        padding: 1.5rem 0;
        flex-direction: column;
    }

    .text-area h1{
        font-size: 3rem;
    }

    .text-area p{
        width: 250px;
    }

    .content-text{
        font-size: 48px;
        padding-top: 1.5rem;
    }

    .content-img{
        height: 200px;
    }

    .bottom-content{
        padding-top: 0;
        padding-bottom: 0;
    }

    .bottom-content p{
        font-size: 1.3rem;
        width: 250px;
    }

    .last-content{
        width: 250px;
    }

    .last-content h1{
        font-size: 3rem;
        line-height: 3.5rem;
        letter-spacing: 7px;
    }

    .last-content p{
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    .form-box{
        width: 285px;
        height: 115px;
    }

    .form-box h3{
        font-size: 1rem;
    }

    .form-box a{
        margin-top: 25px;
        width: 110px;
        font-size: 1rem;
    }

    .last-content-icon{
        padding-top: 2rem;
        gap: 16px;
        padding-bottom: 4rem;
    }
}

@media (max-width: 320px){
    hr{
        margin: 0 1rem;
        width: 70%;
    }

    .header-h{
        font-size: 1.4rem;
    }

    .header-t{
        font-size: 0.85rem;
        padding: 1px 1rem 1px 1rem;
    }

    .content-text{
        padding-top: 0;
    }

    .last-content h1{
        font-size: 2.5rem;
    }

    .last-content p{
        font-size: 0.9rem;
    }

    .last-content-icon{
        padding-top: 5rem;
        gap: 16px;
        padding-bottom: 4.5rem;
    }

    .form-box{
        width: 250px;
        height: 100px;
    }

    .form-box h3{
        font-size: 0.9rem;
    }

    .form-box a{
        margin-top: 20px;
        width: 100px;
        font-size: 0.9rem;
    }

    .btm-3{
        margin-bottom: 1rem;
    }
}