/* 產品頁面專用樣式 */

/* 產品導航下拉選單 */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    min-width: 450px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: #fff;
    transform: none;
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #fff;
}

.dropdown-content {
    flex: 1;
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: inherit;
}

.dropdown-description {
    font-size: 0.8rem;
    color: #bbb;
    line-height: 1.3;
}

.dropdown-item:hover .dropdown-description {
    color: #e0e0e0;
}

.dropdown li {
    margin: 0;
}

.dropdown a::after {
    display: none;
}

/* 產品子選單 */
.product-nav {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: 80px;
    position: sticky;
    top: 80px;
    z-index: 999;
}

.product-nav-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-nav-menu a:hover,
.product-nav-menu a.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* 產品 Hero Section */
.product-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    z-index: 1;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.85) 0%, 
        rgba(10, 10, 10, 0.75) 50%, 
        rgba(67, 56, 202, 0.6) 100%);
    z-index: -1;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, 
        rgba(99, 102, 241, 0.3) 0%, 
        transparent 50%),
        radial-gradient(circle at 70% 80%, 
        rgba(139, 92, 246, 0.2) 0%, 
        transparent 50%);
    z-index: -1;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInDown 1s ease-in-out;
}

.product-icon-large {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.product-icon-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.product-icon-large i {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    position: relative;
    z-index: 1;
}

.product-icon-large img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    position: relative;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.product-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e7ff 50%, 
        #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.8) 50%, 
        transparent 100%);
    border-radius: 2px;
}

.product-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 通用區塊樣式 */
.section-title {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #d0d0d0;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 功能特色區塊 */
.features-overview,
.key-features {
    padding: 5rem 0;
    background: #0a0a0a;
}

.features-intro {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-intro p {
    font-size: 1.1rem;
    color: #d0d0d0;
    line-height: 1.6;
}

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

/* 2欄網格佈局 */
.features-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 4欄網格佈局 */
.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 清單模式佈局 */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list .feature-card {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.features-list .feature-image {
    margin-right: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.features-list .feature-card h3 {
    margin-bottom: 0.5rem;
}

.features-list .feature-card p {
    margin: 0;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid,
    .features-grid-2,
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .features-list .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .features-list .feature-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    color: white;
}

.feature-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.feature-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #d0d0d0;
    line-height: 1.6;
}

/* 系統模組區塊 */
.modules-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.module-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 1.5rem;
    text-align: center;
}

.module-header h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.module-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.05);
}

.module-content {
    padding: 2rem;
}

.module-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.module-content p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.module-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-features li {
    color: #d0d0d0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.module-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8rem;
}

.module-features li:hover {
    color: #fff;
}

/* CTA 區塊 */
.cta-section {
    padding: 5rem 0;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%);
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* ===================================
   FAQ 區塊樣式
   =================================== */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.faq-section .section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 搜尋功能 */
.faq-search {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 50px;
    font-size: 16px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.2);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
}

/* 分類篩選 */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    background: white;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.category-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* FAQ 容器 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ 項目 */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: #3498db;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: #3498db;
}

.faq-item.active .faq-toggle i {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 30px 30px;
    border-top: 1px solid #f1f3f4;
}

.faq-answer-content p {
    margin: 20px 0 0 0;
    color: #6c757d;
    line-height: 1.6;
    font-size: 15px;
}

/* 聯絡 CTA */
.faq-contact-cta {
    margin-top: 60px;
    text-align: center;
}

