.floating-button {
    position: fixed;
    bottom: 0;
    /* 按钮距离底部为0 */
    left: 0;
    /* 按钮距离左侧为0 */
    width: 100%;
    /* 按钮宽度100% */
    background-color: #25D366;
    /* WhatsApp 绿色 */
    color: white;
    /* 文字为白色 */
    padding: 15px 20px;
    /* 按钮内边距 */
    border: none;
    border-radius: 0;
    /* 去除圆角 */
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    /* 去除链接下划线 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* 添加阴影效果 */
    z-index: 700;
    /* 确保在其他内容上方显示 */
    white-space: nowrap;
    /* 强制文字不换行 */
    text-align: center;
    /* 文字居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.floating-button:hover {
    background-color: #128C7E;
    /* WhatsApp 深绿色 */
    transition: background-color 0.3s ease;
}

.floating-button::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTE2LjAwMyAzQzguOTI2IDMgMy4yIDguNjI2IDMuMiAxNS43MDNjMCAyLjU0OC43NTIgNC45MiAyLjA0OCA2LjkxMkw0LjA4IDI5bDYuNTc5LTEuMTI3YTEyLjc5MyAxMi43OTMgMCAwIDAgNi4zNDQgMS42M2M3LjA3NyAwIDEyLjgtNS43MjMgMTIuOC0xMi44QzI5LjgwMyA4LjYyNiAyNC4wOCAzIDE2LjAwMyAzem03LjE1OCAxOC4zNThjLS4yNDcuNjk1LTEuNDU0IDEuMjc1LTIuMDA1IDEuMzYyLS41MzguMDg1LTEuMDQzLjI0OC00LjM0OS0uOTA2LTQuMjMyLTEuNDc5LTYuOTY1LTUuNzU3LTcuMTc1LTYuMDIyLS4yMS0uMjY1LTEuNzI5LTIuMjk3LTEuNzI5LTQuMzg0IDAtMi4wODcgMS4wOTQtMy4xMTUgMS40ODMtM1M5LjkyIDcuOSAxMC4xIDcuOWMuMTggMCAuMzYuMDAxLjUxOC4wMDkuMTcuMDA4LjM5Ni0uMDY1LjYxOS41NDUuMjI1LjYxLjc2NSAyLjAxMi44NDIgMi4xNTguMDc3LjE0NS4xMjcuMzE1LjAyNS40OC0uMTAyLjE2NS0uMTUzLjI2Ny0uMzAzLjQxLS4xNS4xNDMtLjMyLjMyLS40NTcuNDMtLjE1Ny4xMjUtLjMyLjI2LS4xMzcuNTEuMTgzLjI1IDguODE1IDEuMjA1Ljk2NS4yMzUuNTUgMS4xMSAxLjAwNSAxLjExLjI1IDAgLjQuMDcyLjU4My0uMTA4LjIzLS4yMjYuOTg1LTEuMDg1IDEuMjQ3LTEuNDU3cy41MTUtLjQ2NS43NjUtLjM1YzIuMzA4Ljk0NSAyLjcgMS4xMTQgMi43IDEuMTE0bC0uMDAxLjAwMXptMCAwIi8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Right floating CTA button - centered height */
.floating-cta-button {
    position: fixed;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    /* Centered vertically on screen */
    background: rgba(37, 211, 102, 0.92);
    /* WhatsApp green with slight transparency */
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    z-index: 699;
    min-width: 120px;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
    backdrop-filter: blur(5px);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    }
}

.floating-cta-button:hover {
    background: rgba(19, 140, 126, 0.95);
    /* Darker WhatsApp green on hover */
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    transform: translateY(-50%) scale(1.05);
    /* Maintain vertical centering and add scale effect */
}

.floating-cta-button .cta-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.floating-cta-button .cta-subtitle {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.95;
    text-align: center;
}

/* 对移动设备的特定样式设置 */
@media (max-width: 768px) {
    .floating-button {
        border-radius: 0;
        /* 去除圆角 */
    }

    .floating-cta-button {
        right: 3%;
        top: 50%;
        transform: translateY(-50%);
        /* Centered vertically */
        min-width: 100px;
        max-width: 120px;
        padding: 8px 10px;
        border-radius: 20px;
        background: rgba(37, 211, 102, 0.9);
    }

    .floating-cta-button .cta-title {
        font-size: 14px;
        font-weight: 700;
    }

    .floating-cta-button .cta-subtitle {
        font-size: 10px;
    }
}

@media (max-width: 1024px) {
    .floating-cta-button {
        right: 1%;
        min-width: 110px;
        max-width: 130px;
        padding: 10px 16px;
    }

    .floating-cta-button .cta-title {
        font-size: 16px;
    }

    .floating-cta-button .cta-subtitle {
        font-size: 11px;
    }
}

/* Health Consultation Modal */
.health-modal {
    display: none;
    position: fixed;
    z-index: 800;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.health-modal-content {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease-out;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.health-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.health-modal-close:hover {
    color: #333;
}

.health-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.health-modal-content h2 {
    color: #25D366;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.health-modal-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.health-modal-button {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.health-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.health-modal-note {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .health-modal-content {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .health-modal-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .health-modal-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .health-modal-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .health-modal-button {
        padding: 14px 35px;
        font-size: 16px;
    }

    .health-modal-close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }
}