* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #080d19;
    color: #ffffff;
    min-height: 100vh;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   MAIN PAGE
========================================================= */

.page {
    min-height: 100vh;
    overflow-x: hidden;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 760px;

    background:
        radial-gradient(
            circle at 18% 45%,
            rgba(35, 69, 67, 0.42) 0%,
            rgba(35, 69, 67, 0.16) 25%,
            transparent 52%
        ),
        radial-gradient(
            circle at 82% 20%,
            rgba(25, 31, 55, 0.55) 0%,
            transparent 48%
        ),
        linear-gradient(
            135deg,
            #10282d 0%,
            #101b28 42%,
            #090d1a 100%
        );

    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* subtle background overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.015),
            transparent 40%
        );

    z-index: 0;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;
    z-index: 20;

    width: 100%;
    min-height: 110px;

    padding: 22px 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 280px;
    height: auto;
    display: block;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}


/* =========================================================
   LANGUAGE SELECTOR
========================================================= */

.language-selector {
    position: relative;
    z-index: 50;
}

.language-button {
    min-width: 125px;
    height: 58px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 2px solid #f6c763;
    border-radius: 16px;

    background: rgba(8, 14, 26, 0.45);

    color: #ffffff;

    font-size: 16px;
    font-weight: 500;

    transition: 0.25s ease;
}

.language-button:hover {
    background: rgba(246, 199, 99, 0.1);
}

.language-arrow {
    color: #f6c763;
    font-size: 10px;
}


/* =========================================================
   LANGUAGE DROPDOWN
========================================================= */

.language-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 180px;

    padding: 8px;

    background: #111827;

    border: 1px solid rgba(246, 199, 99, 0.35);
    border-radius: 14px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    transition: 0.2s ease;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu button {
    width: 100%;

    padding: 11px 13px;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #ffffff;

    text-align: left;

    font-size: 14px;

    transition: 0.2s ease;
}

.language-menu button:hover {
    background: rgba(246, 199, 99, 0.12);
    color: #f6c763;
}


/* =========================================================
   WALLET DROPDOWN
========================================================= */

.wallet-dropdown {
    position: relative;
    z-index: 50;
}

.wallet {
    height: 58px;

    padding: 0 22px;

    border: 2px solid #f6c763;
    border-radius: 16px;

    background: #f6c763;

    color: #101522;

    font-size: 16px;
    font-weight: 600;

    transition: 0.25s ease;
}

.wallet:hover {
    background: #ffd77d;
    border-color: #ffd77d;
    transform: translateY(-1px);
}


/* =========================================================
   WALLET MENU
========================================================= */

.wallet-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 265px;

    padding: 8px;

    background: #111827;

    border: 1px solid rgba(246, 199, 99, 0.35);
    border-radius: 14px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    transition: 0.2s ease;
}

.wallet-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wallet-item {
    padding: 15px;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.2s ease;
}

.wallet-item:hover {
    background: rgba(246, 199, 99, 0.1);
}

.wallet-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.wallet-item small {
    color: #aeb6c5;
    font-size: 12px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 5;

    width: min(900px, calc(100% - 40px));

    margin: auto;

    padding: 45px 20px 90px;

    text-align: center;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 22px;

    color: #f6c763;

    font-size: 15px;
    font-weight: 500;
}

.breadcrumb .divider {
    color: #8993a5;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero-content h1 {
    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(44px, 6vw, 78px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -2px;
}


/* =========================================================
   HERO PARAGRAPH
========================================================= */

.hero-content > p {
    max-width: 720px;

    margin: 0 auto 35px;

    color: #c5cbd6;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   FORM
========================================================= */

#emailForm,
#complaintForm,
#verificationForm {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    width: 100%;
    margin-bottom: 18px;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.07);

    color: #ffffff;

    outline: none;

    font-size: 16px;

    transition: 0.25s ease;
}

.form-group input {
    height: 62px;
    padding: 0 20px;
}

.form-group textarea {
    min-height: 175px;
    padding: 18px 20px;

    resize: vertical;

    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ea7b7;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f6c763;

    background: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 0 0 3px rgba(246, 199, 99, 0.08);
}


/* =========================================================
   CONTINUE / SUBMIT BUTTON
========================================================= */

.continue {
    width: 100%;
    min-height: 62px;

    border: none;
    border-radius: 13px;

    background: #f6c763;

    color: #111522;

    font-size: 17px;
    font-weight: 700;

    transition: 0.25s ease;
}

.continue:hover {
    background: #ffd77d;
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(246, 199, 99, 0.18);
}

.continue:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #080d19 0%,
            #0b111e 100%
        );

    border-top: 1px solid rgba(255, 255, 255, 0.04);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 40px 30px;
}


/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top {
    text-align: center;

    padding-bottom: 50px;
}

.footer-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-bottom: 20px;
}

.footer-logo img {
    width: 95px;
    height: auto;
}

.footer-logo h2 {
    color: #ffffff;

    font-size: 24px;
    font-weight: 600;
}

