@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: transparent;
    color: white;
}

html, body{
    height: 100%;
    overflow-x: hidden;
}

.bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('bg2.gif') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* efek lebih stabil */
    filter: blur(7px);
    z-index: -1;
}

.bg::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}

header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 3rem;
    color: #9500ff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #9500ff;
    border-bottom: 3px solid #9500ff;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #9500ff
;
        border-bottom: 3px solid #9500ff
;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #9500ff
;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
    padding-top: 12rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: transparent;
}

.home .home-content h1{
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    background: linear-gradient(90deg, #9500ff, #ff00c8);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
    margin-top: 10px;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    background: #9500ff;
    width: 25vw;
    border-radius: 50%;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.6), /* bayangan bawah */
        0 0 20px #151515,
        0 0 40px #1213135e;;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #9500ff;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #9500ff;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #9500ff;
    box-shadow: 0  0 25px #9500ff;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #9500ff;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #9500ff;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #9500ff;
    color: black;
    box-shadow: 0 0 25px #9500ff;
}

.link-btn{
    color: white;
    font-weight: 500;
    text-decoration: underline;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 260px;
    white-space: nowrap;
    display: inline-block;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "Partner";
    color: #9500ff;
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-content h3{
        font-size: 2.2rem;
    }

    .typing-text{
        font-size: 2.4rem;
    }

    .home-img img{
        width: 180px;
    }
}
