@font-face {
    font-family: "MMOffice";
    src: url("../fonts/mmcoffice-regular.ttf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "MMOffice";
    src: url("../fonts/mmcoffice-bold.ttf") format("opentype");
    font-weight: 700;
}

:root {
    --page-padding: 50px;
    --content-padding: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    font-family: "MMOffice", sans-serif;
}

.background-main-menu {
    background: url("../images/bg.png") center/cover no-repeat;
}

.background-about-page {
    background: url("../images/bg-about-product.jpg") center/cover no-repeat;
}

.background-pages {
    background: url("../images/bg-pages.png") center/cover no-repeat;
}

.basepage-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.basepage-header-right,
.basepage-header-left,
.basepage-header-center {
    padding-top: 50px;
    flex-shrink: 0;
    display: flex;
}

.basepage-header-right {
    justify-content: flex-end;
}

.basepage-header-left {
    justify-content: flex-start;
}

.basepage-header-center {
    justify-content: center;
}

.basepage-header-right img {
    width: 40%;
}

.basepage-header-left img {
    width: 40%;
}

.basepage-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--content-padding);
    margin-top: 50px;
}

.basepage-footer,
.basepage-footer-center,
.basepage-footer-center-gap,
.basepage-footer-spacebetween,
.basepage-footer-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 var(--page-padding) 20px;
    margin-bottom: 20px;
}

.basepage-footer {
    justify-content: flex-end;
}

.basepage-footer-center {
    justify-content: center;
}

.basepage-footer-center-gap {
    justify-content: center;
    gap: 50px;
}

.basepage-footer-spacebetween {
    justify-content: space-between;
}

.basepage-footer-left {
    justify-content: flex-start;
}

.btn-normal,
.btn-large,
.btn-next,
.btn-next-sm {
    display: inline-block;
    transition: .3s ease;
}

.btn-normal:hover,
.btn-large:hover,
.btn-next:hover,
.btn-next-sm:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, .55));
}

.btn-normal img {
    width: 400px;
    display: block
}

.basepage-footer-center .btn-normal img {
    width: 450px
}

.basepage-footer-center .btn-normal:not(:first-child) {
    margin-left: -50px;
}

.btn-large img {
    width: 600px;
    display: block
}

.btn-next img {
    width: 400px;
    display: block
}

.btn-next-sm img {
    width: 300px;
    display: block
}

.basepage-navigation {
    display: flex;
    justify-content: flex-end;
    padding: 0 var(--page-padding) 25px;
    flex-shrink: 0;
}

.basepage-navigation-left {
    display: flex;
    justify-content: flex-start;
    padding: 0 var(--page-padding) 50px;
    flex-shrink: 0;
}

.lebih-modern-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    max-width: 1760px;
    margin: 0 auto;
}

.lebih-nyaman-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    max-width: 1760px;
    margin: 0 auto;
}

.lebih-nyaman-grid .modern-item {
    flex: 0 0 calc(33.333% + 36px);
    max-width: 524px;
}

.lebih-nyaman-grid .modern-item:not(:nth-child(3n + 1)) {
    margin-left: -55px;
}

.modern-item img {
    display: block;
    width: 100%;
    height: auto;
}

.modern-item {
    flex: 0 0 calc(25% + 41px);
    max-width: 420px;
}

.modern-item:not(:nth-child(4n + 1)) {
    margin-left: -55px;
}

.modern-item img {
    display: block;
    width: 100%;
}

/* ===========================
   Developer Popup
=========================== */

.developer-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.developer-box {
    width: 820px;
    max-width: 90%;
    background: linear-gradient(180deg, #151515 0%, #0d0d0d 100%);
    border: 3px solid #e60012;
    box-shadow: 0 0 35px rgba(230, 0, 18, .4);
    padding: 55px 65px;
    color: #fff;
    text-align: left;
}

.developer-box h2 {
    margin: 0 0 40px;
    text-align: center;
    color: #e60012;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.developer-box p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.developer-warning {
    color: #fff;
}

.developer-warning strong {
    color: #e60012;
}

.developer-btn {
    font-family: 'MMOffice';
    display: block;
    margin: 50px auto 0;
    width: 360px;
    height: 78px;
    border: 3px solid #e60012;
    background: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    text-transform: uppercase;
}

.developer-btn:hover {
    background: #e60012;
}

.custom-alert {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    backdrop-filter: blur(4px);
}

.custom-alert-box {
    width: 650px;
    max-width: 90%;
    background: #111;
    border: 3px solid #e60012;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.custom-alert-box h2 {
    color: #e60012;
    font-size: 38px;
    margin-bottom: 25px;
}

.custom-alert-box p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ===========================
   LEBIH PERCAYA DIRI (5 ITEM)
=========================== */

.lebih-pd-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    row-gap: 20px;
    max-width: 1760px;
    margin: 0 auto;
}

.lebih-pd-grid .modern-item {
    flex: 0 0 calc(20% + 22px);
    max-width: 340px;
}

