* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft Yahei', sans-serif;
    color: #333;
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.home-container {
    width: 100%;
    height: 100%;
}
/* ========== Header 头部 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    z-index: 9;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    /* align-items: center; */
    /* justify-content: space-between; */
    height: 200px;
    font-size: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    height: 80px;
}
.logo-text {
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 120px;
    position: relative;
    margin: 0 0 0 120px;
}
.nav > a {
    color: #ffffff;
    transition: color 0.2s;
}
.nav > a:hover {
    color: #ff9900;
}
@media (max-width: 1200px) {
    .nav {
        gap: 60px;
    }
}

/* 产品下拉菜单 */
.nav-item-wrap {
    position: relative;
}
.dropdown-trigger {
    cursor: pointer;
    color: #ffffff;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    width: 100px;
    background: rgba(2, 8, 15, 0.7);
    border: 1px solid #2f445c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    padding: 6px 0;
    display: none;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #ffffff;
}
.dropdown-menu li a:hover {
    background-color: #1f3042;
    color: #ff9900;
}
.nav-item-wrap:hover .dropdown-menu {
    display: block;
}

.header-login {
    position: fixed;
    right: 20px;
    top: 100px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
}
.header-login:hover {
    color: #ff9900;
}

.bg {
    background: #030014;
}

.main-contanier {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
/* ========== 轮播容器 ========== */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.carousel-slide {
    padding: 50px 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: url('../images/bg.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}
.carousel-slide .banner {
    width: 1200;
    height: calc(100% - 400px);
    object-fit: cover;
    border-radius: 10px;
    z-index: 9;
    border: 1px solid #2f445c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 60px;
}
.carousel-content-inner {
    width: 100%;
    height: 100%;
}
.slide-desc {
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    letter-spacing: 8px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    min-width: 500px;
}
/* “价值”重点标识 */
.slide-desc span {
    color: #ffc107;
    margin: 0 0 0 2px;
}
.slide-desc2 {
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    letter-spacing: 8px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}
.indicator-dot.active {
    background: #fff;
}

/* 轮播左右箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel-track:hover .carousel-arrow {
    opacity: 1;
}
.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
}
.arrow-prev {
    left: 24px;
}
.arrow-next {
    right: 24px;
}

/* 页脚 */
.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    color: #696969;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    z-index: 9;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    /* ---- Header ---- */
    .header-inner {
        height: 56px;
        padding: 0 12px;
        font-size: 13px;
    }
    .logo-icon {
        height: 32px;
    }
    .logo-text {
        display: none;
    }
    .nav {
        gap: 12px;
        margin: 0 0 0 8px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nav::-webkit-scrollbar {
        display: none;
    }
    .header-login {
        top: 28px;
        right: 12px;
    }
    .login-icon {
        width: 22px;
        height: 22px;
    }

    /* ---- 轮播 ---- */
    .carousel-slide {
        padding-top: 56px;
    }
    .slide-desc {
        font-size: 18px;
        letter-spacing: 1px;
        white-space: normal;
        min-width: 0;
        justify-content: center;
        align-items: center;
        line-height: 1.6;
    }
    .carousel-content {
        padding: 0 20px;
    }
    .carousel-slide .banner {
        width: 90%;
        height: auto;
    }
    .carousel-indicators {
        bottom: 18px;
        gap: 10px;
    }
    .indicator-dot {
        width: 10px;
        height: 10px;
    }

    /* ---- 页脚 ---- */
    .footer {
        font-size: 11px;
        padding: 8px 0;
    }
}
