/* about-new 页面样式 */
.about-new-container {
    width: 100%;
    background: #fff;
    color: #333;
}

/* Banner */
.about-new-banner {
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #f3f3f3;
}

.about-new-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 简介区:左文 + 右视频 */
.about-new-intro {
    width: 100%;
    padding: 80px 0 0 0;
    background: #fff;
}

.about-new-intro .about-new-section-title {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 60px;
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.about-new-intro-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: flex-start;
    gap: 80px;
    box-sizing: border-box;
}

.about-new-intro-text {
    flex: 1 1 50%;
    min-width: 0;
}

.about-new-intro-text h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.about-new-intro-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #4a4a4a;
    margin: 0;
    text-align: justify;
}

/* 公司介绍 PDF 下载链接 */
.about-new-intro-text .about-new-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 22px;
    border: 1px solid var(--g-color-default);
    border-radius: 4px;
    color: var(--g-color-default);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.about-new-intro-text .about-new-pdf-download:hover {
    background: var(--g-color-default);
    color: #fff;
}

.about-new-intro-text .about-new-pdf-download svg {
    flex-shrink: 0;
}

.about-new-intro-video {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.about-new-intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 视频封面 + 中央播放按钮 */
.about-new-intro-video .video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    cursor: pointer;
    z-index: 2;
}

.about-new-intro-video .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 50%;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-new-intro-video .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.about-new-intro-video .video-play-btn:focus {
    outline: none;
}

.about-new-intro-video .video-play-btn svg {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* 产业布局区 */
.about-new-industry {
    width: 100%;
    padding: 80px 0 0 0;
    background: #fff;
}

.about-new-industry .about-new-section-title {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 60px;
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.about-new-industry-image {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.about-new-industry-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品架构区 */
.about-new-product {
    width: 100%;
    padding: 80px 0;
    background: #fff;
}

.about-new-product .about-new-section-title {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 60px;
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.about-new-product-image {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.about-new-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 研发实力区 */
.about-new-rd {
    width: 100%;
    padding: 80px 0 0 0;
    background: #fff;
}

.about-new-rd .about-new-section-title {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 60px;
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.rd-cards {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 16px;
    box-sizing: border-box;
}

.rd-card {
    position: relative;
    flex: 1 1 0;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.rd-card.active {
    flex: 2.5 1 0;
}

.rd-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.rd-card.active .rd-card-bg,
.rd-card:hover .rd-card-bg {
    transform: scale(1.05);
}

.rd-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.rd-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px;
    z-index: 2;
    color: #fff;
}

.rd-card-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rd-card-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.5s ease 0.1s, margin-top 0.5s ease;
}

.rd-card.active .rd-card-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 16px;
}

/* 发展历程区 - 标题(白色背景,与公司简介样式一致) */
.about-new-history-header {
    width: 100%;
    padding: 80px 0 40px;
    background: #fff;
}

.about-new-history-header .about-new-section-title {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 60px;
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

/* 发展历程区 - 深色时间线 */
.about-new-history {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.about-new-history .history-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.about-new-history .history-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 60px 60px;
    box-sizing: border-box;
}

.history-timeline-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}

.timeline-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}
.timeline-btn svg {
    transition: all 0.3s ease;
}
.timeline-btn:hover {
    border-color: transparent;
    background: linear-gradient(-60deg, var(--g-color-default) 0%, var(--g-color-default) 100%);
     /* background: linear-gradient(-60deg, #359edc 0%, #5f5bfe 100%); */
    transform: scale(1.1);
}
.timeline-btn.disabled {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.timeline-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0 40px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.timeline-track {
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.timeline-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}
.timeline-item .year-text {
    font-size: 24px;
    padding: 0 20px;
    transition: all 0.4s ease;
    user-select: none;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
}
.timeline-item.active {
    color: #fff;
}
.timeline-item.active .year-text {
    font-size: 36px;
    font-weight: 600;
}

.timeline-item::after {
    content: '';
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}
.timeline-item:last-child::after {
    display: none;
}

.history-details {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 200px;
}

.history-year-bg {
    position: absolute;
    font-size: 280px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: Arial, Helvetica, sans-serif;
}
.history-year-bg.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.history-events {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.3s ease;
}

.history-event-item {
    font-size: 31px;
    color: #fff;
    line-height: 2.2;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpEvent 0.5s ease forwards;
}

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

/* 响应式 */
@media (max-width: 992px) {
    .about-new-banner {
        height: 280px;
    }
    .about-new-intro {
        padding: 48px 0 0 0;
    }
    .about-new-intro .about-new-section-title {
        padding: 0 24px;
        margin-bottom: 24px;
        font-size: 24px;
    }
    .about-new-intro-inner {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }
    .about-new-intro-text p {
        font-size: 15px;
    }
    .about-new-industry {
        padding: 48px 0;
    }
    .about-new-industry .about-new-section-title {
        padding: 0 24px;
        margin-bottom: 24px;
        font-size: 24px;
    }
    .about-new-industry-image {
        padding: 0 24px;
    }
    .about-new-product {
        padding: 48px 0;
    }
    .about-new-product .about-new-section-title {
        padding: 0 24px;
        margin-bottom: 24px;
        font-size: 24px;
    }
    .about-new-product-image {
        padding: 0 24px;
    }
    .about-new-rd {
        padding: 48px 0;
    }
    .about-new-rd .about-new-section-title {
        padding: 0 24px;
        margin-bottom: 24px;
        font-size: 24px;
    }
    .rd-cards {
        flex-direction: column;
        padding: 0 24px;
        gap: 12px;
    }
    .rd-card,
    .rd-card.active {
        flex: none;
        height: 200px;
    }
    .rd-card-title {
        font-size: 24px;
    }
    .rd-card.active .rd-card-desc {
        max-height: 240px;
    }
    .about-new-history-header {
        padding: 48px 0 24px;
    }
    .about-new-history-header .about-new-section-title {
        padding: 0 24px;
        margin-bottom: 24px;
        font-size: 24px;
    }
    .about-new-history {
        height: 600px;
    }
    .about-new-history .history-content {
        padding: 40px 24px;
    }
    .history-timeline-container {
        margin-bottom: 60px;
    }
    .timeline-wrapper {
        padding: 0 10px;
    }
    .timeline-item::after {
        width: 60px;
    }
    .timeline-item .year-text {
        font-size: 18px;
        padding: 0 10px;
    }
    .timeline-item.active .year-text {
        font-size: 26px;
    }
    .history-year-bg {
        font-size: 160px;
    }
    .history-event-item {
        font-size: 28px;
    }
}
