﻿/* AI查询界面样式 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.body-content {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 添加动画关键帧 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    50% { background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(3px); }
}

/* AI驱动的智能查询区域 */
.ai-hero-section {
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.ai-hero-background {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    width: 100%;
    padding: 20px 0; /* 减少垂直内边距 */
    position: relative;
    overflow: hidden;
    margin: 0;
    
    &::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        transform: rotate(30deg);
    }
    
    .container-fluid {
        max-width: 1360px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .ai-hero-content {
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .ai-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px; /* 适中的间距 */
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        padding: 6px 16px; /* 适中的内边距 */
        border-radius: 30px;
        margin-bottom: 20px; /* 适中的下边距 */
        font-size: 14px; /* 恢复字体大小 */
        font-weight: 500;
        
        .ai-icon {
            font-size: 18px; /* 恢复图标大小 */
            animation: pulse 2s infinite;
            color: #409eff;
        }
    }
    
    .ai-hero-title {
        font-size: 2.8rem; /* 增大标题字体大小 */
        font-weight: 700;
        margin-bottom: 15px; /* 适中的下边距 */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        line-height: 1.2;
    }
    
    .ai-hero-subtitle {
        font-size: 1.3rem; /* 增大副标题字体大小 */
        margin-bottom: 25px; /* 适中的下边距 */
        opacity: 0.9;
        line-height: 1.5; /* 调整行高 */
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ai-search-container {
        .ai-search-box {
            margin-bottom: 20px; /* 适中的下边距 */
            
            .smart-query-input-group {
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
                border-radius: 50px;
                overflow: hidden;
                transition: all 0.3s ease;
                border: 2px solid transparent;
                background: rgba(255, 255, 255, 0.95);
                position: relative;
                width: 100%;
                display: flex;
                align-items: stretch;
                
                &:hover, &:focus-within {
                    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
                }
                
                .search-input {
                    border: none;
                    padding: 0 20px; /* 恢复内边距 */
                    font-size: 16px; /* 恢复字体大小 */
                    box-shadow: none !important;
                    background: transparent;
                    transition: all 0.3s ease;
                    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                    color: #333;
                    flex: 1;
                    min-width: 0;
                    height: 56px; /* 适中的输入框高度 */
                    box-sizing: border-box;
                }
                
                .search-button {
                    height: 46px; /* 适中的按钮高度 */
                    border-radius: 23px; /* 适中的圆角 */
                    background: linear-gradient(135deg, #409eff, #667eea);
                    border: none;
                    padding: 0 25px; /* 适中的内边距 */
                    font-size: 15px; /* 恢复字体大小 */
                    font-weight: 500;
                    transition: all 0.3s ease;
                    position: relative;
                    overflow: hidden;
                    white-space: nowrap;
                    flex: 0 0 auto;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 6px; /* 适中的间距 */
                    margin: 5px 0; /* 调整外边距 */
                    
                    &:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
                    }
                }
            }
        }
        
        .quick-examples {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px; /* 进一步减少间距 */
            margin-top: 10px; /* 进一步减少上边距 */
            
            .examples-label {
                font-size: 14px; /* 调整字体大小 */
                font-weight: 500;
                opacity: 0.9;
            }
            
            .example-tags {
                display: flex;
                gap: 4px; /* 进一步减少间距 */
                flex-wrap: wrap;
                
                /* 样式已移至页面内联样式中以确保优先级 */
            }
        }
    }
}

/* AI卡片样式 */
.ai-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 24px;
    border: none;
    background: #fff;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
}

.ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.ai-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.8;
}

.ai-card-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px 24px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-card-header i {
    font-size: 1.2em;
}

.ai-card-body {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.ai-card-body:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* 查询结果区域 */
#queryResultSection {
    padding: 30px 0; /* 恢复内边距，使结果更靠近搜索区域 */
    background: #f8f9fa;
}

#queryResultSection .container {
    max-width: 1360px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

#queryResultSection .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

#queryResultSection .result-header h2 {
    margin: 0;
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
}

#queryResultSection .result-actions {
    display: flex;
    gap: 15px;
}

#queryResultSection .result-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-size: 16px;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #606266;
}

.empty-state-icon {
    font-size: 48px;
    color: #c0c4cc;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #303133;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
    color: #606266;
    margin-bottom: 30px;
}

.empty-state-examples {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.examples-title {
    font-weight: 600;
    color: #303133;
    margin-bottom: 10px;
    font-size: 14px;
}

.examples-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.examples-list li {
    padding: 5px 0;
    font-size: 13px;
    color: #606266;
    position: relative;
    padding-left: 15px;
}

.examples-list li:before {
    content: "•";
    color: #409eff;
    position: absolute;
    left: 0;
    top: 5px;
}

/* 结果卡片样式 */
.result-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 24px;
    border: none;
    background: #fff;
    overflow: hidden;
    position: relative;
    
    .card-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px 24px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 16px 16px 0 0;
        
        .card-title {
            font-size: 18px;
            margin: 0;
        }
    }
    
    .card-body {
        padding: 24px;
    }
}

