/* BRCI 統一設計系統 - 全站樣式 */

/* ===== 性能優化 ===== */
/* 啟用硬件加速 */
.hero-section, .service-hero, .navbar, .whatsapp-float {
    will-change: transform;
    transform: translateZ(0);
}

/* 優化動畫性能 */
@media (prefers-reduced-motion: no-preference) {
    .animate-fadeInUp {
        will-change: transform, opacity;
    }
}

/* 圖片性能優化 */
img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

/* 字體渲染優化 */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CSS 變數 (設計標記) ===== */
:root {
    /* 主要色彩 */
    --primary-color: #ff6b35;
    --primary-light: #ff8659;
    --secondary-color: #1a365d;
    --secondary-light: #2d5a87;
    
    /* 文字色彩 */
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --text-white: #ffffff;
    
    /* 背景色彩 */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    
    /* 陰影 */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* 字體大小 */
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* 間距 */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* 圓角 */
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 動畫 */
    --transition-base: 0.3s ease;
    
    /* Z-index */
    --z-fixed: 1030;
}

/* ===== 動畫效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 延遲動畫效果 */
.animate-fadeInUp:nth-child(1) { animation-delay: 0.1s; }
.animate-fadeInUp:nth-child(2) { animation-delay: 0.2s; }
.animate-fadeInUp:nth-child(3) { animation-delay: 0.3s; }
.animate-fadeInUp:nth-child(4) { animation-delay: 0.4s; }
.animate-fadeInUp:nth-child(5) { animation-delay: 0.5s; }
.animate-fadeInUp:nth-child(6) { animation-delay: 0.6s; }

/* ===== 全域重設 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    padding-top: var(--space-20);
    overflow-x: hidden;
}

/* ===== 導航列樣式 ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: var(--space-4) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.navbar-brand img {
    height: 50px;
    transition: height var(--transition-base);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 var(--space-2);
    padding: var(--space-2) var(--space-4) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--bg-light);
}

.phone-info {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.phone-info:hover {
    color: var(--secondary-color);
    background-color: var(--bg-light);
}

/* ===== 英雄區塊樣式 ===== */
.hero-section, .service-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before, .service-hero::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 1200 320"><path fill="rgba(255,255,255,0.05)" d="m0,160l40,26.7c40,27 120,80 200,106.7c80,27 160,27 240,5.3c80,-21 160,-64 240,-64c80,0 160,43 240,48c80,5 160,-27 200,-42.7l40,-16v-224z"/></svg>') center/cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Hero標題 - 首頁專用高端專業設計 */
.hero-title {
    font-size: var(--font-5xl);
    font-weight: 900;
    margin-bottom: var(--space-8);
    color: #ffffff;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
    /* 多層陰影營造專業深度效果 */
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.2),
        0 8px 16px rgba(0,0,0,0.1),
        0 0 40px rgba(255,255,255,0.1);
    /* 添加微妙的文字邊框增強可讀性 */
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.1);
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.1);
    /* 添加品牌標識性光暈效果 */
    filter: drop-shadow(0 0 20px rgba(255,107,53,0.3));
    /* 動畫效果增強視覺吸引力 */
    animation: heroTitleGlow 3s ease-in-out infinite alternate;
}

/* 品牌專業光暈動畫 */
@keyframes heroTitleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255,107,53,0.3));
        text-shadow: 
            0 2px 4px rgba(0,0,0,0.3),
            0 4px 8px rgba(0,0,0,0.2),
            0 8px 16px rgba(0,0,0,0.1),
            0 0 40px rgba(255,255,255,0.1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255,107,53,0.4));
        text-shadow: 
            0 2px 4px rgba(0,0,0,0.4),
            0 4px 8px rgba(0,0,0,0.25),
            0 8px 16px rgba(0,0,0,0.15),
            0 0 50px rgba(255,255,255,0.15);
    }
}

