/* --- 基礎共用設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    scroll-behavior: smooth;
}
body { background: #fff; color: #333; line-height: 1.6; font-size: 16px; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.flex-row { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.section-title { text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 40px; color: #111; }

/* --- Google 品牌配色變數 --- */
.g-blue { color: #4285F4; } .g-red { color: #EA4335; } .g-yellow { color: #FBBC05; } .g-green { color: #34A853; }
.text-blue { color: #0066ff; }

/* --- 1. 導覽列 Navbar --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 5%; border-bottom: 1px solid #eee; position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); z-index: 1000; }
.logo img { height: 35px; display: block; }
.nav-links a { text-decoration: none; color: #555; margin: 0 12px; font-size: 16px; font-weight: 600; }
.nav-links a:hover { color: #0066ff; }
.nav-buttons { display: flex; gap: 10px; }
.btn-line { text-decoration: none; color: #06C755; border: 1px solid #06C755; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 800; }
.btn-primary-sm { text-decoration: none; background: #0066ff; color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 800; }

/* --- 2. 主視覺區塊 Hero --- */
.hero-section { padding: 64px 0; background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%); position: relative; overflow: hidden; }
.hero-section::before {
    content: "";
    position: absolute;
    inset: -200px -200px auto -200px;
    height: 700px;
    background:
        radial-gradient(circle at 20% 30%, rgba(66,133,244,0.18) 0 120px, rgba(66,133,244,0) 121px),
        radial-gradient(circle at 55% 25%, rgba(52,168,83,0.14) 0 140px, rgba(52,168,83,0) 141px),
        radial-gradient(circle at 80% 40%, rgba(251,188,5,0.16) 0 120px, rgba(251,188,5,0) 121px),
        radial-gradient(circle at 70% 75%, rgba(234,67,53,0.12) 0 160px, rgba(234,67,53,0) 161px);
    pointer-events: none;
}
.hero-left { flex: 1; position: relative; z-index: 1; }
.hero-right { flex: 1.05; position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.hero-right img { width: 860px; max-width: 100%; height: auto; transform: translateX(20px); }
.brand-tag { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.hero-left h1 { font-size: 68px; line-height: 1.08; margin-bottom: 14px; font-weight: 900; letter-spacing: -0.03em; }
.hero-sub { font-size: 22px; color: #666; margin-bottom: 18px; }
.ticks-group { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ticks-group span { background: #fff; padding: 8px 16px; border-radius: 999px; border: 1px solid #e0e0e0; font-size: 16px; font-weight: 700; }
.cta-group { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.btn-green-lg { text-decoration: none; background: #28a745; color: #fff; padding: 16px 30px; border-radius: 30px; font-size: 18px; font-weight: bold; box-shadow: 0 4px 12px rgba(40,167,69,0.2); }
.btn-outline-blue { text-decoration: none; border: 2px solid #0066ff; color: #0066ff; padding: 14px 28px; border-radius: 30px; font-size: 18px; font-weight: bold; }
.hero-notes { display: flex; gap: 18px; font-size: 14px; color: #8a8a8a; flex-wrap: wrap; }

/* --- 3. 3步驟完成預約 --- */
.steps-section { padding: 70px 0; background: #fff; }
.step-card { background: #f8fafc; padding: 30px 20px; text-align: center; border-radius: 8px; position: relative; border: 1px solid #edf2f7; }
.step-num { position: absolute; top: 15px; left: 15px; background: #0066ff; color: #fff; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.step-icon { font-size: 40px; margin-bottom: 15px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; color: #2d3748; }
.step-card p { font-size: 14px; color: #718096; }

/* --- 4. 為什麼選擇 Google 預約 --- */
.advantages-section { padding: 70px 0; background: #fcfdfe; }
.adv-card { padding: 25px; border-radius: 8px; border-top: 5px solid #ccc; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.adv-card h3 { font-size: 18px; margin-bottom: 15px; }
.adv-card p { font-size: 14px; color: #555; line-height: 1.8; }
.adv-blue { border-top-color: #4285F4; }
.adv-green { border-top-color: #34A853; }
.adv-purple { border-top-color: #9b5de5; }
.adv-orange { border-top-color: #FBBC05; }

/* --- 5. 一站式管理平台 --- */
.dashboard-section { padding: 70px 0; background: #fff; }
.dash-left { flex: 1.3; }
.dash-left img { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 8px; }
.dash-right { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.dash-item { display: flex; gap: 15px; align-items: flex-start; background: #f8fafc; padding: 15px; border-radius: 6px; }
.dash-icon { font-size: 24px; background: #e2e8f0; padding: 8px; border-radius: 6px; }
.dash-item h3 { font-size: 16px; margin-bottom: 2px; }
.dash-item p { font-size: 13px; color: #666; }

/* --- 6. 適用各行各業 --- */
.industry-section { padding: 70px 0; background: #f8fafc; }
.ind-box { background: #fff; padding: 20px; text-align: center; border-radius: 8px; border: 1px solid #e2e8f0; }
.ind-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 10px; color: white; }
.bg-blue { background: #4285F4; } .bg-pink { background: #ec4899; } .bg-green { background: #10b981; } .bg-purple { background: #a855f7; } .bg-cyan { background: #06b6d4; } .bg-orange { background: #f97316; }
.ind-box p { font-size: 15px; font-weight: bold; }

/* --- 7. 數據成效 --- */
.stats-section { background: #0052cc; color: white; padding: 5px 0; text-align: center; }
.stat-box h2 { font-size: 40px; font-weight: 800; margin-bottom: 5px; }
.stat-box p { font-size: 14px; opacity: 0.9; }

/* --- 8. 客戶見證 --- */
.testimonials-section { padding: 70px 0; background: #fff; }
.review-card { background: #f8fafc; padding: 25px; border-radius: 8px; border: 1px solid #edf2f7; }
.stars { color: #FBBC05; font-size: 18px; margin-bottom: 10px; }
.review-card p { font-size: 14px; color: #4a5568; font-style: italic; margin-bottom: 15px; }
.review-card h4 { font-size: 14px; color: #2d3748; }

/* --- 9. 常見問題 FAQ --- */
.faq-section { padding: 70px 0; background: #fdfdfd; }
.faq-container { max-width: 800px; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; transition: background 0.2s; }
.faq-question:hover { background: #f7fafc; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fcfcfc; }
.faq-answer p { padding: 15px 20px; font-size: 14px; color: #555; border-top: 1px solid #edf2f7; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .arrow-icon { transform: rotate(45deg); color: #dc3545; }
.arrow-icon { font-size: 18px; transition: transform 0.2s; color: #0066ff; }

/* --- 10. 底部綠色大 Banner --- */
.bottom-cta { background: #00b074; color: white; text-align: center; padding: 60px 20px; }
.bottom-cta h2 { font-size: 36px; margin-bottom: 10px; }
.bottom-cta p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }
.btn-white { text-decoration: none; background: white; color: #00b074; padding: 14px 35px; border-radius: 30px; font-size: 18px; font-weight: bold; display: inline-block; margin-bottom: 15px; }
.sub-note { display: block; font-size: 12px; opacity: 0.8; }

/* --- 11. 黑色頁尾 Footer --- */
.footer { background: #1a1a1a; color: #999; padding: 50px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 30px; }
.footer h3 { color: white; font-size: 16px; margin-bottom: 15px; }
.footer p { line-height: 1.8; }
.footer-bottom { text-align: center; margin-top: 20px; font-size: 12px; }

/* --- 💻 RWD 手機版自動響應優化 (螢幕小於 768px 時自動變單欄) --- */
@media (max-width: 768px) {
    .flex-row { flex-direction: column; text-align: center; }
    .grid-4, .grid-3, .grid-6, .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-left h1 { font-size: 40px; }
    .ticks-group, .cta-group, .hero-notes { justify-content: center; flex-wrap: wrap; }
    .logo img { margin: 0 auto; }
    .navbar { flex-direction: column; gap: 15px; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero-section { padding: 56px 0; }
    .hero-right { justify-content: center; }
    .hero-right img { transform: none; width: 100%; }
}
