/* ==========================================
   心安員工協助方案 - 清新明亮風格樣式表 (CSS)
   設計風格：清新植物草本色、溫柔空氣感光暈、明亮毛玻璃擬態
   ========================================== */

/* --- 1. 設計系統變數與重設 (Reset & CSS Variables) --- */
:root {
    /* 色彩系統 (清新自然、充滿關懷的色調) */
    --bg-light: #f8fafc;          /* 網頁主背景 (清透灰白) */
    --bg-card: rgba(255, 255, 255, 0.85); /* 明亮毛玻璃卡片背景 */
    --border-light: rgba(16, 185, 129, 0.1); /* 清新薄荷綠細邊框 */
    
    --primary-gradient: linear-gradient(135deg, #10b981, #0ea5e9); /* 溫和的綠藍漸層 */
    --secondary-gradient: linear-gradient(135deg, #0ea5e9, #6366f1); /* 溫和的藍紫漸層 */
    --accent-color: #10b981;      /* 品牌薄荷綠色 */
    --accent-hover: #059669;      /* 深薄荷綠 */
    
    --text-main: #1e293b;         /* 深slate色，提供極佳可讀性 */
    --text-muted: #64748b;        /* 次要灰色文字 */
    
    /* 轉場與溫和陰影 */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --fresh-shadow: 0 10px 30px rgba(148, 163, 184, 0.12);
    --focus-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

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

body {
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- 2. 清新空氣感光暈 (Fresh Air Glow Animation) --- */
.fresh-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.12; /* 極低透明度，提供溫柔的背景深度 */
    pointer-events: none;
}

.glow-blue {
    background: radial-gradient(circle, #0ea5e9 0%, rgba(14, 165, 233, 0) 70%);
    top: -100px;
    right: -100px;
    animation: drift 25s infinite alternate ease-in-out;
}

.glow-green {
    background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
    top: 40%;
    left: -200px;
    animation: drift 30s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 40px) scale(1.15); }
}

/* --- 3. 共通版面與元件 (Layout & Components) --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 徽章 (Badge) */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.18);
    margin-bottom: 20px;
}

/* 按鈕 (Buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 6px rgba(148, 163, 184, 0.04);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.4);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color: #10b981;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
}

/* 區塊標題 */
.section-header {
    margin-bottom: 50px;
}

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

.section-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #0f172a;
}

.section-desc {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto;
}

/* --- 4. 導覽列 (Navbar) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

.logo-leaf {
    font-size: 22px;
    color: var(--accent-color);
}

.logo-text {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}

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

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* --- 5. Hero 區塊 (Hero Section) --- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 30px;
    font-weight: 800;
    color: #0d9488;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(226, 232, 240, 1);
}

/* Hero 右側溫馨關懷圖示 */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
}

.inner-icon {
    font-size: 54px;
    animation: heartbeat 2s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* 漂浮文字標籤 */
.visual-label {
    position: absolute;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.visual-label:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.label-1 { top: 10px; left: -10px; }
.label-2 { top: 40px; right: -20px; }
.label-3 { bottom: 30px; left: -30px; }
.label-4 { bottom: 10px; right: 0; }

/* --- 6. 企業挑戰痛點區塊 (Pain Points Section) --- */
.painpoints-section {
    padding: 90px 0;
    background: #f1f5f9;
}

.painpoints-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pain-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--fresh-shadow);
    transition: var(--transition-smooth);
}

.pain-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 15px 35px rgba(148, 163, 184, 0.18);
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 7. 近期活動 EDM 展示區塊 (Event Section) --- */
.event-section {
    padding: 90px 0;
    background: #fff;
}

.event-banner-wrapper {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(148, 163, 184, 0.12);
    transition: var(--transition-smooth);
}

.event-banner-wrapper:hover {
    box-shadow: 0 18px 45px rgba(148, 163, 184, 0.18);
    transform: translateY(-3px);
}

/* EDM 圖片全寬顯示 */
.event-banner-img {
    width: 100%;
    display: block;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
}

/* 活動資訊橫排 */
.event-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: #fff;
    border-top: 1px solid rgba(226, 232, 240, 1);
}

.event-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-info-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.event-info-value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

/* 報名按鈕靠右對齊 */
.event-cta-btn {
    margin-left: auto;
}

/* --- 8. 員工專屬服務區塊 (Employee Services Section) --- */
.services-section {
    padding: 90px 0;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--border-light);
    padding: 35px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--fresh-shadow);
    transition: var(--transition-smooth);
}

.service-box:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08);
}

