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

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

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

/* 頭部樣式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-title {
    font-size: 2em;
    color: white;
    font-weight: bold;
    padding: 0 20px;
}

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 導航欄佔位符 */
.nav-placeholder {
    display: none;
}

.nav-placeholder.active {
    display: none;
}

/* Wallpaper Banner */
.wallpaper-banner {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center center;
    background-attachment: local;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.wallpaper-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.wallpaper-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.wallpaper-overlay h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out;
}

.wallpaper-overlay p {
    font-size: 1.3em;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

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

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

nav a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

nav a.active {
    background: rgba(255,255,255,0.4);
    font-weight: bold;
}

/* 主要內容 */
main {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* 統一的 Section 樣式 */
section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

section h2 {
    color: #667eea;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

section h3 {
    color: #667eea;
    font-size: 1.5em;
    margin: 30px 0 20px 0;
    text-align: center;
}

/* 通知提示框 */
.notice {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1976d2;
}

/* 電腦端表格樣式 */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.price-table.desktop {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-table.desktop thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.price-table.desktop th,
.price-table.desktop td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.price-table.desktop tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.price-table.desktop tbody tr:hover {
    background: #f0f0f0;
    transition: background 0.3s;
}

.price-table.desktop td:first-child {
    font-weight: bold;
    text-align: left;
}

/* 移動端卡片樣式 */
.mobile-cards {
    display: grid;
    gap: 20px;
}

.price-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.2em;
    margin: 0;
    color: white;
    text-align: left;
}

.year {
    font-size: 0.9em;
    opacity: 0.9;
}

.card-body {
    padding: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.price-item .label {
    color: #666;
    font-size: 0.95em;
}

.price-item .price {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1em;
}

/* 服務說明區塊樣式 */
.service-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.service-info h2 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    color: #667eea;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.info-content ul,
.info-content ol {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.info-content ul {
    list-style-type: disc;
}

.info-content ol {
    list-style-type: decimal;
}

.info-content li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #666;
}

.info-content strong {
    color: #667eea;
    font-weight: bold;
}

/* 服務說明內的聯絡CTA */
.service-info .contact-cta {
    margin: 40px 0 0 0;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.service-info .contact-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: white;
}

.service-info .contact-cta p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.95;
}

.service-info .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 通用卡片樣式 */
.info-card,
.service-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.info-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.service-card {
    text-decoration: none;
    color: #333;
    padding: 30px;
}

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

.info-icon,
.service-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.info-card h3,
.service-card h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 1em;
}

/* 網格佈局 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* 按鈕樣式 */
.category-btn,
.open-map-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
}

.category-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.open-map-btn {
    padding: 12px 30px;
}

.open-map-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.ipad-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 聯絡頁面特定樣式 */
.contact-person {
    color: #667eea;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s;
    flex: 1;
    min-width: 140px;
    cursor: pointer;
}

.contact-link.phone {
    background: #667eea;
}

.contact-link.phone:hover {
    background: #5568d3;
    transform: scale(1.05);
}

.contact-link.whatsapp {
    background: #25D366;
}

.contact-link.whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.05);
}

