.mainNav > ul > li:nth-child(4) > a { color:#00babc; font-weight:bold;}
@media screen and (max-width: 980px) {
	
.mainNav > ul > li:nth-child(4) > a { color:#333; }

}

.wrap {
  width: 100%;
  position: relative;
  line-height: 1.6;
  font-size: 1em;
}
.unitName {
  background: #22a928;
}
/*▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃ header ▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃*/

 :root{
    --brand-blue:#2f7cf6;
    --brand-blue-dark:#1e5fce;
    --brand-cyan:#29b6d8;
    --bg-soft:#f2fafe;
    --text-dark:#1c2b45;
    --orange:#ff9f1c;
  }
  body{
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    color: var(--text-dark);
    background:#fff;
  }

.container {
    max-width: 1085px !important;
    margin: 0 auto;
}
.feature-section .container {
    max-width: 1135px !important;
}
.container * {
    font-family: "Noto Sans TC";}
.container .fa{font-family: fontawesome;}
  .navbar-brand-text{
    font-weight:700;
    font-size:1.25rem;
    color: var(--brand-blue-dark);
  }
  .navbar-brand-text span{
    color: var(--brand-cyan);
  }
  .nav-link{
    color:#333 !important;
    font-weight:500;
  }
  .nav-link.active-link{
    color: var(--brand-cyan) !important;
    font-weight:700;
  }
  .btn-login{
    border:1px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius:20px;
    padding:.35rem 1.2rem;
  }
  .btn-trial{
    background: var(--orange);
    border:none;
    color:#fff;
    border-radius:20px;
    padding:.35rem 1.2rem;
    font-weight:600;
  }
  .btn-trial:hover{ background:#e88f00; color:#fff;}
.hero-section {
    background: #eef5ff;
    padding: 1rem 0 0;
}
.hero-title {
    font-weight: 700;
    font-size: 50px;
    color: var(--brand-blue-dark);
    display: inline-block;
    margin-bottom: 15px;
}
.hero-desc {
    color: #4a5568;
    font-size: 18px;
    padding-top: 10px;
    line-height: 1.9;
    border-top: 2px solid var(--brand-blue);
}
  .btn-primary-cta {
    background: var(--brand-blue) !important;
    padding: .7rem 2.5rem !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: 2px;
}
 .btn-primary-cta:hover {
    background: var(--brand-blue-dark) !important;
    text-decoration: none;
}
  .hero-image-placeholder {
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    margin: 0 auto 1.5rem auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a9bede;
    font-size: .7rem;
    /* background: #f3f8ff; */
}

  .pricing-card {
    border: 2px solid #e7edf7;
    border-radius: 14px;
    padding: 2rem 1rem;
    text-align: center;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
    background: #fff;
}
.pricing-card:hover, .module-banner:hover {
    box-shadow: 0 10px 25px rgba(47,124,246,.15);
    transform: translateY(-3px);
    cursor: pointer;
}
.pricing-card .name {
    font-size: 20px;
    /* margin-bottom: .5rem; */
    letter-spacing: 1px;
}
.pricing-card .price {
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 22px;
}
  .pricing-card .price small{
    font-weight:500;
    font-size:.85rem;
    color:#5a6b8c;
  }

 .module-banner {
    border: 2px solid #e7edf7;
    border-radius: 16px;
    padding: 1.8rem 5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(90deg,#ffffff, #f6faff);
    transition: box-shadow .2s, transform .2s;
}
  .module-banner .title {
    font-size: 22px;
    display: flex;
    letter-spacing: 2px;
    align-items: center;
    gap: .8rem;
}
  .btn-calc {
    background: #eaf2fd !important;
    color: #016bec !important;
    border: none !important;
    border-radius: 10px !important;
    padding: .6rem 2.5rem !important;
    font-weight: 700 !important;
    font-size: 24px !important;
}
.btn-calc i {
    margin-left: 10px;
}
  .btn-calc:hover{ background:#d7e6fd; }

 .link-note {
    text-align: center;
    color: #5a6b8c;
    margin-top: 1.5rem;
    font-size: 20px;
    letter-spacing: 2px;
}
.link-note span {
    color: #016bec;
    font-weight: bold;
/*    border-bottom: 1px solid;*/
}
  .link-note a{
    color: var(--brand-blue);
    font-weight:700;
    text-decoration:none;
  }

  .feature-section{
    background: linear-gradient(180deg, #eef4ff 0%, #e4edfe 100%);
    padding: 4rem 0;
    margin-top: 3rem;
  }
   .feature-card {
    background: #fff;
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    box-shadow: 0 4px 14px rgba(47,124,246,.08);
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
  .feature-card:hover{
    box-shadow:0 8px 22px rgba(47,124,246,.16);
    transform:translateY(-2px);
    color:inherit;
  }

  .feature-card .feature-icon-placeholder img{
    width:100%;
    height:100%;
    object-fit:contain;
  }
  .feature-card .feature-title{
    font-weight:700;
    font-size:20px;
    margin-bottom:.1rem;
  }
  .feature-card .feature-sub{
    color:#5a6b8c;
    font-size:.85rem;
    margin:0;
  }
.feature-title{
  white-space: nowrap;
}
.feature-arrow{
  margin-left: auto;
  color: #a9bede;
  font-size: 1.1rem;
  flex-shrink: 0;
}
  .qa-section{ padding: 4rem 0; }
  .qa-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
  .qa-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 40px;
    color: var(--brand-blue-dark);
}
  .qa-heading small {
    display: block;
    font-size: 24px;
    color: #868a90;
    font-weight: 500;
}
  .accordion-button{
    font-weight:700;
    color: var(--text-dark);
  }
  .accordion-button:not(.collapsed){
    background: #eaf2fd;
    color: var(--brand-blue-dark);
    box-shadow:none;
  }
  .accordion-button:focus{ box-shadow:none; }

  footer.site-footer{
    background:#1c2b45;
    color:#c7d3ec;
    padding:2rem 0;
    text-align:center;
    font-size:.85rem;
  }

.desc {
    font-size: 14px;
    background: #eee;
    display: inline-block;
    padding: 0 10px;
    border-radius: 50px;
    color: #777;
    letter-spacing: 1px;
    margin: 5px 0 10px;
}
.headerWrap {
    z-index: 999 !important;
}
  /* 試算 Modal */
  #calcModal .modal-dialog{
    max-width: 1000px;
  }
  #calcModal .modal-content{
    border-radius:18px;
    border:none;
  }
 #calcModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    align-items: flex-start;
    box-shadow: 0px 7px 20px 0px #00000024;
    z-index: 999;
}
 #calcModal .modal-title-wrap {
    display: flex;
    align-items: end;
/*    justify-content: space-between;*/
    gap: .7rem;
    flex-wrap: wrap;
    flex: 1;
}
#calcModal .modal-title-left {
    display: flex;
    align-items: end;
    gap: .7rem;
}
 #calcModal .modal-title-wrap h2 {
    font-size: 30px;
    font-weight: 800;
    color: #1e88e5;
    margin: 0;
    letter-spacing: 2px;
}
 .badge-year-promo {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #ff4b6d;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
    .calc-module-card  .badge-year-small {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: none;
    color: #828282;
    background: #f0f0f0;
    border-radius: 5px;
    padding: 1px .55rem;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.badge-year-small {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: 1px solid #ffc5d0;
    color: #ff4b6d;
    background: #fff5f7;
    border-radius: 5px;
    padding: 1px .55rem;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
  #calcModal .modal-body{
    padding: .5rem 1.5rem 1.5rem 1.5rem;
    max-height:75vh;
    overflow-y:auto;
  }
  .calc-module-card{
  border:1px solid #e7edf7;
  border-radius:14px;
  padding:1.2rem 1.3rem;
  margin-bottom:1.2rem;
  background:#fff;
  cursor:pointer;
}


.calc-module-card .addon-groups{
  cursor:default;
}
  .calc-module-card.checked-card{
    border-color: var(--brand-blue);
    box-shadow:0 4px 14px rgba(47,124,246,.1);
  }
  .calc-module-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:.75rem;
    cursor:pointer;
  }
  .calc-module-head .left{
    display:flex;
    align-items:center;
    gap:.6rem;
    flex-wrap:wrap;
  }
  .calc-module-head .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    flex-shrink: 0;
    opacity: unset;
    left: unset;
    margin-left: unset;
}
.calc-module-name {
    font-weight: 700;
    font-size: 22px;
    color: var(--text-dark);
}
 .calc-module-price {
    color: var(--brand-blue);
    font-weight: 800;
    font-size: 22px;
    white-space: nowrap;
}
 .calc-module-price small {
    font-size: 15px;
    color: #5a6b8c;
    letter-spacing: 1px;
    margin-left: 5px;
}
  .calc-module-subtitle{
    font-size:.8rem;
    color:#8492a8;
/*    margin:.3rem 0 0 1.9rem;*/
  }
  .calc-module-subtitle a{
    color: var(--brand-blue);
    font-weight:600;
    text-decoration:none;
  }
