﻿    /* ===== CSS 重置與基礎設定 ===== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Microsoft JhengHei', Arial, sans-serif;
    }
    
    body {
        background-color: #f8f9fa;
        color: #333;
        line-height: 1.6;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* ===== CSS 變數定義 (設計系統) ===== */
    :root {
        /* 字型設定 */
        --font-family-primary: "微軟正黑體", "Microsoft JhengHei", "Segoe UI", "Arial", sans-serif;
        --font-family-fallback: sans-serif;
        
        /* 文字顏色 */
        --text-color-primary: #555;
        --text-color-secondary: #666;
        --text-color-heading: #666;
        --text-color-subheading: #800080;
        --text-color-strong: #444;
        --text-color-strong-block: #AC3F26;
        --text-color-blue: blue;
        --text-color-white: #fff;
        --text-color-muted: #95a5a6;
        
        /* 背景顏色 */
        --bg-color-primary: #f8f9fa;
        --bg-color-secondary: #2c3e50;
        --bg-color-accent: #e74c3c;
        --bg-color-light: #fff;
        
        /* 基礎文字大小 (響應式) */
        --font-size-base: 1rem;
        --font-size-base-tablet: 1.1rem;
        --font-size-base-desktop: 1.2rem;
        
        /* 標題增量 */
        --font-increment-h1: 0.5rem;
        --font-increment-h2: 0.4rem;
        --font-increment-strong: 0.3rem;
        
        /* 行高設定 */
        --line-height-base: 1.6;
        --line-height-heading: 1.4;
        
        /* 字距設定 */
        --letter-spacing-base: 1px;
        
        /* 間距設定 */
        --margin-top-h1: 30px;
        --margin-top-other: 20px;
        --margin-bottom-base: 20px;
        --margin-bottom-mobile: 10px;
        
        /* 字重設定 */
        --font-weight-normal: 400;
        --font-weight-medium: 500;
        --font-weight-bold: 600;
        --font-weight-bolder: 700;
        
        /* 容器設定 */
        --container-max-width: 1200px;
        --container-padding: 0 15px;
        
        /* 邊框設定 */
        --border-radius: 4px;
        --border-radius-lg: 6px;
    }

    /* ===== 基礎文字樣式 ===== */
    body {
        font-family: var(--font-family-primary), var(--font-family-fallback);
        line-height: var(--line-height-base);
        letter-spacing: var(--letter-spacing-base);
        color: var(--text-color-primary);
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-normal);
    }

    /* ===== 通用容器樣式 ===== */
    .container {
        width: 100%;
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: var(--container-padding);
    }

    .main-content {
        flex: 1;
        padding: 40px 0;
    }

    /* ===== 內容區域文字樣式 ===== */
    .content-text {      
        font-size: var(--font-size-base);
        color: var(--text-color-primary);
        line-height: var(--line-height-base);
        font-weight: var(--font-weight-normal);
    }

    /* 段落樣式 */
    .content-text p {
        line-height: var(--line-height-base);
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
        font-weight: var(--font-weight-normal);
    }

    /* ===== 標題層級樣式 ===== */
    /* H1 標題 */
    .content-text h1,
    h1 {
        color: var(--text-color-heading);
        font-size: calc(var(--font-size-base) + var(--font-increment-h1));
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-bold);
        position: relative;
        display: block;
        margin-top: var(--margin-top-h1);
        margin-bottom: var(--margin-bottom-base);
    }

    /* H2 標題 */
    .content-text h2,
    h2 {
        color: var(--text-color-subheading);
        font-size: calc(var(--font-size-base) + var(--font-increment-h2));
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-bolder);
        position: relative;
        display: block;
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
    }

    /* H3 標題 */
    .content-text h3,
    h3 {
        color: var(--text-color-subheading);
        font-size: calc(var(--font-size-base) + var(--font-increment-h2) - 0.1rem);
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-bold);
        position: relative;
        display: block;
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
    }

    /* H4 標題 */
    .content-text h4,
    h4 {
        color: var(--text-color-subheading);
        font-size: calc(var(--font-size-base) + var(--font-increment-h2) - 0.2rem);
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-medium);
        position: relative;
        display: block;
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
    }

    /* H5 標題 */
    .content-text h5,
    h5 {
        color: var(--text-color-subheading);
        font-size: calc(var(--font-size-base) + var(--font-increment-h2) - 0.3rem);
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-normal);
        position: relative;
        display: block;
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
    }

    /* H6 標題 */
    .content-text h6,
    h6 {
        color: var(--text-color-secondary);
        font-size: calc(var(--font-size-base) + var(--font-increment-h2) - 0.4rem);
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-normal);
        position: relative;
        display: block;
        margin-top: var(--margin-top-other);
        margin-bottom: var(--margin-bottom-base);
    }

    /* ===== 強調文字樣式 ===== */
    /* 一般強調 */
    .content-text strong,
    strong {
        color: var(--text-color-strong);
        font-weight: var(--font-weight-bold);
    }

    /* 區塊強調 */
    .content-text strong.block,
    strong.block {
        color: var(--text-color-strong-block);
        font-size: calc(var(--font-size-base) + var(--font-increment-strong));
        font-weight: var(--font-weight-bolder);
        margin-top: var(--margin-top-other);
        margin-bottom: 0px;
        display: block;
    }

    /* ===== 工具類別文字樣式 ===== */
    /* 文字對齊 */
    .text-left { text-align: left !important; }
    .text-center { text-align: center !important; }
    .text-right { text-align: right !important; }
    .text-justify { text-align: justify !important; }

    /* 次要粗體文字 */
    .text-secondary-bold {
        font-weight: var(--font-weight-bold);
        color: var(--text-color-secondary);
    }

    /* 主要顏色文字 */
    .text-primary {
        color: var(--text-color-blue);
        font-weight: var(--font-weight-normal);
    }

    /* 粗體文字 */
    .text-bold {
        font-weight: var(--font-weight-bold);
    }

    /* 底線文字 */
    .text-underline {
        text-decoration: underline;
        font-weight: var(--font-weight-normal);
    }

    /* 無底線文字 */
    .text-no-underline {
        text-decoration: none !important;
    }

    /* 文字變形 */
    .text-uppercase { text-transform: uppercase !important; }
    .text-lowercase { text-transform: lowercase !important; }
    .text-capitalize { text-transform: capitalize !important; }

    /* 文字溢出處理 */
    .text-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 文字換行處理 */
    .text-wrap { white-space: normal !important; }
    .text-nowrap { white-space: nowrap !important; }

    /* ===== 字型大小工具類 ===== */
    .text-xs { font-size: 0.8rem !important; }
    .text-sm { font-size: 0.9rem !important; }
    .text-base { font-size: var(--font-size-base) !important; }
    .text-lg { font-size: 1.1rem !important; }
    .text-xl { font-size: 1.3rem !important; }
    .text-2xl { font-size: 1.5rem !important; }
    .text-3xl { font-size: 1.7rem !important; }

    /* ===== 字重工具類 ===== */
    .font-light { font-weight: 300 !important; }
    .font-normal { font-weight: var(--font-weight-normal) !important; }
    .font-medium { font-weight: var(--font-weight-medium) !important; }
    .font-semibold { font-weight: 500 !important; }
    .font-bold { font-weight: var(--font-weight-bold) !important; }
    .font-extrabold { font-weight: var(--font-weight-bolder) !important; }

    /* ===== 行高工具類 ===== */
    .leading-tight { line-height: 1.25 !important; }
    .leading-normal { line-height: var(--line-height-base) !important; }
    .leading-loose { line-height: 2 !important; }

    /* ===== 字距工具類 ===== */
    .tracking-tight { letter-spacing: -0.5px !important; }
    .tracking-normal { letter-spacing: normal !important; }
    .tracking-wide { letter-spacing: var(--letter-spacing-base) !important; }

    /* ===== 文字顏色工具類 ===== */
    .text-default { color: var(--text-color-primary) !important; }
    .text-muted { color: var(--text-color-muted) !important; }
    .text-heading { color: var(--text-color-heading) !important; }
    .text-subheading { color: var(--text-color-subheading) !important; }
    .text-accent { color: var(--text-color-strong-block) !important; }
    .text-white { color: var(--text-color-white) !important; }

    /* ===== 背景顏色工具類 ===== */
    .bg-primary { background-color: var(--bg-color-primary) !important; }
    .bg-secondary { background-color: var(--bg-color-secondary) !important; }
    .bg-accent { background-color: var(--bg-color-accent) !important; }
    .bg-light { background-color: var(--bg-color-light) !important; }

    /* ===== 邊框工具類 ===== */
    .rounded { border-radius: var(--border-radius) !important; }
    .rounded-lg { border-radius: var(--border-radius-lg) !important; }
    .rounded-full { border-radius: 50% !important; }

    /* ===== 間距工具類 ===== */
    .m-0 { margin: 0 !important; }
    .mt-0 { margin-top: 0 !important; }
    .mb-0 { margin-bottom: 0 !important; }
    .ml-0 { margin-left: 0 !important; }
    .mr-0 { margin-right: 0 !important; }

    .m-1 { margin: 0.25rem !important; }
    .mt-1 { margin-top: 0.25rem !important; }
    .mb-1 { margin-bottom: 0.25rem !important; }

    .m-2 { margin: 0.5rem !important; }
    .mt-2 { margin-top: 0.5rem !important; }
    .mb-2 { margin-bottom: 0.5rem !important; }

    .m-3 { margin: 1rem !important; }
    .mt-3 { margin-top: 1rem !important; }
    .mb-3 { margin-bottom: 1rem !important; }

    .m-4 { margin: 1.5rem !important; }
    .mt-4 { margin-top: 1.5rem !important; }
    .mb-4 { margin-bottom: 1.5rem !important; }

    .m-5 { margin: 3rem !important; }
    .mt-5 { margin-top: 3rem !important; }
    .mb-5 { margin-bottom: 3rem !important; }

    .p-0 { padding: 0 !important; }
    .pt-0 { padding-top: 0 !important; }
    .pb-0 { padding-bottom: 0 !important; }

    .p-1 { padding: 0.25rem !important; }
    .pt-1 { padding-top: 0.25rem !important; }
    .pb-1 { padding-bottom: 0.25rem !important; }

    .p-2 { padding: 0.5rem !important; }
    .pt-2 { padding-top: 0.5rem !important; }
    .pb-2 { padding-bottom: 0.5rem !important; }

    .p-3 { padding: 1rem !important; }
    .pt-3 { padding-top: 1rem !important; }
    .pb-3 { padding-bottom: 1rem !important; }

    .p-4 { padding: 1.5rem !important; }
    .pt-4 { padding-top: 1.5rem !important; }
    .pb-4 { padding-bottom: 1.5rem !important; }

    .p-5 { padding: 3rem !important; }
    .pt-5 { padding-top: 3rem !important; }
    .pb-5 { padding-bottom: 3rem !important; }

    /* ===== 顯示與隱藏工具類 ===== */
    .d-block { display: block !important; }
    .d-inline { display: inline !important; }
    .d-inline-block { display: inline-block !important; }
    .d-flex { display: flex !important; }
    .d-none { display: none !important; }

    .visible { visibility: visible !important; }
    .invisible { visibility: hidden !important; }

    /* ===== 定位工具類 ===== */
    .position-static { position: static !important; }
    .position-relative { position: relative !important; }
    .position-absolute { position: absolute !important; }
    .position-fixed { position: fixed !important; }
    .position-sticky { position: sticky !important; }

    /* ===== 特殊元素處理 ===== */
    /* BR 換行處理 */
    .content-text br {
        display: inline;
        font-weight: inherit;
    }

    /* 連結樣式 */
    a {
        color: var(--text-color-blue);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
      /* color: var(--text-color-strong-block); */
      color:  #DBAF00;
      text-decoration: none;
    }

    /* 列表樣式 */
    ul, ol {
        margin: var(--margin-bottom-base) 0;
        padding-left: 2rem;
    }

    li {
        margin-bottom: 0.5rem;
    }

    /* 表格樣式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin: var(--margin-bottom-base) 0;
    }

    th, td {
        padding: 0.75rem;
        border: 1px solid #ddd;
        text-align: left;
    }

    th {
        background-color: #f8f9fa;
        font-weight: var(--font-weight-bold);
    }

    /* 圖片樣式 */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* 按鈕樣式 */
    .btn {
        display: inline-block;
        background-color: var(--bg-color-accent);
        color: var(--text-color-white);
        padding: 14px 35px;
        border-radius: var(--border-radius);
        text-decoration: none;
        font-weight: var(--font-weight-bold);
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        position: relative;
        overflow: hidden;
        border: none;
        cursor: pointer;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::before {
        left: 100%;
    }

    .btn:hover {
        background-color: #c0392b;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        text-decoration: none;
    }

    /* ===== Head 大圖檔區域樣式 ===== */
    .header-banner {
        width: 100%;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
        margin-bottom: 0;
    }
    
    /* 圖片容器 - 維持比例 */
    .header-banner .banner-image {
        width: 100%;
        height: auto;
        display: block;
        transition: opacity 0.5s ease;
    }
    
    /* 桌面版圖片 (預設顯示) */
    .header-banner .desktop-img {
        display: block;
    }
    
    /* 平板版圖片 (預設隱藏) */
    .header-banner .tablet-img {
        display: none;
    }
    
    /* 手機版圖片 (預設隱藏) */
    .header-banner .mobile-img {
        display: none;
    }
    
    /* 響應式圖片切換 */
    @media (max-width: 1199px) and (min-width: 768px) {
        .header-banner .desktop-img {
            display: none;
        }
        
        .header-banner .tablet-img {
            display: block;
        }
    }
    
    @media (max-width: 767px) {
        .header-banner .desktop-img {
            display: none;
        }
        
        .header-banner .tablet-img {
            display: none;
        }
        
        .header-banner .mobile-img {
            display: block;
        }
    }
    
    /* 圖片載入前的佔位空間 */
    .header-banner.placeholder {
        min-height: 300px;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .header-banner.placeholder::before {
        content: "圖片載入中...";
        color: #666;
        font-size: 1.2rem;
    }
    
    /* 圖片載入失敗的備用樣式 */
    .header-banner.error {
        min-height: 200px;
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
        padding: 40px 20px;
    }
    
    .header-banner.error::before {
        content: "🚚 專業貨車出租與搬家服務";
        font-size: 1.5rem;
        font-weight: bold;
    }
    
    /* 圖片說明文字樣式 */
    .banner-caption {
        position: absolute;
        bottom: 30px;
        left: 0;
        right: 0;
        text-align: center;
        color: white;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.6);
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .banner-caption p {
        margin: 5px 0 0 0;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* 響應式文字調整 */
    @media (max-width: 767px) {
        .banner-caption {
            bottom: 15px;
            padding: 10px 15px;
            font-size: 1rem;
        }
        
        .banner-caption p {
            font-size: 0.9rem;
        }
    }

    /* ===== 導航列樣式 ===== */
    header {
        background-color: #2c3e50;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
        min-height: 60px !important;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 0 !important;
        position: relative;
    }

    .logo {
        color: white;
        font-size: 22px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }

    .logo-icon {
        margin-right: 10px;
        font-size: 24px;
    }

    .logo span {
        color: #e74c3c;
    }

    .nav-menu {
        display: flex;
        list-style: none;
    }

    .nav-item {
        position: relative;
    }

    .nav-link {
        color: white;
        text-decoration: none !important;
        padding: 10px 15px !important;
        display: block;
        transition: all 0.3s ease;
        border-radius: 4px;
        font-weight: 500;
        font-size: 1rem;
    }

    .nav-link:hover {
        background-color: #e74c3c;
        color: white !important;
        text-decoration: none !important;
    }

    /* ===== 下拉選單樣式 ===== */
    .dropdown-menu {
        position: absolute;
        background-color: white;
        min-width: 220px !important;
        width: auto !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        border-radius: 6px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0) !important;
        transition: all 0.3s ease;
        list-style: none;
        z-index: 1001;
        padding: 10px 0;
        top: calc(100% + 2px) !important;
        left: 0 !important;
        right: auto !important;
        margin-top: 0 !important;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #f0f0f0;
        white-space: nowrap !important;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu a {
        color: #333;
        padding: 12px 20px;
        display: block;
        text-decoration: none !important;
        transition: all 0.2s ease;
        font-size: 0.95rem;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-width: 180px !important;
    }

    .dropdown-menu a:hover {
        background-color: #f8f9fa;
        color: #e74c3c;
        padding-left: 25px;
        text-decoration: none !important;
    }

    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) !important;
    }

    /* ===== 移動設備導航樣式 ===== */
    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 1002;
        width: 40px;
        height: 40px;
        position: relative;
        transition: all 0.3s ease;
    }

    .mobile-toggle .hamburger {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 18px;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .mobile-toggle .hamburger span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: white;
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .mobile-toggle .hamburger span:nth-child(1) {
        top: 0px;
        transform-origin: left center;
    }

    .mobile-toggle .hamburger span:nth-child(2) {
        top: 8px;
        transform-origin: left center;
    }

    .mobile-toggle .hamburger span:nth-child(3) {
        top: 16px;
        transform-origin: left center;
    }

    .mobile-toggle.active .hamburger span:nth-child(1) {
        top: 0px;
        left: 3px;
        transform: rotate(45deg);
    }

    .mobile-toggle.active .hamburger span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    .mobile-toggle.active .hamburger span:nth-child(3) {
        top: 16px;
        left: 3px;
        transform: rotate(-45deg);
    }

    .mobile-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        z-index: 1001;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .mobile-menu-container.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu {
        background-color: #2c3e50;
        transform: translateX(0);
        transition: transform 0.3s ease 0.1s;
        width: 100%;
    }

    .mobile-menu-container.active .mobile-menu {
        transform: translateX(0);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mobile-menu ul li {
        border-bottom: 2px solid rgba(255,255,255,0.1);
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .mobile-menu ul li:not(.has-submenu) {
        background-color: #2c3e50;
    }

    .mobile-menu ul li.has-submenu {
        background-color: #34495e;
    }

    .mobile-menu ul li a {
        color: #fff;
        display: block;
        font-size: 18px;
        padding: 18px 20px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .mobile-menu ul li a:hover::before {
        left: 100%;
    }

    .mobile-menu ul li a:hover, .mobile-menu ul li a:active {
        background-color: #e74c3c;
        padding-left: 25px;
    }

    .mobile-menu ul li i {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        display: block;
        width: 24px;
        height: 24px;
        overflow: hidden;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        font-size: 22px;
        font-weight: bold;
        text-align: center;
        line-height: 24px;
        color: white;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        border-radius: 50%;
        background-color: rgba(255,255,255,0.1);
    }

    .mobile-menu ul li i.touch-arrow-down::before {
        content: "+";
        display: block;
        transition: transform 0.4s ease;
    }

    .mobile-menu ul li i.touch-arrow-up::before {
        content: "-";
        display: block;
        transform: rotate(180deg);
    }

    .mobile-menu ul li a:hover i {
        background-color: rgba(255,255,255,0.2);
        transform: translateY(-50%) scale(1.1);
    }

    .mobile-menu ul ul {
        display: none;
        margin: 0;
        padding: 0;
        background-color: #34495e;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
        width: 100%;
    }

    .mobile-menu ul ul.active {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }

    .mobile-menu ul ul li {
        border-bottom: none;
        margin: 0;
        background-color: #34495e;
        transform: translateX(0);
        opacity: 0;
        transition: all 0.4s ease;
        width: 100%;
    }

    .mobile-menu ul ul.active li {
        transform: translateX(0);
        opacity: 1;
    }

    .mobile-menu ul ul li:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu ul ul li:nth-child(2) { transition-delay: 0.1s; }
    .mobile-menu ul ul li:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu ul ul li:nth-child(4) { transition-delay: 0.2s; }
    .mobile-menu ul ul li:nth-child(5) { transition-delay: 0.25s; }
    .mobile-menu ul ul li:nth-child(6) { transition-delay: 0.3s; }
    .mobile-menu ul ul li:nth-child(7) { transition-delay: 0.35s; }
    .mobile-menu ul ul li:nth-child(8) { transition-delay: 0.4s; }

    .mobile-menu ul ul li a {
        padding: 16px 20px 16px 30px;
        font-size: 16px;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu ul ul li a:hover {
        background-color: #e74c3c;
        padding-left: 35px;
    }

    /* ===== 主內容區域樣式 ===== */
    .hero {
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1551524164-6ca5f5f77e75?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
        background-size: cover;
        background-position: center;
        color: white;
        padding: 20px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 40px;
    }

    .section {
      /* padding: 90px 0; */
       padding: 10px 0; 
    }

    .section-title {
        text-align: center;
        margin-bottom: 60px;
        font-size: 2rem;
        color: #2c3e50;
        position: relative;
    }

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #e74c3c;
        margin: 15px auto 0;
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.5s ease;
    }

    .section-title:hover:after {
        transform: scaleX(1);
    }

 
      /* ===== 頁尾導航列樣式 ===== */

    .footer-nav {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: white;
        padding: 60px 0 25px;
        margin-top: auto;
    }

    .footer-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }

.footer-column h3 {
    color: #e74c3c;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background: #e74c3c;
    border-radius: 2px;
}

/* 原始CSS中的圖示樣式 - 修改為圓角矩形 */
.footer-column h3 .icon {
    font-size: 1.6rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px; /* 改為圓角矩形 */
    border: 2px solid rgba(231, 76, 60, 0.3);
    overflow: hidden; /* 新增：確保圖片不會超出圓角邊界 */
}

/* 新增：圖示內的圖片樣式 */
.footer-column h3 .icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px; /* 圖片內部也使用圓角 */
}

.footer-column:hover h3 .icon {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 15px;
    }

    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        padding: 8px 0;
        font-size: 1rem;
    }

    .footer-links a::before {
        content: '➤';
        margin-right: 15px;
        color: #e74c3c;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(231, 76, 60, 0.1);
        border-radius: 50%;
        border: 1px solid rgba(231, 76, 60, 0.3);
    }

    .footer-links a:hover {
        color: white;
        transform: translateX(10px);
    }

    .footer-links a:hover::before {
        transform: scale(1.3);
        color: #ff6b6b;
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.5);
    }