/* 项目结果样式 */
.project-results {
    .project-item {
        padding: 20px;
        border: 1px solid #e4e7ed;
        border-radius: 12px;
        margin-bottom: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        
        &:hover {
            border-color: #409eff;
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
            transform: translateY(-2px);
        }
        
        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
            
            .project-title {
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                color: #303133;
                flex: 1;
                margin-right: 16px;
            }
                    
            .project-title a {
                color: #303133;
                text-decoration: none;
                transition: color 0.3s ease;
                cursor: pointer;
            }
                    
            .project-title a:hover {
                color: #409eff;
                text-decoration: underline;
            }
            

            
            .project-stage {
                .stage-tag {
                    padding: 4px 12px;
                    border-radius: 20px;
                    font-size: 12px;
                    font-weight: 500;
                    
                    &.stage-bidding {
                        background: #ecf5ff;
                        color: #409eff;
                    }
                    
                    &.stage-design {
                        background: #f0f9eb;
                        color: #67c23a;
                    }
                    
                    &.stage-construction {
                        background: #fdf6ec;
                        color: #e6a23c;
                    }
                    
                    &.stage-completed {
                        background: #f0f9eb;
                        color: #67c23a;
                    }
                    
                    &.stage-default {
                        background: #f4f4f5;
                        color: #909399;
                    }
                }
            }
        }
        
        .project-content {
            .project-description {
                color: #606266;
                line-height: 1.6;
                margin-bottom: 16px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            
            .project-details {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 16px;
                margin-bottom: 16px;
                
                .detail-item {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 14px;
                    color: #909399;
                    
                    .detail-label {
                        font-weight: 500;
                    }
                    
                    .detail-value {
                        color: #303133;
                    }
                    
                    .cost-highlight {
                        color: #e6a23c;
                        font-weight: 600;
                    }
                }
            }
        }
        
        .project-tags {
            margin: 16px 0;
            
            .el-tag {
                margin-right: 8px;
                margin-bottom: 8px;
            }
        }
        
        .project-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #909399;
            
            .update-time {
                display: flex;
                align-items: center;
                gap: 4px;
            }
        }
    }
}

/* 招投标结果样式 */
.bid-results {
    .bid-item {
        padding: 20px;
        border: 1px solid #e4e7ed;
        border-radius: 12px;
        margin-bottom: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        
        &:hover {
            border-color: #409eff;
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
            transform: translateY(-2px);
        }
        
        .bid-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
            
            .bid-title {
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                color: #303133;
                flex: 1;
                margin-right: 16px;
            }
                    
            .bid-title a {
                color: #303133;
                text-decoration: none;
                transition: color 0.3s ease;
                cursor: pointer;
            }
                    
            .bid-title a:hover {
                color: #409eff;
                text-decoration: underline;
            }
            

            
            .bid-category {
                .category-tag {
                    padding: 4px 12px;
                    border-radius: 20px;
                    font-size: 12px;
                    font-weight: 500;
                    
                    &.category-bidding {
                        background: #ecf5ff;
                        color: #409eff;
                    }
                    
                    &.category-winning {
                        background: #f0f9eb;
                        color: #67c23a;
                    }
                    
                    &.category-default {
                        background: #f4f4f5;
                        color: #909399;
                    }
                }
            }
        }
        
        .bid-details {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
            
            .detail-item {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 14px;
                color: #909399;
                
                .detail-label {
                    font-weight: 500;
                }
                
                .detail-value {
                    color: #303133;
                }
                
                .budget-highlight {
                    color: #e6a23c;
                    font-weight: 600;
                }
            }
        }
        
        .bid-tags {
            margin: 16px 0;
            
            .el-tag {
                margin-right: 8px;
                margin-bottom: 8px;
            }
        }
        
        .bid-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #909399;
            
            .update-time {
                display: flex;
                align-items: center;
                gap: 4px;
            }
        }
    }
}

/* 企业结果样式 */
.company-results {
    .company-item {
        padding: 20px;
        border: 1px solid #e4e7ed;
        border-radius: 12px;
        margin-bottom: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        
        &:hover {
            border-color: #409eff;
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
            transform: translateY(-2px);
        }
        
        .company-header {
            margin-bottom: 16px;
            
            .company-title {
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                color: #303133;
            }
                    
            .company-title a {
                color: #303133;
                text-decoration: none;
                transition: color 0.3s ease;
                cursor: pointer;
            }
                    
            .company-title a:hover {
                color: #409eff;
                text-decoration: underline;
            }
            

        }
        
        .company-details {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
            
            .detail-item {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 14px;
                color: #909399;
                
                .detail-label {
                    font-weight: 500;
                }
                
                .detail-value {
                    color: #303133;
                }
            }
        }
        
        .company-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #909399;
            
            .update-time {
                display: flex;
                align-items: center;
                gap: 4px;
            }
        }
    }
}

