:root {
  --primary: #3b82f6;
  --primary-light: #e0f2fe;
  --primary-dark: #1e40af;
  --secondary: #f1f5f9;
  --text: #22223b;
  --muted: #64748b;
  --white: #fff;
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans TC', 'Segoe UI', Arial, sans-serif;
  background:#D2EBF2;
  color: var(--text);
  line-height: 1.7;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background:#D2EBF2 url(../images/bg.svg) no-repeat right bottom;
  background-size:850px 178px; 
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
}

.header-flex {
  display: flex;backdrop-filter:blur(4px);
  justify-content: space-between;position: fixed;top:24px;z-index:2;
  left: 50%;
  transform: translate(-50%, -12px);
  align-items: center;border-radius:38px;
  padding:12px 12px 12px 20px;background:rgba(256, 256, 256, 0.88); 
}

.logo {
  height:24px;
}

.btn {
  display: inline-block;
  padding:8px 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-main {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary);margin-right:12px; 
}
.btn-main img{position: relative;top:5px;margin-right:8px;width: 24px;}
.btn-main:hover {
  background:#D2EBF2;
  color:#3641D0;
}

.arrow-new{margin-top:70px; }

.btn-outline {
  background: linear-gradient(to right, #3993D7, #3641D0);
  color:#fff;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-bg-text {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -48px);
  top:96px;
  width:896px;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.hero-bg-text img{width:100%;}
.hero-content {
  position: relative;display: flex;
  justify-content: space-between;
  z-index: 1;
  text-align: left;
  margin-top:124px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(to right, #3641D0, #3993D7, #2831A5);background-clip: text;color: transparent;
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--muted);
  margin:0 0 24px 0;
}

.hero-btns {
  margin-bottom: 2rem;display: flex;
}
.hero-btns div{background:#fff;padding:4px 32px;font-size:20px;font-weight:900;color:#3641D0;
  border:2px solid #3641D0;border-radius:31px;margin-right:12px;}
.hero-btns div img{width:16px;margin-right:8px;}
.hero-imgs {
  display: flex;
  justify-content: flex-end;
}
.hero-imgs img{width:200px;margin-left:24px; }
.section {
  padding: 3rem 0 5rem;
  background: var(--white);
}

.section-intro {
  background:#3641D0;
  color: var(--white);
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--primary-dark);
}

.section-intro .section-title {
  color: var(--white);
}

.intro-desc {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.intro-short {
  font-weight:400;
  margin-bottom: 0.5rem;
}

.intro-full {
  font-size: 1rem;font-weight:400;margin:12px 0 0 0;width:70%;
}

.intro-icon {
  width:1240px;position: absolute;right:0;top:-220px;
}
.intro-icon-2 {
  width:1240px;position: absolute;left:3%;top:-300px;
}
.section-compare {
  background:#ffffff url(../images/bg.png) no-repeat center center;background-size: cover;
}

.compare-flex {
  display: flex;align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.compare-block {
  flex: 1 1 260px;
  background:rgba(256, 256, 256, 0.88);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.06);
  padding: 2rem 1.5rem;
  min-width: 260px;
}

.compare-block h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin:0 0 24px 0;
}
.old-box{display: flex;flex-wrap: wrap;
  justify-content: center;}
.old-box img{width:100px;margin-bottom:16px;}  
.old-box p{width:100%;text-align: center;}

.news-box{display: flex;align-items: flex-start;}
.news-box img{width:20px;}
.compare-box {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.98rem;
}

.news-box-c1{display: flex;flex-wrap: wrap;width:48%;
  justify-content: center;}

.compare-vs {
  align-self: center;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #3641D0, #3993D7, #2831A5);
    background-clip: text;
    color: transparent;
}

.compare-img {
  width: 100px !important;
  margin:0 0 1rem 0;
  display: block;
}

.section-features {
  background:rgba(256, 256, 256, 0.6) url(../images/bg-2.svg) no-repeat -2px bottom;background-size:850px; padding-bottom:200px; 
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  padding:0 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item img {
  width: 148px;
  margin-bottom:12px;
}
.feature-item p{color:#404256;text-align:left;}
.section-cta {
  background:#3641D0;
  color: var(--white);
  position: relative;
  padding-bottom: 4rem;
  padding-top:0; 
}

.cta-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1 1 300px;
}
.cta-text p{font-size:1.5rem; }
.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom:32px;margin-top:0; 
}

.cta-btns {
  margin-top: 1.5rem;
}

.cta-imgs {
  flex: 1 1 300px;
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;margin-top:-80px; position: relative;z-index: 1;
}

.cta-imgs img {
  width:180px;
}

.footer {
  background: #404256;
  color: #fff;
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.toTop{position: fixed;right:20px;bottom:20px;}

/*跑馬燈*/
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;position: absolute;bottom:0;z-index:1;
}

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 140s linear infinite;
}

.marquee-content img {
  height: 100px;
  margin: 0 20px;
  vertical-align: middle;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RWD */
@media (max-width:1199px) {
  .hero-title{font-size:2rem;}
  .hero-btns div{font-size:16px;padding: 4px 16px;}
  .hero-imgs{width:40%;}
  .hero-imgs img{width:50%;margin-left:12px;}
  h2{font-size:1.5rem !important;margin:0 0 12px 0;margin-bottom:24px !important;}
  h3{font-size:1.2rem !important;margin-bottom:16px !important;}
  .intro-icon{width:72%;z-index:-1;}
  .intro-icon-2{width:72%;z-index:-1;top:-240px;}
  p{font-size:16px !important;}
  .hero-bg-text{width:768px;}
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-imgs img {
    width:140px;
  }
  .header{background-size:600px 126px;}
  .hero-btns{flex-wrap: wrap;}
  .hero-btns div{font-size:16px;padding: 4px 16px;min-width:220px;text-align: center;margin-bottom:16px; }
  .cta-imgs{flex: 1 1 40px;}
  .section-features{background-size:600px 126px;}
  .btn{padding:4px 32px;margin-right:4px;font-size:16px;}
  .btn img{width:20px;}
}

@media (max-width: 820px) {
  .hero-content {
    text-align: left;
  }
  .hero-imgs {
    justify-content: flex-start;
    gap: 1rem;
  }
  .compare-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-flex {
    flex-direction: column;
    gap: 2rem;
  }
  .cta-imgs {
    justify-content: flex-start;
  }
  .hero-content{flex-wrap: wrap;margin-top:96px;}
  .intro-full{width:100%;}
  .compare-box{width:100%;margin:8px 0;}
  .hero-imgs{width:100%;display: flex;
    justify-content: center;}
  .cta-imgs{width:100%;display: flex;
    justify-content: center;}  
  .cta-text{width:100%;}  
  .cta-imgs img{width:33%;}
  .compare-block{padding:20px;border-radius:12px; }
  .section-cta{padding-bottom:3rem;}
}

@media (max-width: 480px) {
  .hero-title {
    line-height:140%; 
  }
  .section-title {
    font-size: 1.1rem;
  }
  .hero-bg-text {
    font-size: 2.2rem;
  }
  .hero-imgs img, .cta-imgs img {
    width:44%;
  }
  .hero-bg-text{width:375px;}
  .hero-content {
    flex-wrap: wrap;
    margin-top:72px;}
    .hero-btns{text-align: center;width:100%;justify-content: center;margin-bottom:1rem;}
    .hero-btns div{margin-bottom:8px; }
    .marquee-content img{height:60px;}
    .header {
      background-size:480px 100px;
  }
  .intro-icon{width:100%;left:-5%;top: -440px;object-fit: cover;}
  .compare-flex {
    flex-direction: column;
    gap:0rem;
}
.feature-item img {
  margin-bottom:0px;
}
.intro-icon-2{width:100%;left:-5%;top: -180px;object-fit: cover;}
.cta-btns{display: flex;}
.btn{padding:8px 20px;}
.cta-imgs-RWD img{width:33%;}
.cta-text {
  flex: 1 1 260px;
}
.section-features {
  background-size:480px 100px;padding-bottom:120px;
  background: rgba(256, 256, 256, 0.6) url(../images/bg-2.svg) no-repeat -4px bottom;
}
}