.contact-info {
    margin-top: 20px;
    background-color: #f8f4ff; /* 淡紫色 */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e8e0ff; /* 淡紫色邊框 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* 輕微陰影 */
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #2c3e50; /* 深色文字在淡紫背景上更清晰 */
    padding: 10px 0;
    border-bottom: 1px solid rgba(232, 224, 255, 0.5); /* 半透明淡紫分隔線 */
}

.contact-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

    .contact-item .icon {
        margin-right: 15px;
        color: #e74c3c;
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(231, 76, 60, 0.1);
        border-radius: 8px;
        font-size: 1.3rem;
        border: 2px solid rgba(231, 76, 60, 0.2);
    }

    .contact-item:hover .icon {
        background: rgba(231, 76, 60, 0.2);
        transform: scale(1.1);
        border-color: rgba(231, 76, 60, 0.4);
    }

    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 25px;
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        font-size: 1.3rem;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .social-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .social-link:hover::before {
        left: 100%;
    }

    .social-link:hover {
        background: #e74c3c;
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
        border-color: rgba(231, 76, 60, 0.5);
    }

    .footer-bottom {
        border-top: 2px solid rgba(255, 255, 255, 0.15);
        padding-top: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .copyright {
        color: #95a5a6;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .copyright::before {
        content: '©';
        font-size: 1.2rem;
        color: #e74c3c;
    }

    .footer-bottom-links {
        display: flex;
        gap: 30px;
        list-style: none;
    }

    .footer-bottom-links a {
        color: #95a5a6;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-bottom-links a::before {
        content: '•';
        color: #e74c3c;
        font-size: 1.2rem;
    }

    .footer-bottom-links a:hover {
        color: #e74c3c;
        transform: translateY(-2px);
    }

.banner-caption {
  display: block;
}

@media (max-width: 768px) {
  .banner-caption {
    display: none;
  }
}



/* h1標題響應式樣式 */
h1 {
    /* 基礎樣式 */
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 auto;
    
    /* 文字處理 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    
    /* 響應式設置 */
    font-size: clamp(1.75rem, calc(2.5rem - 0.5vw), 3rem);
    line-height: clamp(1.3, calc(1.4 + 0.1vw), 1.5);
    padding: clamp(0.75rem, calc(1rem + 0.5vw), 1.5rem);
    
    /* 邊框和佈局 */
    border-bottom: 3px solid #e74c3c;
    box-sizing: border-box;
    max-width: 90%;
}

/* 大屏幕样式 (992px以上) */
@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        max-width: 90%;
        border-bottom-width: 3px;
        min-height: auto;
        display: block;
    }
    
    .content {
        padding: 40px;
    }
}

