/* 全局樣式 - 性能優化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 啟用硬件加速和性能優化 */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 防止移動端觸摸事件報錯 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 為動畫元素啟用 GPU 加速 - 僅電腦端 */
@media (min-width: 769px) {
    .navbar,
    .carousel-btn,
    .send-btn,
    .action-btn,
    .message,
    .claim-step,
    .scroll-animate {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
}

/* 手機端：移除 GPU 加速 */
@media (max-width: 768px) {
    .navbar,
    .carousel-btn,
    .send-btn,
    .action-btn,
    .message,
    .claim-step,
    .scroll-animate {
        will-change: auto !important;
        transform: none !important;
        backface-visibility: visible !important;
        perspective: none !important;
    }
}

:root {
    --primary-color: #f2c200;
    --secondary-color: #ffdd55;
    --accent-cyan: #ffe08a;
    --accent-green: #f08b1d;
    --user-message-bg: linear-gradient(135deg, #f2c200, #f08b1d);
    --ai-message-bg: rgba(255, 255, 255, 0.12);
    --text-color: #f7f7f7;
    --light-text: #f1e3b6;
    --border-color: rgba(255, 210, 60, 0.28);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 16px 50px rgba(0, 0, 0, 0.35);
    --glass-bg: rgba(26, 26, 26, 0.82);
    --card-glow: 0 0 0 1px rgba(242, 194, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45);
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft JhengHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #1a1a1a;
    overflow-x: hidden;
    position: relative;
    /* 性能優化 */
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeSpeed;
    /* 防止移動端觸摸事件報錯 */
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

/* 背景星空效果 - 僅電腦端 */
@media (min-width: 769px) {
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.35), transparent),
                          radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.25), transparent),
                          radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.2), transparent),
                          radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.15), transparent);
        opacity: 0.5;
        pointer-events: none;
        z-index: 0;
    }
}

/* 手機端：移除背景效果 */
@media (max-width: 768px) {
    body::before {
        display: none !important;
    }
}

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.85);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--card-glow);
    z-index: 1000;
    padding: 1rem 0;
    min-height: 70px;
    display: flex;
    align-items: center;
}

/* 電腦端才啟用背景模糊 */
@media (min-width: 769px) {
    .navbar {
        backdrop-filter: blur(14px);
    }
}

/* 手機端：移除背景模糊 */
@media (max-width: 768px) {
    .navbar {
        background: rgba(26, 26, 26, 0.98) !important;
        backdrop-filter: none !important;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 70px;
    width: 100%;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    height: 100%;
    min-width: 0;
    flex: 0 1 auto;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
    line-height: 1.2;
}

.logo-text-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--light-text);
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    
    .nav-container {
        min-height: 60px;
        padding: 0 1rem;
    }
    
    .nav-logo {
        z-index: 1;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text-main {
        font-size: 0.85rem;
    }
    
    .logo-text-sub {
        font-size: 0.6rem;
    }
    
    .nav-user {
        margin-right: 1rem;
        z-index: 1;
    }
    
    .nav-user .contact-info {
        padding: 0.4rem 0.8rem;
    }
    
    .nav-user .contact-text-main {
        font-size: 0.75rem;
    }
    
    .nav-user .contact-text-sub {
        font-size: 0.7rem;
    }
    
    .hamburger {
        display: none; /* 使用彈窗後不需要漢堡菜單 */
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: 56px;
    }
    
    .nav-container {
        min-height: 56px;
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    
    .nav-logo {
        gap: 0.4rem;
        flex: 0 1 auto;
        min-width: 0;
        z-index: 1;
    }
    
    .logo-img {
        height: 40px;
        flex-shrink: 0;
    }
    
    .logo-text {
        display: flex;
        min-width: 0;
        flex: 1;
    }
    
    .logo-text-main {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-text-sub {
        font-size: 0.55rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-user {
        flex-shrink: 0;
        margin-right: 0.5rem;
        z-index: 1;
    }
    
    .nav-user .contact-info {
        padding: 0.3rem 0.6rem;
        gap: 0.1rem;
    }
    
    .nav-user .contact-text-main {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .nav-user .contact-text-sub {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .hamburger {
        display: none;
    }
}

/* 超小屏幕優化 */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo-text-main {
        font-size: 0.7rem;
    }
    
    .logo-text-sub {
        display: none;
    }
    
    .nav-user .contact-text-main {
        font-size: 0.65rem;
    }
    
    .nav-user .contact-text-sub {
        font-size: 0.6rem;
    }
}

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--card-glow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    gap: 1rem;
}

/* 中間區域：Logo */
.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1.2;
}

.logo-text-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--light-text);
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* 聯絡按鈕（左上角） */
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    justify-self: start;
}

