:root {
    --bg-white: #FFFFFF;
    --bg-ivory: #FDFCF9;
    --bg-dark: #121A21;
    --accent-gold: #C5A059;
    --accent-gold-light: #E0C18E;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --border-color: rgba(0, 0, 0, 0.08);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全域 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans TC', sans-serif; line-height: 1.8; color: var(--text-main); background-color: var(--bg-white); }
h1, h2, h3 { font-family: 'Noto Serif TC', serif; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.centered { text-align: center; }
.section { padding: 100px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; }
.gray-bg { background-color: var(--bg-ivory); }

/* Hero - 針對您的要求進行比例調整 */
.hero { 
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    background: linear-gradient(135deg, #FDFCF9 0%, #F5F2EA 100%); 
    padding: 60px 0; 
}

.hero-container { 
    display: flex; 
    align-items: center; 
    gap: 60px; /* 增加文字與圖片的間距 */
    width: 100%; 
    max-width: 1200px; /* 限制最大寬度，防止貼牆 */
    margin: 0 auto; /* 水平置中 */
    padding: 0 40px; 
}

.hero-content { 
    flex: 1.2; /* 讓文字佔比稍微大一點 */
}

.hero-image { 
    flex: 1; 
    display: flex; 
    justify-content: center; /* 圖片在自己的空間位置中 */
}

.image-frame img { 
    width: 100%; 
    max-width: 480px; /* 放大照片尺寸，取得視覺平衡 */
    border-radius: 4px; 
    box-shadow: 20px -20px 0px var(--accent-gold); 
}

/* 以下區塊樣式完全維持您的原始設定 */
.main-badge { margin-bottom: 30px; }
.certified-seal { display: inline-flex; flex-direction: column; border-left: 3px solid var(--accent-gold); padding-left: 20px; }
.jp-seal { font-size: 24px; color: var(--accent-gold); letter-spacing: 2px; }
.en-seal { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--text-muted); letter-spacing: 4px; text-transform: uppercase; }
.seal-desc { font-size: 13px; color: var(--accent-gold); margin-top: 8px; font-weight: 700; }

.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; color: var(--bg-dark); }
.accent-text { color: var(--accent-gold); }
.hero-p-wrapper { border-left: 1px solid rgba(197, 160, 89, 0.3); padding-left: 20px; margin-bottom: 40px; }
.hero-p { font-size: 18px; color: var(--text-muted); }
.highlight-p-small { font-weight: 700 !important; color: var(--bg-dark) !important; margin-top: 10px; }

/* 歷程卡片 */
.path-section { background-color: #FDFCF9; }
.path-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin-top: 50px; }
.path-card { background: white; padding: 40px 30px; border: 1px solid var(--border-color); position: relative; }
.path-tag { display: inline-block; background: var(--accent-gold); color: white; font-size: 11px; padding: 2px 10px; margin-bottom: 15px; letter-spacing: 1px; }
.path-card h3 { font-size: 20px; margin-bottom: 10px; }
.path-card h3 span { color: var(--accent-gold); font-size: 16px; }
.path-card p { font-size: 15px; color: var(--text-muted); }

/* 大橫幅 (國家認證 & 證照實力) */
.huge-banner { background: #0A0F14; color: white; padding: 100px 0; text-align: center; border-top: 1px solid var(--accent-gold); border-bottom: 1px solid var(--accent-gold); }
.huge-title { font-size: 2.8rem; color: var(--accent-gold); margin-bottom: 25px; }
.huge-banner p { font-size: 1.1rem; max-width: 850px; margin: 0 auto; opacity: 0.8; font-weight: 300; }

.stats-large-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.stat-num-lg { display: block; font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--accent-gold); margin-bottom: 15px; font-weight: 700; }
.stat-desc-lg { color: white; font-size: 1.1rem; opacity: 0.8; }

/* 教學特色卡片 */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-top: 50px; }
.choice-card { background: white; padding: 45px 30px; border: 1px solid var(--border-color); transition: 0.3s; }
.choice-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.05); }
.card-icon { font-size: 36px; margin-bottom: 20px; }

/* 好評與課程 - 統一金色字體並維持排版 */
.review-box { max-width: 900px; margin: 40px auto 0; background: white; border: 1px solid var(--border-color); }
summary { padding: 25px; cursor: pointer; list-style: none; }
.summary-content { display: flex; justify-content: space-between; align-items: center; color: var(--accent-gold); } /* 標題設為金色 */
.summary-content strong { font-weight: 700; }
.click-hint { font-size: 13px; color: var(--accent-gold); font-weight: 700; } /* 提示字設為金色 */
.review-gallery { padding: 25px; display: flex; flex-direction: column; gap: 20px; background: #FAF9F6; }
.review-gallery img { width: 100%; border-radius: 4px; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 50px; }
.course-box { padding: 35px; border: 1px solid var(--border-color); background: white; }
.course-box.featured { border: 2px solid var(--accent-gold); background: #FFFEFA; }
.course-header { font-size: 20px; font-weight: 700; color: var(--bg-dark); margin-bottom: 12px; }

/* Footer */
.footer { padding: 100px 0 60px; background-color: var(--bg-ivory); text-align: center; }
.footer-p { color: var(--text-muted); margin-bottom: 40px; }
.footer-btns { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; }
.btn { display: inline-block; padding: 16px 30px; font-weight: 700; text-decoration: none; transition: var(--transition); font-size: 14px; border-radius: 2px; }
.btn-gold { background-color: var(--bg-dark); color: var(--accent-gold-light); border: 1px solid var(--accent-gold-light); }
.btn-gold:hover { background-color: var(--accent-gold); color: white; }
.btn-outline { border: 1px solid var(--bg-dark); color: var(--bg-dark); margin-left: 15px; }
.btn-outline:hover { background-color: var(--bg-dark); color: white; }
.btn-preply { border: 1px solid #333; color: #333; }
.btn-preply:hover { background: #333; color: white; }
.copyright { font-size: 11px; color: #999; letter-spacing: 2px; margin-top: 20px; }

/* 響應式 */
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; gap: 30px; padding: 0 20px; }
    .hero-content { margin-left: 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image { order: -1; }
    .stats-large-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-btns { flex-direction: column; align-items: center; }
    .btn-outline { margin-left: 0; margin-top: 10px; width: 100%; }
}