/* 联系人结果样式 */
.contact-results {
    .contact-item {
        padding: 20px;
        border: 1px solid #e4e7ed;
        border-radius: 12px;
        margin-bottom: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        
        &:hover {
            border-color: #409eff;
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.15);
            transform: translateY(-2px);
        }
        
        .contact-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            
            .contact-name {
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                color: #303133;
            }
            
            .contact-name a {
                color: #303133;
                text-decoration: none;
                transition: color 0.3s ease;
                cursor: pointer;
            }
            
            .contact-name a:hover {
                color: #409eff;
                text-decoration: underline;
            }
            

            
            .contact-position {
                .el-tag {
                    font-size: 12px;
                }
            }
        }
        
        .contact-details {
            .detail-item {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 14px;
                color: #909399;
                margin-bottom: 8px;
                
                .detail-label {
                    font-weight: 500;
                }
                
                .detail-value {
                    color: #303133;
                }
            }
        }
    }
}

/* 潜在客户结果样式 */
.customer-results {
    .customer-item {
        background: white;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid #e4e7ed;
        position: relative;
        overflow: hidden;
        
        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }
        
        .customer-header {
            margin-bottom: 16px;
            
            .customer-title {
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                color: #303133;
            }
                
            .customer-title a {
                color: #303133;
                text-decoration: none;
                transition: color 0.3s ease;
                cursor: pointer;
            }
                
            .customer-title a:hover {
                color: #409eff;
                text-decoration: underline;
            }
        }
        
        /* AI分析引导样式 */
        .ai-analysis-guide {
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #ecf5ff 0%, #f0f9ff 100%);
            border: 1px solid #b3d8ff;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 60px;
            
            &:hover {
                background: linear-gradient(135deg, #d9ecff 0%, #e1f3ff 100%);
                transform: translateX(5px);
                box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
            }
            
            .guide-icon {
                flex: 0 0 auto;
                color: #409eff;
                font-size: 20px;
                animation: pulse 2s infinite;
            }
            
            .guide-content {
                flex: 1;
                display: flex;
                flex-direction: column;
                gap: 2px;
                min-width: 0; /* 允许内容换行 */
                
                .guide-label {
                    font-weight: 600;
                    color: #409eff;
                    font-size: 14px;
                    white-space: nowrap;
                }
                
                .guide-description {
                    font-size: 12px;
                    color: #606266;
                    line-height: 1.4;
                    white-space: normal; /* 允许换行 */
                    word-wrap: break-word; /* 长单词换行 */
                    max-width: 100%; /* 限制最大宽度 */
                }
            }
            
            .guide-arrow {
                flex: 0 0 auto;
                color: #409eff;
                font-size: 16px;
                animation: bounce 2s infinite;
            }
        }

        .customer-content {
            .reason-section {
                background: #f5f7fa;
                border-radius: 8px;
                padding: 16px;
                margin-bottom: 16px;
                
                .section-title {
                    font-size: 14px;
                    font-weight: 600;
                    color: #606266;
                    margin-bottom: 12px;
                }
                
                .reason-item {
                    margin-bottom: 12px;
                    padding: 12px;
                    border-bottom: 1px solid #e4e7ed;
                    border-radius: 4px;
                    transition: all 0.3s ease;
                    cursor: pointer;
                    
                    &:last-child {
                        margin-bottom: 0;
                        padding-bottom: 12px;
                        border-bottom: none;
                    }
                    
                    &:hover {
                        background: #e1f3ff;
                        transform: translateX(5px);
                        box-shadow: 0 2px 8px rgba(64, 158, 255, 0.2);
                    }
                    
                    .reason-title {
                        font-weight: 500;
                        color: #303133;
                        margin-bottom: 4px;
                    }
                    
                    .reason-meta {
                        display: flex;
                        gap: 16px;
                        font-size: 12px;
                        color: #909399;
                    }
                }
                
                /* 添加可点击推荐依据的样式 */
                .clickable-reason {
                    cursor: pointer;
                    transition: all 0.3s ease;
                    
                    &:hover {
                        background: #e1f3ff;
                        transform: translateX(5px);
                        box-shadow: 0 2px 8px rgba(64, 158, 255, 0.2);
                    }
                }
                
                .more-reasons {
                    font-size: 12px;
                    color: #409eff;
                    text-align: center;
                    margin-top: 8px;
                }
            }
        }
        
        .customer-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #909399;
            
            .update-time {
                display: flex;
                align-items: center;
                gap: 4px;
            }
        }
    }
    
    .no-data {
        text-align: center;
        padding: 40px 20px;
        color: #909399;
        font-size: 16px;
    }
}

