/* ========== 场景征集详情页样式 ========== */
body {
    background: #0f172a;
    color:#fff;
}
a{color:#fff;}
.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;
}

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

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

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

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

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

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

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

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

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

.collection-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);
}

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

/* 优势列表 */
.advantage-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

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

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

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

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

/* 应用场景 */
.application-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.application-card {
    padding: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    text-align: center;
}

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

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

.application-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* 成功案例 */
.success-case {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 24px;
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

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

.case-tag {
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    font-size: 12px;
    color: #4ade80;
}

.case-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

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

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 4px;
}

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

/* 侧边栏 */
.collection-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-card {
    text-align: center;
}

.provider-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

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

.provider-basic h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

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

.provider-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.pstat {
    text-align: center;
}

.pstat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #a78bfa;
}

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

/* 模型列表 */
.model-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-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;
}

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

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

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

/* 申请试用卡片 */
.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

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

.contact-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    box-sizing: border-box;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
    filter: brightness(1.08);
}

.contact-btn:active {
    transform: translateY(0);
}

/* 相关推荐 */
.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-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    font-size: 12px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.related-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

/* 响应式 */
@media (max-width: 1024px) {
    .collection-detail-container {
        grid-template-columns: 1fr;
    }
}

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

    .collection-detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .sidebar-card {
        padding: 14px;
    }
    .sidebar-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .provider-card {
        grid-column: 1 / -1;
    }
    .provider-header {
        margin-bottom: 12px;
    }
    .provider-avatar-lg {
        width: 48px;
        height: 48px;
        font-size: 24px;
        flex-shrink: 0;
    }
    .provider-stats {
        gap: 20px;
    }
    .pstat-value {
        font-size: 20px;
    }
    .sidebar-link {
        margin-top: 12px;
    }
    .model-list {
        gap: 6px;
    }
    .model-item {
        padding: 8px;
        gap: 8px;
    }
    .model-icon {
        font-size: 16px;
    }
    .model-name {
        font-size: 12px;
    }
    .contact-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .contact-card p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    .contact-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

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

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

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

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

    .collection-detail-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar-card {
        padding: 12px;
    }
    .sidebar-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .provider-card {
        grid-column: auto;
    }
    .provider-avatar-lg {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .provider-basic h3 {
        font-size: 15px;
    }
    .provider-type {
        font-size: 11px;
    }
    .provider-stats {
        gap: 16px;
    }
    .pstat-value {
        font-size: 18px;
    }
    .pstat-label {
        font-size: 11px;
    }
    .model-item {
        padding: 6px;
    }
    .model-icon {
        font-size: 14px;
    }
    .model-name {
        font-size: 11px;
    }
    .contact-card h3 {
        font-size: 13px;
    }
    .contact-card p {
        font-size: 11px;
        margin-bottom: 12px;
    }
    .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
