@import url(./reff-variables.css);

/* #region ============= GLOBAL ============= */
    body {
        color: var(--black);
        font-size: 1rem;
        font-family: var(--fontMain);
        background-color: var(--mainBg) !important;
        overflow-x: hidden;
    }
    section {
        height: fit-content;
        min-height: 100vh;
        margin: 0 auto;
    }
    .subtitle {
        color: var(--primary);
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.2;
        text-transform: uppercase;
        margin-bottom: 1rem;

        &::after {
            content: '\e0c8';
            font-family: crumbsicon;
            display: inline-block;
            margin-left: 1rem;
        }
    }
    .title {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1.2;
        text-transform: capitalize;
        margin-bottom: 1.5rem;
    }
    .desc {
        font-size: 1.15rem;
    }
    .cr-btn i {
        margin-right: .3rem;
    }
    .cr-btn.icon-end i {
        margin-left: .75rem;
    }
/* #endregion ========== GLOBAL ============= */

/* #region ============= SCROLLBAR ============= */
    *::-webkit-scrollbar {
        height: 10px;
        width: 8px;
    }
    *::-webkit-scrollbar-track {
        background: var(--border);
        margin: 0;
    }
    *::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        background: linear-gradient(to top, var(--primary) 0%, var(--primary) 60%);
        border: 2px solid transparent;
        border-radius: 10px;
        background-clip: content-box;
    }
/* #endregion ========== SCROLLBAR ============= */

/* #region ============= BACK TO TOP ============= */
    #bttBtn {
        position: fixed;
        right: 1.5rem;
        bottom: 1.5rem;
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        border: none;
        outline: none;
        color: var(--hitam);
        font-size: 2.25rem;
        background-color: var(--secondary);
        border-radius: 50%;
        box-shadow: 2px 2px 8px var(--shadow);
        transform: scale(0);
        transition: var(--anim);
        transform-origin: center bottom;
        cursor: pointer;
        z-index: 99;
    }
/* #endregion ========== BACK TO TOP ============= */

/* #region ============= HIDE ARROW INPUT ============= */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
/* #endregion ========== HIDE ARROW INPUT ============= */

/* #region ============= CUSTOM SELECTION COLOR ============= */
    ::selection {
        color: var(--putih);
        background: var(--red);
    }
    ::-moz-selection {
        color: var(--putih);
        background: var(--red);
    }
/* #endregion ========== CUSTOM SELECTION COLOR ============= */

/* #region ============= CUSTOM BROKEN IMAGE ============= */
    img {
        position: relative;
    }
    img::after {
        content: "Gagal menampilkan gambar \A'" attr(alt) "'\A 😞" / " ";
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: var(--grey);
        font-weight: 600;
        text-align: center;
        background-color: var(--putih);
        border: 2px dashed var(--border);
        border-radius: .5rem;
        white-space: pre-wrap;
    }
/* #endregion ========== CUSTOM BROKEN IMAGE ============= */

