/* 基础样式 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.logo {
    width: 320px; /* 再放大2倍 */
    height: auto;
    margin-right: 20px;
}

.banner-img {
    width: 100%;
    height: 400px; /* 固定高度确保完整呈现 */
    object-fit: cover;
    object-position: center;
}

.douyin-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.payment-qr {
    width: 150px;
    height: 150px;
    margin-top: 10px;
    display: none;
}

.payment-option:hover .payment-qr {
    display: block;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header {
    background-color: #ff6b9d;
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.douyin-btn {
    background-color: #fe2c55;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.douyin-btn:hover {
    background-color: #d91a3a;
    transform: scale(1.05);
}

/* 会员信息样式 */
.membership-info {
    background-color: white;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.membership-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.membership-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #ff9eb7;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.membership-btn:hover {
    background-color: #ff6b9d;
}

/* 医生卡片容器 */
.doctors-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-row {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    margin-bottom: 2rem;
}

.doctor-card {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    width: 250px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #ff9eb7;
}

.doctor-specialty {
    color: #ff6b9d;
    font-weight: bold;
}

/* 聊天对话框样式 */
.chat-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    flex-direction: column;
}

.chat-header {
    background-color: #ff6b9d;
    color: white;
    padding: 1rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 0.5rem;
}

.chat-input button {
    padding: 0.5rem 1rem;
    background-color: #ff6b9d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 新增样式 */
.membership-desc {
    margin-top: 1rem;
    text-align: left;
    padding: 1rem;
    background: #fff9fa;
    border-radius: 8px;
}

.membership-desc h3 {
    color: #ff6b9d;
    margin-top: 0;
}

.membership-desc ul {
    padding-left: 1.2rem;
}

.faq-section {
    background: white;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: #ff6b9d;
    margin-bottom: 0.5rem;
}

/* 客服按钮样式 */
.customer-service-btn {
    position: fixed;
    top: 60%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
}

.customer-service-btn button {
    background-color: #ff4e79;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.customer-service-btn button:hover {
    background-color: #ff2d62;
    transform: scale(1.05);
}

/* 客服对话框样式 */
.cs-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1001;
    overflow: hidden;
}

.cs-header {
    background-color: #ff4e79;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-cs {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.cs-messages {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.cs-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.cs-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.cs-input button {
    background-color: #ff4e79;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
}

.cs-options {
    display: flex;
    padding: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

.cs-option {
    flex: 1;
    margin: 0 5px;
    padding: 8px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cs-option:hover {
    background-color: #f0f0f0;
}

.testimonials {
    background: #ff9eb7;
    color: white;
    padding: 2rem;
    text-align: center;
}

.testimonial {
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem auto;
    max-width: 600px;
}

.comment-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
}

.comment-input input {
    flex-grow: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
}

.comment-input button {
    padding: 0.5rem 1rem;
    background-color: white;
    color: #ff6b9d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.comment-input button:hover {
    background-color: #f0f0f0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        width: 150px;
        margin: 0 auto 10px;
    }
    
    .banner-img {
        height: 150px;
    }
    
    .doctor-card {
        width: 90%;
        margin-bottom: 15px;
    }
    
    .membership-options {
        flex-direction: column;
    }
    
    .payment-option {
        margin-bottom: 20px;
    }
    
    .doctor-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .header-content {
        flex-direction: row;
    }
    
    .logo {
        width: 320px;
    }
    
    .banner-img {
        height: 400px;
    }
    
    .doctor-card {
        width: 250px;
    }
}