.calc-module-subtitle a i {
    margin-left: 3px;
}
 .addon-groups{
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid #eef2f8;
  display:block;   /* 原本是 display:none，且靠 .checked-card 才會顯示 */
}
  .calc-module-card.checked-card .addon-groups{
    display:block;
  }
.addon-group-title {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: 18px;
    color: #458af7;
    margin-bottom: .6rem;
}

  .addon-list{
    list-style:none;
    margin:0;
    padding:0;
  }
  .addon-list.multi-col{
    columns:2;
    column-gap:1.5rem;
  }
.addon-list.multi-col-3{
  columns:3;
  column-gap:1.25rem;
}
  .addon-list li{
    break-inside: avoid;
    margin-bottom:.55rem;
  }
 .addon-item-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    max-width: 245px;
    white-space: nowrap;
}
 .addon-item-label .addon-price {
    color: #757d8b;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
}
  .addon-item-label input {
    flex-shrink: 0;
    left: unset;
    margin-left: unset;
    opacity: unset;
    margin-top: 0 !important;
}
  .stepper-card{
    background: var(--bg-soft);
  }
  .stepper-control{
    display:flex;
    align-items:center;
    gap:.5rem;
  }
 .stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #c6d6f2;
    background: #fff;
    color: var(--brand-blue-dark);
    /* font-weight: 700; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* line-height: 1; */
    font-size: 10px;
}
  .stepper-input{
    width:44px;
    text-align:center;
    border:1px solid #c6d6f2;
    border-radius:6px;
    padding:.2rem;
  }

  .calc-summary-bar{
    position:sticky;
    bottom:-1rem;
    margin: 1rem -0.5rem -0.5rem -0.5rem;
    background:#fff;
    border:1px solid #e7edf7;
    border-radius:14px;
    padding:1.1rem 1.4rem;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:1.2rem;
    box-shadow:0 -6px 16px rgba(0,0,0,.05);
  }