/* #region ============= NAVBAR ============= */
    #navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        max-width: var(--maxPage);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5%;
        padding: 1.5rem var(--mainPaddingX);
        margin-inline: auto;
        transition: var(--anim);
        isolation: isolate;
        z-index: 100;
        
        #nav-toggle {
            display: none;
        }

        .brand {
            display: flex;
            align-items: center;

            a {
                display: grid;
                place-items: center;
                color: var(--putih);
                text-decoration: none;
            }
            svg {
                height: 50px;
                aspect-ratio: 1;
            }
        }
        
        .nav-menu {
            flex: 1;

            ul {
                display: flex;
                align-items: center;
                gap: 3rem;
                padding: 0;
                margin: 0;

                li {
                    list-style: none;

                    .nav-link {
                        position: relative;
                        color: var(--putih);
                        font-size: 1.1rem;
                        text-decoration: none;
                        text-transform: capitalize;
                        transition: var(--anim);

                        &:is(:hover, :active, .active) {
                            color: var(--secondary);
                        }
                        &::before {
                            content: '';
                            position: absolute;
                            top: calc(100% + 6px);
                            width: 100%;
                            height: 4px;
                            background-color: var(--secondary);
                            border-radius: 1rem;
                            transform: scale(0);
                            transition: var(--anim);
                        }
                        &.active::before {
                            transform: scale(1);
                        }
                    }
                }
            }
        }

        .theme {
            display: flex;
            align-items: center;
            gap: 1rem;

            .toggle-dark {
                width: 3rem;
                aspect-ratio: 16 / 9;
                border-radius: 3rem;
                overflow: hidden;

                #darkModeToggle {
                    display: none;
                }

                label {
                    width: 100%;
                    height: 100%;
                    cursor: pointer;

                    div {
                        position: relative;
                        width: 100%;
                        height: 100%;
                        background: linear-gradient(to top, #1ddffd, #10cae7);
                        box-shadow: inset 0 0 4px #00000040;
                        transition: var(--anim);
                        z-index: 0;

                        &::before {
                            content: '';
                            position: absolute;
                            top: 50%;
                            left: 8%;
                            transform: translateY(-50%);
                            height: 75%;
                            aspect-ratio: 1;
                            background-color: var(--putih);
                            border-radius: 50%;
                            box-shadow: 0 0 8px #00000040;
                            transition: var(--anim);
                            z-index: 3;
                        }
                        #darkModeToggle:checked ~ &::before {
                            left: 49%;
                        }

                        span:first-child {
                            position: absolute;
                            left: -20%;
                            bottom: -117%;
                            aspect-ratio: 1;
                            height: 150%;
                            border-radius: 50%;
                            background-color: var(--putih);
                            z-index: 1;

                            &::after {
                                content: '';
                                position: absolute;
                                left: 65%;
                                width: 100%;
                                height: 100%;
                                border-radius: 50%;
                                background-color: var(--primary);
                                transition: var(--anim);
                            }
                        }
                        #darkModeToggle:checked ~ & span:first-child {
                            background-color: #4a554c;
                        }
                        #darkModeToggle:checked ~ & span:first-child::after {
                            background-color: #55775e;
                        }
                        span:last-child {
                            position: absolute;
                            top: 39%;
                            left: 70%;
                            aspect-ratio: 1;
                            height: 32%;
                            border-radius: 50%;
                            background-color: #fff679;
                            box-shadow: 0 0 8px #fff679c4;
                            transition: var(--anim);
                            z-index: -1;
                        }
                        #darkModeToggle:checked ~ & span:last-child {
                            top: 22%;
                            left: 12%;
                            background-color: #fefcda;
                            box-shadow: 0 0 6px #fefcdac4;
                        }
                    }
                    #darkModeToggle:checked ~ div {
                        background: linear-gradient(to top, #a5a5a5, #939393);
                    }
                }
            }
        }

        label[for="nav-toggle"] {
            display: none;
            place-items: center;
            width: 2.2rem;
            height: 2.2rem;
            cursor: pointer;

            i {
                font-size: 2rem;
                color: var(--putih);

                &:last-child {
                    display: none;
                    color: var(--red);
                }
            }
        }

        .ly-top {
            content: '';
            position: absolute;
            inset: 0;
            /* background: linear-gradient(to bottom, var(--black), transparent); */
            background: transparent;
            transition: .5s ease;
            opacity: 1;
            z-index: -1;
        }
        .ly-bot {
            content: '';
            position: absolute;
            inset: 0;
            background-color: var(--black);
            transition: .5s ease;
            opacity: 0;
            z-index: -2;
        }
    }
/* #endregion ========== NAVBAR ============= */

