﻿:root {
    --primary-color: #FF7F01;
    --black-color: #000000;
    --white-color: #ffffff;
    --bg-color: #FFF6EB;
}

/*@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");

@font-face {
    font-family: "Poppins-Light";
    src: url("../font/Poppins-Light.ttf");
}

@font-face {
    font-family: "Poppins-Regular";
    src: url("../font/Poppins-Regular.ttf");
}

@font-face {
    font-family: "Poppins-Medium";
    src: url("../font/Poppins-Medium.ttf");
}

@font-face {
    font-family: "Poppins-SemiBold";
    src: url("../font/Poppins-SemiBold.ttf");
}

@font-face {
    font-family: "Poppins-Bold";
    src: url("../font/Poppins-Bold.ttf");
}*/

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    margin: 0px;
}

.color-black {
    color: var(--black-color);
}

.main {
    min-height: 700px;
}

.element-hide {
    display: none;
}

.black-bg {
    background-color: #E8E5E1;
}

.navbar-padding {
    padding: 4px 0px;
}

.nav-link {
    font-size: 16px;
    color: #282D3B;
}

    .nav-link:hover {
        color: #282D3B;
    }

    .nav-link:focus {
        color: #282D3B;
    }

    .nav-link:active {
        color: #282D3B;
    }

    .nav-link:visited {
        color: #282D3B;
    }

/*.top-height {
    height: 78px;
}
*/
.home-main {
    position: relative;
}

.main-title {
    width: 100%;
}

.main-banner {
    width: 100%;
    position: absolute;
    height: 841px;
    top: 240px;
    background: url('../image/main_bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

    .main-banner:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.25); /* 白色叠加层，50%透明 */
        pointer-events: none; /* 不影响内容交互 */
    }

.banner-img {
    width: 100%;
    object-fit: cover;
}


.main-text {
    font-size: 60px;
    color: #1E253C;
}

.main-sub-text {
    font-size: 32px;
    color: #1E253C;
    padding: 14px 0px;
}

.main-sub-padding {
    padding: 24px 0px;
}

.main-text-margin-top {
    margin-top: 70px;
}

.banner-input-card {
    padding: 3.4rem 0px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(163, 183, 176, 0.69) 0%, rgba(255, 243, 222, 0.69) 100%);
}

.input-txt {
    color: #282D3B;
    font-size: 36px;
}

.input-d-txt {
    color: #282D3B;
    font-size: 36px;
}

.logo-img {
    width: 182px;
    height: auto;
}

