/* ===== 求购登记页 ===== */

/* Hero */
.lead-hero {
    text-align: center;
    padding: 72px 20px 56px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb 60%, #3b82f6);
    color: #fff;
}

.lead-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.lead-hero-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lead-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.lead-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.lead-hero-stat .num {
    font-size: 22px;
    font-weight: 700;
}

.lead-hero-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* 主内容 */
.lead-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 20px 60px;
}

.lead-form-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* 表单卡片 */
.lead-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lead-form-head h2 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #111827;
}

.lead-form-head p {
    font-size: 13px;
    color: #888;
    margin-bottom: 22px;
}

.req {
    color: #dc2626;
}

.lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lead-form-field {
    margin-bottom: 18px;
}

.lead-form-field label {
    display: block;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 500;
}

.lead-form-field input,
.lead-form-field select,
.lead-form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    font-family: inherit;
}

.lead-form-field input:focus,
.lead-form-field select:focus,
.lead-form-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lead-form-field textarea {
    resize: vertical;
    min-height: 72px;
}

.lead-submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.lead-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.lead-privacy {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 12px;
}

/* 右侧卡片 */
.lead-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.lead-side-card h3 {
    font-size: 16px;
    color: #111827;
    margin-bottom: 14px;
}

.lead-service ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lead-service li {
    font-size: 14px;
    color: #4b5563;
    padding: 7px 0;
    line-height: 1.5;
}

.lead-history .lead-empty {
    font-size: 13px;
    color: #999;
    padding: 6px 0;
}

.lead-history-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.lead-history-item:last-child {
    border-bottom: none;
}

.lead-history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.lead-history-budget {
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 400;
}

.lead-history-meta {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 常见问题 */
.lead-faq {
    margin-top: 40px;
}

.lead-faq h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 18px;
    color: #111827;
}

.lead-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.lead-faq-q {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 6px;
}

.lead-faq-a {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
}

/* 成功弹窗 */
.lead-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lead-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.lead-modal-icon {
    font-size: 46px;
    margin-bottom: 14px;
}

.lead-modal-box h3 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 10px;
}

.lead-modal-box p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 8px;
}

.lead-modal-tip {
    font-size: 13px;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 12px 0 18px;
}

.lead-modal-actions {
    display: flex;
    gap: 10px;
}

.lead-modal-actions .btn {
    flex: 1;
}

@media (max-width: 860px) {
    .lead-form-section {
        grid-template-columns: 1fr;
    }

    .lead-form-row {
        grid-template-columns: 1fr;
    }

    .lead-hero-stats {
        gap: 28px;
    }
}