/* #region ============= HEADER ============= */
    header {
        position: relative;
        width: 100%;
        height: calc(100vh + 100px);
        max-width: var(--maxPage);
        margin: 0 auto;
        background: linear-gradient(30deg, var(--clr200), var(--clr800));
        isolation: isolate;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url(/assets/images/pattern.svg);
            background-size: cover;
            -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 70%, #000 70%, transparent 90%);
            mask-image: radial-gradient(ellipse 90% 90% at 30% 70%, #000 70%, transparent 90%);
            opacity: .03;
            z-index: -1;
        }
        .hero {
            width: 100%;
            height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 1rem;
            color: var(--putih);
            margin-top: 2rem;
        }

        .text {
            padding-left: var(--mainPaddingX);

            h1 {
                font-size: clamp(2.5rem, 5vw, 6rem);
                font-weight: 800;
                margin-bottom: 0;

                span {
                    color: var(--secondary);
                }
            }
            h4 {
                font-size: 1.25rem;
                font-weight: 400;
                margin-bottom: 2.5rem;
            }
            a {
                margin-bottom: 6rem;
            }
            .partner {
                display: flex;
                align-items: center;
                gap: 1rem;

                .users {
                    position: relative;
                    display: flex;
                    align-items: center;
                    min-height: 42px;

                    span {
                        position: absolute;
                        left: calc(1.25rem * var(--numb));
                        display: block;
                        height: 42px;
                        aspect-ratio: 1;
                        border: 2px solid var(--putih);
                        border-radius: 50%;
                        transition: left .3s ease;
                        overflow: hidden;
                    }
                    span img {
                        display: block;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                    span:last-child {
                        position: relative;
                        overflow: hidden;
                    }
                    span:last-child::before {
                        content: '3k+';
                        position: absolute;
                        inset: 0;
                        display: grid;
                        place-items: center;
                        color: var(--putih);
                        font-size: .8rem;
                        background-color: rgba(0,0,0,0.75);
                        z-index: 4;
                    }
                }
                p {
                    font-weight: 300;
                    margin-left: 5rem;
                    margin-bottom: 0;
                }
            }
        }
        
        .image {
            position: relative;
            display: grid;
            place-items: center;
            height: 100%;
            width: 100%;

            .wrap-img {
                position: absolute;
                top: 50%;
                transform: translateY(-50%) rotate(0deg) scale(.5);
                width: clamp(100px, 80%, 525px);
                aspect-ratio: 1;
                background-color: var(--grey);
                border-radius: 1.5rem;
                animation: heroEntrance 1.25s ease forwards;
                opacity: 0;
                overflow: hidden;
            }
            img {
                display: block;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) rotate(-2deg);
                min-width: calc(100% + 3rem);
                min-height: calc(100% + 3rem);
                object-fit: cover;
            }
            .rate {
                position: absolute;
                left: 5%;
                bottom: 28%;
                color: var(--hitam);
                padding: 1.25rem 1.5rem;
                background-color: var(--putih);
                border-radius: 1rem;
                z-index: 5;

                i {
                    position: absolute;
                    font-size: 2rem;
                    color: var(--green);
                }
                span:first-of-type {
                    display: block;
                    margin-top: .25rem;
                    margin-left: 2.5rem;
                }
                span:last-of-type {
                    display: block;
                    font-size: 2rem;
                    font-weight: 800;
                    line-height: 1;
                    margin-top: 1rem;
                }
            }
        }
    }
    @keyframes heroEntrance {
        to {
            transform: translateY(-50%) rotate(2deg) scale(1);
            opacity: 1;
        }
    }
/* #endregion ========== HEADER ============= */

/* #region ============= HIGHLIGHT ============= */
    #highlight {
        position: relative;
        width: 100%;
        min-height: 250px;
        max-width: var(--maxPage);
        margin: 0 auto;
        background-color: var(--white);
        
        .wrapper {
            position: absolute;
            top: -100px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            padding: 2rem;
            margin: 0 var(--mainPaddingX);
            background-color: var(--white);
            border-radius: 1.5rem;
            box-shadow: 8px 12px 35px var(--shadow);
            transform: translateY(50%) scale(.8);
        }
        div {
            --clr: var(--blue);
            
            &:nth-child(2) {
                --clr: var(--green);
            }
            &:nth-child(3) {
                --clr: var(--purple);
            }
            &:nth-child(4) {
                --clr: var(--orange);
            }
        }
        div:not(:last-child) {
            padding-right: 2rem;
            border-right: 1px dashed var(--border);
        }
        i {
            display: grid;
            place-items: center;
            width: 50px;
            height: 50px;
            color: var(--clr);
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            background-color: hsl(from var(--clr) h s l / .1);
            border-radius: 50%;
        }
        h5 {
            font-size: 1.25rem;
            text-transform: uppercase;
            margin-bottom: .5rem;
        }
        p {
            color: var(--muted);
            margin-bottom: 0;
        }
    }
/* #endregion ========== HIGHLIGHT ============= */