.search-up-main {
    background: linear-gradient(to left, var(--primary-color), #FFB401);
    border-radius: 12px 12px 0px 0px;
    padding: 76px 44px 0px 44px;
}

.search-down-main {
    background: linear-gradient(to left, var(--primary-color), #FFB401);
    border-radius: 0px 0px 12px 12px;
    padding: 16px 44px 64px 44px;
}

.search-input-main {
    background-color: white;
    border-radius: 8px;
    padding: 12px 24px 10px 24px;
}

.no-outline {
    border: 0px;
    outline: none;
}

.input-expense {
    padding: 8px 10px;
    border-radius: 8px;
    width: 260px;
    font-size: 18px;
    font-weight: 700;
}

.monthly-expense-unit {
    font-family: 'Poppins-Bold';
    color: var(--black-color);
    font-size: 30px;
}

.not-sure-button {
    color: #282D3B;
    font-size: 18px;
    text-decoration: underline;
}

    .not-sure-button:hover {
        color: #282D3B;
    }

.calculate-button {
    font-size: 40px;
    color: #FFF6EB;
    background-color: var(--black-color);
    border: 0px;
}

.search-icon-img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.icon-down-img {
    width: 200px;
    height: auto;
}

.calculate-result-card {
    border-radius: 24px;
    background: #D5E0CFA3;
    padding: 32px 0px;
}

.calculate-result-text {
    color: #282D3B;
    font-size: 44px;
}

.calculate-explain-title {
    font-size: 28px;
    color: var(--black-color);
}

.calculate-explain-icon {
    color: var(--black-color);
    font-size: 36px;
}

.calculate-result-money {
    font-family: 'Poppins-Bold';
    color: var(--primary-color);
    font-size: 88px;
    margin: 0px 32px;
    border: 1px solid rgba(255, 123, 0, 0.2);
    border-radius: 8px;
    padding: 0px 24px;
}

.calculate-explain-item {
    padding: 20px 16px;
}

.explain-item-1-bg {
    background: #E9E0E0;
}

.explain-item-2-bg {
    background: #F2DBDB;
}

.explain-item-3-bg {
    background: #EFCAC4;
}

.calculate-explain-answer {
    font-size: 18px;
    color: var(--black-color);
}

.black-button {
    color: var(--black-color);
}

    .black-button:hover {
        color: var(--black-color);
    }

    .black-button:active {
        color: var(--black-color);
    }

.copilot-face-img {
    width: 111px;
    height: auto;
}

.copilot-ask-text {
    color: var(--white-color);
    font-size: 32px;
}


.copilot-ask-choose-item {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Poppins-Bold';
    font-size: 26px;
    color: var(--primary-color);
    padding: 24px 34px;
}

.copilot-ask-choose-item-active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.copilot-ask-choose-item:hover {
    cursor: pointer;
}

.chat-question {
    display: inline-block;
    /*    background: #D9D9D9;*/
    background-image: url('../image/chat_bg.svg');
    background-size: 100% 100%;
    max-width: 600px;
    background-repeat: no-repeat;
    color: var(--black-color);
    font-size: 24px;
    border-radius: 32px;
    padding: 36px 38px;
}

.sign-up-button {
    border: 0px;
    background-color: var(--primary-color);
    font-family: 'Poppins-SemiBold';
    color: var(--white-color);
    width: 100%;
    border-radius: 66px;
    font-size: 32px;
    padding: 16px 0px;
}

.sign-up-icon-img {
    width: 48px;
    height: auto;
}

.contact-us-main {
    background: linear-gradient(to left, var(--primary-color), #FFB401);
    padding: 28px 0px 40px 0px;
}


.contact-us-button {
    font-family: 'Poppins-Bold';
    font-size: 80px;
    color: var(--black-color);
}

    .contact-us-button:hover {
        color: var(--black-color);
    }

.contact-us-arrow-img {
    width: 80px;
    height: auto;
}

.modal-close-button {
    background-color: transparent;
    border: 0px;
}

.reference-title {
    font-size: 36px;
    color: #282D3B;
}

.reference-icon {
    width: 44px;
    height: auto;
}

.primary-line {
    height: 1px;
    background-color: #B75747;
}

.reference-modal-main {
    padding: 0px 50px;
}

.reference-ui-item-text {
    color: #282D3B;
    font-size: 18px;
}

.reference-ui-item-money {
    font-size: 24px;
}

.about-item-question {
    font-size: 24px;
}

.about-item-answer {
    font-size: 18px;
}

.search-down-container {
}

.reference-title-icon {
    width: 28px;
    height: auto;
}

.back-to-top {
    position: fixed;
    text-decoration: auto;
    right: 10px;
    bottom: 10px;
    display: inline-block;
    z-index: 9;
    width: 40px;
    height: 40px;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    line-height: 3;
    letter-spacing: 1px;
    background: #515769;
    border-radius: 3px;
    visibility: hidden;
    padding: 5px;
    -webkit-transform: translate3d(0, 50px, 0);
    -moz-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
    transition-duration: 0.3s;
    text-transform: uppercase;
}

    .back-to-top:hover {
        color: #fff;
        transition-duration: 0.3s;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
    }

    .back-to-top.back-to-top-is-visible {
        visibility: visible;
        opacity: 0.6;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        transition-duration: 0.3s;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
    }

        .back-to-top.back-to-top-is-visible:hover {
            opacity: 1;
            transition-duration: 0.3s;
            transition-property: all;
            transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
        }

    .back-to-top.back-to-top-fade-out {
        opacity: 0.4;
    }

        .back-to-top.back-to-top-fade-out:hover {
            opacity: 1;
            transition-duration: 0.3s;
            transition-property: all;
            transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
        }

.back-to-top {
    /*padding-top: 2px;*/
    text-align: center;
}

    .back-to-top .nav-item-hover:after {
        opacity: 0;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
    }

    .back-to-top:focus,
    .back-to-top:hover {
        text-decoration: none;
    }


#modal_reference_body {
    overflow: auto;
}

.contact-us-container:hover {
    cursor: pointer;
}

.finger-hover:hover {
    cursor: pointer;
}


.sk-three-bounce {
    width: 8em;
    margin-top: 36px;
    text-align: center;
}

    .sk-three-bounce .sk-child {
        width: 2em;
        height: 2em;
        background-color: #FF7F01;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
        animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
    }

    .sk-three-bounce .sk-bounce-1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .sk-three-bounce .sk-bounce-2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-three-bounce {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-three-bounce {

    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}


.rotate-45-animate {
    animation: rotate45 0.75s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%) forwards;
}

.rotate-45-animate-back {
    animation: rotate45-back 0.75s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%) forwards;
}


.calculate-result-title {
    font-size: 32px;
    color: var(--black-color);
    font-weight: bold;
}

.calculate-result-item-card {
    background: #CADDD6;
    border-radius: 24px;
    box-shadow: -3px 4px 4px rgba(0,0,0,0.25);
    padding: 40px 66px;
}

    .calculate-result-item-card:hover {
        cursor: pointer;
    }

.calculate-result-item-txt {
    font-size: 20px;
    color: #282D3B;
}


.recommended_title {
    font-size: 32px;
    color: var(--black-color);
}


.recommended_item {
    margin-left: -32px;
    margin-top: 1.5rem;
    color: var(--black-color);
    font-size: 24px;
}

    .recommended_item li {
        padding: 16px 0px;
    }

    .recommended_item a {
        color: var(--black-color);
    }

        .recommended_item a:hover {
            color: var(--black-color);
        }


.footer-img {
    width: 100%;
    height: auto;
}


.read_more_button {
    color: #1E253C;
    font-size: 28px;
    background: rgba(235,223,212,0.34);
    border-radius: 26px;
    padding: 20px 40px;
    position: absolute;
    top: -30px;
    right: 20%;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25)
}

    .read_more_button:hover {
        color: #1E253C;
    }