.contact-cta-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-content p {
    margin: 0 0 25px 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-cta-content .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-cta-content .btn-primary {
    background: #3498db;
    color: white;
    border: none;
}

.contact-cta-content .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* 空狀態 */
.no-faqs {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: #e1e8ed;
    margin-bottom: 25px;
}

.empty-state h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.empty-state p {
    margin: 0 0 30px 0;
    color: #6c757d;
    line-height: 1.6;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .product-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
    }

    .product-nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .product-hero {
        padding: 3rem 1rem;
        min-height: 60vh;
        background-attachment: scroll;
    }

    .product-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .product-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .product-icon-large {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .product-icon-large::before {
        width: 100px;
        height: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-top: 2rem;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 80%;
        max-width: 280px;
    }

    /* 下拉選單在手機版的優化 */
    .dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        border-radius: 15px;
        padding: 1.5rem 0;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .dropdown-header {
        padding: 0 1.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .dropdown-item {
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .dropdown-link {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dropdown-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .dropdown-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .dropdown-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .has-dropdown:hover .dropdown {
        transform: translate(-50%, -50%);
    }
}

/* 動畫效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}

/* 卡片hover效果增強 */
.feature-card,
.module-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.module-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover::before,
.module-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* 功能介紹頁面樣式 */
.features-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 0;
}

.features-header h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header p {
    color: #d0d0d0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 功能分頁標籤 */
.feature-tabs-section {
    background: #0a0a0a;
    padding: 3rem 0 5rem;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-tab {
    background: rgba(255, 255, 255, 0.12);
    color: #d0d0d0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-tab:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.feature-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 功能內容區塊 */
.feature-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.feature-content.active {
    display: block;
}

.feature-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-description h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    padding-bottom: 0.5rem;
}

.feature-description p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    color: #ddd;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-list li strong {
    color: #fff;
    font-weight: 600;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.feature-highlights li {
    background: rgba(102, 126, 234, 0.1);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.feature-highlights li:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

/* 功能示範區塊 */
.feature-demo {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.demo-placeholder {
    background: rgba(102, 126, 234, 0.12);
    border: 2px dashed rgba(102, 126, 234, 0.4);
    border-radius: 10px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
}

.demo-placeholder i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.demo-placeholder p {
    color: #d0d0d0;
    margin: 0;
    font-size: 1rem;
}

.demo-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* 功能優勢區塊 */
.feature-benefits {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 5rem 0;
}

.feature-benefits h2 {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.benefit-text span {
    color: #d0d0d0;
    font-size: 0.9rem;
}

/* === 線上試用樣式 === */
.demo-trial {
    max-width: 1200px;
    margin: 0 auto;
}

.trial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.trial-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.trial-info > p {
    color: #d0d0d0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.trial-features {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-features h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.trial-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #d0d0d0;
}

.trial-features i {
    color: #28a745;
}

.trial-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trial-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-window {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.window-header {
    background: #f1f3f4;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.control.close {
    background: #ff5f56;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #27ca3f;
}

.window-title {
    font-size: 0.9rem;
    color: #495057;
}

.window-content {
    padding: 1rem;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* === 響應式設計 === */
@media (max-width: 768px) {
    .demo-video,
    .demo-interactive,
    .trial-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
    
    .video-container {
        height: 250px;
    }
    
    .video-container iframe,
    .video-container video,
    .interactive-container iframe {
        height: 100%;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .trial-actions {
        justify-content: center;
    }
    
    .trial-actions .btn {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .demo-section {
        padding: 2rem 0;
    }
    
    .comparison-before,
    .comparison-after {
        padding: 1.5rem;
    }
    
    .trial-features {
        padding: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .video-container {
        height: 200px;
    }
    
    .video-container iframe,
    .video-container video,
    .interactive-container iframe {
        height: 100%;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .slide-caption {
        padding: 1rem;
    }
}

/* ===== 報表區塊樣式 ===== */
.reports-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

.report-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.report-category:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.report-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.report-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-category:hover .report-image img {
    transform: scale(1.05);
}

.report-category h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.report-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.report-category li {
    color: #d0d0d0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.report-category li:last-child {
    border-bottom: none;
}

.report-category li:hover {
    color: #fff;
}

.report-category li::before {
    content: '📊';
    margin-right: 0.5rem;
}

/* ===== 試用表單樣式 ===== */
.trial-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.trial-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.trial-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.trial-form .form-group {
    display: flex;
    flex-direction: column;
}

.trial-form label {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.trial-form input,
.trial-form textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.trial-form input:focus,
.trial-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.trial-form input::placeholder,
.trial-form textarea::placeholder {
    color: #999;
}

.trial-form button {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .trial-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trial-form {
        padding: 2rem;
    }
}

/* ===== Tutorial 線上教學區塊樣式 ===== */

.tutorial-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.tutorial-section .section-title {
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tutorial-section .section-subtitle {
    color: #e8e8e8;
    margin-bottom: 3rem;
}

.tutorial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tutorial-videos,
.tutorial-docs {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.tutorial-videos:hover,
.tutorial-docs:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.tutorial-videos h3,
.tutorial-docs h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tutorial-videos h3:before {
    content: "🎥";
    font-size: 1.2em;
}

.tutorial-docs h3:before {
    content: "📖";
    font-size: 1.2em;
}

.tutorial-videos p,
.tutorial-docs p {
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.tutorial-videos .btn,
.tutorial-docs .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tutorial-videos,
    .tutorial-docs {
        padding: 2rem;
    }
    
    .tutorial-videos h3,
    .tutorial-docs h3 {
        font-size: 1.3rem;
    }
}

/* ===== 產品展示區塊樣式 ===== */
.demo-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    color: white;
}

.demo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.demo-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.demo-tab:hover,
.demo-tab.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.demo-panel {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-panel.active {
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    height: 450px; /* 設定固定高度 */
    margin-bottom: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: #000;
    /* 跨瀏覽器兼容性 */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    /* 強制硬體加速 */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.video-info {
    text-align: center;
    margin-top: 1.5rem;
}

.video-info h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-info p {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.video-length {
    color: #b0b0b0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-length i {
    color: #007cba;
}

/* 自訂影片播放器樣式 */
.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: #007cba;
    margin-left: 4px; /* 稍微向右調整，視覺上更居中 */
}

/* 當影片載入後隱藏縮圖 */
.custom-video-player.loading {
    opacity: 0.5;
}

.custom-video-player.hidden {
    display: none;
}

.interactive-demo {
    position: relative;
    text-align: center;
}

.demo-screenshot {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotspot {
    position: absolute;
    cursor: pointer;
}

.hotspot-marker {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.hotspot-tooltip {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 10;
    font-size: 14px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.gallery-container {
    text-align: center;
}

.gallery-main {
    margin-bottom: 20px;
}

.gallery-main img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnails img:hover {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    color: #fff;
}

.comparison-table td {
    color: #e0e0e0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* 加值應用區塊樣式 */
.value-added-section {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 80px 0;
    color: white;
}

.value-added-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .value-added-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .value-added-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .value-added-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0.8;
}

.value-card:nth-child(odd) {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border-color: rgba(255, 107, 107, 0.3);
}

.value-card:nth-child(odd)::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

.value-card:nth-child(3n) {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-color: rgba(74, 222, 128, 0.3);
}

.value-card:nth-child(3n)::before {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.value-card:nth-child(4n) {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.3);
}

.value-card:nth-child(4n)::before {
    background: linear-gradient(90deg, #a855f7, #8b5cf6);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.value-card:nth-child(odd):hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 142, 83, 0.2) 100%);
}

.value-card:nth-child(3n):hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.2) 100%);
}

.value-card:nth-child(4n):hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.value-link {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.5);
    position: relative;
    overflow: hidden;
}

.value-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.value-card:nth-child(odd) .value-link {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.8) 0%, rgba(255, 142, 83, 0.8) 100%);
    border-color: rgba(255, 107, 107, 0.5);
}

.value-card:nth-child(3n) .value-link {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.8) 0%, rgba(34, 197, 94, 0.8) 100%);
    border-color: rgba(74, 222, 128, 0.5);
}

.value-card:nth-child(4n) .value-link {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.value-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: #fff !important;
    text-decoration: none;
}

.value-link:hover::before {
    left: 100%;
}

.value-card:nth-child(odd) .value-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 1) 0%, rgba(255, 142, 83, 1) 100%);
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.value-card:nth-child(3n) .value-link:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 1) 0%, rgba(34, 197, 94, 1) 100%);
    border-color: rgba(74, 222, 128, 0.8);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
}

.value-card:nth-child(4n) .value-link:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 1) 0%, rgba(139, 92, 246, 1) 100%);
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

@media (max-width: 768px) {
    .demo-tabs {
        gap: 5px;
    }
    
    .demo-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .demo-panel {
        padding: 20px;
    }
    
    .gallery-thumbnails img {
        width: 80px;
        height: 60px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .value-added-section {
        padding: 60px 0;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        font-size: 3rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    .value-link {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* 價格方案區塊樣式 */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.featured {
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card .features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 25px;
}

.pricing-card .features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--checkmark-color, #667eea);
}

.pricing-card .btn {
    margin-top: 20px;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.pricing-note {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* 客戶見證區塊樣式 */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonials-grid-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.testimonials-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 1rem;
}

.testimonials-carousel .testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonial-rating {
    font-size: 1.2rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 3rem;
    color: #667eea;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #e5e7eb;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.author-title {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.author-company {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.company-logo {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.testimonial-card:hover .company-logo {
    opacity: 1;
}

.testimonial-card:hover .company-logo img {
    filter: grayscale(0%);
}

.no-testimonials {
    text-align: center;
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .testimonials-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid-2,
    .testimonials-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content blockquote {
        font-size: 1rem;
        padding-left: 1rem;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .author-photo {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .company-logo {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-content blockquote {
        font-size: 0.9rem;
    }
    
    .testimonial-rating {
        font-size: 1rem;
    }
}

/* ============================================
   CTA 行動呼籲區塊樣式
============================================ */

.cta-section {
    padding: 0;
    margin: 60px 0;
}

.cta-container {
    padding: 60px 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* 佈局樣式 */
.cta-centered {
    text-align: center;
}

.cta-left-aligned {
    text-align: left;
}

.cta-split .cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-split .cta-text {
    flex: 1;
}

.cta-split .cta-buttons {
    flex-shrink: 0;
}

.cta-card {
    background: white;
    color: #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-card .cta-content {
    color: #333;
}

/* 顏色主題 */
.cta-style-primary {
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

.cta-style-success {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
}

.cta-style-warning {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
}

.cta-style-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-style-dark {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* 緊急性標籤 */
.cta-urgency {
    margin-bottom: 20px;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.urgency-badge i {
    animation: pulse 2s infinite;
}

/* 標題樣式 */
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.4;
}

.cta-description {
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 600px;
}

.cta-centered .cta-description {
    margin-left: auto;
    margin-right: auto;
}

/* 按鈕樣式 */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-centered .cta-buttons {
    justify-content: center;
}

.cta-left-aligned .cta-buttons {
    justify-content: flex-start;
}

.btn-cta-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: white;
    color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* 卡片樣式按鈕 */
.cta-card .btn-cta-primary {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
}

.cta-card .btn-cta-primary:hover {
    background: #1565c0;
    color: white;
}

.cta-card .btn-cta-secondary {
    color: #1976d2;
    border-color: #1976d2;
}

.cta-card .btn-cta-secondary:hover {
    background: rgba(25, 118, 210, 0.1);
}

/* 優勢列表 */
.cta-benefits {
    margin-top: 30px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-centered .benefits-list {
    justify-content: center;
}

.benefits-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card .benefits-list li {
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    border-color: rgba(25, 118, 210, 0.3);
}

/* 動畫效果 */
.cta-animated .cta-content {
    animation: fadeInUp 0.8s ease-out;
}

.cta-animated .cta-buttons .btn {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-animated .cta-benefits {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .cta-container {
        padding: 50px 30px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-split .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cta-container {
        padding: 40px 20px;
        margin: 40px 15px;
        border-radius: 12px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
    
    .benefits-list {
        justify-content: center;
        gap: 10px;
    }
    
    .benefits-list li {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .cta-container {
        padding: 30px 15px;
        margin: 30px 10px;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .urgency-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    /* FAQ 手機版響應式 */
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        min-width: 120px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 15px 20px 15px;
    }
    
    .faq-answer-content p {
        font-size: 14px;
    }
}

/* ============================================
   燈箱專用樣式 (統一的大尺寸顯示)
============================================ */

/* 通用燈箱樣式 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.lightbox.active .lightbox-container {
    transform: scale(1);
}

#lightboxImage {
    display: block;
    max-width: 95vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .lightbox-container {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    #lightboxImage {
        max-width: 98vw;
        max-height: 85vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .lightbox-container {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    
    #lightboxImage {
        max-width: 100vw;
        max-height: 80vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* ============================================
   產品展示區塊新增樣式
============================================ */

/* 試用展示樣式 */
.trial-demo {
    text-align: center;
    padding: 2rem 0;
}

.trial-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.trial-info > p {
    color: #d0d0d0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.trial-account-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #28a745;
}

.trial-account-info h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.trial-account-info pre {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    text-align: left;
}

.trial-features {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #007bff;
}

.trial-features h4 {
    color: #007bff;
    margin-bottom: 1rem;
}

.trial-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #d0d0d0;
}

.trial-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
}

.trial-actions {
    margin-top: 2rem;
}

/* 互動演示資訊 */
.interactive-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.interactive-info h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.interactive-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interactive-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #d0d0d0;
}

.interactive-info li:before {
    content: "▶";
    color: #007bff;
    font-weight: bold;
}

.interactive-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 20px;
}

.interactive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* 展示行動按鈕 */
.demo-actions {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .trial-info h3 {
        font-size: 1.5rem;
    }
    
    .trial-account-info,
    .trial-features {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .interactive-info {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .demo-actions {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .interactive-container iframe {
        height: 250px;
        padding-bottom: 0;
        position: relative;
    }
    
    .interactive-container {
        height: auto;
        padding-bottom: 0;
    }
}

/* YouTube 影片樣式 */
.module-video {
    margin: 15px 0;
}

.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    /* 跨瀏覽器兼容性 */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    /* 強制硬體加速 */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* YouTube 影片備用顯示樣式 */
.youtube-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.play-button {
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    text-decoration: none;
    color: white;
}

.play-button i {
    font-size: 18px;
}

.play-button span {
    font-size: 14px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .play-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .play-button i {
        font-size: 16px;
    }
    
    .play-button span {
        font-size: 12px;
    }
}