.nav-contact-btn:hover {
    background: var(--primary-color);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 194, 0, 0.3);
}

.nav-contact-btn i {
    font-size: 0.9rem;
}

/* 漢堡菜單按鈕（右上角） */
.nav-menu-trigger {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    justify-self: end;
}

.nav-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(242, 194, 0, 0.4);
}

.nav-menu-trigger span {
    width: 22px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu-trigger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-trigger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 隱藏舊的元素 */
.nav-menu,
.nav-user,
.hamburger,
.nav-popup-trigger {
    display: none;
}

/* 彈窗遮罩 */
.nav-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-popup-overlay.active {
    display: block;
    opacity: 1;
}

/* 彈窗容器 - 從右側滑入 */
.nav-popup-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-popup-overlay.active .nav-popup-container {
    right: 0;
}

/* 彈窗頭部 */
.nav-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-popup-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.nav-popup-close {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-popup-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* 彈窗內容 */
.nav-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.nav-popup-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-popup-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-popup-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(242, 194, 0, 0.1), transparent);
    transition: width 0.3s ease;
}

.nav-popup-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.nav-popup-link:hover::before {
    width: 100%;
}

.nav-popup-link i {
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-popup-link:hover i {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 彈窗底部聯絡按鈕 */
.nav-popup-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.popup-contact-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.popup-contact-btn i {
    font-size: 1.1rem;
}
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-user {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100%;
}

.nav-user .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    gap: 0.2rem;
}

.nav-user .contact-info::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(242, 194, 0, 0.3), rgba(240, 139, 29, 0.3));
    opacity: 0;
    filter: blur(8px);
    z-index: -1;
    transition: opacity 0.4s ease;
}

.nav-user .contact-text-main {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 0 0 rgba(242, 194, 0, 0);
    transition: all 0.4s ease;
}

.nav-user .contact-text-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-text);
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: all 0.4s ease;
}

.nav-user .contact-info:hover {
    transform: translateY(-2px);
}

.nav-user .contact-info:hover .contact-text-main {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(242, 194, 0, 0.8),
                 0 0 20px rgba(242, 194, 0, 0.4);
}

.nav-user .contact-info:hover .contact-text-sub {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(242, 194, 0, 0.6);
}

.nav-user .contact-info:hover::before {
    opacity: 1;
    animation: contact-info-glow 1.5s ease-in-out infinite;
}

@keyframes contact-info-glow {
    0%, 100% {
        opacity: 0.6;
        filter: blur(8px);
    }
    50% {
        opacity: 1;
        filter: blur(12px);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
    padding: 0.5rem;
    margin: -0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
    border-radius: 2px;
}

/* 照片輪播區 */
.carousel-section {
    margin-top: 70px;
    height: 520px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    /* 防止移動端滑動衝突 */
    touch-action: pan-x pan-y;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-glow);
    backdrop-filter: blur(8px);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
    transform: translateZ(0);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 圖片性能優化 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    background: rgba(7, 11, 26, 0.55);
    padding: 2rem 3rem;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--card-glow);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
    letter-spacing: 0.5px;
}

.slide-content p {
    font-size: 1.5rem;
    animation: fadeInUp 1s;
    color: var(--light-text);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .carousel-btn {
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
    width: 32px;
    box-shadow: 0 0 12px rgba(78, 242, 255, 0.8);
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 3;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(78, 242, 255, 0.8);
}

/* ==================== 雙欄佈局 ==================== */
.chat-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* 左側客戶資料面板 */
.client-info-panel {
    background: var(--glass-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-glow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.client-info-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(242,194,0,0.15), rgba(240,139,29,0.1));
    z-index: -1;
    filter: blur(20px);
}

.client-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(242,194,0,0.2);
}

.client-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #1a1a1a;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(242,194,0,0.4);
}

.client-info-header h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    text-shadow: 0 0 15px rgba(242,194,0,0.4);
}

