/**
 * 智能咨询系统样式
 */

/* 咨询向导容器 */
.consultation-wizard-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 向导步骤 */
.wizard-step {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.wizard-step h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* 类型选择按钮 */
.type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.type-btn i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.type-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.type-btn:hover i {
    color: var(--accent-color);
}

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

/* 问题文本 */
.question-text {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* 选项网格 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.option-btn {
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #333;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: #f5f7fa;
    transform: scale(1.05);
}

/* 评估结果 */
.assessment-result {
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.result-content {
    background: #f5f7fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

.result-item {
    margin-bottom: 1.5rem;
}

.result-item label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.result-item p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.cost-highlight {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--accent-color) !important;
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.cta-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* 咨询表单 */
.consult-form {
    max-width: 600px;
    margin: 0 auto;
}

.consult-form .form-group {
    margin-bottom: 1.5rem;
}

.consult-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.consult-form input,
.consult-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.consult-form input:focus,
.consult-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* 成功消息 */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #4caf50;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

.success-message h3 {
    color: #4caf50;
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.contact-info {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .consultation-wizard-container {
        padding: 2rem 1rem;
    }

    .wizard-container {
        padding: 1.5rem;
    }

    .type-options {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .wizard-step h3 {
        font-size: 1.3rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .result-content {
        padding: 1.5rem;
    }
}
