/* ========== AI大模型详情页样式 ========== */
body {
    background: #0f172a;
}

.detail-main {
    min-height: calc(100vh - 70px);
    padding: 40px 0 60px;
    margin-top: 70px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #a78bfa;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: #a78bfa !important;
}

/* 模型概览 */
.model-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    margin-bottom: 40px;
}

.model-logo {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.model-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.model-tag {
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.model-actions {
    display: flex;
    gap: 12px;
}

.model-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.model-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
}

.model-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.model-btn.secondary {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
}

.model-btn.secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* 详情容器 */
.model-detail-container {
    max-width: 1200px;
}

.model-section {
    margin-bottom: 48px;
}

.model-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* 能力卡片 */
.ability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ability-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.ability-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
}

.ability-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.ability-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.ability-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* 技术参数 */
.tech-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.spec-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
}

/* 行业应用 */
.scenario-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scenario-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
}

.scenario-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.scenario-content {
    flex: 1;
}

.scenario-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.scenario-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 使用示例 */
.example-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.example-chat {
    max-width: 80%;
}

.example-chat.user {
    margin-left: auto;
}

.example-header {
    margin-bottom: 8px;
}

.example-role {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.example-chat.user .example-role {
    text-align: right;
}

.example-content {
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.example-chat:not(.ai) .example-content {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.example-chat.ai .example-content {
    background: rgba(59, 130, 246, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* 相关模型 */
.related-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-model-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-model-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
}

.rmodel-logo {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.rmodel-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rmodel-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.rmodel-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式 */
@media (max-width: 1024px) {
    .ability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-models {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .model-hero {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    
    .model-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ability-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
    
    .example-chat {
        max-width: 100%;
    }
}
