/* CSS樣式文件 - AI Bank Parser網站完全複製 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航欄樣式 */
.navbar {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.login-btn {
    background: #2563eb;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background: #1d4ed8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero區域樣式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem 0;
    text-align: center;
    margin-top: 80px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* 上傳區域樣式 */
.upload-section {
    max-width: 600px;
    margin: 0 auto;
}

.upload-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.upload-area {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 拖放狀態樣式 */
.upload-area.dragover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

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

.upload-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.upload-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.or {
    margin: 0 1rem;
    opacity: 0.7;
}

.browse-btn {
    background: #ffffff;
    color: #2563eb;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    background: #f3f4f6;
}

#file-input {
    display: none;
}

/* 節省時間區域 */
.time-saving {
    background: #f8fafc;
    padding: 4rem 0;
    text-align: center;
}

.time-saving h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.time-saving p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* 功能特色區域 */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

/* 價格區域 */
.pricing {
    padding: 6rem 0;
    background: #f8fafc;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.pricing > p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: #e5e7eb;
    border-radius: 8px;
    padding: 4px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* 橫向價格布局 */
.pricing-cards-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card-horizontal {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.pricing-card-horizontal.popular-horizontal {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.popular-badge-horizontal {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.pricing-header .price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0;
}

.pricing-header .currency {
    font-size: 1.25rem;
    color: #6b7280;
}

.pricing-header .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}

.pricing-header .period {
    font-size: 1rem;
    color: #6b7280;
}

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

.features-list-horizontal li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.95rem;
}

.features-list-horizontal i {
    color: #10b981;
    font-size: 0.875rem;
}

.pricing-action {
    display: flex;
    justify-content: center;
}

.pricing-action .cta-btn {
    width: 100%;
    max-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-action .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.pricing-action .cta-btn::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;
}

.pricing-action .cta-btn:hover::before {
    left: 100%;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #6b7280;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #374151;
}

.features-list i {
    color: #10b981;
    margin-right: 0.75rem;
}

.cta-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background: #1d4ed8;
}

/* FAQ區域 */
.faq {
    padding: 6rem 0;
    background: #ffffff;
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq > .container > p {
    font-size: 1.2rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #2563eb;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.faq-question i {
    color: #6b7280;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
    padding-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

.faq-answer ul {
    padding-left: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.faq-contact p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* 部落格內容區域 */
.blog-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-article h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.blog-article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #1f2937;
}

.blog-article p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.7;
}

.additional-services {
    margin-top: 4rem;
}

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

.service-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-item p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 頁尾樣式 */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
}

/* 聊天視窗 */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

.chat-button i {
    color: white;
    font-size: 1.5rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
    }

    .blog-article {
        padding: 2rem 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 6rem 0 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .upload-content p {
        font-size: 1rem;
    }

    .browse-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.upload-section {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Credits 積分顯示 */
.credits-display {
    display: none; /* 預設隱藏 */
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    margin-right: 1rem;
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 600;
}

/* 登入後顯示Credits */
.user-logged-in .credits-display {
    display: flex;
}

.credits-count {
    color: #1d4ed8;
    font-weight: 700;
}

.credits-icon img {
    width: 20px;
    height: 20px;
}

/* 文檔類型選擇器 */
.document-type-selector {
    margin-bottom: 2rem;
}

.document-type-selector h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.model-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.model-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.model-card.active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.model-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.model-card.active .model-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.model-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.model-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* 價格子標題 */
.price-subtitle {
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* 客戶評價樣式 */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonials p {
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
    font-size: 1.125rem;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 400%; /* 4 testimonials */
}

.testimonial-card {
    flex: 0 0 25%; /* Each card takes 25% of track width */
    padding: 0 1rem;
    box-sizing: border-box;
}

.testimonial-card > div {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.testimonial-card:hover > div {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    margin-bottom: 1rem;
    text-align: center;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.125rem;
}

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

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    font-style: italic;
    text-align: left;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar span {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

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

.author-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    text-align: left;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.testimonial-nav-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

.dot:hover {
    background: #6b7280;
}

/* 統一服務區域樣式 */
.service-unified {
    max-width: 800px;
    margin: 0 auto;
}

.service-item-unified {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.service-item-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.service-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icons i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-icons i:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.service-item-unified h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item-unified p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 1.5rem 0 2rem 0;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 0 0.5rem;
    }
    
    .testimonial-card > div {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .service-item-unified {
        padding: 2rem 1.5rem;
    }
    
    .service-icons {
        gap: 1rem;
    }
    
    .service-icons i {
        font-size: 2rem;
        padding: 0.75rem;
    }
    
    .service-item-unified h3 {
        font-size: 1.5rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* 語言選擇器樣式 */
.language-selector {
    position: relative;
    margin-right: 1rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(55, 65, 81, 0.1);
    border: 1px solid rgba(55, 65, 81, 0.2);
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.language-btn:hover {
    background: rgba(55, 65, 81, 0.15);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
    font-size: 0.875rem;
}

.language-option:hover {
    background: #f3f4f6;
}

.language-option .flag {
    font-size: 1.1rem;
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
