/* ===================================
   SEO優化主題 - 專業可信賴設計
   =================================== */

:root {
    --primary-red: #E60012;
    --dark-red: #B00000;
    --trust-blue: #1E88E5;
    --success-green: #4CAF50;
    --warning-orange: #FF9800;
    --black: #212121;
    --dark-gray: #424242;
    --medium-gray: #616161;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

/* Hero 區域 - 信任建立 */
.hero {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F5F5F5 100%);
    padding: 100px 0 80px;
    position: relative;
}

.hero-shapes {
    display: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 20px;
}

.hero-title strong {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 信任標誌 */
.trust-badges {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--dark-gray);
}

.trust-badge i {
    color: var(--success-green);
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 18, 0.4);
}

.hero-buttons .btn-outline {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.hero-buttons .btn-outline:hover {
    background: var(--primary-red);
    color: white;
}

/* 評價星級 */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--dark-gray);
}

.stars {
    color: var(--warning-orange);
}

/* 關鍵詞優化區塊 */
.seo-keywords {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #E0E0E0;
}

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

.keyword-item {
    text-align: center;
}

.keyword-item h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 10px;
}

.keyword-item p {
    color: var(--medium-gray);
    font-size: 16px;
}

/* 特色區域 - 結構化數據友好 */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.feature-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 12px;
}

.feature-item:nth-child(1) .feature-icon {
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
}

.feature-item:nth-child(2) .feature-icon {
    background: rgba(30, 136, 229, 0.1);
    color: var(--trust-blue);
}

.feature-item:nth-child(3) .feature-icon {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
}

.feature-desc {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* 統計數據 - 建立權威 */
.stats {
    background: var(--primary-red);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 課程介紹 - 內容豐富 */
.courses {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.course-card {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.course-header {
    background: var(--light-gray);
    padding: 30px;
    text-align: center;
}

.course-icon {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.course-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.course-price {
    font-size: 16px;
    color: var(--primary-red);
    font-weight: 500;
}

.course-content {
    padding: 30px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.course-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--dark-gray);
    font-size: 16px;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 18px;
}

.course-card .btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.course-card .btn:hover {
    background: var(--dark-red);
}

/* 導師團隊 - 建立信任 */
.instructors {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.instructor-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.instructor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    position: relative;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-verified {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--success-green);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.instructor-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
}

.instructor-title {
    color: var(--primary-red);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.instructor-desc {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.instructor-stat {
    text-align: center;
}

.instructor-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.instructor-stat-label {
    font-size: 12px;
    color: var(--medium-gray);
}

.instructor-card .btn {
    background: #25D366;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instructor-card .btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* FAQ 區域 - SEO重要 */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--black);
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background: var(--light-gray);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #EEEEEE;
}

.faq-answer {
    padding: 20px 25px;
    color: var(--dark-gray);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA 區域 - 行動號召 */
.cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.cta-feature i {
    font-size: 24px;
}

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

.cta-buttons .btn {
    background: white;
    color: var(--primary-red);
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

/* 導航欄優化 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-cta {
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
}

.nav-cta:hover {
    background: var(--dark-red);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}
