.for-desktop {
    display: block !important;
}

.for-mobile {
    display: none !important;
}

.page {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page__hero {
    background-image: url('../img/background/image_bg-pc-01.webp');
}

.page__forget {
    background-image: url('../img/background/image_bg-pc-02.jpg');
}

.page__verification {
    background-image: url('../img/background/image_bg-pc-03.webp');
}

.page__qa {
    background-image: url('../img/background/image_bg-pc-04.jpg');
}

.container {
    max-width: 1102px;
    margin: 0 auto;
    position: relative;
}

/* Common Styles */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    gap: 10px;
    width: calc(100% - 32px);
    max-width: 1400px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 47.6%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(22.25px);
    border-radius: 80px;
}

.navbar__logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
}

.navbar__logo-img {
    height:38px;
    width: auto;
    object-fit: contain;
    margin-right: 27px;
    padding-right: 27px;
    border-right: 1px solid #9a0036;
}

.navbar__logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #9a0036;
    white-space: nowrap;
}

.navbar__menu {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar__item {
    padding: 12px 24px;
    border-radius: 100px;
    background: transparent;
    font-style: normal;
    cursor: pointer;
}

.navbar__item a {
    font-weight: 350;
    font-size: 20px;
    text-decoration: none;
    color: #323557;
}

.navbar__item--active {
    background: #F5F1F2;
    font-weight: 700;
    color: #D93657;
}

.navbar__item--active a {
    background: #F5F1F2;
    font-weight: 700;
    color: #D93657;
}

.navbar__button-container {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 99;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 60px;
    backdrop-filter: blur(22.25px);
}

.navbar__button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 35px;
    /* 增加上下內距從 0 改為 15px */
    background: linear-gradient(85.42deg, #9A0036 -18.22%, #D93657 28.19%);
    box-shadow: 0px 4px 10.8px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    min-height: 60px;
    /* 設定最小高度 */

    /* Text */
    font-weight: 700;
    font-size: 22px;
    color: #FFFFFF;
    line-height: 26px;
}

.navbar__menu-container {
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    height: 100dvh;
    padding: 64px 16px;
    background-color: #ffffff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.closs-icon-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 0px;
    width: 100vw;
    padding: 0 1rem;
    cursor: pointer;
}

.navbar__menu-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar__menu-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #B50039;
}

.navbar__menu-logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #B50039;
}

.navbar__menu-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 6px 0;
    width: 100%;
}

.navbar__menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 6px 0;
    background: #FCFEFE;
    border-radius: 100px;
}

.navbar__menu-item a {
    font-weight: 350;
    font-size: 22px;
    line-height: 24px;
    text-decoration: none;
    color: #323557;
    width: 100%;
    height: 100%;
    padding: 10px 0px;
    text-align: center;
}

.navbar__menu-item--active {
    background: #F5F1F2;
    border-radius: 100px;
}

.navbar__menu-item--active a {
    font-weight: 700;
    color: #D93657;
}

/* Navigation Bar End */

/* Section Title */
.section-title {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 1px;
    color: #3F3E4C;
    margin: 0 16px;
}

.section-subtitle {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #848484;
    padding: 5px 0;
    margin: 15px 16px;
}

/* Step Badge */
.step-badge {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 40px;
    background: linear-gradient(128.21deg, #ED5574 -17.05%, #D93657 72.02%);
    /* font-family: "Roboto", Helvetica; */
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    white-space: nowrap;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 80px;
    padding: 8px;
    width: fit-content;
    margin: 0 0 30px;
    box-shadow: 0px 4px 35.6px #CACACA;
}

.tab-buttons__tab-btn {
    position: relative;
    padding: 0 40px;
    border: none;
    background: transparent;
    border-radius: 64px;
    /* font-family: "Roboto", Helvetica; */
    font-weight: 400;
    font-size: 20px;
    color: #7b215d;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-buttons__tab-btn:hover {
    color: #d93657;
}

.tab-buttons__tab-btn--active {
    /* padding: 12px 40px; */
    background: linear-gradient(166deg, rgba(237, 85, 116, 1) 0%, rgba(217, 54, 87, 1) 100%);
    color: #ffffff;
    font-weight: 500;
}

.tab-buttons__tab-btn--active:before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    transform: translate(-10px, -10px);
    border-radius: 64px;
    background: linear-gradient(166deg, rgba(237, 85, 116, 1) 0%, rgba(217, 54, 87, 1) 100%);
    color: #ffffff;
}

.btn {
    cursor: pointer;
}

/* Animation */
.btn-cursor {
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 1160px) {
    .navbar__item {
        padding: 12px 16px;
    }
    .navbar__item a {
        font-size: 18px;
    }
}

@media (max-width: 1099px) {
    #app {
        padding-bottom: 80px;
    }

    .for-desktop {
        display: none !important;
    }

    .for-mobile {
        display: block !important;
    }

    .page__hero {
        background-image: url('../img/background/image_bg-mobile-01.jpg');
    }

    .page__forget {
        background-image: url('../img/background/image_bg-mobile-02.jpg');
    }

    .page__verification {
        background-image: url('../img/background/image_bg-mobile-03.jpg');
    }

    .page__qa {
        background-image: url('../img/background/image_bg-mobile-04.jpg');
    }

    .navbar {
        padding: 12px 16px;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__logo {
        max-width: 140px;
        width: calc(100 / 390 * 100vw);
        height: auto;
    }

    .navbar__button-container {
        display: flex;
    }

    .navbar__button {
        padding: 10px 24px;
        /* 手機版增加更多內距 */
        border-radius: 40px;
        font-size: 22px;
        width: 100%;
        margin: 0 16px;
        min-height: 40px;
        /* 手機版設定更高的最小高度 */
    }

    .section-title {
        font-size: 32px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar__logo-img{
        height: 25px;
        margin-right: 17px;
        padding-right: 17px;
    }
    .navbar__logo-title{
        font-size: 1rem;
    }



}