@charset "utf-8";
/*
 * Copyright 2026 Hitachi, Ltd.
 * new_product.css — styles for new_product_index.html（产品聚合页）
 * 严格按 Figma「产品聚合页-产品系列」还原。Loaded after new_home.css.
 * 主色：激活红 #b1000e，强调红 #e60027，Tab 深色底 #0e1430。
 */

.NPMain,
.NPMain *,
.NPMain *::before,
.NPMain *::after { box-sizing: border-box; }
.NPMain { font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif; color: #1a1a1a; }

/* ============================================================
 * Section 1 — Hero（满屏，Tab 叠在底部）
 * ============================================================ */
.NPHero {
    position: relative;
    width: 100%;
    height: calc(100vh - 105px);   /* 头部 105px，Hero 铺满其余视口 */
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.NPHeroBg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.06);
    transition: transform 8s ease;
}
.NPHero.is-loaded .NPHeroBg { transform: scale(1); }
.NPHeroOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,12,28,0.15) 0%, rgba(6,12,28,0) 35%, rgba(8,14,32,0.55) 100%);
    pointer-events: none;
}
.NPHeroContent {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 820px;
    transform: translateY(-40px);
}
.NPHeroTitle {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    margin: 0 0 15px;
    color: #ffffff;
}
.NPHeroDesc {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.46;
    margin: 0;
    color: #ffffff;
    text-align: center;
}

/* 向下滚动指示器：红点 + 扩散红圈（radar 动画）+ 文案 */
.NPHeroScroll {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
}
.NPHeroScrollIcon {
    position: relative;
    width: 64px;
    height: 64px;
}
.NPHeroDot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    background: #e60027;
    border-radius: 50%;
    animation: NPDotPulse 2.4s ease-in-out infinite;
}
/* 两圈常驻（对应 Figma Ellipse 48 / 62）*/
.NPHeroRing {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    opacity: 1;
}
.NPHeroRing1 {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 1px solid #e60027;
}
.NPHeroRing2 {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    border: 1px solid rgba(177, 0, 14, 0.8);
}
/* 扩散脉冲（动画）*/
.NPHeroPulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 1px solid #e60027;
    border-radius: 50%;
    opacity: 0;
    animation: NPRadar 2.4s ease-out infinite;
}
@keyframes NPRadar {
    0%   { transform: scale(1);   opacity: 0.85; }
    100% { transform: scale(3.1); opacity: 0; }
}
@keyframes NPDotPulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(0.85); opacity: 0.85; }
}
.NPHeroScrollText {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
}

/* ============================================================
 * Section 2 + 3 — Tab 内容区
 * ============================================================ */
.NPContent {
    background: #f2f2f2;
    padding-bottom: 90px;
    margin-top: 0;               /* Tab 在 Hero 之下，滚动后吸顶 */
    position: relative;
    z-index: 9999;               /* 高于站点吸顶头部(#HeaderArea2 z-index:9990)，Tab 吸顶时完整贴顶不被遮挡 */
}