/* 中等屏幕样式 (577px - 991px) */
@media (min-width: 577px) and (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        max-width: 95%;
        border-bottom-width: 2px;
        min-height: auto;
        display: block;
    }
    
    .content {
        padding: 30px;
    }
}

/* 小屏幕样式 (576px以下) */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        padding: 1rem 0.5rem;
        max-width: 100%;
        border-bottom-width: 1px;
        min-height: 4rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 針對特別長的文字增加更多間距 */
    h1.long-text {
        padding: 1.5rem 0.75rem;
        line-height: 1.4;
        min-height: 5rem;
    }
    
    .content {
        padding: 20px;
    }
}

/* 超小屏幕样式 (375px以下) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.75rem;
        padding: 1.25rem 0.75rem;
        line-height: 1.4;
        min-height: 4.5rem;
    }
    
    h1.long-text {
        font-size: 1.6rem;
        padding: 1.5rem 1rem;
        line-height: 1.5;
        min-height: 5.5rem;
    }
}

/* 長文字檢測的JavaScript輔助類別 */
h1.text-very-long {
    font-size: clamp(1.5rem, calc(2rem - 0.5vw), 2.5rem);
    line-height: 1.5;
    padding: clamp(1rem, calc(1.25rem + 0.5vw), 1.75rem);
}

   /* 連結樣式 */


