/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", "Microsoft JhengHei", "微軟正黑體", sans-serif;
    background-color: #EF5100;
    color: #222222;
    overflow-x: hidden;
}

/* ========== Decorative Circles ========== */
.decorative-circles {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-30px, 30px) rotate(90deg);
    }

    50% {
        transform: translate(-50px, 0) rotate(180deg);
    }

    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.circle-2 {
    width: 320px;
    height: 320px;
    top: 40px;
    right: 40px;
    animation-delay: 0.5s;
}

.circle-3 {
    width: 240px;
    height: 240px;
    top: 80px;
    right: 80px;
    animation-delay: 1s;
}

/* ========== Header Container ========== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header-wrapper.scrolled {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== Header ========== */
.header {
    background-color: transparent;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: transparent;
}

.header-wrapper.scrolled .nav-item {
    color: #222222;
}

.header-wrapper.scrolled .nav-item.active {
    color: #FFC300;
}

.header-wrapper.scrolled .nav-item:hover {
    color: #FFC300;
}

.header-wrapper.scrolled .menu-icon {
    color: #222222;
}

.header-wrapper.scrolled .qr-icon {
    color: #222222;
}

.header-wrapper.scrolled .account-info {
    background-color: transparent;
    color: #EF5100;
    border: 2px solid #EF5100;
}

