/* Reset 基礎樣式 */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
}

img {
    width: 100%;
}

ul { 
    list-style: none; 
    margin-bottom: 0;
}

p {
    margin-bottom: 0;
}

/* Typography 文字樣式 */
h1,h2,h3,h4 {
    font-weight: bold;
    margin: 0;
}

h1 {
  font-size: 44px;
  margin-bottom: 24px;
}

h2 {
  font-size: 40px;
  margin-bottom: 40px;
}

h3 {
    font-size: 30px;
}

h1 b,
h2 b {
    color: #007BFF;
}
 
.body-text {
  font-size: 16px;
}
/* Button 按鈕樣式 */
.btn-contain {
    display: inline-block;
    color: #fff;
    background-color: #FF8012;
    text-decoration: none;
    border-radius: 8px;
    line-height: 1em;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn-contain:hover {
    background-color: #FF9C46;
}

.btn-s {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
}

.btn-m {
    padding: 14px 20px;
    font-size: 16px;
}

.btn-l {
    width: 240px;
    padding: 20px;
    font-size: 18px;
}

a.btn-contain,
a.btn-contain:visited,
a.btn-contain:hover {
    color: #fff;
}

/* Section 基礎樣式 */
.section-bright,
.section-dark {
  text-align: center;
}

.section-bright {
  color: rgba(0,0,0,.9);
  background-color: #fff;
}

.section-dark {
  color: #fff;
  background-color: rgba(0,0,0,.9);
}

section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 0;
}

/* Swiper-arrow button */
.custom-prev,
.custom-next,
.custom-prev-single,
.custom-next-single {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    width: 40px;
    height: 40px;
    background-image: url('images/icon/line-arrow-circle.svg');
    background-size: contain;
    z-index: 10;
}

.custom-prev,
.custom-prev-single {
    transform:  translateY(-50%) scaleX(-1);
}

/* ----- Sticky Header ----- */
.site-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0px 1px 8px rgba(0,0,0,.1);
  padding: 16px 0;
}

.site-header >div {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.site-header .logo {
    background-image: url(images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/* ----- Hero Section ----- */
.section-hero {
    background-image: url('images/decor/blur-blue_green-righttop.png');
    background-repeat: no-repeat;
    background-position: right 140px top;
    background-size: 1080px;
}

.section-hero .container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.section-hero .text-box {
    flex: 1;
    max-width: 434px;
    text-align: left;
}

.section-hero .body-text {
    margin-bottom: 32px;
}

.hero-visual {
    flex: 1;
    margin-left: 180px;
    position: relative;
}

.hero-visual::before {
    display: block;
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 64px;
}

.marquee {
    position: absolute;
    left: 0;
    top: 354px;
    overflow: hidden;
    width: 580px;
    height: 78px;
}

.marquee::before,
.marquee::after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 100%;
    z-index: 10;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0)100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1)100%);
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: scroll 16s linear infinite;
}

.marquee-track img {
  width: 160px;
  height: 100%;
  flex-shrink: 0;
  margin-right: 40px;
}

/* 動畫定義 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----- Award Section ----- */
.section-award {
    border-radius: 40px;
    background-image: url('images/decor/blur-blue_green-lefttop.png'), url('images/decor/blur-blue_green-bottom.png');
    background-position: Left Top, Right -100px Bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 392px, 1050px;
}

.section-award .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-award ul li {
    display: flex;
    align-items: flex-start;
}

.section-award ul li:not(:last-child) {
    margin-bottom: 30px;
}

.section-award ul li p {
    font-size: 18px;
    margin-top: 16px;
}

.section-award ul li:nth-child(2) {
    margin-left: 24px;
}

.section-award ul li:last-child {
    margin-left: 48px;
}