/* 藍 color: #3498db; 綠 color: #27ae60; 紫 color: #9b59b6; 橙 color: #e67e22; */


    a {
        color:  #8A2BE2;
        text-decoration: none;
        transition: color 0.3s ease;
    }

   a:visited { 
    color: #FF7F24; 
    text-decoration: none;
   }

    a:hover {
        color: var(--text-color-strong-block);
        text-decoration: none;
    }


    /* 列表樣式 */



.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 1rem;
    white-space: nowrap; /* 新增這行 */
    overflow: hidden; /* 新增這行 */
    text-overflow: ellipsis; /* 新增這行 */
}

    /* ===== 回到頂部按鈕 ===== */
    .back-to-top {
        position: fixed;
        bottom: 40px;
        right: 40px;
        width: 60px;
        height: 60px;
        background: #e74c3c;
        color: white;
        border: none;
        border-radius: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: #c0392b;
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(231, 76, 60, 0.6);
    }

    /* ===== 動畫效果 ===== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .footer-column {
        animation: fadeInUp 0.8s ease forwards;
    }

    .footer-column:nth-child(1) { animation-delay: 0.1s; }
    .footer-column:nth-child(2) { animation-delay: 0.2s; }
    .footer-column:nth-child(3) { animation-delay: 0.3s; }
    .footer-column:nth-child(4) { animation-delay: 0.4s; }

    .footer-column:hover h3 .icon {
        transform: scale(1.1);
        background: rgba(231, 76, 60, 0.2);
        border-color: rgba(231, 76, 60, 0.5);
    }

 /* ===== 頁尾底部工具列樣式 ===== */