/* 為標題添加專業裝飾元素 */
.hero-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,107,53,0.8) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.4);
    animation: decorativeLineGlow 2s ease-in-out infinite alternate;
}

@keyframes decorativeLineGlow {
    0% {
        box-shadow: 0 2px 8px rgba(255,107,53,0.4);
        opacity: 0.8;
    }
    100% {
        box-shadow: 0 4px 16px rgba(255,107,53,0.6);
        opacity: 1;
    }
}

/* 標題下方專業認證標識 */
.hero-title::after {
    content: '專業認證 • 政府牌照 • 值得信賴';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    white-space: nowrap;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

/* 簡體中文版本認證標識 */
[lang="zh-CN"] .hero-title::after {
    content: '专业认证 • 政府牌照 • 值得信赖';
}

/* 英文版本認證標識 */
[lang="en"] .hero-title::after {
    content: 'Professional Certified • Government Licensed • Trusted';
    font-size: 13px;
    letter-spacing: 1px;
}

/* Service標題 - 清晰無模糊效果 */
.service-title {
    font-size: var(--font-5xl);
    font-weight: 900;
    margin-bottom: var(--space-8);
    color: var(--text-white);
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Service子標題 - 用於頁面內的小標題 */
.service-subtitle {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hero-subtitle, .hero-description, .service-description {
    font-size: var(--font-xl);
    margin-bottom: var(--space-12);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* ===== 按鈕樣式 ===== */
.btn-primary, .cta-button, .package-btn, .service-btn {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.btn-primary:hover, .cta-button:hover, .package-btn:hover, .service-btn:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn-outline, .cta-white-button {
    background: var(--bg-white);
    color: var(--secondary-color);
    padding: var(--space-4) var(--space-8);
    border: 2px solid var(--bg-white);
    border-radius: var(--radius-full);
    font-size: var(--font-lg);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
    margin: var(--space-2);
}

.btn-outline:hover, .cta-white-button:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===== 區塊樣式 ===== */
.features-section, .services-section, .packages-section {
    padding: var(--space-20) 0;
    background: var(--bg-white);
}

.process-section, .faq-section {
    padding: var(--space-20) 0;
    background: var(--bg-light);
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--text-white);
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::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 1200 320"><path fill="rgba(255,255,255,0.03)" d="m0,160l40,26.7c40,27 120,80 200,106.7c80,27 160,27 240,5.3c80,-21 160,-64 240,-64c80,0 160,43 240,48c80,5 160,-27 200,-42.7l40,-16v-224z"/></svg>') center/cover;
    pointer-events: none;
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: var(--font-4xl);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: var(--space-12);
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.cta-section .section-title {
    color: var(--text-white);
}

.section-description {
    text-align: center;
    font-size: var(--font-lg);
    color: var(--text-light);
    margin-bottom: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===== 卡片樣式 ===== */
.feature-card, .package-card, .process-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature-card:hover, .package-card:hover, .process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* ===== 圖標樣式 ===== */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: var(--font-3xl);
    color: var(--text-white);
}

.package-icon {
    font-size: var(--font-5xl);
    color: var(--primary-color);
    margin-bottom: var(--space-6);
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    font-weight: 800;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-md);
    position: relative;
}

.process-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0.2;
}

/* ===== 標題樣式 ===== */
.feature-title, .package-title, .process-title {
    font-size: var(--font-xl);
    color: var(--secondary-color);
    margin-bottom: var(--space-4);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.005em;
}

.cta-title {
    font-size: var(--font-4xl);
    font-weight: 800;
    margin-bottom: var(--space-8);
    color: var(--text-white);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.01em;
    position: relative;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
}

/* ===== 描述文字樣式 ===== */
.feature-description, .package-description, .process-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: var(--font-lg);
    opacity: 0.9;
    margin-bottom: var(--space-12);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

/* ===== CTA 按鈕組樣式 ===== */
.cta-section .cta-white-button {
    margin: var(--space-2) var(--space-3);
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.cta-section .btn-group,
.cta-section .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* ===== 通用按鈕組居中樣式 ===== */
.button-group,
.btn-group,
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    text-align: center;
}

.text-center {
    text-align: center;
}

.text-center .package-btn,
.text-center .cta-white-button,
.text-center .service-btn {
    margin: var(--space-2) auto;
    display: inline-block;
}

/* ===== 套餐特色列表 ===== */
.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-8);
    text-align: left;
    flex: 1;
}

.package-features li {
    padding: var(--space-3) 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: var(--space-10);
    line-height: 1.7;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(255, 107, 53, 0.12);
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(255, 107, 53, 0.15);
    flex-shrink: 0;
}

.package-price {
    font-size: var(--font-3xl);
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: var(--space-6);
}

.package-note {
    font-size: var(--font-sm);
    color: var(--text-light);
    margin-bottom: var(--space-6);
}

/* ===== 價錢+按鈕合併組件樣式 ===== */
.package-prices-buttons-combined {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    justify-items: stretch;
}

.price-button-item {
    background: var(--bg-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    justify-content: space-between;
    width: 100%;
}

.price-button-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.price-button-item .price-label {
    font-size: var(--font-sm);
    color: var(--text-light);
    margin-bottom: var(--space-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-button-item .price-value {
    font-size: var(--font-2xl);
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.price-button-item .package-btn {
    margin: 0;
    font-size: var(--font-sm);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    width: 100%;
}

/* 合併組件的離岸地區特殊顏色 */
.price-button-item.price-bvi {
    border-color: #1e40af;
}

.price-button-item.price-bvi:hover {
    border-color: #1e40af;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.price-button-item.price-cayman {
    border-color: #dc2626;
}

.price-button-item.price-cayman:hover {
    border-color: #dc2626;
    background: linear-gradient(135deg, #ffffff, #fef2f2);
}

.price-button-item.price-seychelles {
    border-color: #059669;
}

.price-button-item.price-seychelles:hover {
    border-color: #059669;
    background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

.price-button-item.price-samoa {
    border-color: #7c3aed;
}

.price-button-item.price-samoa:hover {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #ffffff, #faf5ff);
}

.price-button-item.price-bermuda {
    border-color: #ea580c;
}

.price-button-item.price-bermuda:hover {
    border-color: #ea580c;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.price-button-item.price-delaware {
    border-color: #0891b2;
}

.price-button-item.price-delaware:hover {
    border-color: #0891b2;
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

/* ===== 離岸公司專用樣式 ===== */
.jurisdiction-card .jurisdiction-flag {
    text-align: center;
    margin-bottom: var(--space-6);
}

.jurisdiction-card .jurisdiction-flag img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ===== 水平價錢組樣式 ===== */
.package-prices-horizontal {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.price-item {
    background: var(--bg-white);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    min-width: 160px;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.price-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.price-label {
    font-size: var(--font-sm);
    color: var(--text-light);
    margin-bottom: var(--space-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: var(--font-2xl);
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: var(--space-2);
    line-height: 1.2;
}

.price-note {
    font-size: var(--font-xs);
    color: var(--text-light);
    font-style: italic;
}

/* 為不同套餐價格添加獨特邊框色彩 */
.price-basic {
    border-color: #28a745;
}

.price-basic:hover {
    border-color: #28a745;
    background: linear-gradient(135deg, #ffffff, #f8fff9);
}

.price-professional {
    border-color: var(--primary-color);
}

.price-professional:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff, #fff8f5);
}

.price-business {
    border-color: #17a2b8;
}

.price-business:hover {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #ffffff, #f5feff);
}

.price-premium {
    border-color: #6f42c1;
}

.price-premium:hover {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #ffffff, #faf8ff);
}

/* ===== 水平按鈕組樣式 ===== */
.package-buttons-horizontal {
    margin-top: var(--space-8);
    padding: var(--space-8);
    background: var(--bg-light);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

.package-buttons-horizontal .package-btn {
    margin: var(--space-2);
    min-width: 160px;
    text-align: center;
    font-size: var(--font-md);
    padding: var(--space-3) var(--space-6);
}

/* 為不同套餐按鈕添加獨特顏色 */
.package-btn-basic {
    background: #28a745;
}

.package-btn-basic:hover {
    background: #218838;
    transform: translateY(-2px);
}

.package-btn-professional {
    background: var(--primary-color);
}

.package-btn-professional:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.package-btn-business {
    background: #17a2b8;
}

.package-btn-business:hover {
    background: #138496;
    transform: translateY(-2px);
}

.package-btn-premium {
    background: #6f42c1;
}

.package-btn-premium:hover {
    background: #5a32a3;
    transform: translateY(-2px);
}

/* ===== FAQ 樣式 ===== */
.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: var(--space-6);
    background: var(--bg-white);
    border: none;
    width: 100%;
    text-align: left;
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 var(--space-6);
    color: var(--text-light);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-answer.show {
    padding: var(--space-6);
    max-height: 500px;
}

.faq-icon {
    font-size: var(--font-xl);
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.faq-icon.rotate {
    transform: rotate(45deg);
}

/* ===== 頁尾樣式 ===== */
.footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: var(--space-20) 0 var(--space-12) 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: left center;
    margin-bottom: var(--space-4);
    display: block;
    /* 預防 CLS 的樣式 */
    background-color: transparent;
    transition: opacity var(--transition-base);
    /* 確保圖片載入前保持固定空間 */
    min-width: 120px;
}

.footer-title {
    font-size: var(--font-xl);
    font-weight: bold;
    margin-bottom: var(--space-4);
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-base);
    padding: var(--space-2) 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    text-align: center;
    color: #ccc;
    font-size: var(--font-sm);
}

/* ===== WhatsApp 浮動按鈕 ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--text-white);
    border-radius: var(--radius-full);
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: var(--text-white);
    text-decoration: none;
    box-shadow: var(--shadow-xl);
}

/* ===== 響應式設計 ===== */

@media (max-width: 1199px) and (min-width: 992px) {
    .hero-title, .service-title {
        font-size: var(--font-4xl);
    }
    
    /* 大螢幕上的標題優化 */
    .hero-title::before {
        width: 55px;
        height: 3px;
        top: -13px;
    }

    .hero-title::after {
        bottom: -38px;
        font-size: 13px;
        padding: 7px 18px;
        letter-spacing: 1.8px;
    }

    [lang="en"] .hero-title::after {
        font-size: 12px;
        letter-spacing: 0.8px;
    }
    
    .service-subtitle {
        font-size: var(--font-xl);
    }
    
    .section-title {
        font-size: var(--font-3xl);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .navbar-brand img {
        height: 45px;
    }
    
    /* 手機版導覽列dropdown樣式 */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        color: var(--color-text) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(45, 90, 135, 0.1) !important;
        color: var(--color-primary) !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .hero-section, .service-hero {
        padding: var(--space-16) 0;
        min-height: 60vh;
    }
    
    .hero-title, .service-title {
        font-size: var(--font-3xl);
        margin-bottom: var(--space-6);
    }
    
    /* 平板設備上的標題優化 */
    .hero-title::before {
        width: 50px;
        height: 3px;
        top: -12px;
    }

    .hero-title::after {
        bottom: -35px;
        font-size: 12px;
        padding: 6px 16px;
        letter-spacing: 1.5px;
    }

    [lang="en"] .hero-title::after {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    .service-subtitle {
        font-size: var(--font-lg);
    }
    
    .section-title {
        font-size: var(--font-3xl);
    }
    
    .features-section, .services-section, .process-section, .packages-section, .faq-section {
        padding: var(--space-16) 0;
    }
    
    .cta-section {
        padding: var(--space-16) 0;
    }
    
    .feature-card, .package-card, .process-card {
        margin-bottom: var(--space-8);
    }
    
    .btn-outline, .cta-white-button {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-md);
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    body {
        font-size: var(--font-md);
    }
    
    .navbar {
        padding: var(--space-3) 0;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    /* 手機版導覽列dropdown樣式 */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        color: var(--color-text) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(45, 90, 135, 0.1) !important;
        color: var(--color-primary) !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .hero-section, .service-hero {
        padding: var(--space-12) 0;
        min-height: 50vh;
    }
    
    .hero-title, .service-title {
        font-size: var(--font-3xl);
        margin-bottom: var(--space-6);
    }
    
    /* 小螢幕設備上的標題優化 */
    .hero-title::before {
        width: 45px;
        height: 2px;
        top: -10px;
    }

    .hero-title::after {
        bottom: -32px;
        font-size: 11px;
        padding: 5px 14px;
        letter-spacing: 1px;
    }

    [lang="en"] .hero-title::after {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .service-subtitle {
        font-size: var(--font-lg);
    }
    
    .section-title {
        font-size: var(--font-2xl);
    }
    
    .features-section, .services-section, .process-section, .packages-section, .faq-section {
        padding: var(--space-12) 0;
    }
    
    .cta-section {
        padding: var(--space-12) 0;
    }
    
    .cta-title {
        font-size: var(--font-2xl);
    }
    
    .feature-card, .package-card, .process-card {
        margin-bottom: var(--space-6);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-2xl);
    }
    
    .package-price {
        font-size: var(--font-2xl);
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .package-buttons-horizontal {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .package-buttons-horizontal .package-btn {
        min-width: auto;
        width: 100%;
        margin: var(--space-1) 0;
    }
    
    .package-buttons-horizontal .package-btn[class*="offshore"] {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-sm);
        min-width: auto;
        width: 100%;
    }
    
    .package-prices-horizontal {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .price-item {
        min-width: auto;
        padding: var(--space-3) var(--space-4);
    }
    
    .price-value {
        font-size: var(--font-xl);
    }
}

@media (max-width: 575px) {
    body {
        font-size: var(--font-sm);
    }
    
    .navbar {
        padding: var(--space-2) 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    /* 手機版導覽列dropdown樣式 */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        color: var(--color-text) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        font-size: var(--font-sm) !important;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(45, 90, 135, 0.1) !important;
        color: var(--color-primary) !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .hero-section, .service-hero {
        padding: var(--space-10) 0;
        min-height: 40vh;
    }
    
    .hero-title, .service-title {
        font-size: var(--font-2xl);
        margin-bottom: var(--space-4);
    }
    
    /* 手機設備上的標題優化 */
    .hero-title::before {
        width: 40px;
        height: 2px;
        top: -8px;
    }

    .hero-title::after {
        bottom: -30px;
        font-size: 10px;
        padding: 4px 12px;
        letter-spacing: 0.5px;
        border-radius: 15px;
    }

    [lang="en"] .hero-title::after {
        font-size: 9px;
        letter-spacing: 0.2px;
        padding: 4px 10px;
    }

    /* 手機上減少動畫效果以節省性能 */
    .hero-title {
        animation: none;
        filter: drop-shadow(0 0 15px rgba(255,107,53,0.3));
    }

    .hero-title::before {
        animation: none;
        opacity: 0.9;
    }
    
    .service-subtitle {
        font-size: var(--font-md);
    }
    
    .section-title {
        font-size: var(--font-xl);
    }
    
    .hero-subtitle, .service-description {
        font-size: var(--font-md);
        margin-bottom: var(--space-8);
    }
    
    .features-section, .services-section, .process-section, .packages-section, .faq-section {
        padding: var(--space-10) 0;
    }
    
    .cta-section {
        padding: var(--space-10) 0;
    }
    
    .cta-title {
        font-size: var(--font-xl);
    }
    
    .cta-description {
        font-size: var(--font-md);
    }
    
    .feature-card, .package-card, .process-card {
        margin-bottom: var(--space-6);
        padding: var(--space-6);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-xl);
    }
    
    .package-price {
        font-size: var(--font-xl);
    }
    
    .btn-primary, .cta-button, .package-btn, .service-btn,
    .btn-outline, .cta-white-button {
        padding: var(--space-3) var(--space-5);
        font-size: var(--font-sm);
    }
    
    .footer {
        padding: var(--space-12) 0 var(--space-8) 0;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
    
    .package-buttons-horizontal {
        padding: var(--space-4);
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .package-buttons-horizontal .package-btn {
        min-width: auto;
        width: 100%;
        margin: 0;
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-sm);
    }
    
    .package-buttons-horizontal .package-btn[class*="offshore"] {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-xs);
        min-width: auto;
        width: 100%;
        margin: var(--space-1) 0;
    }
    
    .package-prices-horizontal {
        padding: var(--space-4);
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .price-item {
        min-width: auto;
        padding: var(--space-2) var(--space-3);
        margin-bottom: var(--space-2);
    }
    
    .price-value {
        font-size: var(--font-lg);
    }

    .achievement-number {
        font-size: var(--font-lg);
    }

    .package-price-button {
        padding: var(--space-4);
        border-radius: var(--radius-xl);
    }

    .package-card .package-price {
        font-size: var(--font-lg);
        margin-bottom: var(--space-4);
    }

    .package-card .package-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-xs);
    }

    .achievement-label {
        font-size: var(--font-xs);
    }

    .team-image img {
        width: 60px;
        height: 60px;
    }
}

/* ===== 成就卡片樣式 ===== */
.achievement-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.achievement-icon {
    font-size: var(--font-4xl);
    color: var(--primary-color);
    margin-bottom: var(--space-4);
}

.achievement-number {
    font-size: var(--font-5xl);
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.achievement-label {
    font-size: var(--font-lg);
    color: var(--text-light);
    font-weight: 600;
}

/* ===== 團隊圖片樣式 ===== */
.team-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-role {
    font-size: var(--font-md);
}

/* 離岸公司按鈕特殊顏色 */
.package-btn-offshore-1 {
    background: #1e40af;
}

.package-btn-offshore-1:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.package-btn-offshore-2 {
    background: #dc2626;
}

.package-btn-offshore-2:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.package-btn-offshore-3 {
    background: #059669;
}

.package-btn-offshore-3:hover {
    background: #047857;
    transform: translateY(-2px);
}

.package-btn-offshore-4 {
    background: #7c3aed;
}

.package-btn-offshore-4:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.package-btn-offshore-5 {
    background: #ea580c;
}

.package-btn-offshore-5:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

.package-btn-offshore-6 {
    background: #0891b2;
}

.package-btn-offshore-6:hover {
    background: #0e7490;
    transform: translateY(-2px);
}

/* 水平價錢組響應式 */
.package-prices-horizontal {
    padding: var(--space-4);
}

.price-item {
    min-width: 120px;
    padding: var(--space-3) var(--space-4);
    margin: var(--space-2) var(--space-1);
}

.price-value {
    font-size: var(--font-xl);
}

    /* 價錢+按鈕合併組件響應式 */
    .package-prices-buttons-combined {
        padding: var(--space-4);
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--space-3);
    }
    
    .price-button-item {
        padding: var(--space-4);
        gap: var(--space-2);
    }
    
    .price-button-item .price-value {
        font-size: var(--font-xl);
    }
    
    .price-button-item .package-btn {
        font-size: var(--font-xs);
        padding: var(--space-2) var(--space-3);
    }

    /* 成就卡片響應式 */
    .achievement-number {
        font-size: var(--font-4xl);
    }
    
    /* 司法管轄區卡片內價錢+按鈕響應式 */
    .package-price-button {
        margin-top: auto;
        padding-top: var(--space-3);
        gap: var(--space-2);
    }
    
    .package-card .package-price {
        font-size: var(--font-xl);
    }
    
    .package-card .package-btn {
        font-size: var(--font-xs);
        padding: var(--space-2) var(--space-3);
        max-width: 180px;
    }

/* 價錢+按鈕合併組件小螢幕響應式 */
.package-prices-buttons-combined {
    padding: var(--space-4);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-2);
}

.price-button-item {
    padding: var(--space-4);
    min-height: auto;
}

.price-button-item .price-value {
    font-size: var(--font-xl);
}

.price-button-item .package-btn {
    font-size: var(--font-sm);
    padding: var(--space-3) var(--space-4);
}

/* 成就卡片小螢幕響應式 */
.achievement-number {
    font-size: var(--font-3xl);
}

/* ===== 司法管轄區卡片內價錢+按鈕樣式 ===== */
.package-price-button {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-shrink: 0;
    text-align: center;
}

.package-card .package-price {
    font-size: var(--font-2xl);
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--space-2);
}

.package-card .package-btn {
    width: 100%;
    max-width: 200px;
    font-size: var(--font-sm);
    padding: var(--space-3) var(--space-4);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8) 0;
    margin-top: var(--space-16);
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: left center;
    margin-bottom: var(--space-4);
    display: block;
    /* 預防 CLS 的樣式 */
    background-color: transparent;
    transition: opacity var(--transition-base);
    /* 確保圖片載入前保持固定空間 */
    min-width: 120px;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    text-align: center;
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

/* Table Styles */
.table-section {
    background: var(--color-gray-50);
    padding: var(--space-16) 0;
}

.comparison-table {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-8);
}

.comparison-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: var(--space-4);
    border: none;
}

.comparison-table tbody td {
    padding: var(--space-4);
    vertical-align: top;
    border-color: var(--color-gray-200);
}

.comparison-table tbody td:first-child {
    background: var(--color-gray-50);
    font-weight: 600;
    width: 15%;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: var(--space-2);
    }
    
    .comparison-table tbody td:first-child {
        width: 20%;
    }
}

/* Single Service Styles */
.single-service {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

.single-service:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.single-service h5 {
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.single-service .price {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.single-service .text-muted {
    font-size: 0.9rem;
    margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: var(--space-2);
    }
    
    .comparison-table tbody td:first-child {
        width: 20%;
    }
    
    .single-service {
        margin-bottom: var(--space-4);
    }
}

/* ===== 無障礙性樣式 ===== */

/* 視覺隱藏但螢幕閱讀器可讀取的文字 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 焦點狀態樣式 */
.package-btn:focus,
.cta-button:focus,
.cta-white-button:focus,
.btn-primary:focus,
button:focus,
a:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* 表單元素焦點樣式 */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
    outline: none !important;
}

/* 跳過連結（供鍵盤用戶快速導航） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* 高對比度支援 */
@media (prefers-contrast: high) {
    .package-btn,
    .cta-button,
    .cta-white-button {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .package-card {
        border: 1px solid var(--text-dark);
    }
}

/* 減少動畫支援 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-fadeInUp {
        animation: none !important;
    }
}

/* 增強按鈕可點擊區域 */
.package-btn,
.cta-button,
.cta-white-button,
.btn-primary {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 語言切換器無障礙性 */
.language-switcher .dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.language-switcher .dropdown-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    background: var(--primary-color);
    color: white;
}

/* 導航選單無障礙性 */
.navbar-nav .dropdown-toggle:focus-visible,
.navbar-nav .nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.navbar-nav .dropdown-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    background: var(--primary-color);
    color: white;
}

/* 錯誤訊息樣式 */
.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* 成功訊息樣式 */
.form-success {
    color: #198754;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}