.calculate-explain-item-h-space {
    margin-top: 40px;
}

.calculate-result-item-card-active {
    background: #465A54;
    color: #ffffff;
}

.advanced-calculator-main {
    padding: 70px 0px 0px 0px;
}

.advanced-calculator-title {
    color: var(--black-color);
    font-size: 22px;
    padding: 0px 64px;
}

.advanced-calculator-button {
    border: none;
    background: #465A54;
    color: #FFF6EB;
    padding: 10px 0px;
    font-size: 32px;
    text-align: center;
}

    .advanced-calculator-button:hover {
        background: #465A54;
        color: #FFF6EB;
    }

.save-money-card {
    border: 1px solid var(--black-color);
    background: rgba(253,235,202,0.45);
    padding: 40px 10px;
    border-radius: 20px;
}

.save-money-txt {
    font-size: 24px;
}

.number-input {
    width: 48px;
    height: 32px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #B75747;
    outline: none;
    background: transparent;
    font-size: 20px;
    text-align: center;
    color: #B75747;
}

    .number-input::-webkit-outer-spin-button,
    .number-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.number-operation-button {
    outline: none;
    border: none;
    background-color: transparent;
    color: #B75747;
}

.dollar-txt {
    font-size: 20px;
    color: #B75747;
    padding-top: 0.35rem;
}


.save-money-button {
    border: none;
    border-radius: 8px;
    background: #EFCAC4;
    font-size: 28px;
    color: var(--black-color);
    padding: 10px 30px;
}

    .save-money-button:hover {
        color: var(--black-color);
    }