.footer-top > p {
    max-width: 750px;

    margin: 0 auto;

    color: #9da6b6;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   CERTIFICATE / FOOTER LINKS
========================================================= */

.certificate-area {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    padding-bottom: 45px;
}

.certificate {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding: 13px 20px;

    border: 1px solid rgba(246, 199, 99, 0.4);
    border-radius: 10px;

    color: #f6c763;

    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.certificate:hover {
    background: rgba(246, 199, 99, 0.08);

    border-color: #f6c763;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.footer-bottom p {
    color: #737d8e;

    font-size: 13px;
}


/* =========================================================
   HERO CARD
   Used on success.html
========================================================= */

.hero-card {
    max-width: 700px;

    margin: 35px auto 0;

    padding: 30px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    backdrop-filter: blur(8px);

    text-align: center;
}

.hero-card p {
    margin-bottom: 20px;

    color: #c7ced9;

    font-size: 15px;

    line-height: 1.8;
}

.hero-card .continue {
    margin-top: 10px;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 900px) {

    .header {
        padding: 20px 30px;
    }

    .logo img {
        width: 220px;
    }

    .language-button {
        min-width: 105px;
        height: 52px;
        padding: 0 14px;

        font-size: 14px;
    }

    .wallet {
        height: 52px;
        padding: 0 17px;

        font-size: 14px;
    }

    .header-actions {
        gap: 10px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero {
        min-height: 720px;
    }

    .header {
        min-height: 95px;

        padding: 18px 22px;
    }

    .logo img {
        width: 195px;
    }

    .header-actions {
        gap: 8px;
    }

    .language-button {
        width: 54px;
        min-width: 54px;

        padding: 0;

        border-radius: 14px;

        font-size: 0;
    }

    .language-button::before {
        content: "文A";

        color: #f6c763;

        font-size: 23px;
        font-weight: 500;
    }

    .language-arrow {
        display: none;
    }

    .wallet {
        height: 54px;

        padding: 0 15px;

        border-radius: 14px;

        font-size: 13px;
    }

    .hero-content {
        width: min(100% - 30px, 650px);

        padding-top: 55px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 10vw, 58px);

        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 16px;

        line-height: 1.7;
    }

    .footer {
        padding: 55px 25px 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .hero {
        min-height: 690px;
    }

    .header {
        padding: 16px 16px;
    }

    .logo img {
        width: 165px;
    }

    .header-actions {
        gap: 6px;
    }

    .language-button {
        width: 48px;
        min-width: 48px;
        height: 48px;

        border-radius: 12px;
    }

    .language-button::before {
        font-size: 20px;
    }

    .wallet {
        height: 48px;

        padding: 0 11px;

        border-radius: 12px;

        font-size: 12px;
    }

    .hero-content {
        width: calc(100% - 28px);

        padding-top: 45px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .hero-content h1 {
        margin-bottom: 18px;

        font-size: 39px;

        line-height: 1.12;
    }

    .hero-content > p {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 28px;
    }

    .form-group input {
        height: 58px;

        padding: 0 16px;

        font-size: 15px;
    }

    .form-group textarea {
        min-height: 150px;

        padding: 15px 16px;

        font-size: 15px;
    }

    .continue {
        min-height: 58px;

        font-size: 15px;
    }

    .footer {
        padding: 45px 18px 25px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo img {
        width: 80px;
    }

    .footer-logo h2 {
        font-size: 20px;
    }

    .footer-top > p {
        font-size: 13px;
    }

    .certificate-area {
        flex-direction: column;
        align-items: center;
    }

    .certificate {
        width: 100%;
        max-width: 300px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .logo img {
        width: 145px;
    }

    .header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .language-button {
        width: 44px;
        min-width: 44px;
    }

    .wallet {
        padding: 0 9px;

        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

}


/* =========================================================
   RTL SUPPORT
========================================================= */

[dir="rtl"] .language-menu,
[dir="rtl"] .wallet-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-menu button {
    text-align: right;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #f6c763;
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}





/* =====================================
        FLOATING SUPPORT CHAT BUTTON
====================================== */

.support-chat-button {
    position: fixed;

    right: 24px;
    bottom: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 16px;

    background: #111827;
    color: #ffffff;

    text-decoration: none;

    border-radius: 28px;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;

    line-height: 1;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.22);

    z-index: 9999;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* =====================================
        PROJECT LOGO
====================================== */

.support-chat-icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.support-chat-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}



/* =====================================
        HOVER
====================================== */

.support-chat-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 9px 24px rgba(0, 0, 0, 0.28);

}



/* =====================================
        MOBILE
====================================== */

@media (max-width: 600px) {

    .support-chat-button {

        right: 14px;
        bottom: 14px;

        padding: 10px 14px;

        gap: 7px;

        font-size: 12px;

        border-radius: 26px;

    }


    .support-chat-icon {

        width: 18px;
        height: 18px;

    }

}
/* Prevent tap zoom / page scaling on touch devices */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a, input, select, textarea, label { touch-action: manipulation; }
input, select, textarea { font-size: 16px; }
