/* ========== 右下角浮动按钮 ========== */
.quote-float-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9998;
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    color: #fff;
    border-radius: 50px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    animation: floatPulse 3s ease-in-out infinite;
}

.quote-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.5);
}

.quote-float-btn i {
    font-size: 18px;
}

@keyframes floatPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(30, 64, 175, 0.6);
    }
}

/* ========== 弹窗遮罩 ========== */
.quote-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* ========== 弹窗卡片 ========== */
.quote-modal-card {
    background: #fff;
    border-radius: 16px;
    width: 720px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-modal-overlay.active .quote-modal-card {
    transform: translateY(0);
}

/* ========== 关闭按钮 ========== */
.quote-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    font-size: 22px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    line-height: 1;
}

.quote-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #1A1A1A;
}

/* ========== 左侧装饰 ========== */
.quote-modal-left {
    width: 260px;
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 40%, #172554 100%);
    color: #fff;
    border-radius: 16px 0 0 16px;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.quote-modal-left-content {
    text-align: center;
}

.quote-modal-left-content>i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.quote-modal-left-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
}

.quote-modal-left-content>p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 25px;
}

.quote-modal-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.quote-modal-features i {
    color: #34D399;
    font-size: 16px;
}

/* ========== 右侧表单 ========== */
.quote-modal-right {
    flex: 1;
    padding: 35px 30px;
}

.quote-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.quote-form-subtitle {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 25px;
}

.quote-field {
    margin-bottom: 18px;
}

.quote-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.quote-field label i {
    color: #1E40AF;
    margin-right: 4px;
    width: 16px;
    text-align: center;
}

.quote-field label .required {
    color: #EF4444;
    margin-left: 2px;
}

.quote-field input,
.quote-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    color: #1A1A1A;
    background: #F8FAFC;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.quote-field input:focus,
.quote-field textarea:focus {
    border-color: #3B82F6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.quote-field textarea {
    resize: vertical;
    min-height: 80px;
}

.field-hint {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

/* ========== 提交按钮 ========== */
.quote-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quote-submit-btn:hover {
    background: linear-gradient(135deg, #D97706, #B45309);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.quote-submit-btn:active {
    transform: translateY(0);
}

.quote-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.quote-privacy {
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 12px;
}

.quote-privacy i {
    margin-right: 4px;
}

/* ========== 成功状态 ========== */
.quote-success {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 64px;
    color: #10B981;
    margin-bottom: 16px;
    animation: successBounce 0.5s ease;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.quote-success h3 {
    font-size: 22px;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.quote-success p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 20px;
}

.success-contact {
    background: #F0FDF4;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

.success-contact p {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 10px;
}

.success-phone {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #1E40AF;
}

.success-phone i {
    margin-right: 6px;
}

.quote-reset-btn {
    padding: 10px 30px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.quote-reset-btn:hover {
    border-color: #3B82F6;
    color: #3B82F6;
}