.calc-summary-bar .icon-placeholder {
    margin-right: 20px !important;
}
  .calc-summary-bar .summary-item .label{
    font-size:.78rem;
    color:#8492a8;
    font-weight:700;
  }
  .calc-summary-bar .summary-item .value {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
}
  .calc-summary-bar .summary-item .value.blue{ color: var(--brand-blue-dark); }
  .save-badge{
  background:#fff5f7;
  border:1px solid #ffc5d0;
  border-radius:12px;
  padding:.6rem 1.4rem;
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.15rem;
  white-space:nowrap;
}
.save-badge-label {
    color: #ff4b6d;
    font-size: 15px;
    font-weight: 600;
}
.save-badge-label i{
  margin-right:.25rem;
}
.save-badge-amount {
    color: #ff4b6d;
    font-size: 18px;
    font-weight: 800;
/*    line-height: 1.2;*/
}
.save-badge-amount span#saveAmount {
    font-size: 20px !important;
    margin: 0 5px;
}



.summary-item {
    margin-right: 30px;
}

  .total-box{
    background: var(--bg-soft);
    border-radius:12px;
    padding:1.2rem;
    text-align:right;
  }
  .total-box .total-amount{
    color: var(--brand-blue-dark);
    font-weight:800;
    font-size:1.6rem;
  }


  /* 加值功能勾選提示小氣泡 */
  .addon-hint-tooltip{
    position: fixed;
    background: var(--text-dark);
    color:#fff;
    padding:.5rem .9rem;
    border-radius:8px;
    font-size:.78rem;
    font-weight:500;
    z-index:3000;
    pointer-events:none;
    opacity:0;
    max-width:220px;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
    box-shadow:0 6px 16px rgba(0,0,0,.18);
  }
  .addon-hint-tooltip.show{
    opacity:1;
    transform: translateY(0);
  }
  .addon-hint-tooltip::after{
    content:'';
    position:absolute;
    top:100%;
    left:16px;
    border-width:5px;
    border-style:solid;
    border-color: var(--text-dark) transparent transparent transparent;
  }