/* Tab 栏：深色底；滚动后紧贴顶部 */
.NPTabBar {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #0e1430;
    border: none;
    position: sticky;
    top: 0;
    z-index: 100;   /* 高于站点吸顶头部(90)，吸顶时稳定在最上层 */
}
.NPMain .NPTab {
    position: relative;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 36px;
    font-weight: 700;
    color: #a1a5b1;
    padding: 0 !important;
    line-height: 1;
    height: 130px;
    min-width: 637px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.NPMain .NPTab + .NPTab { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.NPMain .NPTab::after { display: none; }
.NPMain .NPTab:hover { color: #ffffff; }
.NPMain .NPTab.NPTabActive {
    color: #ffffff;
    background: #b1000e;
}
.NPTabChevron {
    width: 24px;
    height: 24px;
    display: none;
    color: #ffffff;
}
.NPMain .NPTabActive .NPTabChevron {
    display: block;
    animation: NPChevronBounce 1.8s ease-in-out infinite;
}
@keyframes NPChevronBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

/* Panels */
.NPPanel { display: none; }
.NPPanel.NPPanelActive { display: block; }

/* ============================================================
 * 产品卡片（swiper slide / deco panel 通用）
 * ============================================================ */
.NPCardRow {
    width: var(--content-width, min(92%, 1275px));
    margin: 60px auto 0;
    display: flex;
    gap: 25px;
    padding-bottom: 0;
}
.NPCardRowDeco { margin-top: 60px; }

/* 单卡：照片(仅切图，原比例) + 说明框叠在其下 */
.NPCard {
    position: relative;
    flex: 1 1 0;
    max-width: 625px;
    display: block;
    text-decoration: none;
    color: #333333;
    background: transparent;
    overflow: hidden;
}
.NPCardBg {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1250 / 1054;   /* 切图后照片的原始比例，避免拉伸 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.55s ease;
}
.NPCard:hover .NPCardBg { transform: scale(1.04); }
.NPCardOverlay { display: none; }

/* 说明框：紧贴照片底部、居中内缩、毛玻璃白 */
.NPCardBody {
    position: relative;
    z-index: 2;
    width: calc(100% - 48px);
    margin: 0 auto;
    min-height: 250px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20.6px);
    backdrop-filter: blur(20.6px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
/* 红色斜角角标 */
.NPCardBody::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 290px;
    height: 10px;
    background: #e60027;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.NPCardName {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.44;
    margin: 0;
    color: #333333;
}
.NPCardDivider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    margin: 10px 0;
}
.NPCardSub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 5px;
    margin: 0;
    color: #333333;
}
.NPCardBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 48px;
    padding: 10px 10px 10px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #e60027;
    border: none;
    background: transparent;
    margin-top: auto;
    align-self: flex-end;
    transition: opacity 0.2s ease;
}
.NPCard:hover .NPCardBtn { opacity: 0.7; }
.NPCardBtnIcon { flex-shrink: 0; width: 16px; height: 16px; }

/* ============================================================
 * Swiper 导航（圆点 + 左右箭头）
 * ============================================================ */
.NPSwiperNav {
    width: var(--content-width, min(92%, 1275px));
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.NPSwiperPagination.swiper-pagination {
    position: static;
    display: flex;
    gap: 30px;
    width: auto;
}
.NPSwiperPagination .swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    margin: 0 !important;
    position: relative;
    transform: none;
}
.NPSwiperPagination .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}
.NPSwiperPagination .swiper-pagination-bullet-active::before { background: #b1000e; }
.NPSwiperPagination .swiper-pagination-bullet-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #b1000e;
    border-radius: 50%;
}
.NPSwiperArrows {
    display: flex;
    gap: 18px;
}
.NPMain .NPSwiperPrev,
.NPMain .NPSwiperNext {
    width: 48px;
    height: 48px;
    border: none;
    background: #e60027;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
    transition: background 0.2s ease;
}
.NPMain .NPSwiperPrev:hover,
.NPMain .NPSwiperNext:hover { background: #b1000e; }
.NPMain .NPSwiperPrev.swiper-button-disabled,
.NPMain .NPSwiperNext.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* ============================================================
 * 响应式
 * ============================================================ */
@media screen and (max-width: 1280px) {
    .NPHeroTitle { font-size: 42px; }
    .NPMain .NPTab { min-width: 0; flex: 1 1 0; font-size: 28px; }
    .NPCardName  { font-size: 28px; }
}
@media screen and (max-width: 768px) {
    .NPHero { height: 88vh; min-height: 520px; }
    .NPHeroContent { transform: translateY(-30px); }
    .NPHeroTitle { font-size: 28px; letter-spacing: 0.02em; }
    .NPHeroDesc  { font-size: 14px; }

    .NPContent { margin-top: 0; padding-bottom: 48px; }
    .NPTabBar { top: 0; }
    .NPMain .NPTab { height: 80px; font-size: 18px; gap: 4px; }
    .NPTabChevron { width: 18px; height: 18px; }

    /* 卡片：竖排，说明框回到图片内 */
    .NPCardRow {
        flex-direction: column;
        gap: 20px;
        margin-top: 32px;
    }
    .NPCard { max-width: none; }
    .NPCardBody {
        min-height: 0;
        padding: 22px 24px;
    }
    .NPCardName  { font-size: 24px; }
    .NPCardSub { font-size: 15px; letter-spacing: 0.2em; }
    .NPCardBody::before { width: 200px; }

    .NPSwiperNav { margin-top: 22px; }
    .NPSwiperPrev, .NPSwiperNext { width: 40px; height: 40px; }
}
