/* 查重报告页面样式优化 */
.report-header {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 50%, #fff5f5 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,71,87,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.report-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.report-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.report-actions {
    display: flex;
    gap: 1rem;
}

.report-meta {
    position: relative;
    z-index: 1;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 71, 87, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.1);
    transition: all 0.3s ease;
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

/* 检测结果概览 */
.result-overview {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-card {
    background: white;
    border: 1px solid rgba(255, 71, 87, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.1);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(255, 71, 87, 0.15);
}

.overview-card.main-score {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid rgba(255, 71, 87, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 71, 87, 0.05);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(5px);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

/* 分数圆圈优化 */
.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.score-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.score-ring svg {
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 8px rgba(255, 71, 87, 0.3));
}

.score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.score-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 检测范围 */
.detection-scope {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scope-item {
    background: white;
    border: 1px solid rgba(255, 71, 87, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.1);
    transition: all 0.3s ease;
}

.scope-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
    border-color: var(--primary);
}

.scope-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.1);
    border-radius: var(--radius);
}

.scope-item span {
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}

/* 相似片段详情 */
.similarity-details {
    padding: 80px 0;
    background: white;
}

.detail-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.detail-stats span {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.source-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.source-item {
    background: white;
    border: 1px solid rgba(255, 71, 87, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.source-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.1);
}

.source-type {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.source-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.similarity-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.similarity-item {
    background: white;
    border: 1px solid rgba(255, 71, 87, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.1);
    transition: all 0.3s ease;
}

.similarity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
}

.item-header {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 71, 87, 0.1);
}

.item-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.item-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.item-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.similarity-rate {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.source-type {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.item-content {
    padding: 1.5rem;
}

.text-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.original-text, .similar-text {
    background: rgba(255, 71, 87, 0.05);
    border-radius: var(--radius);
    padding: 1rem;
}

.original-text h5, .similar-text h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-text h5::before {
    content: '📝';
    font-size: 1rem;
}

.similar-text h5::before {
    content: '🔍';
    font-size: 1rem;
}

.original-text p, .similar-text p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .overview-card.main-score {
        grid-column: 1;
    }
    
    .scope-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .report-title {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .report-title h1 {
        font-size: 2rem;
    }
    
    .report-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .report-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .meta-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .source-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .text-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .item-stats {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .report-title h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .scope-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .source-stats {
        grid-template-columns: 1fr;
    }
}