.save-money-lear-more-button {
    color: var(--black-color);
}

    .save-money-lear-more-button:hover {
        color: var(--black-color);
    }

.modal-content-txt {
    font-size: 18px;
}

.send-mail-input {
    border: 2px solid #EFCAC4;
    width: 220px;
    height: 40px;
    border-radius: 8px 0px 0px 8px;
    padding: 0px 6px;
    outline: none;
}

.send-mail-button {
    background: #EFCAC4;
    border: none;
    height: 40px;
    border-radius: 0px 8px 8px 0px;
}

.calculate-explain-button {
    position: relative;
    border: none;
    background-color: transparent;
}

    .calculate-explain-button::after {
        content: '+';
        font-size: 48px;
        font-weight: 700;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.75s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
    }


.rotate-button-icon::after {
    transform: translateY(-50%) rotate(45deg);
}


.modal-succ-icon {
    font-size: 56px;
    color: #465A54;
}

.button-no-active {
    border: none;
}

/*    .button-no-active:active {
        outline: none !important;
        text-decoration: none !important;
    }

    .button-no-active:visited {
        outline: none !important;
        text-decoration: none !important;
    }

    .button-no-active:hover {
        outline: none !important;
        text-decoration: none !important;
    }*/

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.assumption-button {
    color: var(--black-color);
    font-size: 18px;
}

    .assumption-button:hover {
        color: var(--black-color);
    }


.assumptions-card {
    background: #E9E0E0;
    font-size: 18px;
    color: var(--black-color);
    padding: 20px 16px 4px 16px;
    margin-bottom: 2rem;
    border-radius: 20px;
}

.underline-style {
        position: relative;
    /*    text-shadow: none;
    box-shadow: inset 0 -2px 0 0 black;*/
/*    text-decoration: underline;*/
    text-decoration-skip-ink: none;
}

    .underline-style::after {
        content: ''; /* 伪元素 */
        position: absolute;
        left: -28px; /* 向左延伸 */
        right: -28px; /* 向右延伸 */
        bottom: 6px; /* 放置在文本下方 */
        height: 3px; /* 下划线的高度 */
        background-color: black; /* 下划线颜色 */
    }


@keyframes rotate45 {
    0% {
        transform: rotate(0deg); /* start status */
    }

    100% {
        transform: rotate(45deg); /* end status */
    }
}


@keyframes rotate45-back {
    0% {
        transform: rotate(45deg); /* start status */
    }

    100% {
        transform: rotate(0deg); /* end status */
    }
}