.footer-toolbar {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
    padding: 15px 0;
    border-top: 3px solid rgba(231, 76, 60, 0.3);
    display: none; /* 預設隱藏 */
}

.footer-toolbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-toolbar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* 改為左對齊 */
    gap: 8px;
    color: #bdc3c7;
    font-size: 0.95rem;
    text-align: left; /* 改為左對齊 */
}

.footer-info a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-info a:hover {
    color: #e74c3c;
    transform: translateY(-2px);
}

.footer-info .separator {
    color: #7f8c8d;
    margin: 0 3px;
}

.update-info, .visit-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== 行動裝置工具列樣式 ===== */
.mobile-toolbar {
    display: none;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 8px 0;
    border-top: 2px solid rgba(231, 76, 60, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
}

.mobile-toolbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.mobile-toolbar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: center;
}

.mobile-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 5px 3px;
    border-radius: 6px;
}

.mobile-tool-item:hover {
    background-color: rgba(231, 76, 60, 0.2);
    transform: translateY(-2px);
}

.mobile-tool-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.mobile-tool-item:hover .mobile-tool-icon {
    transform: scale(1.1);
}

.mobile-tool-label {
    font-size: 0.7rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.1;
}

/* ===== 響應式設計 ===== */
/* 手機裝置 (600px以下) */
@media (max-width: 600px) {
    .content-text br {
        display: block;
        margin-bottom: var(--margin-bottom-mobile);
    }
    
    .content-text {
        font-size: var(--font-size-base);
    }
    
    .content-text h1,
    h1 {
        font-size: calc(var(--font-size-base) + var(--font-increment-h1));
    }
    
    .content-text h2,
    .content-text h3,
    .content-text h4,
    .content-text h5,
    .content-text h6,
    h2, h3, h4, h5, h6 {
        font-size: calc(var(--font-size-base) + var(--font-increment-h2));
    }
    
    .content-text strong.block,
    strong.block {
        font-size: calc(var(--font-size-base) + var(--font-increment-strong));
    }
    
    .main-content {
        padding: 20px 0;
    }
}

/* 平板裝置 (601px - 1199px) */
@media (min-width: 601px) and (max-width: 1199px) {
    :root {
        --font-size-base: var(--font-size-base-tablet);
    }
}

/* 桌面裝置 (1200px以上) */
@media (min-width: 1200px) {
    :root {
        --font-size-base: var(--font-size-base-desktop);
    }
}