input#stepperQty {
    max-width: 55px !important;
    text-align: center;
    padding-left: 0;
    margin-bottom: 0;
    height: 30px;
    border: 1px solid #3594e8;
}

.calc-module-head .left.count {
    margin-bottom: 5px;
}

/* 從外層卡片點擊進來時，用來標示對應模組位置的高亮動畫 */
  @keyframes cardHighlightFlash{
    0%   { box-shadow:0 0 0 4px rgba(47,124,246,.35); border-color: var(--brand-blue); }
    70%  { box-shadow:0 0 0 4px rgba(47,124,246,.35); border-color: var(--brand-blue); }
    100% { box-shadow:none; }
  }
  .calc-module-card.highlight-flash{
    animation: cardHighlightFlash 1s ease-out;
  }

.btn-download-quote {
    font-size: 16px !important;
    padding: 10px 20px !important;
}
.btn-download-quote.btn-calc i {
    margin: 0 !important;
}

@media (max-width: 991.98px){
  .feature-card{
    padding: .8rem 1rem;
    gap: .6rem;
  }
  .feature-icon-placeholder{
    width: 40px;
    height: 40px;
  }
  .feature-title{
    font-size: 16px;
  }
  .feature-sub{
    font-size: .75rem;
  }
}


@media (max-width: 767.98px){
    .hero-desc {
    width: 70%;
}
    
  .hero-image-placeholder img {
    width: 100%;
    max-width: 500px;
}
  .hero-section{ padding: 2rem 0 0; }
  .hero-title{ font-size: 2.2rem; }
/*  .hero-desc{ font-size: 15px; }*/
  .btn-primary-cta{ padding: .6rem 1.8rem !important;}

  .module-banner{
    padding: 1.4rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .module-banner .title{ font-size: 18px; }
  .btn-calc{
    padding: .5rem 1.5rem !important;
    font-size: 18px !important;
    width: 100%;
  }


  .qa-heading{ font-size: 28px; }
  .qa-heading small{ font-size: 16px; }

  /* 彈窗內部 */
  .addon-list.multi-col{ columns: 1; }
.addon-list.multi-col-3{ columns:1; }
  .addon-item-label{
    max-width: none;
    white-space: normal;
  }
  .calc-module-name{ font-size: 18px; }
  .calc-module-price{ font-size: 18px; }
  #calcModal .modal-title-wrap h2{ font-size: 1.3rem; }

    .calc-summary-bar{
    flex-direction: row;   /* 改回橫向，靠 flex-wrap 換行 */
    flex-wrap: wrap;
  }

  /* 圖示 + 已選購 這組，強制獨佔一行 */
  .calc-summary-bar > .d-flex.align-items-center.gap-2{
    flex: 0 0 100%;
  }

  /* 月租、年租優惠 保持原本大小，會自然排在同一行 */
  .summary-item{
    margin-right: 1rem;
  }

  /* 一年現省 徽章，強制獨佔一行 */
  .save-badge{
    flex: 0 0 100%;
    margin-left: 0;
    text-align: center;
  }
    .qa-avatar-placeholder {
    display: none;
}


  .module-banner{
    padding: 1.4rem 1.5rem;
    flex-direction: column;
    align-items: stretch;   /* 原本是 flex-start，改成 stretch 讓子元素撐滿寬度 */
  }
.module-banner .title {
    font-size: 18px;
    justify-content: center;
    flex-direction: column;
}

  .desc {
    font-size: 12px;
}

  .btn-calc{
    padding: .5rem 1.5rem !important;
    font-size: 18px !important;
    width: 100%;max-width: 300px;
  }

  .feature-card{
    padding: 1rem 1.5rem;
    border-radius: 16px;   /* 從 50px 藥丸形狀縮小成一般卡片圓角 */
  }
  .feature-icon-placeholder{
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .feature-title{
    font-size: 17px;
  }
  .feature-sub{
    font-size: .82rem;
  }
    
    .badge-year-small {
    font-size: 12px;
}
    
    .save-badge-amount {
    font-size: 18px;
}
    
    
    
    
}


@media (max-width: 480px){
.hero-desc {
    width: 100%;
}

}