.client-info-header p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}

.client-info-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1;
}

.ci-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ci-form-group label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.3px;
}

.ci-required {
    color: #ef4444;
}

.ci-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ci-input-wrap > i {
    position: absolute;
    left: 0.9rem;
    font-size: 0.85rem;
    color: rgba(242,194,0,0.6);
    pointer-events: none;
    z-index: 1;
}

.ci-input-wrap input,
.ci-input-wrap select {
    width: 100%;
    padding: 0.75rem 0.9rem 0.75rem 2.4rem;
    background: rgba(40,40,45,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    color-scheme: dark;
}

.ci-input-wrap input:focus,
.ci-input-wrap select:focus {
    border-color: rgba(242,194,0,0.6);
    background: rgba(40,40,45,0.9);
    box-shadow: 0 0 12px rgba(242,194,0,0.25);
}

.ci-input-wrap input::placeholder {
    color: rgba(255,255,255,0.3);
}

.ci-input-wrap select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F2C200' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2rem;
}

.ci-input-wrap select option {
    background: #1a1a1a;
}

.ci-phone-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.6rem;
}

.ci-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ci-submit-btn {
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, rgba(242, 194, 0, 0.9), rgba(240, 139, 29, 0.9));
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .ci-submit-btn {
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .ci-submit-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, rgba(242, 194, 0, 1), rgba(240, 139, 29, 1));
    }
}

.ci-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ci-submit-btn i,
.ci-submit-btn span {
    position: relative;
    z-index: 1;
}

.ci-success {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 1rem;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.35);
    border-radius: 10px;
    color: #4ade80;
    font-size: 0.9rem;
    animation: fadeIn 0.4s ease;
}

.ci-success.show {
    display: flex;
}

.ci-success i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .chat-layout {
        grid-template-columns: 340px 1fr;
    }
}

@media (max-width: 900px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }
    .client-info-panel {
        order: 2;
    }
    .chat-container {
        order: 1;
    }
}

@media (max-width: 480px) {
    .ci-phone-row {
        grid-template-columns: 1fr;
    }
    .ci-form-row {
        grid-template-columns: 1fr;
    }
    .client-info-panel {
        padding: 1.25rem;
    }
}

/* 對話界面區 */
.chat-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.chat-container {
    background: var(--glass-bg);
    border-radius: 18px;
    box-shadow: var(--card-glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 600px);
    min-height: 600px;
    border: 1px solid var(--border-color);
    position: relative;
    isolation: isolate;
}

/* 電腦端才啟用背景效果 */
@media (min-width: 769px) {
    .chat-container {
        background-image:
            repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 6px, transparent 6px, transparent 12px),
            repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 6px, transparent 6px, transparent 12px),
            var(--glass-bg);
    }
    
    .chat-container::before {
        content: '';
        position: absolute;
        inset: -1px;
        background: linear-gradient(135deg, rgba(111, 157, 255, 0.08), rgba(78, 242, 255, 0.05), rgba(155, 107, 255, 0.08));
        z-index: 0;
        filter: blur(30px);
    }
}

