/* 科技创新页面样式 */

/* 页面横幅 */
.tech-banner {
    background: url('../../images/tmbannerkjcx.png') center/cover no-repeat;
    height: 625px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.technology-page {
    background: white;
    padding: 80px 0 100px;
}

/* 平台展示图 */
.platform-visual {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 100px 0;
    min-height: 600px;
}

/* 中心立体图 */
.platform-center {
    text-align: center;
    position: relative;
    z-index: 1;
}

.platform-center img {
    max-width: 450px;
    height: auto;
    display: inline-block;
}

/* 平台图标容器 */
.platform-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 单个平台图标 */
.platform-icon {
    position: absolute;
    text-align: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    min-width: 120px;
}

.platform-icon:hover {
    transform: scale(1.15);
    z-index: 10;
}

/* 图标图片 */
.platform-icon img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.platform-icon .icon-hover {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

/* 只有hover时才显示深色图标 */
.platform-icon:hover .icon-normal {
    opacity: 0;
}

.platform-icon:hover .icon-hover {
    opacity: 1;
}

/* 图标标签 */
.icon-label {
    margin-top: 12px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    white-space: nowrap;
    font-weight: 500;
}

/* 平台详情 */
.platform-detail {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 50px 60px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: all 0.5s ease;
}

/* 详情图片 */
.detail-image {
    flex: 0 0 350px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

/* 详情内容 */
.detail-content {
    flex: 1;
}

.detail-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    transition: opacity 0.5s ease;
}

.detail-desc {
    font-size: 16px;
    color: #666;
    line-height: 2;
    text-align: justify;
    transition: opacity 0.5s ease;
}

/* 专家团队 */
.team-section {
    padding-top: 0;
}

.section-main-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: left;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

.team-member {
    background: white;
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

/* 专家照片 */
.member-photo {
    width: 100%;
    height: 0;
    padding-bottom: 120.74%; /* 326/270 = 1.2074 */
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.member-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

/* 专家信息 */
.member-info {
    padding: 0 10px;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.member-titles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-titles li {
    font-size: 14px;
    color: #666;
    line-height: 2;
    position: relative;
}

.member-titles li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 5px;
}

/* 科技奖励 */
.awards-section {
    padding-top: 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 40px;
}

.award-item {
    background: white;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.award-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 奖励证书图片 */
.award-image {
    width: 100%;
    height: 0;
    padding-bottom: 141.48%; /* 证书比例约为 1:1.4148 */
    background: white;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
}

.award-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.award-item:hover .award-image img {
    transform: scale(1.08);
}

/* 科研项目 */
.research-projects-section {
    padding-top: 0;
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.projects-filter .filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.projects-filter .search-group {
    flex: 1 1 260px;
    text-align: right;
}

.projects-filter input[type="text"] {
    width: 100%;
    max-width: 340px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 12px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.project-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 12px;
}

.project-tags span {
    display: inline-block;
    font-size: 12px;
    color: #666;
    background: #f4f7ff;
    border: 1px solid #e5edff;
    border-radius: 12px;
    padding: 3px 8px;
    margin-right: 8px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    align-items: center;
}

.pagination-item {
    list-style: none;
}

.pagination-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f5f8ff;
}

.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .projects-filter { flex-direction: column; align-items: stretch; }
    .projects-filter .search-group { text-align: left; flex: 1 1 auto; }
    .projects-grid { grid-template-columns: 1fr; }
    
    .pagination {
        margin-top: 40px;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* 科技成果 */
.achievements-section { padding-top: 0; }

.achievements-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: flex-start;
}

.achievement-tab-btn {
    padding: 12px 40px;
    border: none;
    background: transparent;
    border-radius: 28px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

/* 左侧麦穗图标 - 未激活状态 */
.achievement-tab-btn::before {
    content: '';
    width: 32px;
    height: 36px;
    background-image: url('../../images/tmry2l.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s;
}

/* 右侧麦穗图标 - 未激活状态 */
.achievement-tab-btn::after {
    content: '';
    width: 32px;
    height: 36px;
    background-image: url('../../images/tmry2r.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s;
}

/* 激活状态 - 左侧蓝色图标 */
.achievement-tab-btn.active::before {
    background-image: url('../../images/tmryl.png');
}

/* 激活状态 - 右侧蓝色图标 */
.achievement-tab-btn.active::after {
    background-image: url('../../images/tmryy.png');
}

.achievement-tab-btn.active {
    background: transparent;
    color: var(--primary-color);
}

.achievement-tab-btn:hover:not(.active) {
    background: #f0f7ff;
}

.achievement-tab-btn:hover::before,
.achievement-tab-btn:hover::after {
    transform: scale(1.1);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

.achievement-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 18px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.achievement-image {
    width: 100%;
    height: 0;
    padding-bottom: 141.48%;
    background: #fff;
    position: relative;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
}

.achievement-image img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.3s;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.1);
}

.achievement-title { font-size: 16px; color: #333; line-height: 1.7; margin-bottom: 6px; }
.achievement-meta { font-size: 12px; color: #999; }

@media (max-width: 1200px) {
    .achievements-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .achievements-tabs {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .achievement-tab-btn {
        padding: 8px 25px;
        font-size: 15px;
    }
    
    .achievement-tab-btn::before,
    .achievement-tab-btn::after {
        width: 22px;
        height: 26px;
    }
    
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .achievements-tabs {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .achievement-tab-btn {
        padding: 8px 25px;
        font-size: 15px;
    }
    
    .achievement-tab-btn::before,
    .achievement-tab-btn::after {
        width: 22px;
        height: 26px;
    }
    
    .achievements-grid { grid-template-columns: 1fr; }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .platform-visual {
        max-width: 950px;
        padding: 80px 0;
        min-height: 550px;
    }
    
    .platform-center img {
        max-width: 380px;
    }
    
    .platform-icon img {
        width: 90px;
        height: 90px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }
    
    .award-item {
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .tech-banner {
        height: 500px;
    }
    
    .technology-page {
        padding: 60px 0 80px;
    }
    
    .platform-visual {
        max-width: 800px;
        margin-bottom: 70px;
        padding: 70px 0;
        min-height: 500px;
    }
    
    .platform-center img {
        max-width: 350px;
    }
    
    .platform-icon img {
        width: 85px;
        height: 85px;
    }
    
    .icon-label {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .platform-detail {
        gap: 50px;
        padding: 40px 50px;
    }
    
    .detail-image {
        flex: 0 0 300px;
        height: 230px;
    }
    
    .detail-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .detail-desc {
        font-size: 15px;
        line-height: 1.9;
    }
    
    .section-main-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
    
    .member-name {
        font-size: 18px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }
    
    .award-item {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .tech-banner {
        height: 400px;
    }
    
    .technology-page {
        padding: 40px 0 60px;
    }
    
    .platform-visual {
        max-width: 600px;
        margin-bottom: 50px;
        padding: 50px 0;
        min-height: 400px;
    }
    
    .platform-center img {
        max-width: 280px;
    }
    
    .platform-icon img {
        width: 70px;
        height: 70px;
    }
    
    .platform-icon {
        min-width: 100px;
    }
    
    .icon-label {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .platform-detail {
        flex-direction: column;
        gap: 30px;
        padding: 35px;
    }
    
    .detail-image {
        flex: 0 0 auto;
        width: 100%;
        height: 220px;
    }
    
    .detail-title {
        font-size: 19px;
        margin-bottom: 15px;
    }
    
    .detail-desc {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .section-main-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .member-name {
        font-size: 17px;
    }
    
    .member-titles li {
        font-size: 13px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
    
    .award-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tech-banner {
        height: 300px;
    }
    
    .technology-page {
        padding: 30px 0 50px;
    }
    
    .platform-visual {
        max-width: 100%;
        margin-bottom: 35px;
        padding: 40px 0;
        min-height: 350px;
    }
    
    .platform-center img {
        max-width: 220px;
    }
    
    .platform-icon img {
        width: 60px;
        height: 60px;
    }
    
    .platform-icon {
        min-width: 85px;
    }
    
    .icon-label {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .platform-detail {
        padding: 25px;
        gap: 20px;
    }
    
    .detail-image {
        height: 190px;
    }
    
    .detail-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .detail-desc {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .section-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .member-name {
        font-size: 18px;
    }
    
    .member-titles li {
        font-size: 13px;
        line-height: 1.8;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .award-item {
        padding: 20px;
    }
}

/* 科技成果 - 3D堆叠轮播样式 */
.achievements-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.achievements-slider {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.achievement-slide {
    position: absolute;
    width: 60%;
    max-width: 700px;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    background: white;
}

/* 被筛选隐藏的幻灯片 */
.achievement-slide.filtered-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.achievement-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
    padding: 20px;
}

/* 成果信息叠加层 */
.achievement-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4));
    color: white;
    padding: 25px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.achievement-slide:hover .achievement-info,
.achievement-slide.active .achievement-info {
    transform: translateY(0);
}

.achievement-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.achievement-info p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* 当前显示的图片 */
.achievement-slide.active {
    opacity: 1 !important;
    z-index: 5;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* 左侧第1张 */
.achievement-slide.prev {
    opacity: 0.8 !important;
    z-index: 4;
    transform: translate(-85%, -50%) scale(0.88) rotateY(12deg);
    pointer-events: auto;
}

/* 左侧第2张 */
.achievement-slide.prev-2 {
    opacity: 0.6 !important;
    z-index: 3;
    transform: translate(-105%, -50%) scale(0.76) rotateY(18deg);
    pointer-events: auto;
}

/* 右侧第1张 */
.achievement-slide.next {
    opacity: 0.8 !important;
    z-index: 4;
    transform: translate(-15%, -50%) scale(0.88) rotateY(-12deg);
    pointer-events: auto;
}

/* 右侧第2张 */
.achievement-slide.next-2 {
    opacity: 0.6 !important;
    z-index: 3;
    transform: translate(-5%, -50%) scale(0.76) rotateY(-18deg);
    pointer-events: auto;
}

/* hover效果 */
.achievement-slide.prev:hover {
    opacity: 0.95 !important;
    transform: translate(-85%, -50%) scale(0.92) rotateY(12deg);
}

.achievement-slide.prev-2:hover {
    opacity: 0.8 !important;
    transform: translate(-105%, -50%) scale(0.8) rotateY(18deg);
}

.achievement-slide.next:hover {
    opacity: 0.95 !important;
    transform: translate(-15%, -50%) scale(0.92) rotateY(-12deg);
}

.achievement-slide.next-2:hover {
    opacity: 0.8 !important;
    transform: translate(-5%, -50%) scale(0.8) rotateY(-18deg);
}

.achievement-slide.active:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

/* 切换按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 响应式 - 堆叠轮播 */
@media (max-width: 1024px) {
    .achievements-slider {
        height: 480px;
    }
    
    .achievement-slide {
        width: 65%;
        max-width: 600px;
    }
    
    .achievement-info h3 {
        font-size: 17px;
    }
    
    .achievement-info p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .achievements-slider {
        height: 400px;
    }
    
    .achievement-slide {
        width: 75%;
        max-width: 500px;
    }
    
    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .achievement-info {
        padding: 18px 20px;
    }
    
    .achievement-info h3 {
        font-size: 16px;
    }
    
    .achievement-info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .achievements-slider {
        height: 350px;
    }
    
    .achievement-slide {
        width: 85%;
        max-width: none;
    }
    
    /* 移动端简化为居中显示，不显示左右两侧 */
    .achievement-slide.prev,
    .achievement-slide.prev-2,
    .achievement-slide.next,
    .achievement-slide.next-2 {
        opacity: 0 !important;
        pointer-events: none;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .achievement-info {
        padding: 15px 18px;
    }
    
    .achievement-info h3 {
        font-size: 15px;
    }
    
    .achievement-info p {
        font-size: 11px;
    }
}

