/* 案例 - 数据矩阵风格 */
.page-header-cases {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}

.page-header-cases .matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    opacity: 0.15;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #00ff88;
    padding: 10px;
}

.page-header-cases .data-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-header-cases .data-col span {
    animation: dataFlicker 2s ease-in-out infinite;
}

.page-header-cases .data-col:nth-child(1) span { animation-delay: 0s; }
.page-header-cases .data-col:nth-child(2) span { animation-delay: 0.2s; }
.page-header-cases .data-col:nth-child(3) span { animation-delay: 0.4s; }
.page-header-cases .data-col:nth-child(4) span { animation-delay: 0.6s; }
.page-header-cases .data-col:nth-child(5) span { animation-delay: 0.8s; }

@keyframes dataFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.page-header-cases .terminal-frame .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(0,255,136,0.4);
    border-style: solid;
}

.page-header-cases .corner.tl {
    top: 15px;
    left: 15px;
    border-width: 2px 0 0 2px;
}

.page-header-cases .corner.tr {
    top: 15px;
    right: 15px;
    border-width: 2px 2px 0 0;
}

.page-header-cases .corner.bl {
    bottom: 15px;
    left: 15px;
    border-width: 0 0 2px 2px;
}

.page-header-cases .corner.br {
    bottom: 15px;
    right: 15px;
    border-width: 0 2px 2px 0;
}

/* ==================== 案例成效 ==================== */
.cases {
    background: #fff;
    padding: 20px 0 40px;
}

.case-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.case-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #3333;
}

.case-img {
    height: 180px;
    width: 100%;
}

.case-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(255,255,255,0.5), rgba(255,255,255,0.4));
}

.case-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}

.case-content p {
    font-size: 14px;
    color: #333;
}

.case-content strong {
    color: #f59e0b;
    font-size: 18px;
    font-weight: 800;
}

.highlight-num {
    color: #f59e0b;
    font-weight: 800;
}

.highlight-text {
    color: #d97706;
    font-weight: 700;
}

/* 数据报表 */
.performance-section {
    margin-top: 20px;
}

.performance-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
    border: 1px solid #ccfbf1;
    margin: 0 15px;
}

.table-header {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.data-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
    height: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 2px;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

th {
    background: #f9fafb;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: left;
    white-space: nowrap;
}

td {
    padding: 12px 8px;
    font-size: 12px;
    border-bottom: 1px solid #f3f4f6;
}

tbody tr:hover {
    background: #f0fdfa;
}

.td-num {
    width: 24px;
    height: 24px;
    background: #0d9488;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.td-region {
    font-weight: 700;
    color: #111827;
}

.td-area {
    color: #d97706;
    font-weight: 700;
}

.td-crop {
    color: #0f766e;
}

.td-increase {
    color: #0d9488;
    font-weight: 700;
}

.td-increase.high {
    color: #f59e0b;
}