.section-award ul li i {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

.section-award ul li:first-child i {
    background-image: url('images/icon/label_flash.png');
}

.section-award ul li:nth-child(2) i {
    background-image: url('images/icon/label_up.png');
}

.section-award ul li:last-child i {
    background-image: url('images/icon/label_shield.png');
}

.section-award ul li div {
    width: calc(100% - 48px);
    text-align: left;
}

.section-award .img-wrap {
    width: 380px;
}


/* ----- Reviews Section ----- */
.section-reviews {
    background-color: #F2F4F8;
}

/* swiper */
.section-reviews .carousel-wrapper {
    position: relative; 
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 16px 40px;
}

.section-reviews .swiper-container {
    padding: 16px;
    overflow: hidden;
}

.section-reviews .swiper-container .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 422px;
    background: #fff;
    border-radius: 10px;
    padding: 40px 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 18px;
}

.card .reviewer {
    font-size: 20px;
    font-weight: bold;
}

.star-row {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.star-row i {
    width: 24px;
    height: 24px;
    background-image: url('images/icon/star.svg');
    margin: 0 2px;
}

.platform {
    width: 160px;
}

.section-reviews .custom-prev {
    left: -75px;
}

.section-reviews .custom-next {
    right: -75px;
}

.section-reviews .custom-prev.swiper-button-disabled,
.section-reviews .custom-next.swiper-button-disabled {
  cursor: default;
  opacity: 0.4;
}

/* ----- Pricing Section ----- */

/* Toggle switch */
.toggle-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, .2);
    border-radius: 50px;
}

.toggle-button {
    width: 120px;
    padding: 8px 12px;
    color: rgba(0,0,0,.9);
    background-color: #fff;
    cursor: pointer;
    position: relative;
    border: 0;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.toggle-button.active {
    background-color: #DEEEFF;
}

.label-badge {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF9C46;
    color: white;
    font-size: 13px;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 16px;
}

.price-table  {
    display: none;
}

.price-table.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pricing-box {
    width: 260px;
    border-radius: 15px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, .2);
    margin: 0 20px;
}

/* Box Title */
.box-title {
    position: relative;
    border-radius: 15px 15px 0 0;
    padding: 32px 32px 16px;
    border-bottom: 1px solid #DEEEFF;
}

.box-title .btn-s {
    width: 100%;
}

.plan {
    font-size: 20px;
    color: rgba(0,0,0,.7);
    margin-bottom: 8px;
}

.price {
    font-size: 13px;
}

.price b {
    font-size: 48px;
}

.highlight-box .box-title {
    background: linear-gradient(0deg,rgba(222, 238, 255, .4) 0%, #DEEEFF 100%);
}

.highlight-box .box-title::before {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    content: 'Popular';
    display: inline-block;
    color: #fff;
    background-color: #007BFF;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 20px;
}

/* Box Body */
.box-body {
    border-radius: 0 0 15px 15px;
    padding: 16px 0;  
}

.section-pricing ul {
    text-align-last: left;
    font-size: 13px;
    color: rgba(0,0,0,.7);
}

.section-pricing ul .title {
    font-weight: bold;
    color: #007BFF;
}

.section-pricing li {
    padding: 8px 16px;
    line-height: 1.1em;
    display: flex;
    align-items: center;
}

.box-body b {
    font-size: 16px;
    color: rgba(0,0,0,.9);
    margin-right: 8px;
}

.box-body hr {
    border: none;
    border-top: 1px solid #DEEEFF;
    margin: 8px 0;
}

.section-pricing ul i {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url('images/icon/line-check.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.section-pricing .none {
    color: rgba(0,0,0,.5);
}

.section-pricing .none i {
    background-image: url('images/icon/line-cross.svg');
}

.pricing-box ul .mobile-only {
    display: none;
}

/* Plan Features */
.section-pricing .card {
    max-width: 860px;
    border-radius: 15px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, .2);
    padding: 24px;
    margin: 40px auto;
    text-align: left;
}

.section-pricing .card h4 {
    font-size: 16px;
    color: #007BFF;
    margin-bottom: 16px;

}

.section-pricing .card ul {
    display: flex;
    flex-wrap: wrap;
}

.section-pricing .card li {
    display: inline-flex;
    width: 50%;
    font-size: 15px;
}

.section-pricing .speed {
    width: 100%;
}

.section-pricing .speed i {
    background-image: url('images/icon/line-flash.svg');

}

.section-pricing .speed span {
    font-size: 13px;
    color: rgba(0,0,0,.5);
}

/* More Plans */
.card-cta-yellow {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF7D3;
    padding: 24px;
    border-radius: 8px;
    max-width: 860px;
    margin: 0 auto;
}

.card-cta-yellow p {
    text-align: left;
    margin-right: 24px;
}

.card-cta-yellow b {
    font-size: 24px;
}

/* ----- Trial Section ----- */
.section-trial ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-trial ul li {
    width: calc(33.33% - 13px);
}

.section-trial h3 {
    color: #007BFF;
    margin-bottom: 16px;
}

/* ----- Features Section ----- */
.section-features {
    background-image: url('images/decor/blur-blue_green-ball.png'), url('images/decor/blur-blue_green-ball.png');
    background-position: right 6% Top 24px, left 5% top 600px;
    background-repeat: no-repeat, no-repeat;
    background-size: 742px, 742px;
}

.feature-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 40px;
    margin-bottom: 40px;
}

