/* based 
 ======================================================================*/
*{
  box-sizing: border-box;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #000000;
  background: #efefef;
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  font-family: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}
/* section */
.section {
  padding: 4rem 0;
}
@media (max-width: 768px) {
  .section{
    padding: 3rem 0;
  }
}
/* cta */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  background: linear-gradient(135deg, #e60012 0%, #ad0008 100%);
  overflow: hidden;   
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);  
  position: relative;
}
.cta_lg{
  font-size: 1.25rem !important;
  padding: 1rem 3rem !important;
}
/* cta亮光光束設定 */
.cta::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
}
.cta:before {
  animation: shine 3s infinite ease-in-out;
}
@keyframes shine {
  0% {
    left: -100%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}
/* title */
.titleBox {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}
.titleBox h1{
  font-size: 1.875rem;
  font-weight: 700;
  color: #000;
  font: none;
}
.titleBox .titleLine{
  flex-grow: 1;
  background-image: url("../images/titleLine.svg");
  background-size: 112px 2px;
  background-repeat: no-repeat;
}
.titleBox .titleLine:first-child{
  background-position:  right center;  
}
.titleBox .titleLine:last-child{
  background-position:  left center;  
}
@media (max-width: 480px){
  .titleBox .titleLine{
    background-image: none;
  }
}
@media (max-width: 768px){
  .titleBox h1{
    font-size: 1.5rem;
  }
}
/* content */
.content{
  padding-bottom: 1.5rem;
}
.content h2 {
  font-family: "Chiron GoRound TC", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 1.35;
  letter-spacing: 0.02rem;
  color: #7bdaff;   
  position: relative;
}
.content h2::before{
  content: attr(data-storke);
  position: absolute;
  z-index: -1;
  -webkit-text-stroke: 4px #114756;
  text-stroke: 4px #114756;
}
.content h3 {
  font-size: 1.125rem;
  color: #000000;
  font-weight: 900;
  padding-bottom: 0.25rem;
}
.content p{
  font-size: 1.125rem;
  color: #686868;
}

@media (max-width: 768px){
  .content h2{
    font-size: 1.75rem;
  }
  .content p{
    font-size: 1rem;
  }
}
/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px){
  .split{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* splitBox */
.splitBox {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}
/* header 
 ======================================================================*/
.header {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1rem);
  max-width: 75rem;
  z-index: 30;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  padding: 0.75rem;
  padding-left: 1.5rem;
  border-radius: 9999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 12.5rem;
  height: auto;
}

.siteNav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.siteNav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.siteNav a {
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  padding: 0.75rem 0;
}
.siteNav ul a:hover,
.siteNav ul a.is-current {
  color: #e60012;
  position: relative;
}
.siteNav ul a.is-current::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 100%;
  height: 0.125rem;
  background: #e60012;
  border-radius: 9999px;

}

.navToggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navToggleBox {
  display: grid;
  gap: 0.25rem;
  width: 1.5rem;
  margin-inline: auto;
}

.navToggleBox span {
  display: block;
  height: 2px;
  background: #000000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navToggle.is-open .navToggleBox span:nth-child(1) {
  transform: translateY(0.3rem) rotate(45deg);
}

.navToggle.is-open .navToggleBox span:nth-child(2) {
  opacity: 0;
}

.navToggle.is-open .navToggleBox span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}
@media (max-width: 960px) {
  .navToggle {
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 40;
  }

  .siteNav {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 2rem;
  }

  .siteNav.is-open {
    display: flex;
  }

  .siteNav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .siteNav ul a,
  .navCta {
    display: block;
    text-align: center;
  }

  .siteNav ul a:hover,
  .siteNav ul a.is-current {
    background: #fff5f5;
    border-radius: 9999px;
  }
  .siteNav ul a.is-current::before {
    display: none;
  }  
  .navCta {
    text-align: center;
  }
}

