/* ========== 研发成果页面样式 ========== */

/* ========== 页面基础 ========== */
.achievement-page {
    min-height: 100vh;
    background: #f5f7fb;
}

.achievement-page .container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ========== 筛选区域 ========== */
.achievement-filter {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: #FE720A;
    color: #FE720A;
}

.filter-tab.active {
    background: #FE720A;
    border-color: #FE720A;
    color: #fff;
}

/* ========== 研发成果列表 ========== */
.achievement-section {
    padding: 40px 0;
}

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

.achievement-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.15s; }
.achievement-card:nth-child(3) { animation-delay: 0.2s; }
.achievement-card:nth-child(4) { animation-delay: 0.25s; }
.achievement-card:nth-child(5) { animation-delay: 0.3s; }
.achievement-card:nth-child(6) { animation-delay: 0.35s; }
.achievement-card:nth-child(7) { animation-delay: 0.4s; }
.achievement-card:nth-child(8) { animation-delay: 0.45s; }
.achievement-card:nth-child(9) { animation-delay: 0.5s; }
.achievement-card:nth-child(10) { animation-delay: 0.55s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(254, 114, 10, 0.18);
}

.achievement-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.achievement-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.achievement-card:hover .achievement-card-image img {
    transform: scale(1.1);
}

.achievement-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 12px;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(135deg, #FE720A 0%, #ff9a4d 100%);
    box-shadow: 0 2px 10px rgba(254, 114, 10, 0.3);
}

.achievement-card-content {
    padding: 24px;
}

.achievement-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.achievement-card-date {
    font-size: 13px;
    color: #999;
}

.achievement-card-docs {
    display: flex;
    gap: 6px;
}

.achievement-card-doc {
    padding: 4px 8px;
    font-size: 11px;
    color: #FE720A;
    background: #fff5eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.achievement-card-doc svg {
    width: 12px;
    height: 12px;
}

/* ========== 空状态 ========== */
.no-data {
    text-align: center;
    padding: 80px 0;
    color: #999;
    grid-column: 1 / -1;
}

.no-data-icon {
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========== 响应式适配 ========== */
@media screen and (max-width: 1200px) {
    .achievement-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .achievement-page .container {
        width: 100%;
        padding: 0 15px;
    }

    .achievement-filter {
        padding: 12px 0;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .achievement-section {
        padding-bottom: 40px;
    }

    .achievement-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .achievement-card-image {
        height: 130px;
    }

    .achievement-card-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .achievement-card-content {
        padding: 16px;
    }

    .achievement-card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .achievement-card-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .achievement-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 12px;
    }
}

@media screen and (max-width: 480px) {
    .achievement-list {
        grid-template-columns: 1fr;
    }

    .achievement-card-image {
        height: 180px;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .achievement-card-content {
        padding: 14px;
    }

    .achievement-card-title {
        font-size: 15px;
    }
}
