@font-face {
    font-family: "Speeday";
    src: url("../assets/fonts/A4SPEED-Bold.ttf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

:root {
    --base-width: 1920px;
    --base-height: 1080px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

body {
    position: relative;
    background: url("../assets/images/bg.png") center center / cover no-repeat;
    font-family: "Poppins", sans-serif;
}

.body-other {
    position: relative;
    background: url("../assets/images/bg-other.png") center center / cover no-repeat;
    /* background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../assets/images/bg-other.png") center center / cover no-repeat; */
    font-family: "Poppins", sans-serif;
}

.hero {
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 50px;
}

.hero .logo {
    width: 250px;
    margin-top: 50px;
}

.hero .title {
    margin: 0;
    margin-top: 50px;
}

.title-image {
    margin-top: -40px;
    width: 100%;
    max-width: 900px;
    margin-left: -400px;
}

.hero .btn-start {
    position: relative;
    display: inline-block;
    margin-top: 50px;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero .btn-start img {
    display: block;
    width: 300px;
    height: auto;
}

.hero .btn-start:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));
}

/* ===========================
   LOADING SCREEN
=========================== */

#loading-screen {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 999999;
}

#loading-screen.show {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 75px;
    height: 75px;

    border: 5px solid rgba(255, 255, 255, .15);
    border-top: 5px solid #00D9FF;

    border-radius: 50%;

    animation: spin .8s linear infinite;
}

.loading-title {
    margin-top: 30px;

    color: #fff;

    font-family: "Speeday";
    font-weight: 400;
    font-size: 32px;

    letter-spacing: 3px;
}

.loading-subtitle {
    margin-top: 10px;

    color: rgba(255, 255, 255, .75);

    font-size: 15px;

    letter-spacing: 4px;

    animation: blink 1.2s infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0% {
        opacity: .2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}

/* ===========================
   MAIN MENU
=========================== */

.menu-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.menu-header {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
}

.menu-header .logo {
    width: 200px;
}

.menu-header .title {

    margin-top: 35px;
    font-family: "Speeday";
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.menu-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    margin-top: -50px;

}

.menu-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;

}

.menu-card {

    display: block;
    transition: 0.3s ease;

}

.menu-card img {

    width: 100%;
    max-width: 320px;
    display: block;

}

.menu-card:hover {

    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));

}

.menu-footer {

    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.menu-footer img {

    width: 100%;
    max-width: 1400px;
    display: block;

}


/* ===========================
   SMART MANUFACTURING MENU
=========================== */

.smart-manufacturing-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.smart-header {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
}

.smart-header .logo {
    width: 200px;
}

.smart-header .title {

    margin-top: 35px;
    font-family: "Speeday";
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.smart-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    margin-top: -50px;
}

.smart-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;

}

.smart-card {

    display: block;
    transition: 0.3s ease;

}

.smart-card img {

    width: 100%;
    max-width: 400px;
    display: block;

}

.smart-card:hover {

    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));

}

.smart-footer {

    display: flex;
    padding: 0 50px 0 0;
    margin-bottom: 20px;
    justify-content: end;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.btn-back {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-back img {
    display: block;
    width: 250px;
    height: auto;
}

.btn-back:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));
}

.smart-footer img {

    width: 250px;
    display: block;

}

/* ===========================
   LOCATION PAGE
=========================== */

.location-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.location-header {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
}

.location-header .logo {
    width: 200px;
}

.location-header .title {

    margin-top: 35px;
    font-family: "Speeday";
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.location-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
}

