/* ========== 场景详情页样式 ========== */
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;
}

/* 详情容器 */
.scenario-detail-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

/* 主内容区 */
.scenario-detail-main {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.scenario-detail-header {
    padding: 32px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.scenario-detail-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    font-size: 13px;
    color: white;
    margin-bottom: 16px;
}

.scenario-detail-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.scenario-detail-meta {
    display: flex;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.scenario-detail-cover {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.scenario-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenario-detail-content {
    padding: 32px;
}

.scenario-detail-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.scenario-detail-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* 功能列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

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

.feature-list p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* 案例卡片 */
.case-study {
    margin-bottom: 32px;
}

.case-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 24px;
}

.case-company {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.case-result {
    display: flex;
    gap: 32px;
}

.result-item {
    text-align: center;
}

.result-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 4px;
}

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

/* 行业标签 */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.industry-tag {
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 侧边栏 */
.scenario-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 24px;
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.sidebar-link {
    display: block;
    text-align: center;
    padding: 12px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 14px;
    margin-top: 16px;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: #c4b5fd;
}

/* 服务商列表 */
.provider-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.provider-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
}

.provider-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.provider-info {
    flex: 1;
}

.provider-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.provider-tags {
    display: flex;
    gap: 8px;
}

.provider-tag {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 解决方案列表 */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s;
}

.solution-item:hover {
    background: rgba(99, 102, 241, 0.2);
}

.solution-icon {
    font-size: 20px;
}

.solution-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 联系卡片 */
.contact-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.contact-card h3 {
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.contact-btn {
    display: block;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* 相关推荐 */
.related-section {
    margin-top: 60px;
}

.related-section .section-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.related-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-4px);
}

.related-img {
    height: 160px;
    overflow: hidden;
}

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

.related-info {
    padding: 16px;
}

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

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

/* 响应式 */
@media (max-width: 1024px) {
    .scenario-detail-container {
        grid-template-columns: 1fr;
    }
    
    .scenario-detail-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .scenario-detail-sidebar .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .scenario-detail-header {
        padding: 20px 16px;
    }
    .scenario-detail-header h1 {
        font-size: 22px;
    }
    .scenario-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    .scenario-detail-cover {
        height: 220px;
    }
    .scenario-detail-content {
        padding: 20px 16px;
    }

    .case-result {
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .contact-card h3 {
        font-size: 14px;
    }
    .contact-card p {
        font-size: 12px;
    }
    .contact-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .scenario-detail-header {
        padding: 16px 12px;
    }
    .scenario-detail-header h1 {
        font-size: 18px;
    }
    .scenario-detail-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    .scenario-detail-meta {
        gap: 10px;
    }
    .meta-item {
        font-size: 12px;
    }
    .scenario-detail-cover {
        height: 180px;
    }
    .scenario-detail-content {
        padding: 16px 12px;
    }
    .scenario-detail-content h2 {
        font-size: 18px;
    }

    .contact-card h3 {
        font-size: 13px;
    }
    .contact-card p {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
