* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a3d2e;
    --primary-green: #0d5c45;
    --primary-light: #14785c;
    --accent-green: #00ff88;
    --accent-cyan: #00d4ff;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --bg-dark: #061a14;
    --bg-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif !important;

    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.contact-info a{
    color: var(--accent-green);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-green);
    font-size: 14px;
}

.contact-info i {
    color: var(--accent-cyan);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
}

.social-icons a:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* Header */
header {
    background: rgba(248, 249, 250, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
    color: var(--primary-light);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 5px 0;
    border: 1px solid rgba(13, 92, 69, 0.1);
    display: block;
    flex-direction: column;
    grid-template-columns: repeat(2,1fr);
    width: max-content;
}

.nav-list > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    display: block;
    position: relative;
}

.dropdown a {
    display: block;
    padding: 6px 25px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: linear-gradient(90deg, rgba(13, 92, 69, 0.1) 0%, transparent 100%);
    color: var(--primary-light);
    padding-left: 30px;
}

/* 二级菜单 */
.nav-list .submenu {
    position: absolute;
    left: 100%;
    top: -6px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    list-style: none;
    border: 1px solid rgba(13, 92, 69, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
    width: max-content;
}

/* hover显示 */
.nav-list .has-submenu:hover > .submenu {
    display: block;
}

/* 箭头 */
.nav-list .has-submenu > a::after {
    content: "›";
    float: right;
    margin-left: 10px;
}

@media (max-width:768px){

    .submenu{
        display:none;
        position:static;
        box-shadow:none;
        padding-left:20px;
    }

    .submenu.active{
        display:block;
    }

}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

/* Banner */
.banner-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.banner-slide-sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 26, 0.85) 0%, rgba(26, 61, 50, 0.7) 100%);
}
.banner-info{
    position: relative;
    z-index: 2;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.banner-slide.active .banner-bg {
    transform: scale(1);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1280px;
    padding: 0 20px;
}

.banner-slide:nth-child(1) .banner-content {
    animation: slideUp 1s ease forwards;
}

.banner-slide:nth-child(2).active .banner-content {
    animation: slideLeft 1s ease forwards;
}

.banner-slide:nth-child(3).active .banner-content {
    animation: slideRight 1s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    letter-spacing: 2px;
}

.banner-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.banner-slide:nth-child(1) .banner-images {
    flex-direction: row;
}

.banner-slide:nth-child(2) .banner-images {
    flex-direction: row-reverse;
}

.banner-slide:nth-child(3) .banner-images {
    justify-content: space-around;
}

.banner-img-wrap {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.banner-img-wrap:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
}

.banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.banner-link {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* Banner Navigation */
.banner-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green);
}

.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.banner-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    color: var(--accent-green);
    font-size: 20px;
}

.banner-arrow:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
}

/* Content Placeholder */
.content-placeholder {
    background: #ffffff;
    height: 300px;
}

/* Section Title */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
}

.slide-controls {
    display: flex;
    gap: 10px;
}

.slide-btn {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid var(--accent-green);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-green);
    font-size: 16px;
}

.slide-btn:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
}

/* Products Section */
.products-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.products-slider {
    position: relative;
    overflow: hidden;
}

.products-track {
    display: flex;
    transition: transform 0.5s ease;
}

.product-card {
    flex: 0 0 calc(25% - 22.5px);
    margin-right: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.product-card a {
    text-decoration: none;
    color: #ffffff;
    display: block;
}

.product-img {
    position: relative;
    padding-top: 100%;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: scale(1);
}

.product-overlay svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-dark);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Section */
.news-section {
    background: var(--primary-dark);
    padding: 80px 0;
}

.news-slider {
    position: relative;
    overflow: hidden;
}

.news-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-card {
    flex: 0 0 calc(33.333% - 20px);
    margin-right: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
}

.news-card:hover {
    border-color: var(--accent-green);
    background: rgba(0, 255, 136, 0.05);
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: var(--accent-green);
}

.news-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 12px;
}

/* Footer */
.footer-top {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    padding: 30px 0;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom {
    background: var(--bg-dark);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent-green);
    text-decoration: none;
    margin-left: 15px;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    color: var(--primary-dark);
    font-size: 20px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(33.333% - 20px);
    }

    .banner-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(248, 249, 250, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list > li > a {
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.02);
        display: none;
    }

    .nav-list > li:hover .dropdown {
        display: block;
    }

    .product-card {
        flex: 0 0 calc(50% - 15px);
    }

    .news-card {
        flex: 0 0 calc(50% - 15px);
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-img-wrap {
        width: 150px;
        height: 150px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .products-track {
        flex-wrap: wrap;
    }

    .news-card {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .news-track {
        flex-wrap: wrap;
    }

    .banner-img-wrap {
        width: 120px;
        height: 120px;
    }

    .banner-title {
        font-size: 24px;
    }

    .top-bar .container {
        justify-content: center;
    }

    .contact-info {
        font-size: 12px;
    }
}