.location-footer {

    display: flex;
    padding: 0 50px 0 0;
    margin-bottom: 20px;
    justify-content: end;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

/* ===========================
   BASE PAGE
=========================== */

.basepage-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.basepage-header {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
}

.basepage-header .logo {
    width: 200px;
}

.basepage-header .title {

    margin-top: 35px;
    font-family: "Speeday";
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.basepage-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    margin-top: -50px;
}

.basepage-footer {

    display: flex;
    padding: 0 50px 0 0;
    margin-bottom: 20px;
    justify-content: end;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.basepage-footer-spacebetween {

    display: flex;
    padding: 0 50px 0 50px;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.basepage-footer-center {

    display: flex;
    padding: 0 50px 0 50px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.page-indicator {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

}

.page-dot {

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .25);

    transition: .3s ease;

}

.page-dot.active {

    background: #00D9FF;

    box-shadow: 0 0 15px rgba(0, 217, 255, .8);

    transform: scale(1.2);

}

/* ===========================
   TECHNOLOGY
=========================== */

.technology-container {
    width: 100%;
    height: 100%;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.technology-frame {
    width: 940px;
    height: 535px;

    box-sizing: border-box;

    background: url("../assets/components/video-frame.png") center center / 100% 100% no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px 20px 40px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

/* ===========================
   VIDEO OVERLAY
=========================== */

#video-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);

    cursor: pointer;
    transition: .3s;
}

.play-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-icon {
    width: 80px;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 50%;

    color: #fff;
    font-size: 34px;

    margin-bottom: 20px;
}

.play-box h2 {
    font-family: "Speeday";
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
}

/* ===========================
   PRODUCT PAGE
=========================== */

.product-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.product-header {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
}

.product-header .logo {
    width: 200px;
}

.product-header .title {

    margin-top: 35px;
    font-family: "Speeday";
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 1.05;
}

.product-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    margin-top: -50px;
}

.product-footer {

    display: flex;
    padding: 0 50px 0 0;
    margin-bottom: 20px;
    justify-content: end;
    align-items: center;
    padding-bottom: 20px;
    flex-shrink: 0;

}

.product-content .left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-content .left img {
    width: 100%;
    object-fit: contain;
    transition: 0.3s all;
    height: auto;
}

.product-content .left img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));
}

.product-content .middle {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-content .middle img {
    width: 100px;
    object-fit: contain;
    height: auto;
}

.product-content .right {
    flex: 1.7;
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    gap: 20px;
}

.product-content .right img {
    width: 100%;
    object-fit: contain;
    transition: 0.3s all;
    height: auto;
}

.product-content .right img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));
}

.product-detail-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;

    transition: .3s ease;

}

.product-detail-grid.fade-out {

    opacity: 0;
    transform: translateX(-40px);

}

.product-detail-grid.fade-in {

    opacity: 1;
    transform: translateX(0);

}

.product-detail-card {

    display: block;
    transition: transform .3s ease, filter .3s ease;

}

.product-detail-card img {

    width: 100%;
    max-width: 320px;
    display: block;

}

.product-detail-card:hover {

    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 195, 255, .55));

}

/* ===========================
   QUIZ
   TARGET DISPLAY 16:9
=========================== */