/* #region ============= ABOUT ============= */
    #about {
        position: relative;
        display: flex;
        width: 100%;
        max-width: var(--maxPage);
        background-color: var(--white);

        .wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 5rem;
            padding: 2rem 0 2rem var(--mainPaddingX);
        }
        .text .cr-btn {
            margin-top: 2rem;
        }
        .image {
            transform: translate(50%, 50%);
            opacity: .25;
        }
        .image div {
            height: 75vh;
            max-height: 550px;
            background-color: var(--grey);

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
/* #endregion ========== ABOUT ============= */

/* #region ============= WHY ============= */
    #why {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: var(--maxPage);
        background-color: var(--white);

        .subtitle {
            text-align: center;
            padding: 4rem  var(--mainPaddingX) 0 var(--mainPaddingX);
        }
        .title {
            text-align: center;
            padding: 0 var(--mainPaddingX);
        }
        .wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 4rem;
            padding: 2rem var(--mainPaddingX) 6rem var(--mainPaddingX);
        }
        .text-list {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-bottom: 2rem;

            > div {
                display: flex;
                align-items: flex-start;
                gap: 1.5rem;
            }
            img {
                width: 60px;
                height: auto;
                margin-top: .5rem;
            }
            p:first-of-type {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: .35rem;
            }
            p:last-of-type {
                font-size: .9rem;
                margin-bottom: 0;
            }
        }
        .text > p {
            font-weight: 600;
            margin-bottom: 0;
        }
    }
/* #endregion ========== WHY ============= */

/* #region ============= HIW ============= */
    #hiw {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: var(--maxPage);
        padding: 5rem  var(--mainPaddingX);
        isolation: isolate;
        overflow: hidden;

        .wrapper {
            flex: 1;
        }
        .subtitle, .title, .desc {
            text-align: center;
        }

        .steps {
            --width: 340px;

            position: relative;
            display: grid;
            grid-template-columns: repeat(3, var(--width));
            justify-content: center;
            gap: 4rem;
            margin-top: 5rem;
        }
        .line {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            margin-left: .5rem;
            width: calc((var(--width) * 2) + (var(--width) / 2) - 4rem); 

            span {
                display: block;
                width: 0;
                border-bottom: 3px dashed hsl(from var(--black) h s l / .5);
            }
        }

        .step {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 2rem 1.5rem 2.5rem 1.5rem;
            background: var(--white);
            
            div {
                position: relative;
                margin-bottom: 1.5rem;
            }

            span {
                position: absolute;
                top: -71px;
                width: 20px;
                height: 20px;
                background: var(--grey);
                outline: 8px solid var(--mainBg);
                border-radius: 50%;
                z-index: 5;
            }
            img {
                width: 175px;
                height: auto;
            }
            p:first-of-type {
                font-size: 1.25rem;
                font-weight: 700;
                margin-bottom: .5rem;
            }
            p:last-of-type {
                margin-bottom: 0;
            }
        }
    }
    /* #endregion ========== HIW ============= */
    
/* #region ============= TESTIMONI ============= */
    #testimoni {
        position: relative;
        display: flex;
        width: 100%;
        max-width: var(--maxPage);
        padding: 6rem  calc(var(--mainPaddingX) * 2);
        background-color: var(--putih);
        overflow: hidden;

        .wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;

            > div {
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: 500px;
                height: 500px;
                padding: 3rem 2.5rem;
            }
            .review {
                justify-content: space-between;

                &:nth-of-type(2) {
                    color: var(--putih);
                    background-color: var(--hitam);
                }
                &:nth-of-type(3) {
                    background-color: var(--secondary);
                }
                &:nth-of-type(4) {
                    color: var(--putih);
                    background-color: var(--primary);
                }
            }
        }
        .rating > p:first-of-type {
            font-size: 1.5rem;
            font-weight: 600;
            line-height: 1.3;
        }
        .star {
            display: flex;
            align-items: center;
            gap: .25rem;
            color: var(--gold);
            font-size: 1.25rem;
            margin-bottom: 2rem;
        }

        .user {
            display: flex;
            align-items: center;
            gap: 1rem;
            
            img {
                width: 50px;
                aspect-ratio: 1;
                border-radius: 50%;
            }
            span:first-child {
                display: block;
                font-weight: 600;
                margin-bottom: .25rem;
            }
            span:last-child {
                display: block;
                font-size: .8rem;
            }
        }
    }
/* #endregion ========== TESTIMONI ============= */