.lebih-pd-grid .modern-item:not(:nth-child(5n + 1)) {
    margin-left: -45px;
}

.lebih-pd-grid .modern-item img {
    display: block;
    width: 100%;
    height: auto;
}

.elevate-knowledge-text {
    width: 500px;
}

/* ==================================================
   QUIZ
================================================== */

.quiz-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-frame {
    position: relative;

    width: 1180px;
    height: 520px;

    padding: 45px 65px;

    display: flex;
    flex-direction: column;

    background: url("../components/quiz-frame.svg") center / 100% 100% no-repeat;
}


/* ==================================================
   QUESTION COUNTER
================================================== */

.quiz-counter {

    position: absolute;

    top: 24px;
    right: 35px;

    color: rgba(255, 255, 255, .85);

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 1px;

}


/* ==================================================
   QUESTION
================================================== */

.quiz-question {

    min-height: 65px;

    display: flex;
    align-items: center;

    color: #ffffff;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.35;

    margin-bottom: 20px;

}


/* ==================================================
   OPTIONS
================================================== */

.quiz-options {

    display: flex;
    flex-direction: column;

    color: #ffffff;
    gap: 12px;

    flex: 1;

}


/* ==================================================
   OPTION
================================================== */

.quiz-option {

    width: 100%;

}

.quiz-option input {

    display: none;

}

.quiz-option label {

    display: flex;
    align-items: center;

    gap: 18px;

    width: 100%;
    min-height: 60px;

    padding: 10px 20px;

    border-radius: 14px;

    border: 2px solid rgba(255, 255, 255, .18);

    background: rgba(255, 255, 255, .05);

    cursor: pointer;

    user-select: none;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


/* ==================================================
   HOVER
================================================== */

.quiz-option label:hover {

    border-color: rgba(255, 255, 255, .75);

    transform: translateX(4px);

}


/* ==================================================
   SELECTED
================================================== */

.quiz-option input:checked+label {

    background: #ffffff;

    color: #d71920;

    border-color: #ffffff;

    transform: translateX(6px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .18);

}


/* ==================================================
   OPTION LETTER
================================================== */

.quiz-option-letter {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: #d71920;

    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    font-size: 20px;
    font-weight: 700;

    transition: .25s ease;

}

.quiz-option input:checked+label .quiz-option-letter {

    background: #d71920;

    color: #ffffff;

}


/* ==================================================
   OPTION TEXT
================================================== */

.quiz-option-text {

    flex: 1;

    font-size: 20px;
    font-weight: 400;

    line-height: 1.35;

    pointer-events: none;

}


/* ==================================================
   FOOTER BUTTON
================================================== */

.btn-quiz {

    padding: 0;

    border: none;
    background: none;

    cursor: pointer;

    transition: .25s ease;

}

.btn-quiz img {

    display: block;

    width: 300px;

}

.btn-quiz:hover {

    transform: scale(1.02);

    filter: drop-shadow(0 0 18px rgba(255, 255, 255, .45));

}

.btn-quiz:disabled {

    opacity: .35;

    pointer-events: none;

    cursor: not-allowed;

}


/* ==================================================
   RESULT
================================================== */

.quiz-result {

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

}

.quiz-result-title {

    color: #ffffff;

    font-size: 42px;
    font-weight: 700;

}

.quiz-result-score {

    margin-top: 20px;

    color: #ffffff;

    font-size: 180px;
    font-weight: 700;

    line-height: 1;

}


/* ==================================================
   LOADING
================================================== */

.quiz-loading {

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

}

.quiz-loading .loader {

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 5px solid rgba(255, 255, 255, .15);

    border-top-color: #ffffff;

    animation: quizSpin .8s linear infinite;

}

.quiz-loading p {

    margin-top: 25px;

    color: #ffffff;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: 2px;

}

@keyframes quizSpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}

.video-idle {
    background: #000;
}

.background-video {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -1;

    pointer-events: none;

}

.basepage-page {

    position: relative;

    z-index: 1;

}

/* ==================================================
   PAGE LOADING
================================================== */

.page-loading {

    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, .92);

    z-index: 99999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .6s ease,
        visibility .6s ease;

}

.page-loading.show {

    opacity: 1;
    visibility: visible;

}

.page-loading.hide {

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

}

.page-loading-content {

    display: flex;
    flex-direction: column;
    align-items: center;

    transition:
        opacity .6s ease,
        transform .6s ease;

}

.page-loading.hide .page-loading-content {

    opacity: 0;
    transform: scale(.94);

}

.page-loader {

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 5px solid rgba(255, 255, 255, .15);
    border-top-color: #ffffff;

    animation: pageLoadingSpin .8s linear infinite;

}

.page-loading p {

    margin-top: 25px;

    color: #ffffff;

    font-size: 26px;
    font-weight: 700;

    letter-spacing: 2px;

}

@keyframes pageLoadingSpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}