/* 右侧飘动联系方式层样式 */
.floating-contact {
    position: fixed;
    bottom: 110px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7559FF 0%, #6A7DFF 100%);
    box-shadow: 0px 12px 24px 0px rgba(117, 89, 255, 0.4);
    cursor: pointer;
    z-index: 1000;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

.contact-item p {
    font-size: 12px;
    line-height: 12px;
    color: #FFFFFF;
    margin: 0;
}

/* 弹出层样式 */
.contact-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff 0%, #f9faff 100%);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    max-width: 90%;
    width: 960px;
    display: none;
}

.contact-popup.active {
    display: block;
    animation: popup-fade 0.3s ease;
}

@keyframes popup-fade {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(23, 23, 29, 0.08);
}

.popup-header h3 {
    margin: 0;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    color: #17171D;
}

.popup-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #17171D;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background-color: rgba(23, 23, 29, 0.05);
}

.popup-content {
    padding: 24px;
}

/* 企业级解决方案弹窗样式 */
.solution-container {
    display: flex;
    width: 100%;
    min-height: 430px;
    background: linear-gradient(135deg, #ffffff 0%, #f9faff 100%);
    border-radius: 12px;
    overflow: hidden;
}

.solution-left {
    flex: 1;
    padding-top: 32px;
    padding-left: 38px;
    max-width: 544px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.solution-title {
    font-size: 28px;
    line-height: 28px;
    color: #17171D;
    font-weight: bold;
    padding-bottom: 32px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-icon {
    width: 16px;
    height: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-popup .feature-name {
    color: #17171D;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    margin: 0;
}

.contact-popup .feature-desc {
    color: rgba(23, 23, 29, 0.48);
    font-size: 14px;
    line-height: 22px;
    margin-top: 2px;
    margin-bottom: 0;
}

.contact-info-block {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-title {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: #17171D;
    margin-bottom: 12px;
}

.qrcode-img {
    width: 64px;
    height: 64px;
    margin-top: 0;
    object-fit: contain;
    display: block;
}

.qrcode-tip {
    color: rgba(23, 23, 29, 0.48);
    font-size: 12px;
    line-height: 12px;
    margin-top: 8px;
    width: 64px;
    text-align: center;
}

.solution-right {
    width: 416px;
    border-left: 1px solid rgba(23, 23, 29, 0.08);
    box-sizing: border-box;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
}

.demo-form {
    padding: 24px 40px 40px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field:first-child {
    margin-top: 0;
}

.field-label {
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 12px;
    color: #17171D;
}

.required {
    color: #FF512B;
}

.form-field input, 
.form-field textarea {
    background-color: rgba(98, 105, 153, 0.06);
    font-size: 14px;
    line-height: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    width: 100%;
    display: block;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field input:focus,
.form-field textarea:focus {
    border-color: #7B61FF;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.15);
}

.form-field textarea {
    height: 72px;
    resize: none;
}

.demo-form .btn-block {
    width: 100%;
    padding: 10px;
    text-align: center;
    background: linear-gradient(90deg, #7559FF 0%, #6A7DFF 100%);
    color: #FFFFFF;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-form .btn-block:hover {
    background: linear-gradient(90deg, #6A7DFF 0%, #7559FF 100%);
    box-shadow: 0px 8px 24px 0px rgba(117, 89, 255, 0.3);
    transform: translateY(-2px);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    animation: overlay-fade 0.3s ease;
}

@keyframes overlay-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-overlay.active {
    display: block;
}

/* 表单错误信息样式 */
.error-message {
    color: #FF512B;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 5px;
    display: block;
}

.form-field input.error,
.form-field textarea.error {
    border-color: #FF512B;
}

/* 成功信息样式 */
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
    border-radius: 8px;
}

.success-message i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 16px;
}

.success-message p {
    font-size: 16px;
    color: #333333;
    margin: 0;
}

/* 响应式样式 */
@media screen and (max-width: 992px) {
    .contact-popup {
        width: 90%;
    }
    
    .solution-container {
        flex-direction: column;
    }
    
    .solution-left {
        padding: 24px;
    }
    
    .solution-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(23, 23, 29, 0.08);
    }
    
    .demo-form {
        padding: 24px;
    }
}

@media screen and (max-width: 576px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        display: none;
    }
    
    .solution-title {
        font-size: 22px;
        line-height: 26px;
        padding-bottom: 20px;
    }
} 