/* 全局样式 */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #9b59b6;
    --accent-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Heiti TC', 'Apple LiGothic', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

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

/* 头部样式 */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

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

nav ul {
    display: flex;
    margin-bottom: 0;
    align-items: center;
}

nav ul li {
    list-style: none;
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px 10px;
    transition: var(--transition);
}

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

nav ul li a.btn-primary {
    color: white;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 8px 15px;
}

nav ul li a.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 介绍区域样式 */
.intro {
    padding: 100px 0;
    background-color: white;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.intro-text h3 {
    margin-top: 25px;
}

.intro-text ul {
    list-style-type: none;
}

.intro-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.intro-text ul li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 广告区域样式 */
.ads {
    padding: 100px 0;
    background-color: white;
}

.ads-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ads-text {
    flex: 1;
}

.ads-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.ads-text h3 {
    margin-top: 25px;
}

.ads-text ul {
    list-style-type: none;
}

.ads-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.ads-text ul li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.ads-text .btn-secondary {
    margin-top: 20px;
}

/* 推廣方案樣式 */
.promotion {
    padding: 100px 0;
    background-color: white;
}

.promotion-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.promotion-text {
    flex: 1;
}

.promotion-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.promotion-text h3 {
    margin-top: 25px;
}

.promotion-text ul {
    list-style-type: none;
}

.promotion-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.promotion-text ul li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.promotion-plans {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.promotion-plan {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: var(--transition);
}

.promotion-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.promotion-plan-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.promotion-plan-header h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.promotion-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.promotion-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.promotion-plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promotion-plan ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.promotion-plan ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.promotion-offer {
    background-color: #f9f4ff;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.promotion-offer h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.promotion-offer p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.promotion-offer p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.offer-details {
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
}

.offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.offer-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.offer-label {
    font-weight: 600;
}

.offer-price {
    color: var(--primary-color);
    font-weight: 700;
}

.promotion-note {
    margin-top: 30px;
    color: #666;
}

/* 客制化区域样式 */
.custom {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.custom-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.custom-text {
    flex: 1;
}

.custom-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.custom-text h3 {
    margin-top: 25px;
}

.custom-text ul {
    list-style-type: none;
}

.custom-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.custom-text ul li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 申请表单区域样式 */
.apply {
    padding: 100px 0;
    background-color: white;
}

.apply-content {
    display: flex;
    gap: 40px;
}

.application-form {
    flex: 3;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.apply-info {
    flex: 2;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.required {
    color: var(--danger-color);
}

.domain-input {
    display: flex;
    align-items: center;
}

.domain-input input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.domain-suffix {
    background-color: #f0f0f0;
    padding: 12px;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    color: var(--dark-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.apply-info h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.apply-info ol {
    margin-left: 20px;
}

.apply-info ol li {
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 40px;
    background-color: #f9f4ff;
    padding: 20px;
    border-radius: var(--border-radius);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
}

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

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links-group ul {
    list-style-type: none;
    margin-bottom: 0;
}

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

.footer-links-group ul li a {
    color: #ddd;
}

.footer-links-group ul li a:hover {
    color: white;
}

.footer-links-group ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content,
    .ads-content,
    .custom-content,
    .apply-content {
        flex-direction: column;
    }
    
    .custom-image {
        order: -1;
    }
    
    .apply-info {
        margin-top: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        gap: 30px;
    }

    /* 功能展示區塊響應式優化 */
    .demo-container {
        flex-direction: column;
    }

    .demo-admin,
    .demo-preview {
        width: 100%;
        margin-bottom: 20px;
    }

    .therapist-cards {
        flex-direction: column;
        gap: 15px;
    }

    .therapist-card {
        width: 100%;
    }

    /* 排班表響應式優化 */
    .schedule-table-container {
        margin: 0 -20px;
        padding: 0 20px;
        overflow-x: auto;
    }

    .schedule-table {
        min-width: 800px;
    }

    .schedule-controls {
        flex-direction: column;
        gap: 15px;
    }

    .schedule-actions {
        width: 100%;
    }

    .schedule-actions button {
        flex: 1;
    }

    /* Telegram 預覽響應式優化 */
    .telegram-chat {
        height: 400px;
    }

    .telegram-message {
        max-width: 90%;
    }

    .therapist-photos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
        width: 100%;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 180px 0 80px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .promotion-plans {
        flex-direction: column;
    }
    
    .promotion-plan {
        margin-bottom: 20px;
    }

    /* 功能展示區塊進一步優化 */
    .demo-admin-header,
    .demo-preview-header {
        padding: 12px 15px;
    }

    .demo-admin-header h3,
    .demo-preview-header h3 {
        font-size: 1.1rem;
    }

    .demo-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .demo-admin-content,
    .demo-preview-content {
        padding: 15px;
    }

    /* 表格響應式優化 */
    .therapist-table th,
    .therapist-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .therapist-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .toggle-status {
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    /* 排班表進一步優化 */
    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
        font-size: 0.85rem;
    }

    .schedule-toggle {
        padding: 6px 0;
        font-size: 0.85rem;
    }

    .schedule-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .summary-actions {
        width: 100%;
    }

    .summary-actions button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    /* 功能展示區塊最終優化 */
    .demo-description {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .demo-instructions {
        font-size: 0.9rem;
        padding: 12px;
    }

    /* 表格最終優化 */
    .therapist-table th,
    .therapist-table td {
        padding: 8px 6px;
        font-size: 0.85rem;
    }

    .therapist-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .therapist-avatar {
        margin-bottom: 5px;
    }

    /* Telegram 預覽最終優化 */
    .telegram-chat {
        height: 350px;
        padding: 15px;
    }

    .telegram-message {
        max-width: 95%;
    }

    .therapist-photo {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .message-title {
        font-size: 1rem;
    }

    .therapist-item .therapist-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .therapist-item .therapist-info span {
        margin-top: 3px;
    }

    /* 新增：確保表格在手機版可以橫向滾動 */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    /* 新增：優化手機版按鈕大小 */
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-small {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* 功能展示區域樣式 */
.demo {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.demo-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.demo-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.demo-admin,
.demo-preview {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.demo-admin-header,
.demo-preview-header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-admin-header h3,
.demo-preview-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.demo-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.demo-admin-content,
.demo-preview-content {
    padding: 20px;
}

/* 後台表格樣式 */
.therapist-table {
    width: 100%;
    border-collapse: collapse;
}

.therapist-table th,
.therapist-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.therapist-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.therapist-info {
    display: flex;
    align-items: center;
}

.therapist-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #333;
    font-weight: 600;
}

.status-active {
    color: var(--success-color);
    background-color: rgba(46, 204, 113, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.status-inactive {
    color: var(--danger-color);
    background-color: rgba(231, 76, 60, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.toggle-status {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.toggle-status.active {
    background-color: var(--danger-color);
    color: white;
}

.toggle-status.inactive {
    background-color: var(--success-color);
    color: white;
}

/* 前台預覽樣式 */
.preview-title {
    text-align: center;
    margin-bottom: 20px;
}

.preview-title h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.preview-title p {
    color: #666;
}

.therapist-cards {
    display: flex;
    gap: 20px;
}

.therapist-card {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.therapist-card.hidden {
    display: none;
}

.therapist-card-avatar {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.therapist-card-info {
    padding: 15px;
    text-align: center;
}

.therapist-card-info h4 {
    margin-bottom: 5px;
}

.therapist-nationality {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.therapist-services {
    color: #333;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-book {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-book:hover {
    background-color: var(--secondary-color);
    color: white;
}

.demo-instructions {
    text-align: center;
    background-color: #f0f7ff;
    padding: 15px;
    border-radius: var(--border-radius);
    color: #3498db;
}

.demo-instructions i {
    margin-right: 5px;
}

/* 每週報班管理樣式 */
.schedule-demo {
    background-color: #f5f5f5;
}

.schedule-admin {
    width: 100%;
    max-width: 100%;
}

.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.schedule-date {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.schedule-date i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.schedule-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.schedule-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.schedule-table th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
}

.schedule-table th small {
    font-weight: 400;
    opacity: 0.8;
}

.therapist-col {
    min-width: 120px;
    text-align: left;
}

.therapist-cell {
    text-align: left !important;
    background-color: #f9f9f9;
}

.schedule-cell {
    min-width: 80px;
}

.schedule-toggle {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.schedule-toggle.working {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
}

.schedule-toggle.off {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.schedule-toggle:hover {
    opacity: 0.8;
}

.schedule-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
}

.summary-label {
    font-weight: 600;
    margin-right: 5px;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

@media (max-width: 992px) {
    .schedule-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .summary-actions {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .summary-actions button {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .schedule-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .schedule-actions {
        margin-top: 10px;
        width: 100%;
    }
    
    .schedule-actions button {
        flex: 1;
    }
    
    .summary-actions {
        flex-direction: column;
    }
    
    .summary-actions button {
        width: 100%;
    }
}

/* Telegram 推播功能展示樣式 */
.telegram-demo {
    background-color: #f0ecec;
}

.telegram-actions {
    margin-top: 20px;
    text-align: right;
}

.telegram-preview {
    background-color: #17212b;
}

.telegram-chat {
    padding: 20px;
    height: 500px;
    overflow-y: auto;
}

.telegram-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.telegram-message.system {
    align-self: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 15px;
    color: #fff;
    font-size: 0.9rem;
}

.telegram-message.bot {
    background-color: #2b5278;
    padding: 15px;
    border-radius: 15px;
    color: #fff;
    margin-bottom: 15px;
}

.therapist-photos {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.therapist-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
}

.message-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.therapist-list {
    margin: 15px 0;
}

.therapist-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.therapist-item:last-child {
    margin-bottom: 0;
}

.therapist-item .therapist-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.therapist-item .therapist-info strong {
    font-size: 1.1rem;
}

.therapist-item .therapist-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.therapist-item .therapist-services {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.booking-button {
    margin-top: 15px;
    text-align: center;
}

.booking-button .btn-book {
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    color: #2b5278;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.booking-button .btn-book:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* 滾動條樣式 */
.telegram-chat::-webkit-scrollbar {
    width: 6px;
}

.telegram-chat::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.telegram-chat::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.telegram-chat::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 版本比較表格樣式 */
.version-comparison {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.comparison-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 15px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table thead tr {
    background-color: var(--primary-color);
}

.comparison-table th {
    font-weight: 700;
    color: #fff;
}

.comparison-table th.feature-column {
    background-color: var(--primary-color);
    width: 20%;
}

.comparison-table th.version-column {
    background-color: var(--primary-color);
    width: 40%;
}

.comparison-table .version-row td {
    background-color: #f5f5f5;
    font-weight: 700;
}

.comparison-table .version-name {
    color: var(--primary-color);
}

.comparison-table .features-row:hover {
    background-color: #f9f4ff;
}

.comparison-table ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-table ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.comparison-table ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.comparison-table ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

/* 方案說明區塊（合適對象）新樣式 */
.plans {
    padding: 100px 0 80px 0;
    background: #f8f9fa;
}
.plan-targets {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
}
.plan-target {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(80, 60, 180, 0.07);
    padding: 36px 28px 28px 28px;
    flex: 1;
    min-width: 260px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.plan-target h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.plan-target ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.plan-target ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
}
.plan-target ul li:last-child {
    margin-bottom: 0;
}
.plan-target ul li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.plan-target .plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    margin-top: -8px;
}
.plan-target .plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
    margin-left: 2px;
}
.plan-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    font-size: 1.1rem;
    padding: 13px 0;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    background: var(--primary-color);
    color: #fff;
    border: none;
    text-align: center;
    transition: background 0.2s;
}
.plan-btn:hover {
    background: #5b21b6;
    color: #fff;
}
@media (max-width: 992px) {
    .plan-targets {
        flex-direction: column;
        gap: 28px;
    }
    .plan-target {
        max-width: 100%;
    }
}

.custom-fee-box {
    background: #f6f0ff;
    border-radius: 12px;
    padding: 22px 20px 16px 20px;
    margin: 28px 0 18px 0;
    box-shadow: 0 2px 10px rgba(124,58,237,0.06);
}
.custom-fee-box h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.custom-fee-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}
.custom-fee-box ul li {
    margin-bottom: 8px;
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
}
.custom-fee-box ul li strong {
    color: var(--primary-color);
    font-weight: 700;
}
.custom-fee-note {
    color: #a06be5;
    font-size: 0.98rem;
    margin-top: 8px;
    line-height: 1.6;
}

/* 新增表單左右排列樣式 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* 調整表單整體佈局 */
.application-form {
    max-width: 800px;
    margin: 0 auto;
}

/* 調整網域輸入框樣式 */
.domain-input {
    display: flex;
    align-items: center;
    max-width: 300px;
}

.domain-suffix {
    margin-left: 5px;
    color: #666;
}

/* 調整付費版選項樣式 */
.premium-options {
    margin-top: 20px;
}

.checkbox-group {
    margin-bottom: 10px;
}

.own-domain-input {
    margin-top: 10px;
}

/* 調整按鈕樣式 */
.btn-primary {
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

/* 常見問題區塊樣式 */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-toggle {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    margin: 0 0 12px;
    color: #666;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.faq-answer strong {
    color: #333;
}

/* 新增：確保表格在手機版可以橫向滾動 */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

/* 新增：優化手機版按鈕大小 */
@media (max-width: 576px) {
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-small {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* DEMO網站區塊樣式 */
.demo-site {
    padding: 100px 0;
    background: linear-gradient(135deg, #f6f0ff 0%, #fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.demo-site-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-site h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.demo-site-desc {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.demo-site .btn-primary {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.25rem;
    margin-bottom: 50px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.2);
    transition: all 0.3s ease;
}

.demo-site .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.3);
}

.demo-site-contact {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-site-contact p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    font-weight: 500;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #fff;
    border-radius: 50px;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-link i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.2);
}

@media (max-width: 768px) {
    .demo-site {
        padding: 80px 0;
    }

    .demo-site h2 {
        font-size: 2rem;
    }
    
    .demo-site-desc {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .demo-site .btn-primary {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .demo-site-contact {
        margin: 0 20px;
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .demo-site h2 {
        font-size: 1.8rem;
    }
    
    .demo-site-desc {
        font-size: 1rem;
    }
    
    .demo-site .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
        width: 90%;
        max-width: 300px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* 懸浮按鈕組 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.floating-btn:hover {
    transform: translateY(-3px);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    display: none;
}

.line-btn {
    background: #06C755;
}

.tg-btn {
    background: #0088cc;
}

.apply-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

/* 當頁面不在頂部時顯示回到頂部按鈕 */
.back-to-top.visible {
    display: flex;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .floating-buttons {
        right: 10px;
        bottom: 10px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 