/* #region ============= REWARD ============= */
    #reward {
        position: relative;
        display: flex;
        width: 100%;
        max-width: var(--maxPage);
        padding: 6rem  var(--mainPaddingX);
        background-color: var(--putih);

        .wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 4rem;
        }
        .reward-list {
            display: flex;
            flex-direction: column;
            background-color: hsl(from var(--secondary) h s l / .1);

            .item {
                display: flex;
                align-items: flex-start;
                gap: 1rem;
                padding: 1.5rem;

                &:not(:last-child) {
                    border-bottom: 1px dashed var(--border);
                }
                i {
                    font-size: 3rem;
                    margin-top: .25rem;
                }
                p {
                    font-size: 1.25rem;
                    font-weight: 700;
                    margin-bottom: 0;
                }
                span {
                    color: var(--muted);
                    font-size: .9rem;
                }
            }
        }

        .image {
            max-height: 600px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
/* #endregion ========== REWARD ============= */

/* #region ============= BENEFIT ============= */
    #benefit {
        position: relative;
        width: 100%;
        max-width: var(--maxPage);
        padding: 5rem var(--mainPaddingX);

        .text {
            padding: 0 var(--mainPaddingX);
        }
        .title {
            margin-bottom: 1rem;
        }
        .desc {
            margin-bottom: 2rem;
        }

        #choices {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            min-height: 100vh;
            padding: 0 var(--mainPaddingX);
        }
        .item {
            position: relative;
            min-height: 600px;
            background-color: var(--grey);
            isolation: isolate;
            
            &:not(:first-child) {
                opacity: 0;
                transform: translateY(200px);
            }
            &::before {
                content: '';
                position: absolute;
                inset: 0;
                background: linear-gradient(to top, var(--clr600), hsl(from var(--clr600) h s l / .25), transparent 70%);
                pointer-events: none;
                z-index: -1;
            }
            img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                z-index: -2;
            }
            div {
                position: absolute;
                bottom: 0;
                padding: 2rem;
            }
            p {
                color: var(--secondary);
                font-size: 2rem;
                font-weight: 700;
                text-transform: uppercase;
                margin-bottom: 0;
            }
            span {
                color: var(--putih);
            }
        }
    }
/* #endregion ========== BENEFIT ============= */

/* #region ============= VIDEO ============= */
    #video {
        position: relative;
        width: 100%;
        max-width: var(--maxPage);
        padding: 0 var(--mainPaddingX) 8rem var(--mainPaddingX);
        transform: translateY(25%) scale(.5);
        opacity: 0;

        .text {
            padding: 0 var(--mainPaddingX);
        }
        .player {
            padding: 0 5rem;
            margin-top: 5rem;
        }
        iframe {
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 1.5rem;
        }
        .text {
            text-align: center;
        }
    }
/* #endregion ========== VIDEO ============= */

/* #region ============= FAQ ============= */
    #faq {
        width: 100%;
        max-width: var(--maxPage);
        padding: 6rem var(--mainPaddingX) 14rem var(--mainPaddingX);
        background-color: var(--putih);
        
        .faqs {
            padding: 0 var(--mainPaddingX);
        }
        .text {
            text-align: center;

            .title {
                text-align: center;
            }
            .desc {
                text-align: center;
                margin-bottom: 4rem;
            }
        }
        details {
            position: relative;
            border: 1px solid var(--border);

            &:not(:last-child) {
                margin-bottom: 1rem;
            }
        }
        details > summary {
            font-size: 1.15rem;
            font-weight: 600;
            padding: 1rem;
            cursor: pointer;

            i {
                font-size: 1.5rem;
                margin-right: .5rem;
            }
        }
        details[open] > summary {
            color: var(--secondary);
            background-color: var(--hitam);
        }
        details > summary::after {
            position: absolute;
            content: "+";
            font-size: 1.5rem;
            right: 1rem;
        }
        details[open] > summary::after {
            position: absolute;
            content: "-";
            right: 1rem;
            font-size: 1.5rem;
        }
        details > summary {
            list-style: none;
        }

        .faq-content {
            padding: 1.5rem 1rem;
            background-color: hsl(from var(--secondary) h s l / .25);

            p {
                margin-bottom: 0;
            }
        }
    }
/* #endregion ========== FAQ ============= */

