/* ================= 预约演示弹窗 ================= */
.demo-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.demo-modal-overlay.active {
    display: flex;
}

.demo-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px 36px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 1;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.demo-modal-close:hover {
    color: #333;
}

.demo-modal-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.demo-modal-sub {
    font-size: 14px;
    color: #999;
    margin-bottom: 32px;
    line-height: 1.6;
}

.demo-modal-form {
    text-align: left;
}

.demo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    margin-bottom: 20px;
}

.demo-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-form-group label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.demo-req {
    color: #F5222D;
}

.demo-form-group input {
    height: 44px;
    background: #F7F8FA;
    border: 1px solid #E8EAED;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    padding: 0 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.demo-form-group input:focus {
    border-color: #4671FE;
    background: #fff;
}

.demo-form-full {
    margin-bottom: 28px;
}

.demo-form-full input {
    width: 100%;
}

.demo-form-submit {
    text-align: center;
}

.demo-form-submit button {
    width: 200px;
    height: 48px;
    background: #4671FE;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.demo-form-submit button:hover {
    opacity: 0.88;
}

@media (max-width: 600px) {
    .demo-modal {
        padding: 32px 20px 28px;
    }

    .demo-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .demo-modal-title {
        font-size: 20px;
    }
}
