/* ==========================================================================
   全域變數與重設 (Variables & Reset)
   ========================================================================== */
:root {
    /* 色彩系統 - 採用現代感深色運動風 */
    --primary-color: #ff6b00;      /* 能量亮橘色 */
    --primary-hover: #e05e00;      /* 亮橘懸停色 */
    --bg-dark: #0f0f12;            /* 深黑色背景 */
    --bg-card: #1a1a20;            /* 卡片深灰背景 */
    --bg-glass: rgba(26, 26, 32, 0.75); /* 磨砂玻璃半透明底色 */
    --text-white: #ffffff;         /* 主文字白色 */
    --text-muted: #a0a0b0;         /* 次要文字淡灰 */
    --border-color: rgba(255, 255, 255, 0.08); /* 邊框細線 */
    --accent-glow: rgba(255, 107, 0, 0.15);  /* 橘色光暈 */

    /* 字型系統 */
    --font-main: 'Noto Sans TC', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;

    /* 卡片陰影與圓角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(255, 107, 0, 0.1);
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基礎重設 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* 平滑滾動 */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器設定 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* 按鈕樣式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    display: width;
    width: 100%;
}

/* 區塊基本設定 */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

/* ==========================================================================
   導覽列樣式 (Header & Navigation)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px); /* 磨砂玻璃效果 */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   首頁英雄區 (Hero Section)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1517838277536-f5f99be501cd?q=80&w=1200');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 視差滾動效果 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 15, 18, 0.95) 40%, rgba(15, 15, 18, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), #ff9e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   健身核心類型 (Types Section)
   ========================================================================== */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.type-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.type-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.type-card:hover .card-img {
    transform: scale(1.1); /* 滑鼠懸停圖片放大 */
}