/* 加载指示器 */
#loadingIndicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 0 0 20px 20px;
    
    .loading-content {
        text-align: center;
        
        .loading-icon {
            font-size: 48px;
            animation: rotate 1s linear infinite;
            color: #409eff;
            margin-bottom: 20px;
        }
        
        .loading-text {
            font-size: 18px;
            color: white;
            margin: 0;
        }
    }
}

/* 传统功能区域 */
.traditional-section {
    .features-section {
        padding: 80px 20px;
        background: white;
        
        .container {
            max-width: 1360px;
            margin: 0 auto;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 60px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .feature-card {
            background: #f8f9fa;
            padding: 40px 30px;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            
            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                
                .feature-icon {
                    color: white;
                }
                
                p {
                    color: rgba(255, 255, 255, 0.9);
                }
            }
            
            .feature-icon {
                color: #409eff;
                margin-bottom: 20px;
                transition: all 0.3s ease;
            }
            
            h3 {
                font-size: 1.5rem;
                color: #2c3e50;
                margin-bottom: 15px;
                transition: all 0.3s ease;
            }
            
            p {
                color: #666;
                line-height: 1.6;
                transition: all 0.3s ease;
            }
        }
    }
    
    .stats-section {
        padding: 80px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        
        .container {
            max-width: 1360px;
            margin: 0 auto;
        }
        
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            text-align: center;
            
            .stat-item {
                .stat-number {
                    font-size: 3rem;
                    font-weight: 700;
                    color: #ffffff;
                    margin-bottom: 10px;
                    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
                }
                
                .stat-label {
                    font-size: 1.1rem;
                    color: rgba(255, 255, 255, 0.9);
                    font-weight: 500;
                }
            }
        }
    }
}

/* 动画定义 */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ai-hero-section {
        padding: 30px 15px 20px; /* 减少移动端的内边距 */
        
        .ai-hero-title {
            font-size: 1.8rem; /* 恢复移动端标题字体 */
        }
        
        .ai-hero-subtitle {
            font-size: 0.9rem; /* 恢复移动端副标题字体 */
        }
        
        .smart-query-input-group {
            .search-input {
                height: 50px; /* 恢复移动端输入框高度 */
                font-size: 14px; /* 恢复字体大小 */
                padding: 0 15px; /* 恢复内边距 */
            }
            
            .search-button {
                height: 42px; /* 恢复移动端按钮高度 */
                padding: 0 16px; /* 恢复内边距 */
                font-size: 13px; /* 恢复字体大小 */
            }
        }
        
        .quick-examples {
            flex-direction: column;
            align-items: flex-start;
            margin-top: 8px; /* 进一步减少移动端上边距 */
            
            .examples-label {
                font-size: 13px; /* 调整标签字体 */
            }
            
            .example-tags {
                width: 100%;
                justify-content: center;
                gap: 3px; /* 进一步减少移动端间距 */
                
                /* 样式已移至页面内联样式中以确保优先级 */
            }
        }
    }
    
    .search-result-section {
        padding: 30px 0; /* 恢复结果区域的内边距 */
        
        .result-header {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }
    }
    
    .traditional-section {
        .features-section {
            padding: 40px 20px; /* 恢复功能区域的内边距 */
            
            .section-title {
                font-size: 1.8rem; /* 恢复标题字体 */
                margin-bottom: 40px; /* 恢复下边距 */
            }
            
            .features-grid {
                grid-template-columns: 1fr;
                gap: 20px; /* 恢复网格间距 */
            }
        }
        
        .stats-section {
            padding: 40px 20px; /* 恢复统计区域的内边距 */
            
            .stats-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px; /* 恢复间距 */
                
                .stat-item {
                    .stat-number {
                        font-size: 2rem; /* 恢复数字字体 */
                    }
                    
                    .stat-label {
                        font-size: 0.9rem; /* 恢复标签字体 */
                    }
                }
            }
        }
    }
}

/* 推断依据卡片样式 */
.inference-basis-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 24px;
    border: none;
    background: #fff;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
    border-left: 4px solid #409eff;
}

.inference-basis-card .card-header {
    background: linear-gradient(135deg, #409eff 0%, #667eea 100%);
    color: white;
    padding: 20px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px 16px 0 0;
}

.inference-basis-card .card-header i {
    font-size: 1.2em;
}

.inference-basis-card .card-title {
    font-size: 18px;
    margin: 0;
}

.inference-basis-card .card-body {
    padding: 24px;
}

.inference-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-inference-text {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    padding: 16px;
    background: #f5f7fa;
    border-radius: 12px;
    border: 1px solid #e4e7ed;
    position: relative;
}

.ai-inference-text:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #f5f7fa;
}