.quiz-container {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* ===========================
   SCREEN
=========================== */

.quiz-screen {
    display: none;

    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;
}

.quiz-screen-active {
    display: flex;
}


/* ===========================
   FRAME
=========================== */

.quiz-frame {
    width: 1050px;
    height: 500px;

    box-sizing: border-box;

    background-image: url("../assets/components/quiz-frame.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 85px;
}


/* ===========================
   REGISTRATION
=========================== */

.registration-fields {
    width: 82%;

    display: flex;
    flex-direction: column;

    gap: 30px;
}


.registration-field {
    width: 100%;

    display: grid;
    grid-template-columns: 210px 1fr;

    align-items: center;

    gap: 25px;
}


.registration-field label {
    font-family: "Speeday";
    font-size: 38px;
    font-weight: 400;

    line-height: 1;

    color: #ffffff;

    white-space: nowrap;
}


.registration-field input {
    width: 100%;
    height: 58px;

    box-sizing: border-box;

    padding: 0 20px;

    border: 4px solid #5bc5f2;

    background: rgba(1, 14, 38, 0.75);

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 24px;

    outline: none;
}


.registration-field input:focus {
    border-color: #ffffff;

    box-shadow:
        0 0 15px rgba(91, 197, 242, 0.65);
}


/* ===========================
   QUESTION
=========================== */

.quiz-question-content {
    position: relative;
    width: 88%;
}


.quiz-counter {
    position: absolute;

    top: -35px;
    right: 0;

    font-family: Arial, sans-serif;
    font-size: 20px;

    color: #5bc5f2;
}


.quiz-question {
    margin: 0 0 25px;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;

    line-height: 1.15;

    color: #5bc5f2;
}


/* ===========================
   OPTIONS
=========================== */

.quiz-options {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.quiz-option {
    width: fit-content;

    display: flex;
    align-items: center;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;

    color: #5bc5f2;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.quiz-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.quiz-option-letter {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-right: 10px;

    background: #5bc5f2;

    color: #00112c;

    font-size: 32px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}


.quiz-option:hover {
    color: #ffffff;
}


.quiz-option:has(input:checked) {
    color: #ffffff;

    transform: translateX(10px);
}


.quiz-option:has(input:checked) .quiz-option-letter {
    background: #ffffff;

    color: #00112c;

    box-shadow:
        0 0 18px rgba(91, 197, 242, 0.9);
}


/* ===========================
   RESULT
=========================== */

.quiz-result-content {
    width: 100%;

    text-align: center;

    color: #ffffff;
}


.quiz-result-content h1 {
    margin: 0;

    font-family: "Speeday";
    font-size: 45px;
    font-weight: 400;

    color: #5bc5f2;
}


.quiz-score {
    margin: 20px 0;

    font-size: 250px;
    font-weight: 700;

    line-height: 1;

    color: #5BC5F2;
}


.quiz-result-content p {
    margin: 0;

    font-family: "Speeday";
    font-size: 25px;

    color: #5bc5f2;
}


/* ===========================
   NEXT SUBMIT
=========================== */

.quiz-submit-button {
    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;
}


.quiz-submit-button img {
    display: block;
}


.quiz-submit-button:hover {
    transform: scale(1.03);
}


.quiz-submit-button:active {
    transform: scale(0.97);
}

/* ===========================
   QUIZ CALCULATING
=========================== */

.quiz-calculating-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quiz-calculating-content .loader {
    margin-bottom: 30px;
}

.quiz-calculating-content h2 {
    margin: 0;
    font-family: "Speeday";
    font-size: 40px;
    font-weight: 400;
    color: #ffffff;
}

.quiz-calculating-content p {
    margin: 10px 0 0;
    font-family: "Speeday";
    font-size: 22px;
    color: #ffffff;
}

.quiz-back-button,
.quiz-submit-button {
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

/* ===========================
   DEVELOPER POPUP
=========================== */

.developer-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(0, 8, 25, 0.85);
    backdrop-filter: blur(8px);
}

.developer-popup.show {
    display: flex;
}

.developer-popup-box {
    width: 750px;
    padding: 55px 65px;

    box-sizing: border-box;

    border: 4px solid #5bc5f2;

    background: rgba(1, 14, 38, 0.95);

    text-align: center;

    box-shadow:
        0 0 30px rgba(91, 197, 242, 0.35);
}

.developer-popup-box h2 {
    margin: 0 0 25px;

    font-family: "Speeday";
    font-size: 38px;
    font-weight: 400;

    color: #5bc5f2;
}

.developer-popup-box p {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
	text-align: left;
    line-height: 1.6;

    color: #ffffff;
}

.developer-popup-box strong {
    color: #5bc5f2;
}

.developer-popup-button {
    min-width: 180px;
    height: 60px;

    margin-top: 35px;
    padding: 0 40px;

    border: 3px solid #5bc5f2;

    background: transparent;

    font-family: "Speeday";
    font-size: 25px;
    font-weight: 400;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.developer-popup-button:hover {
    background: #5bc5f2;

    color: #00112c;

    box-shadow:
        0 0 20px rgba(91, 197, 242, 0.7);
}

.developer-popup-button:active {
    transform: scale(0.97);
}

/* ===========================
   SMALL SCREEN WARNING
=========================== */

.small-screen-warning {
    display: none;
}

@media (max-width: 1399px) {
    .small-screen-warning {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #00112c;
    }

    .small-screen-warning-content {
        width: 700px;
        padding: 50px;
        box-sizing: border-box;
        text-align: center;
    }

    .small-screen-warning-content h1 {
        margin: 0 0 25px;
        font-family: "Speeday";
        font-size: 42px;
        font-weight: 400;
        color: #5bc5f2;
    }

    .small-screen-warning-content p {
        margin: 0;
        font-family: Arial, sans-serif;
        font-size: 24px;
        line-height: 1.5;
        color: #ffffff;
    }

    .small-screen-warning-content strong {
        color: #5bc5f2;
    }
}

/* ===========================
   LOCATION PAGE
=========================== */

.location-pages-content {

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
}

.location-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.location-image {
    display: block;

    width: auto;
    height: 600px;

    max-width: 100%;

    object-fit: contain;
}