/* 全局樣式 */
:root {
    --primary-color: #8BC34A;  /* 萊姆綠 */
    --primary-dark: #689F38;
    --primary-light: #DCEDC8;
    --accent-color: #FF9800;  /* 橙色強調 */
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #F9F9F9;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 按鈕樣式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* 頁頭 */
header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* 英雄區塊 */
.hero {
    padding: 80px 0;
    background-color: var(--background-light);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 功能區塊 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 使用方式區塊 */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background-light);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.step img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 示範區塊 */
.demo {
    padding: 80px 0;
    background-color: var(--white);
}

.demo h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.demo-video {
    text-align: center;
}

.demo-video iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* FAQ區塊 */
.faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

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

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 用戶回饋區塊 */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: #8BC34A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
}

.testimonial-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: #FFC107;
    font-size: 18px;
    letter-spacing: 2px;
}

.star {
    display: inline-block;
}

/* 標題樣式 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

/* 頁尾 */
footer {
    padding: 60px 0 20px;
    background-color: var(--text-dark);
    color: var(--white);
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    nav {
        display: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