.box-emoji {
    font-size: 36px;
    display: inline-block;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.service-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 8. 差異分析區塊 (Difference Section) --- */
.difference-section {
    padding: 90px 0;
    background: #f8fafc;
}

.table-wrapper {
    overflow-x: auto;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 16px;
    box-shadow: var(--fresh-shadow);
}

.diff-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.diff-table th, .diff-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.diff-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.diff-table .highlight-column {
    background: rgba(16, 185, 129, 0.03);
    font-weight: 500;
    border-left: 2px solid rgba(16, 185, 129, 0.15);
    border-right: 2px solid rgba(16, 185, 129, 0.15);
}

.diff-table th.highlight-column {
    background: rgba(16, 185, 129, 0.07);
    color: #059669;
}

.diff-table .td-header {
    font-weight: 700;
    color: #0f172a;
    width: 18%;
}

.diff-table tr:last-child td {
    border-bottom: none;
}

/* --- 9. 預算試算器區塊 (Calculator Section) --- */
.calculator-section {
    padding: 90px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 1);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--fresh-shadow);
}

.input-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

.input-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-control-light {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-control-light:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: var(--focus-shadow);
    background: #fff;
}

.input-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* 宣導品自選格 */
.promotion-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.promo-item:hover {
    background: rgba(16, 185, 129, 0.02);
    border-color: rgba(16, 185, 129, 0.2);
}

.promo-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.promo-box {
    height: 20px;
    width: 20px;
    background-color: #cbd5e1;
    border-radius: 5px;
    margin-right: 14px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.promo-item input:checked ~ .promo-box {
    background: var(--primary-gradient);
}

.promo-box:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.promo-item input:checked ~ .promo-box:after {
    display: block;
}

.promo-info {
    display: flex;
    flex-direction: column;
}

.promo-info strong {
    font-size: 14px;
    color: #0f172a;
}

.promo-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 報告頻率選項 */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1.5px solid transparent;
    transition: var(--transition-smooth);
}

.radio-label:hover {
    background: #f1f5f9;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    height: 18px;
    width: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: var(--transition-smooth);
}

.radio-label input:checked ~ .radio-custom {
    border-color: var(--accent-color);
}

.radio-custom:after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.radio-label input:checked ~ .radio-custom:after {
    display: block;
}

.radio-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
}

/* 右側試算儀表板 */
.calculator-results {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    border-bottom: 1.5px solid rgba(226, 232, 240, 1);
    padding-bottom: 12px;
}

.result-number-container {
    background: linear-gradient(135deg, #f0fdf4, #ecfeff);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.result-number-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-number-value {
    color: #059669;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-number-value .currency {
    font-size: 18px;
    margin-right: 6px;
}

.result-number-value .number {
    font-size: 36px;
    font-family: 'Outfit', sans-serif;
}

.results-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.meta-item {
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* 狀態色系樣式 */
.status-badge.budget-ok { background: #dcfce7; color: #166534; }
.status-badge.budget-tight { background: #fef9c3; color: #713f12; }
.status-badge.budget-over { background: #fee2e2; color: #991b1b; }

.budget-status-box {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 1);
    padding: 16px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 24px;
}

.results-detail-list {
    margin-bottom: 24px;
}

.results-detail-list h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#calc-itemized-list {
    list-style: none;
    max-height: 130px;
    overflow-y: auto;
}

#calc-itemized-list li {
    font-size: 12px;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

/* --- 10. 聯絡我們表單區塊 (Contact Section) --- */
.contact-section {
    padding: 90px 0;
    background: #f1f5f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #0f172a;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.contact-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 1);
    padding: 35px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--fresh-shadow);
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: var(--focus-shadow);
    background: #fff;
}

/* 提交成功遮罩 */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #10b981;
}

.success-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.success-checkmark {
    width: 50px;
    height: 50px;
    position: relative;
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #10b981;
    position: absolute;
}

.checkmark-stem {
    width: 3px;
    height: 20px;
    background-color: #10b981;
    position: absolute;
    left: 27px;
    top: 12px;
    transform: rotate(45deg);
}

.checkmark-kick {
    width: 12px;
    height: 3px;
    background-color: #10b981;
    position: absolute;
    left: 15px;
    top: 28px;
    transform: rotate(45deg);
}

/* --- 11. 頁尾 (Footer) --- */
.footer {
    border-top: 1px solid rgba(226, 232, 240, 1);
    padding: 60px 0 30px 0;
    background: #f8fafc;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 13.5px;
    max-width: 450px;
}

.footer-links h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #94a3b8;
}

/* --- 12. 響應式排版 (RWD) --- */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 24px auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none; /* 行動端隱藏複雜插畫 */
    }
    
    .painpoints-grid {
        grid-template-columns: 1fr;
    }
    
    .services-row {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .nav-menu {
        display: none; /* 行動端簡化 */
    }
}