.address,
.hours {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.map-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.map-link:hover {
    background: #667eea;
    color: white;
}

/* Google 地圖 */
.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.map-split {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-image {
    flex: 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-embed {
    flex: 1;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* 交通指引 */
.transport-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
}

.transport-info h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    color: white;
}

.transport-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.transport-card strong {
    display: block;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.transport-card p {
    font-size: 1em;
    line-height: 1.6;
}

/* 首頁特定樣式 */
.welcome-card > p {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* 頁腳 */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #667eea;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9em;
}

/* 響應式設計 */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        height: 500px;
    }
    
    .wallpaper-banner {
        height: 250px;
    }
    
    .wallpaper-overlay h1 {
        font-size: 2.5em;
    }
    
    .wallpaper-overlay p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.5em;
    }
    
    nav {
        justify-content: center;
    }
    
    .wallpaper-banner {
        height: 250px;
        min-height: 250px;
    }
    
    .wallpaper-overlay h1 {
        font-size: 2.2em;
    }
    
    .wallpaper-overlay p {
        font-size: 1.1em;
    }
    
    section {
        padding: 25px;
    }
    
    section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    section h3 {
        font-size: 1.3em;
    }
    
    .price-table.desktop {
        font-size: 0.9em;
    }
    
    .price-table.desktop th,
    .price-table.desktop td {
        padding: 10px 5px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card,
    .info-card {
        padding: 20px;
    }
    
    .service-icon,
    .info-icon {
        font-size: 2.5em;
    }
    
    .contact-link {
        font-size: 1em;
        padding: 10px 16px;
        min-width: 120px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    .welcome-card > p {
        font-size: 1em;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-section:nth-child(3) {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-section:nth-child(1),
    .footer-section:nth-child(2) {
        text-align: center;
    }
    
    .service-info {
        padding: 25px;
    }
    
    .service-info .contact-cta {
        padding: 25px;
    }
    
    .service-info .cta-buttons {
        flex-direction: column;
    }
    
    .service-info .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .wallpaper-banner {
        height: 220px;
        min-height: 220px;
    }
    
    .wallpaper-overlay {
        padding: 20px 15px;
    }
    
    .wallpaper-overlay h1 {
        font-size: 1.8em;
        margin-bottom: 12px;
    }
    
    .wallpaper-overlay p {
        font-size: 1em;
    }
    
    section {
        padding: 20px;
    }
    
    section h2 {
        font-size: 1.5em;
    }
    
    nav a {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .info-card h3,
    .service-card h3 {
        font-size: 1.1em;
    }
    
    .contact-link {
        font-size: 0.95em;
        padding: 8px 12px;
    }
    
    .address,
    .hours {
        font-size: 1em;
    }
    
    .service-info {
        padding: 20px;
    }
    
    .service-info h2 {
        font-size: 1.5em;
    }
    
    .info-content h3 {
        font-size: 1.2em;
    }
    
    .info-content p,
    .info-content li {
        font-size: 1em;
    }
    
    .service-info .contact-cta {
        padding: 20px;
    }
    
    .service-info .contact-cta h3 {
        font-size: 1.4em;
    }
    
    .service-info .contact-cta p {
        font-size: 1em;
    }
}


/* 關於我們頁面樣式 */
.about-section {
    max-width: 1000px;
    margin: 20px auto 0 auto;
}

/* 特色網格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

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

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #667eea;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 為什麼選擇我們 */
.why-choose {
    margin: 60px 0;
}

.why-choose > h3 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

.reason-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.reason-item:hover {
    background: #f0f0f0;
    transform: translateX(10px);
}

.reason-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.reason-content h4 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.reason-content p {
    color: #666;
    line-height: 1.8;
}

/* 維修流程 */
.process-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.process-section h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 25px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: white;
}

.step p {
    font-size: 0.95em;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2em;
    color: white;
    font-weight: bold;
}

/* 注意事項 */
.notice-box {
    margin: 40px 0;
    padding: 30px;
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    border-radius: 10px;
}

.notice-box h3 {
    color: #856404;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: left;
}

.notice-box ul {
    list-style: none;
    padding: 0;
}

.notice-box li {
    padding: 10px 0;
    color: #856404;
    font-size: 1.05em;
    line-height: 1.8;
}

/* 服務承諾 */
.commitment {
    margin: 60px 0;
}

.commitment h3 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.commitment-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.commitment-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.commitment-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.commitment-item p {
    color: #333;
    font-weight: bold;
    line-height: 1.8;
}

/* 聯絡CTA */
.contact-cta {
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.contact-cta h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
}

.contact-cta > p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn.phone {
    background: #667eea;
    color: white;
}

.cta-btn.location {
    background: #ff6b6b;
    color: white;
}

/* 響應式設計 - 關於頁面 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-number {
        margin: 0 auto 15px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
}


/* 浮動聯絡按鈕 */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.floating-btn.active {
    background: #764ba2;
}

.btn-icon {
    font-size: 1.3em;
    animation: pulse 2s infinite;
}

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

.btn-text {
    white-space: nowrap;
}

/* 聯絡菜單 */
.contact-menu {
    position: absolute;
    bottom: 80px;
    right: 10px;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.contact-menu-header h4 {
    margin: 0;
    font-size: 1.2em;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 聯絡選項 */
.contact-options {
    padding: 15px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.option-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.option-content strong {
    color: #667eea;
    font-size: 1.05em;
}

.option-content span {
    color: #666;
    font-size: 0.9em;
}

.contact-option.phone:hover {
    background: #e3f2fd;
}

.contact-option.whatsapp:hover {
    background: #e8f5e9;
}

.contact-option.location:hover {
    background: #fff3e0;
}

/* 聯絡資訊底部 */
.contact-info-footer {
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 0 0 15px 15px;
    border-top: 1px solid #eee;
}

.contact-info-footer p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
    text-align: center;
}

/* 響應式設計 - 浮動按鈕 */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .btn-text {
        display: none;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .btn-icon {
        font-size: 1.8em;
    }
    
    .contact-menu {
        width: 280px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .contact-menu {
        width: calc(100vw - 30px);
        right: 10px;
        max-width: 320px;
    }
}


/* 首頁額外樣式 */

/* 為什麼選擇我們 */
.why-us-section {
    margin-top: 20px;
}

.why-us-content > p {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.advantage-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.advantage-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/* 服務詳情 */
.services-detail {
    margin-top: 20px;
}

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

.service-detail-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.service-detail-card:hover {
    background: #f3f3f3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.service-detail-card h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-detail-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.detail-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.detail-link:hover {
    color: #764ba2;
}

/* 常見問題 */
.faq-section {
    margin-top: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-item h3 {
    color: #667eea;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* 聯絡資訊區塊 */
.contact-info-section {
    margin-top: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-info-section h2 {
    color: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.info-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.info-box h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: white;
}

.info-box p {
    font-size: 1.1em;
    line-height: 1.8;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

.cta-section > p {
    font-size: 1.2em;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-buttons-home {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-home {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn-home.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn-home.phone {
    background: #667eea;
    color: white;
}

/* SEO 內容 */
.seo-content {
    margin-top: 20px;
    background: #f9f9f9;
}

.seo-text {
    max-width: 900px;
    margin: 0 auto;
}

.seo-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05em;
}

/* 響應式設計 - 首頁 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-home {
        flex-direction: column;
    }
    
    .cta-btn-home {
        width: 100%;
    }
    
    .seo-text p {
        text-align: left;
    }
}


/* Android 頁面樣式 */
.android-intro {
    text-align: center;
    margin-bottom: 50px;
}

.android-intro > p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.brand-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

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

.brand-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.brand-card h3 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.brand-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95em;
}

.service-types {
    margin: 60px 0;
}

.service-types h3 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

.service-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-type-card {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-type-card:hover {
    background: white;
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.service-type-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.service-type-card h4 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-type-card p {
    color: #666;
    line-height: 1.8;
}

.inquiry-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    margin: 60px 0;
}

.inquiry-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.inquiry-notice h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.inquiry-notice > p {
    font-size: 1.3em;
    margin-bottom: 15px;
    opacity: 0.95;
}

.inquiry-notice .highlight {
    font-size: 1.5em;
    font-weight: bold;
    margin: 25px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.inquiry-info {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
    backdrop-filter: blur(10px);
}

.inquiry-info > p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.inquiry-info li {
    font-size: 1.1em;
    padding: 10px 0;
    line-height: 1.8;
}

.inquiry-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.inquiry-btn {
    display: inline-block;
    padding: 20px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s;
    min-width: 200px;
    cursor: pointer;
}

.inquiry-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.inquiry-btn.phone {
    background: white;
    color: #667eea;
}

.inquiry-btn.whatsapp {
    background: #25D366;
    color: white;
}

.inquiry-btn span {
    display: block;
    font-size: 1.1em;
    margin-top: 5px;
}

.android-features {
    margin: 60px 0;
}

.android-features h3 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-item:hover {
    background: #f0f0f0;
    transform: translateX(10px);
}

.feature-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.feature-text h4 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.feature-text p {
    color: #666;
    line-height: 1.8;
}

.contact-cta-android {
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.contact-cta-android h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
}

.contact-cta-android > p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 響應式設計 - Android 頁面 */
@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inquiry-notice {
        padding: 30px 20px;
    }
    
    .inquiry-notice h3 {
        font-size: 1.8em;
    }
    
    .inquiry-notice > p {
        font-size: 1.1em;
    }
    
    .inquiry-notice .highlight {
        font-size: 1.2em;
    }
    
    .inquiry-buttons {
        flex-direction: column;
    }
    
    .inquiry-btn {
        width: 100%;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-number {
        margin: 0 auto 15px;
    }
    
    .contact-cta-android {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .inquiry-icon {
        font-size: 3em;
    }
    
    .inquiry-notice h3 {
        font-size: 1.5em;
    }
}