@media screen and (min-width: 0px) and (max-width: 767px) {
    .main-banner {
        top: 164px;
    }

    .main-sub-text {
        font-size: 24px;
    }

    .input-txt {
        font-size: 30px;
    }

    .input-d-txt {
        font-size: 32px;
    }

    /*    .main {
        min-height: 1130px;
    }*/

    .main-text {
        font-size: 30px;
    }

    .calculate-button {
        font-size: 24px;
        padding: 12px 20px;
    }

    .banner-input-card {
        padding: 3.4rem 16px;
    }


    .input-expense {
        width: 260px;
        font-size: 18px;
    }

    .calculate-result-card {
        border-radius: 24px;
        padding: 32px 20px;
    }

    .calculate-explain-title {
        font-size: 18px;
    }

    .calculate-explain-item {
        padding: 8px 16px;
    }

    .calculate-explain-icon {
        font-size: 24px;
    }


    .calculate-explain-answer {
        word-break: break-word;
        font-size: 16px;
    }


    .calculate-explain-item-h-space {
        margin-top: 20px;
    }


    .calculate-result-title {
        font-size: 24px;
    }


    .calculate-result-item-txt {
        font-size: 26px;
    }


    .recommended_title {
        font-size: 24px;
    }


    .recommended_item {
        margin-left: -12px;
        font-size: 18px;
    }


    .read_more_button {
        font-size: 16px;
        padding: 14px 30px;
        right: 16px;
    }


    .contact-us-button {
        font-size: 30px;
    }

    .contact-us-arrow-img {
        width: 40px;
        height: auto;
    }

    .navbar-padding {
        padding: 16px 0px 16px 0px;
    }

    .search-down-container {
        margin-top: -1px;
    }

    .search-up-main {
        padding: 76px 10px 0px 10px;
    }

    .search-down-main {
        padding: 16px 10px 64px 10px;
    }

    .copilot-face-img {
        width: 56px;
        height: auto;
    }

    .copilot-ask-text {
        font-size: 18px;
    }


    .chat-question {
        font-size: 16px;
    }

    .sign-up-button {
        font-size: 18px;
    }

    .calculate-result-text {
        font-size: 20px;
    }

    .calculate-result-money {
        font-size: 32px;
        padding: 0px 10px;
        margin: 0px;
    }

    .reference-modal-main {
        padding: 0px;
    }

    .reference-title {
        font-size: 28px;
    }

    .reference-title-icon {
        width: 18px;
        height: auto;
    }

    .sk-three-bounce {
        margin-top: 16px;
    }

    .advanced-calculator-title {
        color: var(--black-color);
        font-size: 20px;
        padding: 0px 16px;
    }


    .advanced-calculator-button {
        font-size: 20px;
    }

    .save-money-txt {
        font-size: 16px;
    }

    .number-input {
        width: 40px;
        font-size: 15px;
    }

    .reference-ui-item-text {
        font-size: 14px;
    }

    .reference-ui-item-money {
        font-size: 14px;
    }

    .calculate-explain-button::after {
        font-size: 28px;
    }


    .save-money-button {
        font-size: 20px;
    }

    .send-mail-button {
        font-size: 12px;
    }

    .underline-style::after {
        content: ''; /* 伪元素 */
        position: absolute;
        left: -4px; /* 向左延伸 */
        right: -4px; /* 向右延伸 */
        bottom: 6px; /* 放置在文本下方 */
        height: 3px; /* 下划线的高度 */
        background-color: black; /* 下划线颜色 */
    }
}


@media screen and (min-width: 768px) and (max-width: 900px) {
    /*    .main {
        min-height: 1140px;
    }*/

    .main-text {
        font-size: 40px;
    }

    .main-banner {
        top: 178px;
    }


    .main-sub-text {
        font-size: 32px;
    }


    .input-txt {
        font-size: 24px;
    }

    .input-d-txt {
        font-size: 32px;
    }


    .calculate-button {
        font-size: 40px;
        padding: 12px 30px;
    }


    .input-expense {
        width: 190px;
        font-size: 15px;
    }


    .calculate-result-text {
        font-size: 40px;
    }


    .recommended_item {
        font-size: 24px;
    }


    .read_more_button {
        font-size: 24px;
        padding: 20px 40px;
        right: 50px;
    }


    .contact-us-button {
        font-size: 30px;
    }

    .contact-us-arrow-img {
        width: 40px;
        height: auto;
    }

    .reference-modal-main {
        padding: 0px;
    }

    .search-down-container {
        margin-top: -1px;
    }

    .advanced-calculator-title {
        color: var(--black-color);
        font-size: 20px;
        padding: 0px 16px;
    }


    .advanced-calculator-button {
        font-size: 20px;
    }

    .save-money-txt {
        font-size: 16px;
    }

    .number-input {
        width: 40px;
        font-size: 15px;
    }

    .save-money-button {
        font-size: 20px;
    }
}


@media screen and (min-width: 820px) and (max-width: 1023px) {
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {

    .main-text {
        font-size: 64px;
        color: #1E253C;
    }


    .main-text-margin-top {
        margin-top: 64px;
    }


    .input-expense {
        width: 210px;
        font-size: 16px;
    }


    .main-banner {
        top: 360px;
    }

    .read_more_button {
        right: 70px;
    }

    .advanced-calculator-button {
        font-size: 20px;
    }

    .save-money-button {
        font-size: 20px;
    }
}



@media screen and (min-width: 901px) and (max-width: 1400px) {
    .contact-us-button {
        font-size: 64px;
    }
}
