@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    width: 100%;
    background-color: #ffffff;
}


html,
body,
div,
span,
p,
ul,
li,
input,
table,
thead,
tr,
th,
td,
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
}
.d-none{
    display: none;
}

/* ------------------------------------------ component --------------------------------------------- */
.wrapper {
    max-width: 1063px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.mv-wrapper {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
@media screen and (max-width: 1100px) {
    .wrapper {
        width: 95%;
    }
    .mv-wrapper {
        width: 95%;
    }
}

/* ------------------------------------------ mv --------------------------------------------- */
.mv{
  width: 100%;
  aspect-ratio: 2513 / 496;   /* 維持原圖比例 */
  min-height: 220px;          /* 手機不要太扁，可自行調整 */
  background-image: url('../img/第一張.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mv:after {
    position: absolute;
    display: block;
    right: 0;
    z-index: 5;
}
.mv-content {
    margin-top: 75px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;   
    height: 500px;
    justify-content: flex-end;

    
}
.mv-content-text {
    margin-top: -160px;
    padding-left: 20px;
    margin-right: 220px;
    z-index: 2;
}
.mv-content-text .p1 {
    color: #990000ba;
    font-size: 44px;
}
.subtitle {
    color: #4D4D4D;
    font-size: 24px;
    margin: 0px 8px 15px 8px;
}
.mv-content-btn {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
}
.subtitle span{
  display: block;
}

.subtitle a{
  display: inline-block; /* 可有可無，主要是方便加 padding/hover */
}
.btn {
    margin-bottom: 16px;
    padding: 6px 16px;
    width: 240px;
    border-radius: 56px;
    background-color: #009991;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 1px 4px 0px 0px rgb(0, 91, 86);
    -webkit-box-shadow: 1px 4px 0px 0px rgb(0, 91, 86);
    display: flex;
    align-items: center;
    transition: ease-in-out 0.3s;
    -webkit-transition: ease-in-out .3s;
    -moz-transition: ease-in-out .3s;
    -ms-transition: ease-in-out .3s;
}
.btn-right {
    width: 10px;
    height: 18px;
    margin-left: 12px;
}

.btn:hover {
    box-shadow: none;
    transform: translateX(2px);
}

.mv-img {
    width: 100%;
    max-width: 1024px;
    height: auto;
    margin-top: -20px;

    
}

.highlight-text {
    font-weight: bold; /* 設定粗體 */
    color: #990000a3;   /* 這裡以鮮豔的橘紅色為例，可自由修改 */
}
/* ----------- mv-RWD ---------- */
@media screen and (max-width: 1100px) and (min-width: 1066px){
    .mv {
        border-bottom-left-radius: 147px;
    }
    .mv-content {
        height: 560px;
        margin-top: 20px;
        justify-content: center;  
    }
    .mv-content-text {
        padding-top: 20px;
        text-align: center;
    }
    .mv-content-btn {
        margin-top: 24px;
        flex-direction: row;
        justify-content: space-between;
    }
    .btn {
        margin-left: 16px; 
    }
    .mv-img {
        width: 100%;
        max-width: 480px;
        height: auto;
    }
}
@media screen and (max-width: 1065px) {
    .mv {
        border-bottom-left-radius: 147px;
    }
    .mv-content {
        padding-top: 50px;
        height: 570px;
        justify-content: center;  
    }
    .mv-content-text {
        margin-top: 0px;
        padding-left: 0px;
        text-align: center;
    }
    .mv-content-btn {
        margin-top: 24px;
        flex-direction: row;
        justify-content: space-between;
    }
    .btn {
        margin-left: 16px; 
    }
    .mv-img {
        margin-top: -40px;
        width: 100%;
        /* max-width: 480px; */
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .mv {
        border-bottom-left-radius: 100px;
    }
    .mv-content {
        margin-top: 60px;
        height: auto;
    }
    .mv-content-text {
        margin-top: 0px;
    }
    .mv-content-text h1 {
        font-size: 32px;
    }
    .subtitle {
        font-size: 18px;
    }
    .mv-content-btn {
        margin-top: 20px;
        align-items: center;
    }
    .btn {
        font-size: 16px;
        width: 216px;
        margin-bottom: 12px;
        z-index: 2;
    }
    .mv-img {
        width: 100%;
        /* max-width: 440px; */
        min-width: 320px;
        height: auto;
        margin-top: -35px;
    }
}
@media screen and (max-width: 505px) {
    .mv {
        border-bottom-left-radius: 60px;
    }
    .mv-content {
        margin-top: 40px;
        height: 520px;
    }
    .mv-content-btn {
        margin-top: 20px;
        flex-direction: column;
    }
    .mv-img {
        width: 100%;
        /* max-width: 400px; */
        min-width: 280px;
        height: auto;
        margin-top: -30px;
    }
    .btn {
        margin-left: 0px; 
    }
}
@media screen and (max-width: 432px) {
    .mv {
        height: 700px;
    }
    .mv-content {
        height: 480px;
    }
    .mv-content-text h1 {
        font-size: 30px;
    }
    .mv-img {
        margin-top: -10px;
    }
}
@media screen and (max-width: 375px) {
    .mv {
        border-radius: 0;
    }
    .mv:after {
        display: none;
    }
    .mv-content {
        height: 440px;
    }
    .mv-img {
        margin-top: -30px;
    }
}
@media screen and (max-width: 341px) {
    .mv-content {
        height: 430px;
    }
    .mv-content-text h1 {
        font-size: 26px;
    }
    .btn-right {
        margin-left: 8px;
    }
    .mv-img {
        margin-top: -10px;
    }
}
@media screen and (max-width: 310px) {
    .mv {
        border-bottom-left-radius: 60px;
    }
    .mv:after {
        content: url(../img/mv_after3.svg);
    }
    .mv-content {
        margin-top: 40px;
        height: 520px;
    }
    .mv-content-btn {
        margin-top: 20px;
        flex-direction: column;
    }
    .mv-img {
        width: 100%;
        /* max-width: 400px; */
        min-width: 250px;
        height: auto;
    }
}


/* ------------------------------------------ 3 introduce --------------------------------------------- */
.introduce {
    margin: 0 0 100px 0;
    padding: 20px 0;
    background-color: #fff;
}
.introduce-title {
    margin-top: 50px;
    text-align: center;
    color: #4D4D4D;
    font-size: 28px; 
}
.marked {
    color: #990000ba;
}
.introduce-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}
.three-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.block-sec2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 1000px;
    margin-top: 28px;
}
.block {
    width: auto;
    padding: 24px 24px;
    background-color: #fff3e1;
    border-radius: 8px;
}
.block-title {
    color: #990000ba;
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 1;
}
.block-text {
    color: #4D4D4D;
    font-size: 18px;
}

/* ----------- 3 introduce-RWD ---------- */
@media screen and (max-width: 1100px) {
    .introduce {
        margin: 0 0 60px 0;
    }
    .introduce-title {
        margin-top: 40px;
    }
    .introduce-content {
        flex-direction: column-reverse;
        margin-top: 10px;
    }
    .three-blocks {
        margin-top: 24px;
        width: 65%;
    }
    .block-sec1 {
        width: 100%;
    }
    .block-sec2 {
        margin-top: 0;
        flex-direction: column;
        width: 100%;
    }
    .block {
        width: 100%;
        padding: 16px 16px;
        margin-bottom: 10px;
    }
    .block-title {
        font-size: 20px;
    }
    .block-text {
        font-size: 18px;
    }
    .introduce-img {
        margin-top: -20px;
        width: 430px
    }
}
@media screen and (max-width: 768px) {
    .introduce {
        margin: 0 0 -10px 0;
    }
    .introduce-title {
        font-size: 22px; 
    }
    .three-blocks {
        width: 80%;
    }
    .block-title {
        font-size: 18px;
    }
    .block-text {
        font-size: 16px;
    }
    .introduce-img {
        width: 296px;
        margin-top: 0px;
        left: 50px;
    }
}
@media screen and (max-width: 505px) {
    .introduce {
        margin: 0;
    }
    .introduce-title {
        margin-top: 30px;
    }
    .introduce-img {
        width: 296px;
        margin-top: 0px;
        left: 50px;
    }
} 
@media screen and (max-width: 400px) {
    .introduce-img {
        width: 260px;
        height: 280px;
        margin-top: 0px;
        left: 0px;
    }
}
@media screen and (max-width: 375px) {
    .introduce {
        margin-top: -70px;
    }
}
@media screen and (max-width: 341px) {
    .introduce {
        margin-top: -80px;
    }
}
@media screen and (max-width: 310px) {
    .introduce {
        margin-top: -100px;
    }
}
/* ----------- Tab Selector---------- */
.tab-section {
    display: flex;
    padding-top: 80px;
    background: linear-gradient(#e6bdba52, #e6bdba);
    align-items: center;    /* 水平置中所有子元素（包含圖片） */
    flex-direction: column; /* 讓內容垂直排列 */
}
.tab-section img {
    max-width: 100%;        /* 確保在大螢幕不超過容器，在小螢幕自動縮放 */
    height: auto;
    /* display: block;         移除圖片下方的微小間隙 */
    margin: auto auto 20px;
}
.tab-title {
    color: #4D4D4D;
    font-size: 28px; 
    text-align: center;
    margin-bottom: 50px;
}

.tab-selector {
    margin-top: 30px;
    width: 100%;
    height: 70px;
    background-color: #9FD3CC;
    padding: 0;
    display: flex;
}

.tab-selector li {
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
}
.tab-selector li a {
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; 
    width: 100%;
    height: 70px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
}
.tab-selector li a.active {
    background-color: #009690;
    position: relative;
}
.tab-selector li img {
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    .tab-section {
        padding-top: 40px;
    }
    .tab-section img {
    position: relative;
    max-width: 207px;        /* 確保在大螢幕不超過容器，在小螢幕自動縮放 */
    height: auto;
    margin: 0px auto 20px;
    /* display: block;         移除圖片下方的微小間隙 */
}
    .tab-title {
        color: #4D4D4D;
        font-size: 22px; 
        text-align: center;
    }
    .tab-selector {
        height: 60px;
    }
    .tab-selector li {
        height: 60px;
    }
    .tab-selector li a {
        font-size: 20px; 
        height: 60px;
    }
    .tab-selector li img {
        width: 40px;
        margin-right: 12px;
    } 
}

/* ----------- Tab Content---------- */
/* --- 基礎共用樣式 --- */
.tab {
    padding: 40px 32px 80px 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.desc-content {
    text-align: center;
}

.tab-content {
    background-color: #fff;
    border: 3px solid #9e0606;
    border-radius: 10px;
    margin-top: 48px;
    padding: 40px 36px;
    height: 100%;
    position: relative;
}

.tab-content-title {
    background-color: #009690;
    padding: 8px 16px;
    width: 100%;
    max-width: 232px;
    border-radius: 6px;
    color: #fff;
    font-size: 18px; 
    text-align: center;
    position: absolute;
    top: -25px;
    left: 20px;
}

.tab-content-subtitle {
    text-align: center;
    background-color: #E5EFE7;
    padding: 16px 0;
    color: #009690;
    font-size: 18px; 
    font-weight: 700;
    border-top-right-radius: 28px;
    border-bottom-left-radius: 28px;
    margin-bottom: 20px;
}

.text {
    font-size: 18px;
    color: #4D4D4D;
    line-height: 1.6;
}
@media  screen and (max-width: 1024px){
.tab-content{
    max-width: 1000px;
    width: auto;}
};
    
/* --- 平板裝置 (max-width: 900px) --- */
@media screen and (max-width: 900px) {
    .tab {
        padding: 30px 20px 60px 20px;
    }
    
    .desc-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .transfer-desc-content {
        max-width: 100%;
        margin-left: 0;
        text-align: center;
        padding: 0 15px;
    }

    .item {
        margin-top: 0;
        padding-top: 20px;
    }
}

/* --- 手機裝置 (max-width: 600px) --- */
@media screen and (max-width: 600px) {
    .tab {
        padding: 20px 15px 40px 15px;
    }

    .tab-content {
        height: auto;
        width: 400px;
        margin-top: 40px;
        padding: 40px 16px 24px 16px; /* 增加上方內距防止內容撞到標題 */
    }

    .tab-content-title {
        max-width: 180px;
        font-size: 16px;
        top: -22px;
        left: 50%;
        transform: translateX(-50%); /* 手機版標題自動置中，視覺更平衡 */
    }

    .tab-content-subtitle {
        font-size: 16px;
        padding: 12px 10px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .text {
        font-size: 16px;
    }

    .tab-description {
        max-width: 100%;
        margin: 0 auto;
    }
}


/* ----------- 2.常見問題---------- */
/* --- FAQ 總容器 --- */
.tab-content-qa {
    width: 900px;
    margin: 0 auto 20px auto;
    box-sizing: border-box;
}
/* --- 平板裝置 (1024px 以下) --- */
@media screen and (max-width: 1024px) {
    .tab-content-qa {
        width: 700px; 
    }
}
/* --- 小平板與大型手機 (768px 以下) --- */
@media screen and (max-width: 768px) {
    .tab-content-qa {
        /* 手機版寬度調大一點，讓內容有更多空間 */
        width: 500px; 
        margin-bottom: 16px; /* 稍微縮小下方間距 */
    }
}

/* --- 超小螢幕手機 (480px 以下) --- */
@media screen and (max-width: 480px) {
    .tab-content-qa {
        /* 在極窄螢幕上幾乎滿寬，避免文字擠壓太嚴重 */
        width: 300px; 
    }
}


/* --- 問題標題列 --- */
.question-wrapper {
    display: flex;    
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #f17979;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box; /* 確保 padding 不撐開寬度 */
    transition: background-color 0.3s;
}

/* 展開時將下方圓角切平 */
.question-wrapper.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tab-content-question {
    color: #fff;
    font-size: 18px;
    margin: 0;
    flex: 1;           /* 佔滿剩餘空間 */
    min-width: 0;      /* 關鍵：防止長文字撐開容器寬度 */
    padding-right: 15px;
    line-height: 1.5;
}

.arrowDown {
    width: 24px;
    height: 24px;
    flex-shrink: 0;    /* 防止箭頭被文字擠壓 */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.arrowDown img {
    width: 100%;
    height: auto;
}

/* 旋轉動畫 */
.question-wrapper.active .arrowDown {
    transform: rotate(180deg);
}

/* --- 答案內容區 --- */
.tab-content-answer-container {
    display: none;      /* 預設隱藏 */
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border: 2px solid #f17979;
    border-top: none;   /* 與上方標題列接合 */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tab-content-answer {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    color: #4D4D4D;
    font-size: 17px;
    line-height: 1.6;
}

.tab-content-answer p {
    margin: 0;
}

/* --- 手機版調整 --- */
@media screen and (max-width: 768px) {
    .question-wrapper {
        padding: 12px 16px;
    }
    .tab-content-question {
        font-size: 16px;
    }
    .tab-content-answer {
        padding: 16px;
        font-size: 16px;
    }
}



/* how */

/* ==========================================================================
   1. 通用樣式 (Desktop 優先)
   ========================================================================== */
.how {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px; /* 增加左右 padding 避免手機貼邊 */
    box-sizing: border-box;
}

/* 標題區：確保內部所有元素水平置中 */
.how__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.how__title img {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-bottom: 15px;
}

/* 假設 HTML 為 <div class="how_title text"> */
.how_title.text {
    width: 500px;
    font-size: 50px;
    font-weight: bold;
    color: #be3232;
}

/* 步驟外容器：電腦版自動平分寬度 */
.how__step {
    display: flex;
    flex-direction: row; /* 水平排列 */
    justify-content: center;
    align-items: stretch; /* 讓所有 item 等高 */
    gap: 20px; /* 項目間距 */
    margin-bottom: 60px;
}

/* 步驟單個項目 */
.how__step-item {
    /* flex: 0; 核心：依照數量自動切分寬度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.how__step-item-title {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    border-radius: 50px;
    background-color: #f4dfe5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.how__step-item-title p {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #bb0f55;
    margin: 0;
    white-space: nowrap;
}

.how__step-item img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

.how__step-item-text {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin: 10px auto;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.05px;
    color: #010101
}

/* 連結與 Hover 效果 */
.how__step-link_0{
    cursor: pointer;
    transition: 0.3s;
}

.how__step-link_0:hover .how__step-item-text,
.how__step-link_1:hover .how__step-item-text {
    color: #bb0f55;
}

/* ==========================================================================
   2. 平板版 (Tablet: 1024px 以下)
   ========================================================================== */
@media (max-width: 1024px) {
    .how {
        padding: 40px 20px;
    }
    .how__step {
        gap: 10px; /* 縮小間距 */
    }
    .how__step-item-title p {
        font-size: 14px;
    }
}

/* ==========================================================================
   3. 手機版 (Mobile: 768px 以下)
   ========================================================================== */
@media (max-width: 768px) {
    .how__title img {
        max-width: 280px; /* 手機版標題圖片縮小 */
    }

    .how__step {
        flex-direction: column; /* 改為垂直排列 */
        align-items: center;
        gap: 40px; /* 增加垂直間距 */
    }

    .how__step-item {
        width: 100%; /* 佔滿寬度 */
        max-width: 320px;
    }

    .how__step-item-title {
        max-width: 100%; /* 標題條寬度自適應 */
    }
}


/* lear */
 .learn {
        padding: 50px 0
    }

    .learn__title {
        margin: 0 0 30px 0
    }

    .learn__title img {
        position: relative;
        width: 207px;
        display: block;
        margin: 0px auto;
    }

    .learn__title p {
        font-size: 14px;
        margin: 15px 0 0 0
    }

    .learn__container {
        width: 960px;
        height: auto;
        margin: 0 auto;
        border-radius: 30px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch
    }

/* 輪播 */
    
    .tutorial-wrapper {
    --primary-color: #990000ba;
    --accent-color: #f37021;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    font-family: sans-serif;
    }

    .tutorial-wrapper .tutorial-container {
        width: 100%;
        max-width: 1000px;
        background: #fff;
        border: 2px solid var(--primary-color);
        border-radius: 15px;
        padding: 50px 40px;
        position: relative;
        overflow: visible; /* 讓箭頭可以突出 */
        height: 800px;
    }

    .tutorial-wrapper .header-tag {
        position: absolute;
        top: -20px;
        left: 40px;
        background: var(--primary-color);
        color: #fff;
        padding: 8px 20px;
        border-radius: 5px;
        font-weight: bold;
        z-index: 20;
    }

    /* 限制手機畫面圖片的大小 */
    .app-display img {
    max-width: 300px; /* 這裡可以調整你想要的寬度 */
    height: auto;     /* 確保圖片不會變形 */
    display: block;   /* 消除下方間隙 */
    margin: 0 auto;   /* 如果需要置中 */
    border: 1px solid black;
    }

    /* 輪播切換動畫 */
    .tutorial-wrapper .step-slide {
        display: none; /* 預設隱藏 */
        animation: fadeIn 0.5s ease-in-out;
    }

    .tutorial-wrapper .step-slide.active {
        display: block; /* 只顯示 active 的那個 */
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .tutorial-wrapper .main-content {
        display: flex;
        width: 900px;
        align-items: center;
        gap: 40px;
    }

    .tutorial-wrapper .info-section { flex: 1; }
    .tutorial-wrapper .app-display { 
        flex: 1.5;             /* 稍微增加圖片區的比例 */
        display: flex;         /* 讓內部圖片並排 */
        gap: 15px;             /* 兩張圖片間的間距 */
        justify-content: center;
    }    
    .tutorial-wrapper .app-display img { 
        border-radius: 10px; 
        height: auto;
        object-fit: contain;   /* 確保圖片比例正確 */
    }
    .tutorial-wrapper .step-title { color: var(--accent-color); margin-bottom: 15px; }

    /* 按鈕與分頁點 */
    .tutorial-wrapper .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary-color);
        color: #fff;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
    }
    .tutorial-wrapper .prev-btn { left: -22px; }
    .tutorial-wrapper .next-btn { right: -22px; }

    .tutorial-wrapper .dots-container {
        text-align: center;
        margin-top: 20px;
    }
    .tutorial-wrapper .dot {
        display: inline-block;
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
    }
    .tutorial-wrapper .dot.active { background: var(--primary-color); }

    /* 手機版 RWD  水平圖片*/
    /* @media (max-width: 768px) {
        .tutorial-wrapper .main-content { flex-direction: column; text-align: center; }
        .tutorial-wrapper .qr-container { justify-content: center; }
        .tutorial-wrapper .nav-btn { top: auto; bottom: -22px; transform: none; }
        .tutorial-wrapper .prev-btn { left: 30%; }
        .tutorial-wrapper .next-btn { right: 30%; }
    } */
    .description{
        font-size: 20px;
    }

 /* 手機版 RWD  垂直圖片*/
    @media (max-width: 768px) {
    .tutorial-wrapper .main-content { 
        width: 100%;
        flex-direction: column; 
        text-align: center; 
    }
    /* @media (max-width: 430px) {
    .tutorial-wrapper .main-content { 
        width: auto;
        flex-direction: column; 
        text-align: center; 
    } */
    /* 讓圖片在手機版變回上下排列 */
    .tutorial-wrapper .app-display { 
        flex-direction: column; 
        align-items: center;
        gap: 20px;         /* 增加上下圖片間的距離 */
        width: 100%;
    }

    .tutorial-wrapper .app-display img { 
        width: 95%;        /* 手機版單張圖片寬度佔比 */
        max-width: 300px;  /* 手機版最大寬度限制 */
        
    }

    .tutorial-wrapper .qr-container { justify-content: center; }
    .tutorial-wrapper .nav-btn { top: auto; bottom: -22px; transform: none; }
    .tutorial-wrapper .prev-btn { left: 30%; }
    .tutorial-wrapper .next-btn { right: 30%; }
    }


/* Header 容器排版 */
.tabs-header {
    display: flex; /* 使用 Flexbox 讓按鈕橫向排列 */
    justify-content: center;
    border-bottom: 2px solid #ddd;
    width: 100%; /* 確保容器充滿頁面寬度 */
}

/* 頁籤按鈕樣式 */
.tab-btn {
    flex: 1; /* 重要：讓所有按鈕平分寬度並充滿容器 */
    padding: 12px 0; /* 寬度充滿了，所以左右 padding 設為 0，上下保持高度 */
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    color: #666;
    position: relative;
    bottom: -2px;
    
    /* 確保文字在按鈕內居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-btn.active {
    color: #ffffff;
    border-bottom: 2px solid #e61616; /* 底部藍線 */
    font-size: 25px;
    font-weight: bold;
    background-color: #b8527b;
    
}

/* 頁籤內容與淡入動畫 */
.tab-panel {
    display: none;
    padding: 20px 0;
    opacity: 0; /* 初始透明 */
}

/* 顯示時觸發淡入 */
.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s forwards; /* 執行淡入動畫 */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); } /* 稍微往上位移增加動感 */
    to { opacity: 1; transform: translateY(0); }
}

/* 設定完成*/
:root{
  --mvs-bg: #f6efe8;
  --mvs-ink: #2b2b2b;
  --mvs-dim: #6b6b6b;

  --mvs-aqua: #0aa6a6;
  --mvs-tangerine: #ff8a2a;

  --mvs-rad: 14px;
  --mvs-drop: 0 18px 50px rgba(0,0,0,.10);
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--mvs-ink);
  background: #fff;
}

/* ===== Panel ===== */
.mvs-qualpane {
  background: url('../img/背景_1.png') center / cover no-repeat;
  min-height: 480px;
  padding-top: 20px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.mvs-qualpane__grid{
  max-width: 850px;
  margin: 0 auto;

  display: grid;
  gap: 22px;
  align-items: center;
}

/* Mobile first */
.mvs-qualpane__colA{ order: 2; 
margin-left: 10%;
}
.mvs-qualpane__colB{ order: 1; }

.mvs-qualpane__hd{
  margin: 0 0 8px 0;
  font-size: 28px;
  letter-spacing: .02em;
}

.mvs-qualpane__lead{
  margin: 0 0 18px 0;
  color: var(--mvs-dim);
  font-size: 15px;
}

/* ===== Checklist ===== */
.mvs-tickstack{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mvs-tickstack__row{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.mvs-tickstack__mark{
	width: auto;
	height: auto;
	margin-top: 2px;
	border: 0;
	border-radius: 0;
	position: relative;
}

.mvs-tickstack__mark::before{
	content: "☉";
	color: var(--mvs-aqua);
	font-size: 22px; /* 你想要多大就調這裡 */
	line-height: 1;
	display: inline-block;
}

.mvs-tickstack__txt{
  font-size: 24px;
  line-height: 1.45;
}

.mvs-tickstack__pile{
  display: grid;
  gap: 10px;
}

/* ===== Buttons ===== */
.mvs-pulsebtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;

  width: fit-content;
  max-width: 100%;

  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
}

.mvs-pulsebtn:active{ transform: translateY(1px); }

.mvs-pulsebtn--fill{
  background: var(--mvs-tangerine);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255,138,42,.25);
}

.mvs-pulsebtn--rim{
  background: #fff;
  color: var(--mvs-tangerine);
  border: 1.5px solid rgba(255,138,42,.55);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.mvs-pulsebtn__chev{
  font-size: 18px;
  line-height: 1;
}

/* ===== Phone mock ===== */
.mvs-mockhalo{
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 18px 0;
}

.mvs-mockhalo__orb{
  position: absolute;
  inset: 8% -8% 8% -8%;
  border-radius: 999px;
  /* background: #f8e6ea; */
  filter: saturate(1.1);
}

.mvs-handset{
  position: relative;
  margin: 0 auto;
  width: 240px;
  aspect-ratio: 9 / 19.5;

  /* 移除外框/外殼效果 */
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.mvs-handset img{
  /* width: 100%; */
  height: 100%;
  object-fit: cover;

  /* 圖本身也不做圓角，確保沒有「框線感」 */
  border-radius: 0;
  display: block;
  transform: rotate(10deg);
}

/* ===== Tablet >= 768px ===== */
@media (min-width: 768px){
  .mvs-qualpane{
    height: 60%;
    /* padding: 46px 24px; */
  }

  .mvs-qualpane__grid{
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
  }

  .mvs-qualpane__colA{ 
    order: 1;
     margin-top: -150px;
 }
  .mvs-qualpane__colB{ order: 2; }

  .mvs-qualpane__hd{ font-size: 50px; }
  .mvs-qualpane__lead{ font-size: 22px; }

  .mvs-mockhalo{
    width: 100%;
    margin: 0;
  }

  .mvs-handset{
    width: 260px;
  }
}

/* Optional: very small phones */
@media (max-width: 360px){
  .mvs-pulsebtn{
    width: 100%;
    justify-content: center;
  }
}

/*  */
:root{
    --hdr-safe: 72px; /* 預設值，避免一開始閃動，可自行調 */
  --mvsx-bg: #f7efe4;         /* 米色底 */
  --mvsx-ink: #1f2a2a;
  --mvsx-muted: rgba(31,42,42,.70);

  --mvsx-green: #0aa6a6;      /* 主色 */
  --mvsx-greenDeep: #068e8e;  /* 次深綠 */
  --mvsx-orange: #ff8a2a;

  --mvsx-shadow: 0 18px 45px rgba(0,0,0,.12);
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--mvsx-ink);
  background: #fff;
}

.mvsx-bnr{
  padding-top: calc(22px + var(--hdr-safe));
  background: #f8e6ea;
  padding: 22px 14px;
  overflow: hidden; /* 讓圓形背景不會撐破版 */
}

.mvsx-bnr__grid{
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  gap: 16px;
  align-items: center;
}

/* 手機版：先圖後文（更像常見 banner） */
.mvsx-bnr__vis{ order: 1; }
.mvsx-bnr__copy{ order: 2; }

/* ===== Left ===== */
.mvsx-bnr__ttl{
  margin: 0;
  line-height: 1.15;
  letter-spacing: .01em;
  font-size: 26px;
  font-weight: 900;
}

.mvsx-bnr__ttlEm{
  color: #e34b5f;
  font-weight: 900;
}

.mvsx-bnr__sub{
  margin: 10px 0 14px 0;
  color: var(--mvsx-muted);
  font-size: 14px;
}

.mvsx-bnr__cta{
  display: grid;
  gap: 10px;
  width: min(320px, 100%);
}

/* Buttons */
.mvsx-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-decoration: none;
  font-weight: 400;
  font-size: 19px;

  padding: 10px 14px;
  border-radius: 999px;

  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
}

.mvsx-btn:active{ transform: translateY(1px); }

.mvsx-btn--pri{
  background: var(--mvsx-orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255,138,42,.25);
}

.mvsx-btn--sec{
  background: #e71010;
  color: #fff;
  box-shadow: 0 12px 24px rgba(10,166,166,.18);
}

.mvsx-btn__chev{
  font-size: 18px;
  line-height: 1;
}

/* ===== Right ===== */
.mvsx-bnr__vis{
  position: relative;
  min-height: 180px;
}

/* 右側大圓形背景 */
.mvsx-orbStage{
  position: absolute;
  inset: -30% -35% -30% 15%;
  pointer-events: none;
}

.mvsx-orbStage__orb{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #f8e6ea;
  opacity: .95;
}

.mvsx-shot{
  position: relative;
  width: min(320px, 92%);
  margin: 0 auto;

  /* 需要讓小圖可以超出就用 visible；想裁切就改 hidden */
  overflow: visible;

  /* 不旋轉、不整組縮放 */
  transform: none;
}

.mvsx-shot__base{
  display: block;
  width: 80%;
  height: auto;
}

.mvsx-shot__mini{
  position: absolute;
  z-index: 2;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 120%;      /* 你要的大小，自己調 */
  height: auto;

  filter: drop-shadow(0 14px 26px rgba(0,0,0,.18));
}


/* ===== 平板 (>= 768px) ===== */
@media (min-width: 768px){
  .mvsx-bnr{
    padding: 28px 22px;
  }

  .mvsx-bnr__grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
  }

  /* 平板：左文右圖 */
  .mvsx-bnr__copy{ order: 1; }
  .mvsx-bnr__vis{ order: 2; }

  .mvsx-bnr__ttl{
    font-size: 34px;
  }

  .mvsx-bnr__sub{
    font-size: 18px;
    margin: 12px 0 16px 0;
  }

  .mvsx-bnr__cta{
    width: 340px;
  }

  .mvsx-bnr__vis{
    min-height: 240px;
  }

  .mvsx-shot{
    width: min(420px, 100%);
    margin-left: auto; /* 更靠右 */
  }

  /* 讓圓更偏右、更像範例 */
  .mvsx-orbStage{
    inset: -35% -45% -35% 5%;
  }
}

/* 可選：超小手機，按鈕滿版 */
@media (max-width: 360px){
  .mvsx-btn{ width: 100%; }
}