/* 浮动联系按钮样式 */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.float-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.float-contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.float-contact-panel.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.float-contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.float-contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.float-contact-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
}

.float-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background-color: var(--primary-light);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-method-info {
    flex: 1;
}

.contact-method-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-method-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 576px) {
    .float-contact-panel {
        width: 280px;
        right: -10px;
    }
}