/* AI助手页面专用样式 */
.ai-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333333 !important;
    padding: 4rem 0;
    text-align: center;
}

/* 确保AI英雄区域的所有文字都是黑色 */
.ai-hero h1 {
    color: #222222 !important;
    font-weight: 900 !important; /* 额外加粗标题 */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.ai-hero p {
    color: #333333 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.ai-hero .ai-stat-number {
    color: #222222 !important;
    font-weight: bold;
    font-size: 3rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.ai-hero small {
    color: #444444 !important;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6);
}

.ai-feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ai-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.ai-demo-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-radius: 20px;
    margin: 3rem 0;
}

.voice-visualizer {
    width: 200px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 3px;
}

.voice-bar {
    width: 4px;
    background: #007bff;
    border-radius: 2px;
    transition: height 0.1s ease;
}

.voice-bar.active {
    animation: voiceWave 1s infinite ease-in-out;
}

@keyframes voiceWave {
    0%, 100% { height: 10px; }
    50% { height: 50px; }
}

.ai-chat-demo {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.demo-message {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

.demo-message.user {
    flex-direction: row-reverse;
}

.demo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.demo-message.ai .demo-avatar {
    background: #007bff;
    color: white;
}

.demo-message.user .demo-avatar {
    background: #28a745;
    color: white;
}

.demo-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.demo-message.user .demo-content {
    background: #007bff;
    color: white;
}

.ai-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ai-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ai-stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    display: block;
}

.ai-capabilities {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 20px;
    margin: 3rem 0;
}

/* AI能力矩阵文字样式优化 */
.ai-capabilities h3 {
    color: #222222 !important;
    font-weight: 900 !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.ai-capabilities .capability-item h5 {
    color: #222222 !important;
    font-weight: 900 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.ai-capabilities .capability-item p {
    color: #333333 !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.ai-capabilities .capability-item i {
    color: #222222 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}