/* 響應式設計 - 導航欄 */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .navbar {
        padding: 15px 0 !important;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .mobile-menu ul li a {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .mobile-menu ul ul li a {
        padding: 14px 20px 14px 30px;
        font-size: 14px;
    }
    
    .mobile-menu ul li i {
        right: 15px;
    }
}

/* 響應式設計 - 頁尾 */
@media (max-width: 1200px) {
    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .footer-column h3 .icon {
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links a::before {
        font-size: 1rem;
        width: 22px;
        height: 22px;
    }
    
    .contact-item .icon {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .footer-nav {
        padding: 40px 0 15px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* PC顯示設定 - 頁尾底部工具列 */
@media (min-width: 993px) {
    .footer-toolbar {
        display: block;
    }
    
    /* 小螢幕文字上移調整 */
    @media (max-width: 1200px) {
        .footer-info {
            position: relative;
            top: -6px;
        }
    }
}

/* 行動裝置工具列顯示 */
@media (max-width: 992px) {
    .mobile-toolbar {
        display: block;
    }
    
    .footer-toolbar {
        display: none;
    }
}

/* 行動裝置工具列響應式調整 */
@media (max-width: 576px) {
    .mobile-toolbar {
        padding: 6px 0;
    }
    
    .mobile-toolbar-container {
        padding: 0 8px;
    }
    
    .mobile-toolbar-grid {
        gap: 6px;
    }
    
    .mobile-tool-item {
        padding: 4px 2px;
    }
    
    .mobile-tool-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 2px;
    }
    
    .mobile-tool-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .mobile-toolbar {
        padding: 5px 0;
    }
    
    .mobile-tool-icon {
        width: 30px;
        height: 30px;
    }
    
    .mobile-tool-label {
        font-size: 0.6rem;
    }
}

/* 頁尾底部工具列響應式 */
@media (max-width: 992px) {
    .footer-toolbar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .footer-info {
        font-size: 0.9rem;
        gap: 6px;
        justify-content: flex-start; /* 確保響應式時也是左對齊 */
    }
    
    .footer-info .separator {
        margin: 0 2px;
    }
}

@media (max-width: 576px) {
    .footer-toolbar {
        padding: 12px 0;
    }
    
    .footer-info {
        font-size: 0.85rem;
        gap: 4px;
        justify-content: flex-start; /* 確保響應式時也是左對齊 */
    }
    
    .footer-info .separator {
        margin: 0 1px;
    }
}

/* 列印樣式 */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    .btn, .mobile-toggle, .back-to-top, .footer-nav, header {
        display: none !important;
    }
}






/* LINE 右側按鈕 */

    .floating-line-widget {
        position: fixed;
        right: 10px;
        bottom: 250px; /* LINE 按鈕在 250px */
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .widget-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    .floating-line-widget a {
        display: inline-block;
        margin-bottom: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .floating-line-widget img {
        width: 60px;
        height: 60px;
        transition: all 0.3s ease;
        border-radius: 12px;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    
    .floating-line-widget img:hover {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) brightness(1.1);
        animation: none;
    }
    
    .widget-text {
        text-align: center;
        font-weight: 900;
        padding: 8px 16px;
        background: linear-gradient(135deg, #06c755 0%, #05a344 100%);
        color: white;
        border-radius: 20px;
        font-size: 14px;
        margin-top: 5px;
        box-shadow: 0 2px 8px rgba(6, 199, 85, 0.4);
        border: 2px solid white;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
    }
    
    .widget-text:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #05a344 0%, #048c3a 100%);
        box-shadow: 0 4px 12px rgba(6, 199, 85, 0.6);
    }

    /* ===== 回到頂部按鈕的樣式 ===== */
    #topcontrol {
        /* 移除 float 動畫，保持靜止 */
        transition: all 0.3s ease;
    }
    
    #topcontrol img {
        width: 70px;
        box-sizing: border-box;
        transition: all 0.3s ease;
        border-radius: 12px;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        cursor: pointer;
    }
    
    /* 頂部按鈕的懸停效果 - 與 LINE 按鈕相同（除了浮動動畫） */
    #topcontrol img:hover {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) brightness(1.1);
    }
    
    /* 大於等於 1024px - 使用原本的 right:18px */
    #topcontrol {
        right: 18px;
        bottom: 120px; /* 頂部按鈕在 120px */
    }
    
    /* 小於 1024px - 改為 right:10px */
    @media (max-width: 1023px) {
        #topcontrol {
            right: 10px !important;
        }
    }
    
    /* 響應式設計 */
    @media (max-width: 768px) {
        .floating-line-widget {
            right: 10px;
            bottom: 220px; /* 手機上調整位置 */
        }
        
        .floating-line-widget img {
            width: 50px;
            height: 50px;
        }
        
        .widget-text {
            font-size: 12px;
            padding: 6px 12px;
        }
        
        /* 手機上調整頂部按鈕位置 */
        #topcontrol {
            bottom: 100px;
            right: 10px;
        }
        
        #topcontrol img {
            width: 60px;
        }
    }
    
    @media (max-width: 480px) {
        .widget-text {
            font-size: 10px;
            padding: 4px 8px;
        }
        
        .floating-line-widget {
            bottom: 200px;
        }
        
        #topcontrol {
            bottom: 90px;
        }
        
        #topcontrol img {
            width: 55px;
        }
    }


/* ===== 新增通用組件樣式 ===== */

/* 關於我們區域 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 服務網格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 車輛展示 */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vehicle-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-specs {
    list-style: none;
    margin: 15px 0;
}

.vehicle-specs li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.vehicle-specs li:before {
    content: "✓";
    color: #e74c3c;
    margin-right: 10px;
}

/* 客戶見證 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card:before {
    content: """;
    font-size: 4rem;
    color: #e74c3c;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: #666;
    font-weight: bold;
}

/* 常見問題 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* 聯絡表單 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .vehicles-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 附加服務頁面專用樣式 ===== */