/* #region ============= GIT ============= */
    #git {
        width: 100%;
        max-width: var(--maxPage);
        padding: 2rem  var(--mainPaddingX) 20rem  var(--mainPaddingX);
        background-color: var(--putih);

        .wrapper {
            display: grid;
            grid-template-columns: 45% auto;
            align-items: center;
            gap: 3rem;
        }
        .kontak-area {
            width: 100%;
            height: 100%;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }   
        }

        .form-area {
            .text {
                margin-bottom: 2rem;
            }
            form {
                display: flex;
                flex-direction: column;
                gap: 1.1rem;

                label {
                    position: relative;
                    width: 100%;

                    input,
                    textarea {
                        appearance: none;
                        width: 100%;
                        font-size: 1.1rem;
                        font-weight: 400;
                        padding: .75rem 1.25rem;
                        background-color: var(--putih);
                        border: 1px solid var(--border);
                        border-radius: .5rem;
                        outline: none;
                        transition: all .2s ease;

                        &:focus {
                            outline: none;
                        }
                        &:not(:placeholder-shown) {
                            border-color: var(--primary);
                        }
                    }
                    span {
                        position: absolute;
                        top: 50%;   
                        left: 1rem;
                        color: var(--grey);
                        font-size: 1rem;
                        font-weight: 400;
                        border-radius: .25rem;
                        transform-origin: left;
                        transform: translateY(-50%) scale(1);
                        transition: all .2s ease;
                        white-space: nowrap;
                        pointer-events: none;
                    }
                    &:last-of-type span{
                        top: 22%;
                    }
                    &:has(input:focus, textarea:focus) span,
                    &:has(input:not(:placeholder-shown), textarea:not(:placeholder-shown)) span {
                        top: 0;
                        left: .75rem;
                        color: var(--primary);
                        font-weight: 600;
                        padding: .1rem .75rem .15rem .75rem;
                        background-color: var(--putih);
                        transform: translateY(-50%) scale(.7);
                    }
                }

                button {
                    width: 100%;

                    &:disabled {
                        opacity: .8;
                        pointer-events: none;
                    }
                    .spinner-border {
                        display: none;
                        width: 1.25rem;
                        height: 1.25rem;
                        vertical-align: -3px;
                        border: 3px solid var(--putih);
                        border-top-color: transparent;
                        border-radius: 50%;
                        animation: spinnerAnim .5s linear infinite;
                    }
                    &.loading .spinner-border {
                        display: inline-block;
                    }
                    &.loading span {
                        display: none;
                    }
                }
            }
        }
    }
/* #endregion ========== GIT ============= */

