/* 英雄区域 */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: -2;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1440px;
    /* 1440px */
    margin: 0 auto;
    position: relative;
}

.hero-content {
    z-index: 1;
    text-align: left;
    position: absolute;
    bottom: 20%;
    left: 0;
}

.hero-title {
    font-size: 6.8rem;
    /* 68px */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(5rem);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-align: left;
}

.hero-subtitle {
    font-size: 2rem;
    /* 24px */
    margin-bottom: 3.6rem;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 0.8s ease-out 1s forwards;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

/* 备用CSS动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    color: white;
    text-decoration: none;
    padding: 1.2rem 4rem;
    font-size: 1.8rem;
    /* 18px */
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 14rem;
    text-align: center;
    display: inline-block;
}

/* 按钮波纹效果 */
.hero-btn {
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 0.1rem solid rgba(255, 255, 255, 1);
}

.hero-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* 产品平台 */
.product {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #111;
}

.product-bg {
    position: absolute;
    inset: 0;
    background: url(https://img.js.design/assets/img/69815214d3013295f800ef46.png);
    background-size: cover;
    background-position: center;
}

.product-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 144rem;
    height: calc(100vh - 6.4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.product-e {
    width: 120rem;
    /* 1200px */
    height: 55rem;
    /* 550px */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.top-container {
    width: 1440px;
    margin: 0 auto;
}

.product-title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    color: white;
}

.product-subtitle {
    font-size: 1.6rem;
    /* 18px */
    text-align: center;
    color: white;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.product-wrapper {
    width: 120rem;
    height: 55rem;
    overflow: hidden;
    position: relative;
}

.product-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
    z-index: 2;
}

.product-content-item {
    width: 100%;
    height: 55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.product-content-item .product-one-bg {
    width: 100%;
    position: absolute;
    top: 0;
}

.product-content-item .product-two-bg {
    width: 100%;
    position: absolute;
    bottom: 1px;
}

.product-content-item .product-three-bg {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.product-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 2fr);
    gap: 20px;
    height: 50%;
    z-index: 2;
    position: absolute;
    top: 50px;
}

.product-three-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-three-item .mask {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(247, 248, 251, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.product-three-item img {
    width: 100%;
    height: 100%;
}

.product-three-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.product-item-1:hover>.mask {
    opacity: 0;
}

.three-title {
    width: 100%;
}

.product-item-2:hover>.mask {
    opacity: 0;
}

.product-item-3:hover>.mask {
    opacity: 0;
}

.product-item-4:hover>.mask {
    opacity: 0;
}

.product-item-5:hover>.mask {
    opacity: 0;
}

.product-item-6:hover>.mask {
    opacity: 0;
}

.product-item-1:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-item-2:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-item-3:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-item-4:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-item-5:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-item-6:hover>.three-title {
    color: white;
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    position: absolute;
    bottom: 0;
}

.product-three-item .three-title {
    color: #00005C;
    font-size: 2rem;
    /* 20px */
    font-weight: 600;
    margin: 0;
    text-align: center;
    position: absolute;
    z-index: 1;
}

.product-content-item .product-one-1 {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-content-item .product-one-2 {
    position: absolute;
    top: 8.2rem;
    /* 82px */
    left: 6.8rem;
    /* 68px */
    width: 43.8rem;
    /* 438px */
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.product-content-item .product-one-3 {
    position: absolute;
    top: 8.2rem;
    left: 39.7rem;
    /* 397px */
    width: 44.8rem;
    /* 448px */
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.product-content-item .product-one-4 {
    position: absolute;
    top: 9.7rem;
    /* 97px */
    left: 69.5rem;
    /* 695px */
    width: 43rem;
    /* 430px */
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.product-content-item .product-one-5 {
    position: absolute;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 112.6rem;
    /* 1126px */
    left: 50%;
    top: 6.3rem;
    /* 63px */
    transform: translateX(-50%);
    z-index: 1;
}

.content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.content-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-container {
        height: auto;
        padding: 8rem 2rem 4rem;
    }

    .product-wrapper,
    .product-e {
        width: 90%;
        height: auto;
        aspect-ratio: 120/55;
    }

    .product-inner {
        height: 100%;
    }

    .product-content-item {
        height: 100%;
        aspect-ratio: 120/55;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 50rem;
    }

    .hero-content {
        bottom: 10%;
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 30rem;
        padding: 1.2rem 2rem;
        font-size: 1.6rem;
    }

    .product {
        height: auto;
        min-height: 80vh;
        padding: 6rem 0;
    }

    .product-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        height: auto;
        margin-top: 0;
        padding: 2rem;
    }

    .top-container {
        width: 100%;
        margin-bottom: 3rem;
    }

    .product-title {
        font-size: 2.4rem;
        white-space: normal;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .product-subtitle {
        font-size: 1.4rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .product-wrapper {
        width: 100%;
        height: auto;
        min-height: 40rem;
        margin-top: 3rem;
    }

    .product-e {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 2rem;
    }

    .product-inner {
        position: relative;
    }

    .product-content-item {
        height: auto;
        min-height: 35rem;
        padding: 2rem 1rem;
    }

    .product-three-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
        width: 90%;
        height: auto;
        position: relative;
        top: 0;
        margin: 2rem auto;
    }

    .product-three-item {
        min-height: 10rem;
        padding: 1rem;
    }

    .product-three-item .three-title {
        font-size: 1.4rem;
    }

    /* 简化移动端产品图片布局 */
    .product-content-item .product-one-1,
    .product-content-item .product-one-2,
    .product-content-item .product-one-3,
    .product-content-item .product-one-4,
    .product-content-item .product-one-5 {
        position: relative;
        width: 90%;
        height: auto;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        margin: 1rem 0;
    }

    .product-content-item .product-one-bg,
    .product-content-item .product-two-bg,
    .product-content-item .product-three-bg {
        position: relative;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 45rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-subtitle {
        font-size: 1.3rem;
    }

    .product-three-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
}

/* 解决方案区域 */
.solution {
    padding: 10rem 0;
    background: rgba(247, 248, 251, 1);
    color: white;
    position: relative;
    overflow: hidden;
}

.solution .container {
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.solution-subtitle {
    font-size: 1.6rem;
    text-align: center;
    color: #333;
    margin: 0 auto 6rem;
}

/* 轮播容器 */
.solution-carousel {
    position: relative;
    max-width: 140rem;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
    animation: fadeInSlide 0.8s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
    height: 100%;
}

.content-left {
    padding-right: 2rem;
}

.content-title {
    font-size: 2.4rem;
    /* 32px */
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
    transform: translateX(1.4rem);
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 50%;
    left: -1.4rem;
    transform: translateY(50%);
    width: 0.7rem;
    height: 100%;
    background: linear-gradient(180deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
}

.content-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10rem;
    text-align: justify;
}

.content-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.content-btn {
    padding: 1rem 1.2rem;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5rem;
    /* 15px */
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    background: #EDF0F5;
    color: #8C8C8C;
}

.content-btn:hover {
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    color: white;
    transform: translateY(-0.1rem);
}

.content-btn:hover::after {
    transform: translateX(0.3rem);
}

.content-right {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    height: 52rem;
    border-radius: 2rem;
    padding: 2.4rem;
}

.content-image {
    width: 100%;
    height: auto;
}


/* 轮播指示器容器已在 styles.css 统一定义，此处仅保留定位 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 4rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-left {
        padding-right: 0;
    }

    .content-right {
        height: 40vh;
        min-height: 30rem;
    }

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .solution {
        padding: 6rem 0;
    }

    .solution-title {
        font-size: 2.4rem;
        padding: 0 2rem;
        line-height: 1.4;
    }

    .solution-subtitle {
        font-size: 1.4rem;
        margin-bottom: 4rem;
        padding: 0 2rem;
    }

    .carousel-item {
        padding: 3rem 2rem;
    }

    .carousel-content {
        gap: 2rem;
    }

    .content-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        transform: translateX(1.5rem);
    }

    .content-title::after {
        left: -1.5rem;
        width: 0.5rem;
    }

    .content-description {
        font-size: 1.3rem;
        line-height: 1.7;
        margin-bottom: 3rem;
    }

    .content-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .content-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
    }

    .content-right {
        height: 35vh;
        min-height: 25rem;
        padding: 1.5rem;
    }

    .carousel-indicators {
        gap: 1.2rem;
        margin-top: 3rem;
    }

    .indicator {
        width: 3rem;
        height: 0.5rem;
    }
}

@media (max-width: 480px) {
    .solution {
        padding: 4rem 0;
    }

    .solution-title {
        font-size: 2rem;
    }

    .solution-subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .carousel-item {
        padding: 2rem 1.5rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .content-description {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .content-btn {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
    }

    .content-right {
        height: 30vh;
        min-height: 20rem;
        padding: 1rem;
    }
}

/* 装备展示区域 */
.equipment {
    padding: 5rem 0 10rem;
    background: rgba(247, 248, 251, 1);
    position: relative;
    overflow: hidden;
}


.equipment-title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    color: #333333;
}

.equipment-subtitle {
    font-size: 1.6rem;
    /* 18px */
    text-align: center;
    margin: 0 auto 6rem;
    color: #333333;
}

/* 装备网格 */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipment-item:hover {
    transform: translateY(-0.5rem);
}

.equipment-icon {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.equipment-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.equipment-icon img,
.equipment-emoji {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.equipment-item:hover .equipment-icon {
    transform: scale(1.05);
}

.equipment-item:hover .equipment-icon img,
.equipment-item:hover .equipment-emoji {
    transform: scale(1.1);
}

.equipment-name {
    font-size: 1.5rem;
    color: #848586;
    transition: color 0.3s ease;
}

.equipment-item:hover .equipment-name {
    color: #3a98fa;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3.5rem 2.5rem;
    }

    .equipment-icon {
        width: 10rem;
        height: 10rem;
    }

    .equipment-icon img {
        width: 5rem;
        height: 5rem;
    }
}

@media (max-width: 768px) {
    .equipment {
        padding: 6rem 0;
    }

    .equipment-title {
        font-size: 2.8rem;
        /* 28px */
    }

    .equipment-subtitle {
        font-size: 1.6rem;
        margin-bottom: 4rem;
    }

    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2rem;
        padding: 0 1.5rem;
    }

    .equipment-icon {
        width: 8rem;
        height: 8rem;
    }

    .equipment-icon img {
        width: 4rem;
        height: 4rem;
    }

    .equipment-name {
        font-size: 1.3rem;
        /* 13px */
    }
}

@media (max-width: 480px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .equipment-icon {
        width: 7rem;
        height: 7rem;
    }

    .equipment-icon img {
        width: 3.5rem;
        height: 3.5rem;
    }

    .equipment-name {
        font-size: 1.2rem;
        /* 12px */
    }
}