@media (min-width: 1401px) {
    .header {
        padding: 20px 0;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.menu-icon {
    display: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;    
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-white {
    display: block;
}

.logo-orange {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-orange {
    display: block;
}

.header-wrapper.scrolled .logo-white {
    display: none;
}

.header-wrapper.scrolled .logo-orange {
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    margin-right: 40px;
}

.nav-item {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-item:hover {
    color: #FFC300;
}

.nav-item.active {
    color: #FFC300;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.account-info {
    background-color: #FFFFFF;
    color: #EF5100;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.account-info:hover {
    opacity: 0.9;
}

.account-text {
    display: inline;
}

.account-text-short {
    display: none;
}

@media (max-width: 380px) {
    .header-left {
        gap: 10px !important;
    }

    .account-text {
        display: none !important;
    }

    .account-text-short {
        display: inline !important;
    }
}

.qr-icon {
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.qr-icon:hover {
    opacity: 0.8;
}

/* ========== Mobile Menu ========== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.mobile-menu.active {
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
}

.mobile-menu-content {
    background-color: #EF5100;
    width: 80%;
    max-width: 300px;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-menu-header .logo img {
    height: 40px;
}

.close-icon {
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-item {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 15px;
    margin: 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
    cursor: pointer;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.mobile-menu-item:hover::before {
    left: 0;
}

.mobile-menu-item:hover {
    color: #FFC300;
}
.mobile-br {
    display: none;
}
/* ========== Hero Section ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 60px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 55px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 40px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    opacity: 0;
    animation: heroFadeInUp 1s ease-out 0.3s forwards;
}

/* 新增：副標題樣式 */
.hero-title-sub {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #222222;
    margin-top: 10px;
    /* 與上一行保持間距 */
    text-shadow: none;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 80px;
    line-height: 1.8;
    background: linear-gradient(90deg, transparent 0%, #FFC300 0%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: 0 60%;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 2px 0;
    animation: highlighter 1.5s ease-out 0.8s forwards;
    /* 延遲0.8秒後開始 */
    padding: 0 10px;
}

@keyframes highlighter {
    to {
        background-size: 100% 100%;
    }
}

.hero-video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    padding-top: 80px;
    opacity: 0;
    animation: heroFadeInUp 1s ease-out 0.9s forwards;
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-placeholder iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.hero-video-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 0;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto;
}

.btn-primary {
    background-color: #FFC300;
    color: #222222;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #FFD133;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    /* 新增這行 */
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ========== Stats Section ========== */
.stats-section {
    background-color: #EF5100;
    padding: 80px 40px;
    padding-top: 30px;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stats-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.stats-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item.animate {
    opacity: 1;
    transform: scale(1);
}

.stat-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stat-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 56px;
    font-weight: 900;
    color: #FFFFFF;
}

.stats-source {
    font-size: 12px;
    color: #222222;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 0.8s ease 0.6s;
}

.stats-source.animate {
    opacity: 1;
}

.stats-source a {
    color: #222222;
    text-decoration: underline;
    transition: transform 0.3s;
    display: inline-block;
}

.stats-source a:hover {
    transform: translateY(-1px);
}

/* ========== Feature Section ========== */
.feature-section {
    background-color: #FFFFFF;
    padding: 100px 40px;
    position: relative;
    border-radius: 0 600px 0 0;
}

.feature-section:nth-of-type(4),
.feature-section:nth-of-type(5) {
    border-radius: 0;
    padding-top: 10px;
}

.feature-container {
    max-width: 1400px;
    margin: 0 auto;
}

.feature-header {
    text-align: center;
    margin-bottom: 30px;
}

.feature-label {
    font-size: 30px;
    font-weight: 600;
    color: #AAAAAA;
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.feature-label.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-title {
    font-size: 60px;
    font-weight: 900;
    color: #222222;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.feature-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.feature-section:nth-of-type(4) .feature-content {
    flex-direction: row-reverse;
}

.feature-list {
    flex: 1;
    max-width: 500px;
}

.feature-item {
    padding: 20px 0;
    margin-bottom: 0;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s;
    border-bottom: 1px dashed #E0E0E0;
    text-align: center;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover,
.feature-item.active {
    background-color: transparent;
}

.feature-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #787676;
    margin-bottom: 8px;
    transition: all 0.3s;
    line-height: 1.4;
}

.feature-item.active .feature-item-title,
.feature-item:hover .feature-item-title {
    color: #EF5100;
}

.feature-item-desc {
    font-size: 16px;
    color: #AAAAAA;
    line-height: 1.8;
    transition: all 0.3s;
}

.feature-item.active .feature-item-desc,
.feature-item:hover .feature-item-desc {
    color: #666666;
}

.feature-item-content {
    margin-bottom: 0;
}

/* ========== Mobile Feature Images (hidden on desktop) ========== */
.mobile-feature-image {
    display: none;
}

.feature-image {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.feature-image img {
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

/* Feature 圖片切換層 */
.feature-img-container {
    position: relative;
    width: 100%;
    height: auto;
}

.feature-img-layer {
    width: 100%;
    height: auto;
}

.feature-img-layer.layer-1 {
    position: relative;
    z-index: 1;
}

.feature-img-layer.layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========== CTA Section ========== */
.cta-section {
    background-color: #2B2B2B;
    padding: 80px 40px;
    position: relative;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.cta-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 30px;
}

.cta-feature {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.cta-feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-feature:nth-child(1) {
    transition-delay: 0.2s;
}

.cta-feature:nth-child(2) {
    transition-delay: 0.4s;
}

.cta-feature:nth-child(3) {
    transition-delay: 0.6s;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background-color: #EF5100;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transform-style: preserve-3d;
    cursor: pointer;
}

.cta-icon.flip-animate {
    animation: coinFlip 0.8s ease-in-out;
}

.cta-feature:hover .cta-icon {
    animation: coinFlip 0.8s ease-in-out;
}

@keyframes coinFlip {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.cta-icon i {
    font-size: 36px;
    color: #FFFFFF;
}

.cta-feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.cta-feature-desc {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.8;
}

.btn-cta-apply {
    background-color: #FFC300;
    color: #222222;
    padding: 16px 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
}

.btn-cta-apply:hover {
    background-color: #FFD133;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.3);
}

/* ========== Pricing Section ========== */
.pricing-section {
    background-color: #EF5100;
    padding: 80px 40px 80px;
    position: relative;
    overflow: visible;
}

.pricing-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pricing-title {
    font-size: 36px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.pricing-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 101;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(40px);
}

.pricing-card.yearly-card {
    background: rgba(255, 255, 255, 0.85);
}

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:nth-child(1).animate {
    transition-delay: 0.2s;
}

.pricing-card:nth-child(2).animate {
    transition-delay: 0.4s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.pricing-card-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222222;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card-badge .highlight-text {
    color: #FFC300;
}

.pricing-content {
    padding: 40px 30px 35px;
}

.pricing-plan-name {
    font-size: 28px;
    font-weight: 900;
    color: #222222;
    margin-bottom: 10px;
    margin-top: 5px;
}

.pricing-bonus {
    font-size: 14px;
    color: #222222;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-price-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.pricing-label {
    font-size: 16px;
    color: #EF5100;
    font-weight: 700;
}

.pricing-price-new {
    font-size: 32px;
    font-weight: 900;
    color: #EF5100;
}

.pricing-price-unit {
    font-size: 16px;
    color: #EF5100;
    font-weight: 600;
}

.pricing-price-old {
    font-size: 14px;
    color: #999999;
    text-align: center;
}

.pricing-price-old .strikethrough {
    text-decoration: line-through;
}

.pricing-features {
    display: grid;
    grid-template-columns: auto auto;
    /* 改為 auto，讓內容決定寬度 */
    gap: 15px 30px;
    /* 調整欄位間距，第二個值是水平間距 */
    margin-bottom: 30px;
    text-align: left;
    padding: 0px 50px;
    justify-content: center;
    /* 讓兩欄置中 */
    border-top: 1px solid #E0E0E0;
    padding-top: 20px;
}

.pricing-feature {
    font-size: 15px;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.pricing-feature i {
    color: #EF5100;
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-badge-text {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
    text-align: center;
    margin-top: -10px;
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

/* 月繳制按鈕 - 黃底黑字 */
.monthly-card .btn-pricing {
    background-color: #FFC300;
    border: 2px solid #FFC300;
    color: #222222;
}

.monthly-card .btn-pricing:hover {
    background-color: #FFD133;
    border-color: #FFD133;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.4);
}

/* 年繳制按鈕 - 透明底黑框 */
.yearly-card .btn-pricing {
    background-color: transparent;
    border: 2px solid #222222;
    color: #222222;
}

.yearly-card .btn-pricing:hover {
    background-color: #FFC300;
    border-color: #FFC300;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.4);
}

/* 響應式調整 */
@media (max-width: 820px) {
    .pricing-plan-name {
        font-size: 26px;
    }

    .pricing-price-new {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .pricing-section {
        padding: 60px 20px 60px;
    }

    .pricing-title {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .pricing-card-badge {
        font-size: 20px;
        padding: 6px 18px;
    }

    .pricing-content {
        padding: 35px 25px 30px;
    }

    .pricing-plan-name {
        font-size: 24px;
    }

    .pricing-price-new {
        font-size: 28px;
    }

    .pricing-features {
        gap: 12px;
    }

    .pricing-badge-text {
        font-size: 14px;
    }
}

/* ========== Contact Section ========== */
.contact-section {
    background-color: #222222;
    padding: 80px 40px 80px;
    position: relative;
    text-align: center;
    margin-top: -700px;
    padding-top: 650px;
    clip-path: ellipse(150% 100% at 50% 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 60px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.contact-content {
    flex: 1;
    text-align: left;
}

.contact-title {
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-button-wrapper {
    flex-shrink: 0;
}

.btn-contact {
    background-color: #FFC300;
    color: #222222;
    padding: 16px 60px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background-color: #FFD133;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.3);
}

/* ========== Footer ========== */
.footer {
    background-color: #222222;
    padding: 60px 40px 30px;
    color: #FFFFFF;
    position: relative;
    z-index: 10;
    padding-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 左側 */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.footer-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.footer-company-legal {
    font-size: 13px;
    color: #999999;
}

/* 中間和右側標題 */
.footer-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* 中間 */
.footer-center {
    display: flex;
    flex-direction: column;
}

.footer-contact-item {
    font-size: 14px;
    color: #CCCCCC;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-item i {
    color: #FFC300;
    font-size: 14px;
    width: 16px;
}

/* 右側 */
.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-patent-text {
    font-size: 13px;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-patent-text a {
    color: #FFC300;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.footer-patent-text a:hover {
    opacity: 0.8;
}

.footer-patent-text .certificate-number {
    color: #FFC300;
    font-weight: bold;
}

.footer-patent-number {
    font-size: 13px;
    color: #FFC300;
    margin-bottom: 10px;
}

.footer-patent-cta {
    font-size: 13px;
    color: #AAAAAA;
    line-height: 1.6;
}

/* 底部 */
.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 12px;
    color: #999999;
}

/* 響應式調整 */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-right {
        grid-column: 2 / -1;
        /* 占第二欄到最後 */
        grid-row: 2;
        /* 放在第二行 */
    }

    .footer-center {
        grid-row: 1;
        /* 聯絡我們在第一行 */
    }

    .footer-left {
        grid-row: 1;
        /* Logo 區在第一行 */
    }

    .footer-patent-text,
    .footer-patent-number,
    .footer-patent-cta {
        text-align: left;
        /* 文字靠左 */
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        /* 手機版置中 */
        grid-column: 1;
        grid-row: auto;
        /* 重置 grid-row */
    }

    .footer-logo img {
        margin: 0 auto 10px;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-patent-text,
    .footer-patent-number,
    .footer-patent-cta {
        text-align: center;
        /* 手機版文字置中 */
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-main {
        gap: 25px;
        padding-bottom: 30px;
    }

    .footer-section-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-patent-text,
    .footer-patent-cta {
        font-size: 12px;
    }

    .footer-patent-number {
        font-size: 13px;
    }
}

/* ========== Responsive Design ========== */

/* 大螢幕優化 (1200px - 1400px) */
@media (max-width: 1400px) {
    .feature-content {
        gap: 30px;
    }
}

/* 中等螢幕 (1024px - 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .feature-section {
        padding: 80px 40px;
    }

    .feature-title {
        font-size: 50px;
    }

    .feature-label {
        font-size: 16px;
    }

    .feature-item-title {
        font-size: 20px;
    }

    .feature-item-desc {
        font-size: 15px;
    }

    .feature-content {
        gap: 30px;
    }

    .pricing-title,
    .contact-title {
        font-size: 32px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .contact-subtitle {
        font-size: 16px;

    }
}

/* 平板橫向 (820px - 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-title-sub {
        font-size: 28px;
    }

    .stat-value {
        font-size: 48px;
    }

    .feature-title {
        font-size: 42px;
    }

    .feature-item-title {
        font-size: 20px;
    }

    .feature-item-desc {
        font-size: 14px;
    }

    .cta-features {
        gap: 40px;
    }

    .cta-feature-title {
        font-size: 20px;
    }

    .cta-feature-desc {
        font-size: 14px;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .contact-subtitle {
        font-size: 14px;

    }
}

/* 平板直向 (768px - 820px) */
@media (max-width: 820px) {
    .header {
        padding: 15px 20px;
    }

    .header-left {
        flex: 1;
    }

    .menu-icon {
        display: block;
    }

    .header-wrapper.scrolled .menu-icon {
        color: #222222;
    }

    .nav-menu {
        display: none;
    }

    .hero-video-container {
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-title-sub {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .stats-title {
        font-size: 28px;
    }

    .stats-grid {
        gap: 30px;
    }

    .stat-value {
        font-size: 40px;
    }

    .feature-title {
        font-size: 40px;
    }

    .feature-item-title {
        font-size: 18px;
    }

    .cta-title,
    .pricing-title {
        font-size: 30px;
    }

    .pricing-plan-name {
        font-size: 26px;
    }

    .pricing-price-new {
        font-size: 26px;
    }

    .pricing-price-unit {
        font-size: 16px;
    }

    .pricing-badge {
        font-size: 18px;
    }

    .contact-title {
        font-size: 26px;
    }

    .contact-subtitle {
        font-size: 15px;
    }
}

/* 平板小尺寸與手機大尺寸 (640px - 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-value {
        font-size: 42px;
    }

    /* Feature 區域改為垂直排列 */
    .feature-section {
        padding: 70px 30px;
        border-radius: 0 300px 0 0;
    }

    .feature-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .feature-title {
        font-size: 46px;
    }

    .feature-label {
        font-size: 18px;
    }

    .feature-content {
        flex-direction: column;
        gap: 0;
    }

    .feature-section:nth-of-type(4) .feature-content {
        flex-direction: column;
    }

    /* 隱藏桌面版圖片 */
    .feature-image {
        display: none;
    }

    /* 顯示手機版圖片 */
    .mobile-feature-image {
        display: block;
        width: 100%;
        margin-top: 0;
        margin-bottom: 25px;
        text-align: center;
    }

    .mobile-feature-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .feature-list {
        width: 100%;
        max-width: 100%;
    }

    .feature-item {
        padding: 25px 0;
        border-bottom: 1px dashed #E0E0E0;
        cursor: default;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .feature-item-desc {
        font-size: 16px;
    }

    /* 手機版所有 feature item 都顯示為 active 狀態 */
    .feature-item .feature-item-title {
        color: #EF5100;
    }

    .feature-item .feature-item-desc {
        color: #666666;
    }

    .cta-title,
    .pricing-title,
    .contact-title {
        font-size: 28px;
    }

    .pricing-section {
        padding: 60px 20px 60px;
    }

    .contact-section {
        margin-top: -600px;
        padding-top: 550px;
        clip-path: ellipse(180% 100% at 50% 100%);
    }

    .pricing-cards {
        gap: 30px;
        margin-bottom: 40px;
    }

    .contact-container {
        padding: 50px 40px;
    }
}

/* 手機版 (480px - 640px) */
@media (max-width: 640px) {
    .mobile-br {
        display: block;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-title-sub {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        width: auto;
    }


    .hero-video-container {
        margin-bottom: 0px;
    }


    .btn-secondary {
        display: none;
    }

    .btn-primary {
        width: auto;
        /* 改為 auto */
        padding: 14px 36px;
        font-size: 20px;
    }

    .stats-section {
        padding: 60px 20px;
    }

    .stats-title {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-value {
        font-size: 40px;
    }

    .feature-section {
        padding: 60px 20px;
        border-radius: 0 200px 0 0;
    }

    .feature-header {
        margin-bottom: 40px;
    }

    .feature-title {
        font-size: 36px;
    }

    .feature-label {
        font-size: 16px;
    }

    .feature-item {
        padding: 20px 0;
    }

    .feature-item-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .feature-item-desc {
        font-size: 14px;
    }

    .mobile-feature-image {
        margin-bottom: 20px;
    }

    .mobile-feature-image img {
        border-radius: 12px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-title,
    .pricing-title,
    .contact-title {
        font-size: 24px;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-section {
        padding: 60px 20px 60px;
    }

    .pricing-title {
        margin-bottom: 50px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .pricing-card {
        border-radius: 20px;
    }

    .pricing-content {
        padding: 30px 25px;
    }

    .pricing-plan-name {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .pricing-price-wrapper {
        margin-bottom: 20px;
    }

    .pricing-price-main {
        margin-bottom: 8px;
    }

    .pricing-price-new {
        font-size: 30px;
    }

    .pricing-price-unit {
        font-size: 16px;
    }

    .pricing-price-old {
        font-size: 13px;
    }

    .pricing-badge {
        padding: 8px 18px;
        font-size: 14px;
    }

    .pricing-bonus {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .pricing-feature {
        font-size: 14px;
    }

    .pricing-feature i {
        font-size: 12px;
    }

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

    .contact-section {
        padding: 80px 20px 20px;
        margin-top: -200px;
        padding-top: 150px;
    }

    .contact-container {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .contact-content {
        text-align: center;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .decorative-circles {
        right: -50px;
        top: -50px;
        width: 300px;
        height: 300px;
    }

    .circle-1 {
        width: 300px;
        height: 300px;
    }

    .circle-2 {
        width: 240px;
        height: 240px;
        top: 30px;
        right: 30px;
    }

    .circle-3 {
        width: 180px;
        height: 180px;
        top: 60px;
        right: 60px;
    }
}

/* 小手機 (380px - 480px) */
@media (max-width: 480px) {
    .feature-title {
        font-size: 36px;
    }

    .feature-item-title {
        font-size: 18px;
    }

    .feature-item-desc {
        font-size: 13px;
    }


}

/* 超小手機 (380px 以下) */
@media (max-width: 380px) {
    .header-left {
        gap: 10px !important;
    }

    .account-text {
        display: none !important;
    }

    .account-text-short {
        display: inline !important;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 100%;
        font-size: 15px;
    }

    .feature-section {
        padding: 50px 15px;
    }

    .feature-title {
        font-size: 22px;
    }

    .feature-item-title {
        font-size: 15px;
    }

    .feature-item-desc {
        font-size: 12px;
    }

    .cta-title,
    .pricing-title,
    .contact-title {
        font-size: 22px;
    }
}

/* Reset and Base Styles - 登入彈窗專用 */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    position: relative;
    animation: lightboxFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #222222;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: #EF5100;
}

.lightbox-inner {
    padding: 60px 50px 50px;
    overflow-y: auto;
    flex: 1;
}

.lightbox-header {
    text-align: left;
    margin-bottom: 30px;
}

.lightbox-title {
    font-size: 28px;
    font-weight: 900;
    color: #222222;
    margin-bottom: 15px;
}

.lightbox-subtitle {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    font-weight: 400;
}

.lightbox-subtitle-highlight {
    color: #EF5100;
    font-weight: 800;
}

/* 登入表單 */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #EF5100;
    background-color: #FFF5F0;
}

.form-input.error {
    border-color: #DC3545;
    background-color: #FFEBEE;
}

.password-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.password-input:focus {
    outline: none;
    border-color: #EF5100;
    background-color: #FFF5F0;
}

.password-input.error {
    border-color: #DC3545;
    background-color: #FFEBEE;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #EF5100;
}

.error-message {
    color: #DC3545;
    font-size: 12px;
    margin-top: 4px;
    text-align: center;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #EF5100;
}

.forgot-password {
    color: #EF5100;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-submit {
    background-color: #EF5100;
    color: #FFFFFF;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-submit:hover {
    background-color: #D44400;
}

.login-submit:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

.register-prompt {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.register-prompt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.register-link {
    color: #EF5100;
    text-decoration: none;
    font-weight: 700;
}

.register-link:hover {
    text-decoration: underline;
}

.activation-prompt {
    text-align: center;
    display: block;
    margin-top: -15px;
}

.activation-link {
    color: #EF5100;
    text-decoration: none;
    font-weight: 700;
}

.activation-link:hover {
    text-decoration: underline;
}


/* 響應式 */
@media (max-width: 640px) {
    .lightbox-inner {
        padding: 40px 25px 25px;
    }
}