/* #region ============= FOOTER ============= */
    footer {
        width: 100%;
        max-width: var(--maxPage);
        background-color: var(--black);
        
        .wrapper {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 10%;
            padding: 5rem  var(--mainPaddingX) 4rem var(--mainPaddingX);
            isolation: isolate;

            &::before {
                content: '';
                position: absolute;
                inset: 0;
                background-image: url(/assets/images/pattern.svg);
                background-size: cover;
                opacity: .03;
                z-index: -1;
            }

            .logo {
                position: relative;
                color: var(--putih);
                width: 100%;
                max-width: 300px;

                div:not(.social) {
                    position: absolute;
                    bottom: calc(100% + 26px);
                    width: 80px;
                    height: 80px;
                    padding: .75rem;
                    margin-bottom: 1rem;
                    background-color: var(--secondary);
                    border-radius: 50%;
                    outline: 10px solid var(--putih);
                    
                    svg {
                        color: var(--black);
                        width: 100%;
                        height: 100%;
                    }
                }
                p:nth-of-type(1) {
                    font-size: 2rem;
                    font-family: var(--fontMain);
                    font-weight: 700;
                    text-transform: capitalize;
                    line-height: 1;
                    margin-bottom: .75rem;
                }
                p:nth-of-type(2) {
                    font-size: .9rem;
                    font-weight: 400;
                    margin-bottom: 1.5rem;
                }

                .social {
                    display: flex;
                    align-items: center;
                    gap: .75rem;

                    a {
                        display: grid;
                        place-items: center;
                        width: 35px;
                        aspect-ratio: 1;
                        color: var(--putih);
                        font-size: 1rem;
                        text-decoration: none;
                        background: linear-gradient(30deg, var(--hitam), hsl(from var(--hitam) h s 50));
                        border-radius: 50%;

                        &:first-child {
                            background: linear-gradient(30deg, #1877F2, hsl(from #1877F2 h s 50));
                        }
                        &:nth-child(2) {
                            background: linear-gradient(30deg, #C837AB, hsl(from #C837AB h s 50));
                        }
                    }
                }
            }

            .office {
                max-width: 400px;
                color: var(--putih);
                
                > p:nth-of-type(1) {
                    color: var(--secondary);
                    font-weight: 700;
                    margin-bottom: .25rem;
                }
                .contact div {
                    display: flex;
                    align-items: center;
                    gap: 1rem;

                    &:not(:last-child) {
                        margin-bottom: .35rem;
                    }
                    span {
                        font-size: .9rem;
                    }
                }
            }

            .navigasi {
                flex: 1;
                color: var(--putih);
                
                p {
                    color: var(--secondary);
                    font-weight: 700;
                }
                div {
                    display: flex;
                    gap: 5rem;
                    
                    ul {
                        text-transform: capitalize;
                        padding: 0;
                        margin: 0;
                        list-style-type: none;
                        
                        li:not(:last-child) {
                            margin-bottom: .5rem;
                        }
                        a {
                            text-decoration: none;
                            white-space: nowrap;

                            &:hover {
                                color: var(--secondary);
                                text-decoration: underline;
                            }
                        }
                    }
                }
            }
        }

        .mark {
            text-align: center;
            padding: 1.5rem 2rem;

            .copyright {
                color: var(--putih);
                font-size: .9rem;
                text-align: center;
                margin-bottom: 0;
            }
        }
    }
/* #endregion ========== FOOTER ============= */

/* #region ============= ALERT EMAIL ============= */
    #alertEmail {
        position: fixed;
        inset: 0;
        display: none;
        place-items: center;
        overflow: hidden;
        z-index: 99999;

        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: clamp(300px, 25vw, 450px);
            text-align: center;
            padding: 1.75rem 1.5rem 2.25rem 1.5rem;
            background-color: var(--white);
            border-radius: 1.5rem;
            box-shadow: 0 0 0 9999px rgba(0,0,0,.75);

            svg {
                width: 125px;
                height: 125px;
                margin-bottom: 1.25rem;
            }
            p:nth-of-type(1) {
                font-size: 1.5rem;
                font-weight: 700;
                margin-bottom: .5rem;
            }
            p:nth-of-type(2) {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }
            p:nth-of-type(3) {
                color: var(--grey);
                font-size: .9rem;
                margin-bottom: 0;

                span{
                    display: inline-block;
                    position: relative;
                    font-weight: 600;

                    &::before {
                        content: '5';
                        display: inline-block;
                        animation: countdown 5s ease forwards;
                    }
                }
            }
        }

        &.show-alert {
            display: grid;
        }
    }

    @keyframes countdown {
        0%, 19% {
            content: '5';
        }
        20%, 39% {
            content: '4';
        }
        40%, 59% {
            content: '3';
        }
        60%, 79% {
            content: '2';
        }
        80%, 100% {
            content: '1';
        }
    }
/* #endregion ========== ALERT EMAIL ============= */

/* #region ============= CONFIRM EMAIL ============= */
    .confirm-email {
        position: relative;
        display: grid;
        place-items: center;
        width: 100%;
        height: 100vh;
        background: linear-gradient(30deg, var(--black), var(--clr800));
        isolation: isolate;

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url(/assets/images/pattern.svg);
            background-size: cover;
            -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 70%, #000 70%, transparent 90%);
            mask-image: radial-gradient(ellipse 90% 90% at 30% 70%, #000 70%, transparent 90%);
            opacity: .01;
            z-index: -1;
        }
        .wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .text {
            color: var(--putih);
            margin-bottom: 1rem;
    
            img {
                width: 300px;
                margin-bottom: .25rem;
            }
            p:first-of-type {
                font-size: 1.75rem;
                font-weight: 700;
                margin-bottom: .35rem;
            }
            p:last-of-type {
                font-size: 1.1rem;
            }
        }
    }
/* #endregion ========== CONFIRM EMAIL ============= */






/* #region ============= XXX ============= */
    
/* #endregion ========== XXX ============= */