/* AI Agent 智能体页面样式 */
.agent-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.agent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.agent-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.agent-icon {
    font-size: 2rem;
}

.agent-platform-selector {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.agent-platform-selector:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

/* 什么是AI Agent 部分 */
.agent-intro {
    margin-bottom: 2rem;
}

.agent-intro h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.agent-intro-icon {
    font-size: 1.5rem;
}

.agent-definition {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.agent-definition p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.agent-definition p:last-child {
    margin-bottom: 0;
}

.agent-architecture {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* 主流开发平台 */
.agent-platforms {
    margin-bottom: 2rem;
}

.agent-platforms h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.platform-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color var(--transition-fast);
}

.platform-link:hover {
    color: var(--text-primary);
}

.platform-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 应用场景 */
.agent-scenarios {
    margin-bottom: 2rem;
}

.agent-scenarios h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.scenario-list {
    list-style: none;
    padding: 0;
}

.scenario-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.scenario-item:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.scenario-item:last-child {
    margin-bottom: 0;
}

.scenario-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.scenario-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 2025年发展趋势 */
.agent-trends {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: var(--border-radius);
    padding: 2rem;
}

.agent-trends h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.trends-content {
    color: #78350f;
    line-height: 1.7;
}

.trends-highlight {
    background: rgba(251, 191, 36, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .agent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .agent-title {
        font-size: 1.5rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .agent-section {
        padding: 1rem;
    }
    
    .agent-title {
        font-size: 1.25rem;
    }
    
    .platform-card {
        padding: 1rem;
    }
}