
    /* Regular 400 */
    @font-face {
    font-family: 'Noto Sans TC';
    src: url('/assets/fonts/NotoSansTC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    }

    /* ExtraBold 800 */
    @font-face {
    font-family: 'Noto Sans TC';
    src: url('/assets/fonts/NotoSansTC-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    }

    body {
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    }

    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    a {
        text-decoration: none !important;
        color: inherit;
        background: none;
        padding: 0;
        margin: 0;
    }

    /* Loading */
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        display: none;
    }
    .loading-spinner {
        border: 6px solid #f3f3f3;
        border-top: 6px solid #25cc98;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        animation: spin 0.8s linear infinite;
    }

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

        100% {
            transform: rotate(360deg);
        }
    }

    .swal2-confirm.custom-ok-btn {
        background-color: #25cc98 !important;
        color: white !important;
        border: none;
    }

    /* Main */

    .container {
        width: min(1200px, 92%);
        margin: 0 auto
    }

    .section {
        padding: 120px 0
    }

    .section-title {
        font-size: 43px;
        font-weight: 700;
        margin: 0 0 20px;
        color: #25cc98;
        text-align: center;
    }

    .section-subtitle {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        text-align: center;
        margin: -4px 0 40px;
    }

    .section-footnote {
        font-size: .85rem;
        color: #999;
        margin: 40px 0 0;
    }

    .btn-apply {
        font-size: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .5rem 3rem;
        border-radius: 999px;
        background: linear-gradient(270deg, #0b7265, #25cc98);
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        border: none;
        box-shadow: 0 10px 24px rgba(37, 68, 225, .25);
        margin: 1rem 0;
        cursor: pointer;
    }

    .btn-apply:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(37, 68, 225, .4);
    }

    /* 佔位區塊：素材到位前先用色塊標示位置 */
    .placeholder-block {
        display: flex;
        align-items: center;
        justify-content: center;
        background: repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 10px, #e8e8e8 10px, #e8e8e8 20px);
        border: 1px dashed #ccc;
        color: #999;
        font-size: .9rem;
    }

    /* HERO：背景為 banner 大圖 */
    .hero.hero-carousel {
        height: 760px;
    }

    .hero__bg {
        position: relative;
        width: 100%;
        height: 100%;
        background: linear-gradient(115deg, #25cc98 0%, #1aaf9c 45%, #22a879 75%, #0b7265 100%);
        background-size: cover;
        background-position: center;
    }

    /* 貸款類別按鈕列：置中疊在 banner 底部 */
    .loan-item-row {
        position: absolute;
        left: 50%;
        bottom: 48px;
        transform: translateX(-50%);
        z-index: 2;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .loan-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        background: rgba(244, 251, 250, .93);
        padding: 18px 24px;
        border-radius: 14px;
        text-align: center;
        min-width: 130px;
        transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    }

    .loan-item__icon {
        width: 28px;
        height: 28px;
        color: #00684a;
    }

    .loan-item__icon svg {
        width: 100%;
        height: 100%;
    }

    .loan-item__label {
        font-size: 1rem;
        font-weight: 600;
        color: #00684a;
    }

    /* 線上一站式服務：特色速覽卡片 */
    .quickfacts {
        display: flex;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .quickfacts__card {
        width: 223px;
        height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        text-align: center;
        box-shadow: 0 2px 15px rgba(0, 0, 0, .2);
    }

    .quickfacts__num {
        margin-bottom: 7px;
        color: #25cc98;
        font-size: 1.6rem;
        font-weight: 600;
    }

    .quickfacts__card:first-child .quickfacts__num,
    .quickfacts__card:last-child .quickfacts__num {
        color: #fcb205;
    }

    .quickfacts__text {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
    }

    /* 我們特點：比較表 */
    #why-us {
        background-color: #f9fafa;
    }

    .compare-wrap {
        max-width: 1000px;
        margin: 0 auto 20px;
    }

    .compare-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: fixed;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    }

    .compare-table th,
    .compare-table td {
        border-right: 1px solid #cfd5e3;
        border-bottom: 1px solid #cfd5e3;
        background: #fff;
        padding: 24px 14px;
        text-align: center;
        vertical-align: middle;
        color: #333;
        font-size: 1.05rem;
    }

    .compare-table tr > *:last-child {
        border-right: none;
    }

    .compare-table tbody tr:last-child td {
        border-bottom: none;
    }

    .compare-table thead th {
        background: #23c79b;
        color: #fff;
        font-weight: 600;
        font-size: 1.15rem;
    }

    .compare-table th:first-child,
    .compare-table td:first-child {
        width: 45%;
        text-align: left;
        padding-left: 22px;
    }

    .compare-table tbody td:first-child {
        background: #eafaf6;
        font-weight: 500;
    }

    .compare-table .icon {
        font-weight: 700;
        margin-right: 6px;
    }

    .compare-table .ok {
        color: #13b38f;
    }

    .compare-table .no {
        color: #ff5a5a;
    }

    .compare__tips {
        text-align: center;
        color: #707070;
        font-size: .8rem;
        margin-top: 8px;
    }

    /* 申請流程：時間軸 */
    .timeline {
        position: relative;
        max-width: 1200px;
        margin: 0 auto 20px;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: #25cc98;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

    .timeline__item {
        padding: 10px 40px;
        position: relative;
        width: 50%;
    }

    .timeline__item::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -12.5px;
        background-color: #fff;
        border: 4px solid #25cc98;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

    .timeline__item--left {
        left: 0;
    }

    .timeline__item--right {
        left: 50%;
    }

    .timeline__item--right::after {
        left: -12.5px;
    }

    .timeline__content {
        padding: 10px 20px;
        background-color: #eee;
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    }

    .timeline__content h3 {
        margin: 0 0 20px;
        font-size: 20px;
        font-weight: 700;
        color: #333;
    }

    .timeline__content p {
        margin: 0;
        font-size: 16px;
        font-weight: 400;
        color: #333;
    }

    @media (max-width: 600px) {
        .timeline::after {
            left: 31px;
        }

        .timeline__item {
            width: 100%;
            padding-left: 70px;
            padding-right: 25px;
        }

        .timeline__item::after,
        .timeline__item--right::after {
            left: 15px;
        }

        .timeline__item--right {
            left: 0;
        }
    }

    /* 灰色遮罩：左側文字區較深，往右漸淡保留人物清晰 */
    .hero__bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(40, 44, 63, .55) 0%, rgba(40, 44, 63, .35) 45%, rgba(40, 44, 63, 0) 75%);
    }

    .hero__inner {
        position: relative;
        z-index: 1;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .hero__text {
        max-width: 560px;
        color: #fff;
        margin-top: 100px;
    }

    .hero__title {
        font-size: 2.4rem;
        font-weight: 800;
        margin: 0 0 20px;
    }

    .hero__subtitle-label {
        font-size: .95rem;
        margin-bottom: 4px;
    }

    .hero__subtitle-amount {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .hero__desc {
        font-size: 1.2rem;
        font-weight: 400;
        margin: 0;
    }

    .hero__whatsapp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 24px;
        padding: .7rem 1.8rem;
        border-radius: 999px;
        background: linear-gradient(270deg, #0b7265, #25cc98);
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(11, 114, 101, .35);
        transition: transform .25s ease, box-shadow .25s ease;
    }

    .hero__whatsapp-btn:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(11, 114, 101, .45);
    }

    /* 為什麼選擇 iCash Finance */
    .step__list {
        display: flex;
        justify-content: space-between;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .step {
        flex: 1;
        min-width: 240px;
        border-radius: 20px;
        background: #f5fdfa;
        border: 1px solid #d9f5ec;
        box-shadow: 0 0 30px rgba(187, 194, 211, .1);
        padding: 40px 32px;
        position: relative;
        overflow: hidden;
    }

    .step__icon {
        width: 40px;
        height: 40px;
        object-fit: contain;
        vertical-align: middle;
        margin-right: 12px;
    }

    .step__no {
        display: inline-block;
        padding: 4px 16px;
        border-radius: 12px 6px;
        background: linear-gradient(270deg, #0b7265, #25cc98);
        color: #fff;
        font-size: .9rem;
        margin-bottom: 20px;
    }

    .step__title {
        display: flex;
        align-items: center;
        font-size: 1.25rem;
        font-weight: 600;
        color: #000;
        margin: 0 0 12px;
    }

    .step__text {
        font-size: .85rem;
        line-height: 1.7;
        color: #a2a2a2;
    }

    /* 線上申請表：彈窗 */
    .apply-modal {
        position: fixed;
        inset: 0;
        z-index: 1050;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
    }

    .apply-modal.is-open {
        display: flex;
    }

    .apply-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .55);
    }

    .apply-modal__close {
        position: absolute;
        top: 10px;
        right: 16px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, .06);
        color: #333;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
        z-index: 1;
    }

    .apply-modal .apply__card {
        width: min(880px, 100%);
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }

    .apply__card {
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
        position: relative;
        overflow: hidden;
    }

    .apply__layout {
        display: flex;
        min-height: 100%;
    }

    .apply__aside {
        flex: 0 0 38%;
        position: relative;
        background: linear-gradient(150deg, #25cc98 0%, #1aaf9c 45%, #22a879 75%, #0b7265 100%);
        color: #fff;
        padding: 36px 28px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .apply__aside::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('/assets/images/QQcash/apply-form-crop.jpg');
        background-size: cover;
        background-position: center;
        opacity: .35;
    }

    .apply__aside > * {
        position: relative;
        z-index: 1;
    }

    .apply__form {
        flex: 1;
        min-width: 0;
        background: #fff;
        color: #1a1a1a;
        padding: 28px;
    }

    .apply__title {
        font-size: 2rem;
        text-align: left;
        font-weight: 700;
        margin: 0 0 10px;
    }

    .apply__subtitle {
        font-size: 1.05rem;
        text-align: left;
        opacity: .9;
        margin: 0 0 28px;
    }

    .apply__perks {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .apply__perks li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .95rem;
        font-weight: 600;
    }

    .apply__perks-icon {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        color: #fff;
    }

    .apply__perks-icon svg {
        width: 100%;
        height: 100%;
    }

    .apply__form .field {
        margin-bottom: 12px
    }

    .field-label {
        display: block;
        margin-bottom: 6px;
        font-size: .85rem;
        font-weight: 600;
        color: #555;
    }

    .apply__form input {
        width: 100%;
        height: 44px;
        border-radius: 8px;
        border: 1px solid #ddd;
        padding: 0 14px
    }

    .pill-group {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pill-option {
        flex: 1;
        min-width: fit-content;
        height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        border: 1px solid #ddd;
        background: #fff;
        color: #555;
        font-size: .95rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }

    .pill-option:hover {
        border-color: #25cc98;
    }

    .pill-option.is-active {
        background: #333;
        border-color: #333;
        color: #fff;
    }

    @media (max-width: 700px) {
        .apply__layout {
            flex-direction: column;
        }

        .apply__aside {
            flex: none;
            padding: 28px 24px;
        }

        .apply__perks {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 12px 20px;
        }

        .apply__perks li {
            font-size: .85rem;
        }
    }

    @media (max-width: 768px) {
        .hero.hero-carousel {
            height: auto;
        }

        .hero__bg {
            padding: 80px 0 24px;
            background-position: 62% center;
        }

        /* 手機文字滿版，遮罩改為上深下淺的直向漸層，整個畫面都壓得住字 */
        .hero__bg::before {
            background: linear-gradient(180deg, rgba(40, 44, 63, .6) 0%, rgba(40, 44, 63, .4) 55%, rgba(40, 44, 63, .2) 100%);
        }

        .hero__inner {
            justify-content: flex-start;
            align-items: flex-end;
            text-align: left;
        }

        .hero__text {
            margin-top: 0;
        }

        .hero__title {
            font-size: 2rem;
        }

        .hero__desc {
            font-size: .9rem;
            letter-spacing: 1px;
        }

        .loan-item-row {
            position: relative;
            left: auto;
            bottom: auto;
            transform: none;
            z-index: 2;
            margin: 24px auto 0;
            justify-content: center;
        }

        .loan-item {
            min-width: 100px;
            padding: 12px 14px;
        }

        .btn-apply {
            padding: .5rem 1.5rem;
            font-size: 1rem;
        }

        .step {
            padding: 32px 24px;
        }

        .apply__card {
            .btn-apply {
                background: #fff;
                color: #0b7265;
                padding: .3rem 2rem;
            }
        }

        .apply__title {
            font-size: 1.5rem;
        }

        .apply__subtitle {
            font-size: 1rem;
            text-align: center;
        }

        .section-title {
            font-size: 1.8rem;
        }

        .section {
            padding: 80px 0
        }
    }


    /* 條款及細則等純文字頁面 */
    .legal-page {
        padding: 160px 0 80px;
    }

    .legal-page__content {
        max-width: 860px;
        margin: 0 auto;
        font-size: .95rem;
        line-height: 1.9;
        color: #444;
    }

    .legal-page__content p {
        margin: 0 0 1.4em;
    }

    .legal-page__content h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #000;
        margin: 2.2em 0 .8em;
    }

    .legal-page__content h4 {
        font-size: 1.02rem;
        font-weight: 600;
        color: #000;
        margin: 1.6em 0 .6em;
    }

    .legal-page__content ul {
        list-style: disc;
        padding-left: 1.4em;
        margin: 0 0 1.4em;
    }

    .legal-page__content ol {
        padding-left: 1.4em;
        margin: 0 0 1em;
    }

    .legal-page__content ol ol {
        list-style-type: lower-roman;
        margin-top: .6em;
    }

    .legal-page__content ol ol ol {
        list-style-type: decimal;
    }

    .legal-page__content li {
        margin-bottom: .5em;
    }

    .legal-page__content h5 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #000;
        margin: 2em 0 .8em;
    }
