.NyBigBox {
    padding-top: 0;
}

/* 产品中心顶部导航条优化 */
.NyNav-wrap {
    position: relative;
    width: 100%;
    background: #FFF;
    border-bottom: 1px solid #E8EDF2;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.04);
}

.NyNav {
    padding: 0 var(--container);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: none;
    box-shadow: none;
    background: transparent;
    scroll-behavior: smooth;
}
.Nybanner .text {
    padding-top: 130px;
    justify-content: flex-start;
}
.NyNav::-webkit-scrollbar {
    display: none;
}

.NyNav a {
    width: auto;
    padding: 0 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== 滚动指示：边缘渐变遮罩 ===== */
.NyNav-wrap::before,
.NyNav-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.NyNav-wrap::before {
    left: 0;
    background: linear-gradient(to right, #FFF 30%, transparent);
}

.NyNav-wrap::after {
    right: 0;
    background: linear-gradient(to left, #FFF 30%, transparent);
}

/* 有左侧可滚动内容时显示左渐变 */
.NyNav-wrap.has-scroll-left::before {
    opacity: 1;
}

/* 有右侧可滚动内容时显示右渐变 */
.NyNav-wrap.has-scroll-right::after {
    opacity: 1;
}

/* ===== 滚动指示：箭头按钮 ===== */
.NyNav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E8EDF2;
    background: #FFF;
    color: #00A6F4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.NyNav-arrow:hover {
    background: #00A6F4;
    color: #FFF;
    border-color: #00A6F4;
}

.NyNav-arrow--left {
    left: var(--container);
    margin-left: -16px;
}

.NyNav-arrow--right {
    right: var(--container);
    margin-right: -16px;
}

.NyNav-wrap.has-scroll-left .NyNav-arrow--left {
    opacity: 1;
    pointer-events: auto;
}

.NyNav-wrap.has-scroll-right .NyNav-arrow--right {
    opacity: 1;
    pointer-events: auto;
}

/* 移动端：导航换行显示，隐藏滚动指示器 */
@media (max-width: 1200px) {
    .NyNav-wrap::before,
    .NyNav-wrap::after,
    .NyNav-arrow {
        display: none !important;
    }
}

/* NySection1 */
.Box1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lt1 {
    width: calc(100% - 430px);
}

.desc1 {
    color: #4A5565;
    font-size: 16px;
    line-height: 2;
}

form {
    width: 380px;
    border-radius: 24px;
    border: 1px solid #B8E6FE;
    background: #FFF;
    padding: 36px;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

form:focus-within {
    box-shadow: 0 16px 48px 0 rgba(0, 166, 244, 0.10);
}

form h1 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

form input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    padding: 12px 16px;
    outline: none;
    font-size: 14px;
    color: rgba(102, 102, 102);
}

form input::placeholder {
    font-size: 14px;
    color: rgba(102, 102, 102, 0.50);
}

form span {
    position: relative;
}

form span img {
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 100%;
}

form .input4 {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background: var(--jianbian);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 15px;
    font-weight: 700;
}

form p {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 8px;
    color: #00A6F4;
    font-size: 13px;
}

form p img {
    width: 12px;
}

@media (max-width: 1600px) {}

@media (max-width:1200px) {
    .lt1 {
        width: calc(100% - 330px);
    }

    form {
        width: 300px;
        padding: 24px;
    }
}

@media (max-width: 900px) {
    .lt1 {
        width: 100%;
    }

    form {
        margin-top: 30px;
        width: 100%;
    }
}

@media (max-width:720px) {}

/* NySection2 */
.NySection2 {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFF 100%), #FFF;
}

.NySection2 .BaseTitle {
    align-items: center;
}

.NySection2 .BaseTitle * {
    text-align: center;
}

.Box2 {
    margin-top: 56px;
    width: 100%;
    display: flex;
    grid-gap: 32px;
}

.Box2 li {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(0, 166, 244, 0.40);
    background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 100%);
    padding: 36px;
    transition: 0.5s;
}

.Box2 li:hover {
    transform: translateY(-20px);
}

.Box2 li h1 {
    display: flex;
    align-items: center;
    grid-gap: 14px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.Box2 li h2 {
    margin-top: 20px;
    color: #6A7282;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .Box2 li {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    .Box2 {
        margin-top: 30px;
        flex-wrap: wrap;
        grid-gap: 12px;
    }
}

/* NySection3*/
.NySection3 {
    padding-top: 0;
    background: #FFF;
}

.NySection3 .BaseTitle {
    align-items: center;
}

.NySection3 .BaseTitle * {
    text-align: center;
}

.Box3 {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 53px 60px;
}

.Box3 li {
    border-radius: 24px;
    border: 1px solid #E8EDF2;
    background: linear-gradient(0deg, #FAFCFF 0%, #FAFCFF 100%);
    padding: 36px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    grid-gap: 24px;
}

.Box3 li:hover {
    border: 1px solid rgba(0, 166, 244, 0.40);
    background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 100%);
}

.Box3 li h1 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.Box3 li h2 {
    color: #6A7282;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1440px) {
    .Box3 {
        grid-gap: 40px;
    }

    .Box3 li {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    .Box3 {
        margin-top: 30px;
        grid-gap: 12px;
    }

    .Box3 li h1 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .Box3 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* ===== 产品分类按钮容器 ===== */
.product-categories {
    display: flex;
    gap: 10px;
    margin-top: -8px;
    padding-top: 20px;
    /*border-top: 1px solid rgba(255, 255, 255, 0.3);*/
    position: relative;
}

/* ===== 按钮默认状态：透明背景 + 白色文字 ===== */
.product-categories .category {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: #fff;
    background-color: transparent;      /* 完全透明背景 */
    background-image: none;             /* 无任何背景图 */
}

/* ===== 悬停 / 激活状态：白色背景 + 文字渐变 ===== */
/* ===== 修改：去掉了 transform: translateY(-2px)，避免 hover 时按钮向上跳动 ===== */
.product-categories .category:hover,
.product-categories .category.active {
    /* 两层背景：上层渐变（仅作用于文字），下层白色纯色（填充整个按钮） */
    background-image:
        linear-gradient(280deg, #00A6F4, #155DFC),  /* 渐变层（文字） */
        linear-gradient(#ffffff, #ffffff);         /* 白色层（按钮背景） */

    /* 分别指定裁剪区域：渐变裁剪到文字，白色裁剪到整个盒子 */
    background-clip: text, border-box;
    -webkit-background-clip: text, border-box;

    /* 文字透明以显示上层渐变 */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* 边框 */
    border-color: rgba(255, 255, 255, 0.6);
    z-index: 3;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .product-categories {
        gap: 8px;
        margin-top: 15px;
        padding-top: 15px;
    }
    .product-categories .category {
        padding: 6px 14px;
        font-size: 12px;
    }
}