.feature-box:nth-child(2) {
    flex-direction: row-reverse;
}

.feature-box li {
    position: relative;
    padding-left: 12px;
}

.feature-box li::before {
    position: absolute;
    display: block;
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: #fff;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.feature-box p {
    margin: 24px 0;
    font-size: 18px;
}

.feature-box a {
    display: inline-flex;
    font-weight: bold;
    color: #439EFF;
    margin-top: 24px;
}

.feature-box a i {
    display: inline-block;
    background-image: url('images/icon/line-arrow-primary400.svg');
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.feature-box a:hover i {
    transform: translateX(6px);
}

.section-features .img-wrap {
    width: 400px;
}

.video-wrap {
    max-width: 720px;
    margin: 40px auto 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ----- Testminal Section ----- */
.section-testminal .carousel-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.section-testminal {
    width: 100%;
    max-width: 1168px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.section-testminal .swiper-wrapper {
    box-sizing: border-box;
}

.section-testminal .swiper-slide {
    width: 100%;
    padding: 24px 84px;
    margin-top: -72px;
    text-align: center;
}

.section-testminal .avatar {
    position: relative;
    top: 72px;
    width: 215px;
    height: 215px;
    margin: 0 auto;
    z-index: 2;
}

.section-testminal .card {
    position: relative;
    padding: 100px 40px 40px;
    border-radius: 10px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, .2);
    z-index: 0;
}

.section-testminal .card p {
    font-size: 20px;
    font-weight: bold;
}

.seller-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 16px;
    font-size: 16px;
    color: #007BFF;
    background-color: #DEEEFF;
    border-radius: 15px;
}

.card .quote {
    position: relative;
    margin-top: 24px;
    padding: 0 48px;
}

.card .quote::before,
.card .quote::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 33px;
    display: block;
    content: '';
    background-image: url('images/icon/double_quotes.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.card .quote::before {
    left: 0px;
    transform: translateY(-50%) scaleX(-1) rotateX(180deg);
}

.card .quote::after {
    right: 0px;
}

/* Custom nav buttons */
.custom-prev-single {
    left: 0px;
}

.custom-next-single {
    right: 0px;
}

.custom-prev-single.swiper-button-disabled,
.custom-next-single.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* Progress indicator */
.progress-indicator {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

.section-testminal .btn-l {
    width: auto;
}

/* ----- Footer ----- */
.footer {
    padding: 16px;
    text-align: center;
    color: rgba(0,0,0,.5);
    background-color: #F2F4F8;
}

/* ----- RWD ----- */
@media (max-width: 1440px) {
    .site-header >div,
    section .container {
        width: 90%;
    }

    .marquee-track img {
        width: 120px;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .section-award h3 {
        font-size: 20px;
    }

    .hero-visual {
        margin-left: 24px;
    }

    .marquee {
        height: 56px;
    }

    .section-reviews .carousel-wrapper {
        max-width: 90%;
        padding: 0;
        margin-bottom: 24px;
    }

    .section-award ul li:nth-child(2),
    .section-award ul li:last-child {
        margin-left: 0;
    }

    .card .quote {
        padding: 40px 0;
    }

    .card .quote::before {
        left: 50%;
        top: 0;
        transform: translate(-50%, 0) scaleX(-1) rotateX(180deg);
    }
    .card .quote::after {
        right: 50%;
        top: auto;
        transform: translate( 50%, 0);
        bottom: -8px;
    }
}

@media (max-width: 768px) {
    .btn-l {
        padding: 14px;
        font-size: 16px;
    }

    section .container {
        padding: 40px 0;
    }

    h3 {
        font-size: 24px;
    }

    .site-header {
        padding: 12px 0;
    }

    .site-header .logo {
        width: 80px;
        height: 35px;
    }

    .section-hero {
        background-image: url(images/decor/blur-blue_green-righttop.png), url(images/decor/blur-blue_green-ball.png);
        background-repeat: no-repeat, no-repeat;
        background-position: right -80px top -44px, left -119px bottom 70px;
        background-size: 400px, 370px;
    }

    .section-hero .container {
        flex-direction: column;
        align-items: center;
    }

    .section-hero .text-box {
        text-align: center;
        margin-bottom: 24px;
    }

    .section-hero .body-text {
        margin-bottom: 24px;
    }

    .hero-visual {
        margin: 0 auto;
    }

    .hero-visual::before {
        height: 36px;
    }

    .marquee {
        display: block;
        position: relative;
        top: auto;
        width: 100%;
    }

    .section-award .content {
        flex-direction: column;
    }

    .section-award ul li p {
        font-size: 15px;
        margin-top: 8px;
    }

    .section-award .img-wrap {
        max-width: 320px;
    }

    .section-reviews .swiper-container {
        padding: 0;
    }

    .section-reviews .custom-next {
        right: -5%;
    }

    .section-reviews .custom-prev {
        left: -5%;
    }

    .toggle-container {
        padding: 4px;
        margin: 36px auto;
    }

    .toggle-button {
        padding: 4px 12px;
        font-size: 14px;
    }

    .price-table {
        flex-direction: column;
    }

    .pricing-box {
        width: 100%;
        margin-bottom: 36px;
    }

    .plan {
        margin-bottom: 0;
    }

    .price b {
        font-size: 40px;
    }

    .pricing-box ul:not(:first-child) li {
        display: none;
    }

    .pricing-box ul li.title {
        display: block;
    }

    .pricing-box ul .mobile-only {
        display: block;
        border-top: 1px solid #deeeff;
        text-align: left;
        padding-top: 16px;
    }

    .pricing-box ul .mobile-only b {
        font-size: 13px;
        margin-right: 0;
        color: rgba(0, 0, 0, .7);
    }

    .pricing-box ul .mobile-only span {
        color: rgba(0, 0, 0, .5);
    }

    .section-pricing .card {
        display: none;
    }

    .card-cta-yellow {
        flex-direction: column;
    }

    .card-cta-yellow p {
        margin: 0 auto 16px;
        text-align: center;
    }

    .section-trial ul {
        flex-direction: column;
        margin-bottom: 0;
    }

    .section-trial ul li {
        width: 100%;
        margin-bottom: 32px;
    }

    .feature-box {
        flex-direction: column;
    }

    .feature-box:nth-child(2) {
        flex-direction: column;
    }

    .feature-box p {
        font-size: 16px;
    }

    .feature-box li {
        font-size: 14px;
    }

    .section-features {
        background-image: none;
    }

    .section-features .img-wrap {
        width: 100%;
    }

    .section-testminal .swiper-slide {
        padding: 8px;
    }

    .section-testminal .avatar {
        width: 180px;
        height: 180px;
    }

    .section-testminal .card {
        padding: 80px 16px 40px;
    }

    .card .quote {
        font-size: 16px;
    }

    .custom-prev-single, 
    .custom-next-single {
        top: auto;
        transform: translateY(0);
        bottom: -8px;
    }

    .custom-prev-single {
        left: calc(50% + -74px);
        transform: translateY(0) scaleX(-1);
    }

    .custom-next-single {
        right: calc(50% + -74px);
    }

    .progress-indicator-single {
        margin-top: 24px;
    }
    
}