.card-icon {
    position: absolute;
    bottom: -20px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.card-body {
    padding: 40px 24px 30px;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    height: 72px; /* 固定高度保持卡片對齊 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.card-features li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-features li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* ==========================================================================
   經典三大動作區塊 (Movements Section)
   ========================================================================== */
.movements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.movement-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.movement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.movement-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.movement-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.movement-card:hover .movement-img {
    transform: scale(1.08);
}

.movement-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(15, 15, 18, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.movement-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.movement-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.movement-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.movement-tips {
    background-color: rgba(255, 107, 0, 0.03);
    border-left: 3px solid var(--primary-color);
    padding: 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: auto; /* 靠底部對齊 */
}

.movement-tips h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.movement-tips ul {
    list-style: none;
}

.movement-tips ul li {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
    line-height: 1.5;
}

.movement-tips ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.movement-tips ul li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   新手指南區塊 (Guide Section)
   ========================================================================== */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.guide-step-item {
    display: flex;
    gap: 40px;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    align-items: center;
    transition: border-color var(--transition-fast);
}

.guide-step-item:hover {
    border-color: rgba(255, 107, 0, 0.4);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    line-height: 1;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ==========================================================================
   尋找教練區塊 (Coaches Section)
   ========================================================================== */
.coach-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 18px;
    transition: transform var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.tab-btn.active i {
    transform: scale(1.1);
}

/* 切換群組的隱藏樣式 */
.coach-group.hidden {
    display: none !important;
}

.coaches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.coach-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 280px 1fr; /* 桌機左右排列 */
    transition: all var(--transition-normal);
}

.coach-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.coach-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.coach-card:hover .coach-img {
    transform: scale(1.05);
}

.coach-type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.badge-ai {
    background-color: rgba(0, 210, 255, 0.9);
    color: #ffffff;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge-human {
    background-color: rgba(255, 107, 0, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.coach-info-wrapper {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coach-main-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.coach-main-info h3 {
    font-size: 24px;
    font-weight: 700;
}

.coach-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.coach-price span {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.coach-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.coach-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    font-size: 14px;
    line-height: 1.5;
}

.meta-label {
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 80px;
}

.meta-val {
    color: var(--text-white);
}

/* ==========================================================================
   賽事追蹤區塊 (Events Section)
   ========================================================================== */
.event-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.event-tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

.event-tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* 賽事群組隱藏樣式 */
.event-group.hidden {
    display: none !important;
}

/* 賽事卡片網格：三欄 */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition-normal);
}

.event-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* 賽事卡片頂部列：類別徽章 + 狀態 */
.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.event-cat-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* 健力 vs 舉重 徽章顏色 */
.badge-powerlifting {
    background-color: rgba(255, 107, 0, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-weightlifting {
    background-color: rgba(100, 200, 255, 0.12);
    color: #64c8ff;
    border: 1px solid rgba(100, 200, 255, 0.3);
}

/* 賽事狀態標籤 */
.event-status {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-status i {
    font-size: 8px;
    border-radius: 50%;
}

.status-upcoming {
    color: #facc15; /* 金黃色：即將開賽 */
}

.status-upcoming i {
    color: #facc15;
}

.status-live {
    color: #4ade80; /* 亮綠色：直播中 */
    animation: statusPulse 2s infinite; /* 直播中脈衝動畫 */
}

.status-live i {
    color: #4ade80;
}

.status-ended {
    color: var(--text-muted); /* 灰色：已結束 */
}

.status-ended i {
    color: var(--text-muted);
}

/* 狀態文字脈衝動畫 */
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 賽事標題 */
.event-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* 主辦單位 */
.event-org {
    font-size: 13px;
    color: var(--text-muted);
    margin: -8px 0 0;
}

/* 賽事詳情列表 */
.event-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    flex-grow: 1; /* 撐滿剩餘空間，使按鈕對齊底部 */
}

.event-detail-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    align-items: flex-start;
    line-height: 1.5;
}

.event-detail-item i {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

/* 賽事底部：直播 / 重播按鈕 */
.event-footer {
    margin-top: auto;
}

.event-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* 直播按鈕：橘紅漸層 */
.btn-live {
    background: linear-gradient(135deg, var(--primary-color), #e05e00);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.btn-live:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
    transform: translateY(-2px);
}

/* 直播中：加入呼吸光暈動畫 */
.btn-live-pulse {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 0, 0.7); }
}

/* 重播按鈕：暗灰調 */
.btn-replay {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-replay:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   BMI 計算器區塊 (Calculator Section)
   ========================================================================== */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid var(--border-color);
}

.calc-intro-text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.calc-ranges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.range-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.range-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.range-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.calc-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
}

.calc-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.bmi-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 16px;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.input-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

/* 計算結果展示樣式 */
.calc-result {
    margin-top: 30px;
    transition: all var(--transition-normal);
}

.calc-result.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.result-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 24px;
}

.result-value-wrapper, .result-status-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-label {
    font-size: 15px;
    color: var(--text-muted);
}

.bmi-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.bmi-status {
    font-size: 16px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

/* 狀態顏色標籤 */
.status-underweight { background-color: rgba(52, 152, 219, 0.15); color: #3498db; }
.status-normal { background-color: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.status-overweight { background-color: rgba(230, 126, 34, 0.15); color: #e67e22; }
.status-obese { background-color: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.result-suggestion {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
    font-size: 14px;
}

/* ==========================================================================
   常見問題區塊 (FAQ Section)
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(255, 107, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 16px;
    transition: transform var(--transition-fast);
    color: var(--primary-color);
}

/* FAQ 展開效果 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-fast) ease-out;
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
}

/* FAQ 展開狀態 */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   頁尾區塊 (Footer)
   ========================================================================== */
.footer {
    background-color: #08080a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 320px;
}

.footer-links h4, .footer-social h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color var(--transition-fast);
}

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

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   響應式設計斷點 (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .calc-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 2;
    }

    /* 992px: 賽事卡片由三欄降為兩欄 */
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        background-attachment: scroll; /* 行動裝置關閉視差滾動以防效能降低 */
    }

    .hero-title {
        font-size: 38px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .nav-toggle {
        display: block; /* 顯示漢堡選單按鈕 */
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-fast) ease-out;
    }
    
    .nav-menu.show {
        max-height: 300px;
    }
    
    .nav-link {
        padding: 16px 24px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .guide-step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px;
    }
    
    .step-number {
        font-size: 48px;
    }
    
    .calc-ranges {
        grid-template-columns: 1fr;
    }

    /* 教練卡片行動版樣式 */
    .coach-card {
        grid-template-columns: 1fr;
    }
    
    .coach-img-wrapper {
        height: 250px;
        min-height: auto;
    }
    
    .coach-info-wrapper {
        padding: 24px;
    }
    
    .coach-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* 賽事卡片行動版：單欄 */
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-tabs {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .calc-card {
        padding: 24px;
    }
}