/* 手機端：簡化背景 */
@media (max-width: 768px) {
    .chat-container {
        background: rgba(26, 26, 26, 0.95) !important;
        background-image: none !important;
    }
    
    .chat-container::before {
        display: none !important;
    }
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    /* 滾動性能優化 */
    -webkit-overflow-scrolling: touch;
    overflow-anchor: auto;
    contain: layout style paint;
    /* 防止移動端滾動報錯 */
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* 電腦端才啟用背景效果 */
@media (min-width: 769px) {
    .messages-container {
        background: linear-gradient(180deg, rgba(13, 21, 44, 0.8), rgba(10, 15, 32, 0.8));
        background-image:
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 80px 80px, 80px 80px;
    }
}

/* 手機端：簡化背景 */
@media (max-width: 768px) {
    .messages-container {
        background: rgba(13, 21, 44, 0.95) !important;
        background-image: none !important;
        padding: 1rem;
    }
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 消息樣式 */
.message {
    display: flex;
    gap: 1rem;
    animation: fadeIn 0.3s ease-in;
    max-width: 80%;
    position: relative;
    /* 性能優化 */
    contain: layout style;
    will-change: transform, opacity;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message {
    align-self: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #6f9dff, #8a5bff);
    color: white;
    box-shadow: 0 0 12px rgba(111, 157, 255, 0.65);
}

.ai-message .message-avatar {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.12);
}

.message-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-message .message-content {
    align-items: flex-end;
}

.ai-message .message-content {
    align-items: flex-start;
}

.message-bubble {
    padding: 1rem 1.5rem;
    border-radius: 18px;
    word-wrap: break-word;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    position: relative;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-message .message-bubble {
    background: var(--user-message-bg);
    color: #f5f8ff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 0 18px rgba(111, 157, 255, 0.6);
}

.ai-message .message-bubble {
    background: var(--ai-message-bg);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.message-bubble p {
    margin: 0;
    line-height: 1.6;
}

.message-bubble a {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px dashed rgba(78, 242, 255, 0.6);
}

.message-bubble strong {
    font-weight: 600;
    color: #fff;
}

.message-time {
    font-size: 0.75rem;
    color: var(--light-text);
    padding: 0 0.5rem;
}

/* 輸入狀態動畫 */
.typing-indicator {
    display: none;
}

.typing-indicator.show {
    display: block;
}

.message-bubble.typing {
    background: var(--ai-message-bg);
    padding: 1rem 1.5rem;
    display: flex;
    gap: 5px;
    align-items: center;
}

.message-bubble.typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: typing 1.4s infinite;
    box-shadow: 0 0 10px rgba(78, 242, 255, 0.7);
}

.message-bubble.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message-bubble.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* 輸入區 */
.input-container {
    padding: 1.5rem;
    background: rgba(10, 15, 32, 0.9);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.message-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    max-height: 150px;
    transition: all 0.3s;
    outline: none;
    background: rgba(255,255,255,0.04);
    color: var(--text-color);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.message-input:focus {
    border-color: rgba(111, 157, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(111, 157, 255, 0.25);
}

.message-input:disabled {
    background: rgba(255,255,255,0.05);
    cursor: not-allowed;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn,
.send-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: visible;
}

.action-btn {
    background: rgba(255,255,255,0.06);
    color: var(--light-text);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.2);
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .action-btn,
    .send-btn {
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .action-btn:hover {
        background: rgba(255,255,255,0.12);
        transform: scale(1.05);
    }
}

.send-btn {
    background: linear-gradient(135deg, rgba(242, 194, 0, 0.9), rgba(240, 139, 29, 0.9));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 電腦端發送按鈕 - 取消光效 */
@media (min-width: 769px) {
    .send-btn:hover:not(:disabled) {
        transform: scale(1.05);
        background: linear-gradient(135deg, rgba(242, 194, 0, 1), rgba(240, 139, 29, 1));
    }
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn.loading {
    position: relative;
}

.send-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .social-link {
        transition: transform 0.3s ease, background 0.3s ease;
    }
    
    .social-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-3px);
    }
}

.contact-info {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--light-text);
    font-size: 0.95rem;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .contact-icon {
        transition: transform 0.3s ease, background 0.3s ease;
    }
    
    .contact-icon::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.1);
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 0;
    }

    .contact-icon i {
        position: relative;
        z-index: 1;
    }

    .contact-icon:hover {
        transform: translateY(-2px) scale(1.03);
        background: rgba(255,255,255,0.12);
    }

    .contact-icon:hover::after {
        opacity: 1;
    }
}

.contact-text {
    color: var(--light-text);
}

.footer-text {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 錯誤提示彈窗 */
.error-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.error-modal.show {
    display: flex;
}

.modal-content {
    background: rgba(12, 18, 40, 0.92);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-hover);
    animation: slideUp 0.3s;
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-retry,
.btn-ok {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: visible;
}

.btn-retry {
    background: linear-gradient(135deg, rgba(242, 194, 0, 0.9), rgba(240, 139, 29, 0.9));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .btn-retry,
    .btn-ok {
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .btn-retry:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, rgba(242, 194, 0, 1), rgba(240, 139, 29, 1));
    }
}

.btn-ok {
    background: rgba(255,255,255,0.08);
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 電腦端 OK 按鈕 - 取消光效 */
@media (min-width: 769px) {
    .btn-ok:hover {
        background: rgba(255,255,255,0.12);
        transform: translateY(-2px);
    }
}

/* 動畫 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* 響應式設計 - 平板 */
@media (max-width: 768px) {
    .carousel-section {
        height: 380px;
        margin-top: 60px;
    }

    .slide-content {
        padding: 1.5rem 2rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .chat-container {
        height: calc(100vh - 500px);
        min-height: 500px;
    }

    .message {
        max-width: 85%;
    }

    /* 優化卡片間距 */
    .caution-cards,
    .compensation-grid {
        gap: 1.25rem;
    }
}

/* 滾動進場動態（電腦端 - 取消光效） */
@media (min-width: 769px) {
    .scroll-animate {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
        transition: opacity 0.5s ease, transform 0.6s ease;
        will-change: transform, opacity;
        position: relative;
        backface-visibility: hidden;
    }

    .scroll-animate.visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        animation: pop-simple 0.6s ease-out;
        will-change: auto;
    }

    @keyframes pop-simple {
        0% { 
            transform: translate3d(0, 20px, 0);
        }
        60% { 
            transform: translate3d(0, -3px, 0);
        }
        100% { 
            transform: translate3d(0, 0, 0);
        }
    }
}

/* 手機端：簡化滾動動畫 */
@media (max-width: 768px) {
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .scroll-animate::before {
        display: none !important;
    }
    
    .scroll-animate.visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}

/* 響應式設計 - 手機 */
@media (max-width: 480px) {
    .carousel-section {
        height: 280px;
        margin-top: 56px;
    }

    .slide-content {
        padding: 1rem 1.25rem;
    }

    .slide-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .carousel-controls {
        padding: 0 0.75rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .chat-section {
        padding: 1rem 0.75rem;
    }

    .chat-container {
        height: calc(100vh - 350px);
        min-height: 380px;
        border-radius: 12px;
    }

    .messages-container {
        padding: 0.75rem;
    }

    .message {
        max-width: 92%;
        gap: 0.5rem;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .message-bubble {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .input-container {
        padding: 0.75rem;
    }

    .input-wrapper {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .message-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .action-btn,
    .send-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo i {
        font-size: 1.3rem;
    }
    
    /* 索償流程優化 */
    .claims-section {
        padding: 1.5rem 0.75rem;
    }
    
    .claims-container {
        padding: 1.25rem;
        border-radius: 14px;
        backdrop-filter: none !important;
    }
    
    .claims-header {
        margin-bottom: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .claims-title {
        gap: 0.75rem;
    }
    
    .claims-title i {
        font-size: 1.5rem;
    }
    
    .claims-title h2 {
        font-size: 1.5rem;
    }
    
    .claims-subtitle {
        font-size: 0.9rem;
    }
    
    .claims-steps {
        gap: 1rem;
    }
    
    .claim-step {
        padding: 1.25rem;
        gap: 0.75rem;
        border-radius: 12px;
        /* 移除所有過渡效果 */
        transition: none !important;
    }
    
    /* 移除偽元素 */
    .claim-step::before,
    .claim-step::after {
        display: none !important;
    }
    
    .step-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        transition: none !important;
        filter: none !important;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
    
    .step-icon span {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        top: -10px;
        right: -10px;
        transition: none !important;
        filter: none !important;
    }
    
    .step-content h3 {
        font-size: 1.05rem;
        transition: none !important;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* 其他區塊優化 */
    .caution-section,
    .compensation-section {
        padding: 1.5rem 0.75rem;
    }
    
    .caution-header h2,
    .compensation-header h2 {
        font-size: 1.6rem;
    }
    
    .caution-subtitle,
    .compensation-subtitle {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        transition: none !important;
        filter: none !important;
    }
    
    .contact-icon::after {
        display: none !important;
    }
}

/* 滾動條樣式 - 優化版 */
.messages-container::-webkit-scrollbar {
    width: 8px;
}

.messages-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.messages-container::-webkit-scrollbar-thumb {
    background: rgba(242, 194, 0, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 194, 0, 0.5);
}

/* 移動設備專用樣式 - 完全禁用光效和動畫 */
@media (max-width: 768px) {
    /* 移除背景動畫 */
    body::before {
        display: none !important;
    }
    
    /* 禁用所有過渡效果 */
    * {
        transition: none !important;
        animation: none !important;
    }
    
    /* 禁用所有懸停光效 */
    .carousel-btn:hover,
    .action-btn:hover,
    .send-btn:hover,
    .btn-retry:hover,
    .btn-ok:hover,
    .claim-step:hover,
    .caution-card:hover,
    .compensation-card:hover,
    .nav-menu-trigger:hover,
    .nav-popup-link:hover,
    .popup-contact-btn:hover,
    .nav-contact-btn:hover,
    .ci-submit-btn:hover,
    .contact-icon:hover,
    .social-link:hover,
    .nav-popup-close:hover {
        transform: none !important;
        animation: none !important;
        box-shadow: inherit !important;
        filter: none !important;
    }

    /* 禁用所有偽元素光效 */
    .carousel-btn::before,
    .action-btn::before,
    .send-btn::before,
    .btn-retry::before,
    .btn-ok::before,
    .claim-step::before,
    .claim-step::after,
    .caution-card::before,
    .compensation-card::before,
    .contact-icon::after,
    .ci-submit-btn::before,
    .scroll-animate::before {
        display: none !important;
    }

    /* 禁用卡片懸停效果 */
    .caution-card:hover .card-icon,
    .caution-card:hover .card-content h3,
    .claim-step:hover .step-icon,
    .claim-step:hover .step-icon span {
        transform: none !important;
        animation: none !important;
        box-shadow: inherit !important;
        text-shadow: inherit !important;
    }

    /* 禁用導航聯絡按鈕光效 */
    .nav-user .contact-info:hover {
        transform: none !important;
    }

    .nav-user .contact-info:hover .contact-text-main,
    .nav-user .contact-info:hover .contact-text-sub {
        text-shadow: none !important;
    }

    .nav-user .contact-info:hover::before {
        display: none !important;
    }

    /* 禁用補償卡片列表項懸停 */
    .compensation-list li:hover {
        transform: none !important;
    }
    
    /* 移除所有文字陰影和濾鏡 */
    .caution-header h2,
    .card-content h3,
    .claims-title h2,
    .step-icon,
    .compensation-card-header i,
    .compensation-list li > i,
    .card-icon {
        text-shadow: none !important;
        filter: none !important;
    }
    
    /* 禁用滾動動畫 */
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    
    /* 簡化導航欄 */
    .navbar {
        backdrop-filter: none !important;
        background: rgba(26, 26, 26, 0.98) !important;
    }
    
    /* 簡化聊天容器 */
    .chat-container::before {
        display: none !important;
    }
    
    .messages-container {
        background: rgba(13, 21, 44, 0.95) !important;
        background-image: none !important;
    }
    
    /* 移動端觸摸反饋 - 簡單縮放 */
    .carousel-btn:active,
    .action-btn:active,
    .send-btn:active,
    .nav-menu-trigger:active,
    .ci-submit-btn:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }
}

/* 防止移動端文字選擇 */
@media (max-width: 768px) {
    .carousel-btn,
    .action-btn,
    .send-btn,
    .hamburger,
    .nav-menu-trigger {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* 優化移動端輸入 */
@media (max-width: 768px) {
    .message-input {
        font-size: 16px !important; /* 防止 iOS 自動縮放 */
    }
    
    /* 防止菜單打開時背景滾動 */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* 索償流程區塊 */
.claims-section {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.claims-container {
    background: var(--glass-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-glow);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.claims-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.claims-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.claims-title i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.claims-title h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 0.3px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--light-text);
    margin: 0;
}

.claims-subtitle {
    color: var(--light-text);
    margin: 0;
}

.claims-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    justify-items: center;
}

.claim-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 520px;
}

/* 電腦端 - 取消光效 */
@media (min-width: 769px) {
    .claim-step {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .claim-step:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    
    .step-icon {
        transition: transform 0.3s ease;
    }

    .claim-step:hover .step-icon {
        transform: scale(1.03);
    }
    
    .step-icon span {
        transition: transform 0.3s ease;
    }

    .claim-step:hover .step-icon span {
        transform: scale(1.05);
    }
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-icon span {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan));
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0c1228;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.step-content h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.15rem;
    color: #f5f8ff;
}

.step-content p {
    margin: 0;
    color: var(--light-text);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .claims-section {
        padding: 2rem 1.25rem;
    }

    .claims-container {
        padding: 1.5rem;
    }
}

 
 