/* 服務卡片改進樣式 */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.service-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.service-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content p {
    color: var(--text-color-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* 服務特色列表 */
.service-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* 價格指示器 */
.price-indicator {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: auto;
    border: 2px solid #e9ecef;
}

.price {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.price-indicator p {
    color: var(--text-color-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 企業解決方案區域 */
.business-solutions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-info h3 {
    color: var(--text-color-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.solutions-info > p {
    color: var(--text-color-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* 優勢列表 */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    min-width: 60px;
    text-align: center;
}

.benefits-list h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.benefits-list p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 流程步驟 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bolder);
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    opacity: 0.3;
}

.process-step h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.process-step p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA 區域 */
.cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.cta .btn {
    background: #e74c3c;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.cta .btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
}

/* 響應式設計 */
@media (max-width: 992px) {
    .solutions-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solutions-image {
        order: -1;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-header {
        padding: 1.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .benefits-list li {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .service-header {
        padding: 1.25rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .cta {
        padding: 3rem 0;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.process-step,
.benefits-list li {
    animation: fadeInUp 0.6s ease forwards;
}

/* 延遲動畫 */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }


/* ===== 聯絡頁面專用樣式 ===== */

/* 按鈕變體 */
.btn-outline {
    background: transparent;
    border: 2px solid var(--bg-color-accent);
    color: var(--bg-color-accent);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--bg-color-accent);
    color: white;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* 預約表單區域 */
.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.form-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.booking-form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color-heading);
    font-weight: var(--font-weight-medium);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:invalid {
    border-color: #e74c3c;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 預約資訊區域 */
.booking-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.booking-info h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.booking-info > p {
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.info-text h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.25rem;
    font-weight: var(--font-weight-bold);
}

.info-text p {
    color: var(--text-color-secondary);
    margin: 0;
    line-height: 1.5;
}

/* 聯絡資訊區域 */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.contact-info > p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    min-width: 50px;
    text-align: center;
}

.contact-text h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.contact-text p {
    color: var(--text-color-secondary);
    margin: 0;
    font-size: 1.1rem;
}

/* 地圖容器 */
.map-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
}

/* 表單驗證樣式 */
.form-control:valid {
    border-color: #28a745;
}

.form-control:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

.required::after {
    content: " *";
    color: #e74c3c;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .booking-form,
    .booking-info,
    .contact-info {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .info-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-icon,
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .map-placeholder {
        height: 300px;
        font-size: 1rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .booking-form,
    .booking-info,
    .contact-info {
        padding: 1.25rem;
    }
    
    .form-header {
        padding: 1.25rem;
    }
    
    .contact {
        padding: 3rem 0;
    }
}

/* 動畫效果 */
.booking-form-container,
.booking-info,
.contact-info,
.map-container {
    animation: fadeInUp 0.6s ease forwards;
}

.booking-form-container { animation-delay: 0.1s; }
.booking-info { animation-delay: 0.2s; }
.contact-info { animation-delay: 0.3s; }
.map-container { animation-delay: 0.4s; }

/* 表單互動效果 */
.form-group {
    position: relative;
}

.form-group:focus-within label {
    color: #3498db;
    font-weight: var(--font-weight-bold);
}

/* 載入狀態 */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 表單成功狀態 */
.form-success .form-control {
    border-color: #28a745;
    background-color: #f8fff9;
}

/* 錯誤狀態 */
.form-error .form-control {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* ===== 5噸大型貨車出租頁面專用樣式 ===== */

/* 駕照提醒區塊 */
.license-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.license-notice h3 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.license-notice p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
}

/* 車輛詳細介紹 */
.vehicle-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.vehicle-image {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.vehicle-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.vehicle-specs {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.vehicle-specs h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.vehicle-specs > p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* 規格列表 */
.specs-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.specs-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.specs-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.specs-list li:last-child {
    border-bottom: none;
    font-weight: var(--font-weight-bold);
    color: #e74c3c;
}

/* 駕照要求區塊 */
.license-requirement {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #3498db;
}

.license-requirement h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.license-requirement p {
    color: #34495e;
    margin: 0;
    line-height: 1.6;
}

/* 價格資訊 */
.price-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
}

.price-range {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.price-info p {
    color: var(--text-color-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* 適用情境區域 */
.use-cases {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.case-card h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.case-card p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 駕照申請步驟 */
.license-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.license-info h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.license-info > p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.license-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.license-step {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.license-step:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.license-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-bolder);
    margin: 0 auto 1rem;
}

.license-step h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.license-step p {
    color: var(--text-color-secondary);
    margin: 0;
    line-height: 1.5;
}

/* 租賃方案選擇 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.option-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.option-card h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.option-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.option-card > p {
    color: var(--text-color-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.option-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
}

.option-features li {
    padding: 0.5rem 0;
    color: var(--text-color-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.option-features li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.option-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .vehicle-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .license-steps {
        grid-template-columns: 1fr;
    }
    
    .cases-grid,
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .vehicle-specs,
    .license-info,
    .case-card,
    .option-card {
        padding: 1.5rem;
    }
    
    .vehicle-image img {
        height: 300px;
    }
    
    .license-step {
        padding: 1.5rem 1rem;
    }
    
    .price-range {
        font-size: 1.3rem;
    }
    
    .option-price {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .vehicle-specs,
    .license-info,
    .case-card,
    .option-card {
        padding: 1.25rem;
    }
    
    .use-cases {
        padding: 3rem 0;
    }
    
    .cases-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .license-notice {
        padding: 1rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-detail,
.case-card,
.license-step,
.option-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* 延遲動畫 */
.vehicle-detail { animation-delay: 0.1s; }
.case-card:nth-child(1) { animation-delay: 0.2s; }
.case-card:nth-child(2) { animation-delay: 0.3s; }
.case-card:nth-child(3) { animation-delay: 0.4s; }
.license-step:nth-child(1) { animation-delay: 0.2s; }
.license-step:nth-child(2) { animation-delay: 0.3s; }
.license-step:nth-child(3) { animation-delay: 0.4s; }
.option-card:nth-child(1) { animation-delay: 0.2s; }
.option-card:nth-child(2) { animation-delay: 0.3s; }
.option-card:nth-child(3) { animation-delay: 0.4s; }

/* 特殊強調樣式 */
.highlight-license {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: var(--font-weight-bold);
    color: #856404;
}

/* 價格比較表格 */
.price-comparison {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.comparison-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.comparison-header h3 {
    color: white;
    margin: 0;
    font-weight: var(--font-weight-bold);
}

.comparison-content {
    padding: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    font-weight: var(--font-weight-bold);
    color: var(--text-color-heading);
}

.comparison-value {
    color: var(--text-color-secondary);
    text-align: center;
}

.comparison-value.highlight {
    color: #e74c3c;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
}
/* ===== 服務範圍與據點頁面專用樣式 ===== */

/* 位置資訊區域 */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.location-info h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.location-info > p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.location-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    min-width: 50px;
    text-align: center;
}

.detail-text h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.detail-text p {
    color: var(--text-color-secondary);
    margin: 0;
    font-size: 1.1rem;
}

/* 服務區域卡片 */
.service-areas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.area-card h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.priority-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
}

.area-card p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

.area-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.area-card li {
    padding: 0.5rem 0;
    color: var(--text-color-secondary);
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.area-card li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* 服務範圍詳情 */
.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.coverage-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.coverage-info h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.coverage-info > p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.coverage-list li:last-child {
    border-bottom: none;
}

.coverage-list strong {
    color: var(--text-color-heading);
    font-weight: var(--font-weight-bold);
}

/* 區域特色標籤 */
.region-tag {
    display: inline-block;
    background: #e8f4fd;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin: 0.25rem;
    border: 1px solid #3498db;
}

.region-tag.priority {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #856404;
    border-color: #f39c12;
}

.region-tag.main {
    background: linear-gradient(135deg, #d5f5e3 0%, #abebc6 100%);
    color: #186049;
    border-color: #27ae60;
}

.region-tag.extended {
    background: linear-gradient(135deg, #e8daef 0%, #d2b4de 100%);
    color: #6c3483;
    border-color: #8e44ad;
}

/* 服務優勢區塊 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.advantage-item h4 {
    color: var(--text-color-heading);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.advantage-item p {
    color: var(--text-color-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .location-content,
    .coverage-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .location-info,
    .coverage-info,
    .area-card {
        padding: 1.5rem;
    }
    
    .detail-item,
    .coverage-list li {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .detail-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .area-card h3 {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .location-info,
    .coverage-info,
    .area-card {
        padding: 1.25rem;
    }
    
    .service-areas {
        padding: 3rem 0;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .region-tag {
        display: block;
        margin: 0.5rem 0;
    }
}

/* 動畫效果 */
.location-content,
.areas-grid,
.coverage-content {
    animation: fadeInUp 0.6s ease forwards;
}

.location-content { animation-delay: 0.1s; }
.area-card:nth-child(1) { animation-delay: 0.2s; }
.area-card:nth-child(2) { animation-delay: 0.3s; }
.area-card:nth-child(3) { animation-delay: 0.4s; }
.coverage-content { animation-delay: 0.5s; }

/* 地圖容器改進 */
.map-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 400px;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    flex-direction: column;
    gap: 1rem;
}

.map-placeholder::before {
    content: '🗺️';
    font-size: 3rem;
}

/* 服務時間表 */
.schedule-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.schedule-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.schedule-header h3 {
    color: white;
    margin: 0;
    font-weight: var(--font-weight-bold);
}

.schedule-content {
    padding: 1.5rem;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-day {
    font-weight: var(--font-weight-bold);
    color: var(--text-color-heading);
}

.schedule-time {
    color: var(--text-color-secondary);
}

/* 緊急服務標示 */
.emergency-service {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    border-left: 4px solid #c0392b;
}

.emergency-service h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.emergency-service p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== 中型貨車頁面專用樣式 ===== */

/* 車輛比較區塊 */
.vehicle-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
}

.vehicle-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.vehicle-header h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.vehicle-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.vehicle-image {
    height: 250px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-specs {
    padding: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-color-secondary);
    font-weight: var(--font-weight-medium);
}

.spec-value {
    color: var(--text-color-heading);
    font-weight: var(--font-weight-bold);
}

.price-tag {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
    border: 2px solid #e9ecef;
}

.price {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.25rem;
}

.price-tag p {
    color: var(--text-color-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* 特色網格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.feature-card p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 變速系統選擇 */
.transmission-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.transmission-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transmission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.transmission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.15);
}

.transmission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.transmission-card h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.transmission-card p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.recommendation {
    background: #e8f4fd;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 4px solid #3498db;
}

.recommendation strong {
    color: #2c3e50;
}

/* 特殊強調樣式 */
.highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: var(--font-weight-bold);
    color: #856404;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .vehicle-comparison,
    .features-grid,
    .transmission-options {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card,
    .feature-card,
    .transmission-card {
        padding: 1.5rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-card,
.feature-card,
.transmission-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* 延遲動畫 */
.vehicle-card:nth-child(1) { animation-delay: 0.1s; }
.vehicle-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.transmission-card:nth-child(1) { animation-delay: 0.1s; }
.transmission-card:nth-child(2) { animation-delay: 0.2s; }


/* ===== 價格方案頁面專用樣式 ===== */

/* 價格計算器 */
.calculator {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin: 2rem 0;
}

.calculator h3 {
    color: var(--text-color-heading);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-result {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
    border: 2px solid #e9ecef;
    animation: fadeIn 0.5s ease;
}

.calculator-result h4 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.result-price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.calculator-result p {
    color: var(--text-color-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* 價格標籤頁 */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--text-color-heading);
    background: #f8f9fa;
}

.tab-btn.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* 價格表格 */
.pricing-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pricing-table th {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1.2rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    font-size: 1.1rem;
}

.pricing-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color-secondary);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: #f8f9fa;
}

.pricing-table .price {
    color: #e74c3c;
    font-weight: var(--font-weight-bolder);
    font-size: 1.2rem;
}

/* 折扣標籤 */
.discount-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    margin-left: 0.5rem;
    display: inline-block;
}

/* 常見問題區域 */
.faq {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-weight-bold);
    color: var(--text-color-heading);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question span:last-child {
    font-size: 1.2rem;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question span:last-child {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 注意事項框 */
.notice-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.notice-box h4 {
    color: #856404;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.notice-box p {
    color: #856404;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.notice-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.notice-box li {
    color: #856404;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.notice-box strong {
    color: #856404;
}

/* 動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .calculator {
        padding: 1.5rem;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .pricing-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: #e74c3c;
        border-bottom-color: #e9ecef;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .result-price {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .calculator {
        padding: 1.25rem;
    }
    
    .pricing-table {
        display: block;
        overflow-x: auto;
    }
    
    .tab-btn {
        font-size: 1rem;
        padding: 0.7rem 0.8rem;
    }
    
    .notice-box {
        padding: 1.5rem;
    }
}

/* 特殊價格標示 */
.price-comparison {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-header h3 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.comparison-item:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.comparison-item h4 {
    color: var(--text-color-heading);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.comparison-price {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bolder);
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.comparison-savings {
    color: #27ae60;
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
}

/* 價格趨勢指示器 */
.trend-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    margin-left: 0.5rem;
}

.trend-up {
    background: #ffeaa7;
    color: #856404;
}

.trend-down {
    background: #d5f5e3;
    color: #186049;
}

.trend-stable {
    background: #e8f4fd;
    color: #2c3e50;
}

/* 價格保證標章 */
.price-guarantee {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.price-guarantee::before {
    content: '✓';
    font-size: 1.5rem;
    font-weight: var(--font-weight-bolder);
}

.price-guarantee p {
    margin: 0;
    font-weight: var(--font-weight-bold);
}

/* 推薦方案標示 */
.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    transform: rotate(5deg);
}

.recommended-card {
    position: relative;
    border: 2px solid #e74c3c !important;
    transform: scale(1.05);
    z-index: 2;
}

/* 價格區間顯示器 */
.price-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.range-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bdc3c7;
}

.range-dot.active {
    background: #e74c3c;
    transform: scale(1.3);
}

.range-label {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

/* 價格比較圖表 */
.price-chart {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 200px;
    margin: 2rem 0;
    gap: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #3498db, #2c3e50);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    transform: scaleY(1.05);
}

.chart-label {
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

.chart-value {
    position: absolute;
    top: -2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: var(--font-weight-bold);
    color: var(--text-color-heading);
}