@media (max-width: 640px){
  .header{
    padding: 0 0.5rem 0 0.75rem;
  }
  .logo img{
    width: 9.375rem;
  }
  .siteNav{
    top:3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .navToggleBox span {
    transition: none;
  }
}

/* section 
 ======================================================================*/
 /* hero */
.heroBox {
  background-image: url(../images/mainPic_bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.heroBox .hero{
  max-width: 75rem;
  width: 100%;
  margin: 0 auto; 
  position: relative;     
}
.hero_pc,.hero_m {
  width: 100%;
  height: auto;
}

.hero_m{
  display: none;
}
.appStore_cta{
  position: absolute;
  width: calc(100% - 1rem);
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 1rem;
}
.appStore_cta {
  cursor: pointer;
}
.appStore_cta a img{
  max-width: 18rem;
  width: 10rem;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

@media (max-width: 768px){
  .hero_pc{
    display: none;
  }
  .hero_m{
    display: block;
  }
  .appStore_cta{
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
  } 
  .appStore_cta a img{
    width: 100%;
  }
}

/* features */
.features{
  padding: 2rem;
}
.featuresContent,
.chargeContent{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.featuresContent p{
  text-align: center;
}

.featuresGroup {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.featuresGroup img {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.75rem;
}

.featuresGroup h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
}

.featuresGroup p {
  color: #686868;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .featuresContent,
  .chargeContent{
    flex-direction: column;
    gap: 0.5rem;
  }
  .featuresGroup
  .chargeContent {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px){
  .features{
    padding: 1rem;
  }
}
@media (max-width: 640px) {
  .featuresGroup {
    grid-template-columns: 1fr 1fr;
  }  
}
/* map */
.mapBox {
  background: #ffffff;
  position: relative;
  z-index: 1;
}
.mapContent h2{
  padding-bottom: 0.5rem;
}
.mapSwitcher {
  display: grid;
  gap: 1rem;
}

.mapTab {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem;
  border-radius: 9999px;
  border:0;
  background: #ffffff;
  cursor: pointer;
  color: #000000;
  font-size: 1.125rem;
}

.mapTab strong,
.mapTab small {
  display: block;
}

.mapTab small {
  color: #686868;
  font-size: 1rem;
}

.mapTab.is-active {
  background: #fff5f5;
}

.mapTab .mapTabIcon {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #e0e0e0;
  position: relative;
}

.mapTab.is-active .mapTabIcon {
  background: linear-gradient(135deg,#e5000a,#b60008);
}
.mapTab.is-active span strong{
  color: #e60012;
}
.mapTab .mapTabIcon img {
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 2.5rem;
  height: 2.5rem;
}

.iconOn {
  opacity: 0;
}

.mapTab.is-active .iconOff {
  opacity: 0;
}

.mapTab.is-active .iconOn {
  opacity: 1;
}
.mapPanel img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}

.mapArrowBox{
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.mapArrow {
  width: 3rem;
  height: 3rem;
  border: 1px solid #c2c2c2;
  border-radius: 9999px;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mapArrow img {
  width: 1.5rem;
}

.mapNext img {
  transform: scaleX(-1);
}
/* signup&payment */
.signupPayment h2{
  text-align: center;
}
.signupPaymentBox{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 1.5rem;
  align-items: stretch;
}
.signupPaymentBox .splitBox{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
}
.signupContent,
.paymentContent{
  padding: 1rem;
  position: relative;
}
.signupContent .steps li{
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}
.signupContent .steps .stepNo{
  width: 1.5rem;
  height: 1.5rem;
  background: #686868;
  border-radius: 0.75rem;
  display: flex;
  justify-content: center;
  align-self: center;
}
.signupContent .steps .stepNo span{
  font-size: 1rem;
  color: #ffffff;
}
.signupContent img{
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 7.5rem;
  height: auto;
}
.signupImg,.paymentImg{
  max-width: 30rem;
  width: 100%;
  height: auto;
}
.reminder{
  background: #efefef;
  border: 1px solid #d1d1d1;
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.reminder img{
  width: 5rem;
  height: auto;
}
.reminder .reminderTxt span{
  font-size: 1.125rem;
  font-weight: 700;
  color: #000000;
  padding-bottom: 0.25rem;
}
.reminder .reminderTxt p{
  font-size: 1rem;
  color: #686868;  
}
.reminder .reminderTxt strong{
  color: #e60012;
}
@media (max-width: 640px){
  .signupPaymentBox{
    grid-template-columns: 1fr;   
  }
}
@media (max-width: 480px){
  .signupContent img{
    width: 6rem;
  }
  .reminder{
    flex-direction: column;
  }
}

/* charge */
.chargeGroup{
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.75rem;
}
.chargeGroup span{
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(to bottom, #e5000a, #b60008);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;   

}
.charge img{
  width: 100%;
  height: auto;
}

/* offers */
.offers .offersContent{
  padding: 1rem;
}
.offersContent .content h2:nth-child(2){
  margin-bottom: 1rem;
}
.offersImg{
  position: relative;
  display: flex;
  align-items: end;
  height: 100%;
}
.offersImg::before{
  content: "";
  position: absolute;
  bottom:0;
  right: 0;
  background-image: url(../images/offersBg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.5rem;  
  width: calc(100% - 2.5rem);  
  height: 100%;
}
.offersImg img{
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px){
  .offers .offersContent p span{
    display: block;
  }
}
@media (max-width: 768px){
  .offers .offersContent .content{
    padding-bottom: 0;
  }
.offersImg::before{
  width: 100%;
  height: calc(100% - 2.5rem);
}  
}
/* footer & download */
.download{
  background-image: url(../images/appStoreBg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 1rem;
}
.download .appTitle{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;  
}
.download .appTitle img{
  width: 5.5rem;
  height: 5.5rem;
}
.download .appTitle h2{
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
}
.download .appStoreBox_pc{
  display: flex;
  justify-content: center;
  gap: 2rem;    
}
.download .appStoreBox_pc img{
  max-width: 12.5rem;
  height: auto;
}

.appStoreBox_pc .appStore span{
  font-size: 1.125rem;
  color: #000000;
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}
.download .btnBox{
  max-width: 36rem;
  width: 100%;
  margin: 0 auto;
}
.download .appStoreBox_m{
  display: flex;
  justify-content: center;
  gap: 1rem;
  display: none;
}
.appStoreBox_m .appStore{
  font-size: 1.125rem;
  padding: 1rem 0;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid #000000;
  background: #ffffff75;
  color: #000000;
  gap: 0.5rem;
}
.appStoreBox_m .appStore img{
  width: 1.75rem;
  height: 1.75rem;
}
.appStoreBox_m .appStore span{
  width: 9rem;
}
.guideBox{
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.guide img{
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}
footer .noteBox{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding-top: 4rem;
}
footer .noteBox .note{
  font-size: 0.8125rem;
  color: #969696;
}
footer .noteBox .top{
  font-size: 1rem;
  color: #000000;
  text-decoration: underline;
  display: inline-block;
  padding: 0.75rem 0;
}
@media (max-width: 1024px){
  .download .appStoreBox_pc{
    display: none;
  }
  .guideBox .guide{
    width: 100%;
  }
  .download .appStoreBox_m{
    display: flex;
  }
}
@media (max-width: 640px){
  .download .appStoreBox_m{
    flex-direction: column;
  }
}
@media (max-width: 480px){
  .download .appTitle{
    flex-direction: column;
  }
  .download .appTitle h2{
    font-size: 1.5rem;
  }
}
