/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft JhengHei", "微軟正黑體", "Heiti TC", "黑體-繁", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 促銷橫幅樣式 */
.promo-banner {
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.promo-banner p {
    margin: 0;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% { background-color: #ff6b6b; }
    50% { background-color: #ff8e8e; }
    100% { background-color: #ff6b6b; }
}

/* 頭部樣式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #1a73e8;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #1a73e8;
}

/* 英雄區域樣式 */
.hero {
    background: linear-gradient(135deg, #1a73e8, #6c5ce7);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #1a73e8;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 特點區域樣式 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.feature-box {
    flex-basis: 30%;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 行動召喚區域樣式 */
.cta {
    background-color: #f0f4f8;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: #1a73e8;
    color: white;
}

.cta .btn:hover {
    background-color: #0d62d0;
}

/* 頁腳樣式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ddd;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* 安全保障區域樣式 */
.safety-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.8rem;
}

.safety-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.safety-feature {
    flex-basis: 30%;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.safety-feature:hover {
    transform: translateY(-5px);
}

.safety-feature h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

/* 客戶反饋區域樣式 */
.testimonial-section {
    padding: 60px 0;
    background-color: #fff;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    flex-basis: 48%;
    background-color: #f0f4f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    position: relative;
}

.testimonial p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
}

.testimonial:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: 10px;
    top: -10px;
    color: #ddd;
    font-family: serif;
}

/* 響應式設計 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .feature-boxes {
        flex-direction: column;
    }
    
    .feature-box {
        flex-basis: 100%;
    }
    }
    
    .feature-box {
        flex-basis: 100%;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}