:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #2962ff;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --gray-bg: #f5f7fa;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--gray-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.nav-container {
    /* background: linear-gradient(135deg, rgb(0 118 236) 0%, rgba(172, 172, 172, 0.7) 100%); */
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex
;
    align-items: center;
    transition: transform 0.3s;
}
.logo img {
    height: 45px;
    margin-right: 10px;
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s;
}
.nav-menu {
    display: flex
;
    list-style: none;
    height: 100%;
    gap: 40px;
}
.nav-item {
    position: relative;
    padding: 0 15px;
    height: 100%;
    display: flex
;
    align-items: center;
}

.nav-link:hover, .nav-link.active {
    color: #0066cc;
}
.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    display: flex
;
    align-items: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}.nav-link.active::after {
    width: 100%;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: -50%;
    /* transform: translateX(-50%); */
    background-color: rgba(255, 255, 255, 0.95);
    width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s;
}
.dropdown-link {
    text-decoration: none;
    color: #555;
    display: block;
    transition: all 0.3s;
    font-size: 14px;
}

.banner{
    background: #000;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5em;
    text-align: center;
}

/* 产品展示区样式 */
.box{
    padding: 0 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 80px;
}
.products-showcase {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #d5e4fc 100%);
    overflow: hidden;
}

.particles-container-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* 保持原有的粒子容器样式不变 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.products-showcase .container,
.products-showcase .product-qt {
    position: relative;
    z-index: 2;
}

.product-card {
    position: relative;
    padding: 40px 0;
}

.product-tab {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(0px);
    margin-bottom: 40px; /* 添加卡片之间的间距 */
    position: relative;
    z-index: 1;
}

/* 隐藏切换按钮 */
.product-tabs-buttons {
    display: none;
}

/* 移除原有的隐藏逻辑 */
.product-tab {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: none;
}

.product-tab.active {
    display: flex;
}

/* 产品标签按钮样式 */
.product-tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.tab-button {
    position: relative;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    background: transparent;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.tab-button:hover {
    color: white;
}

.tab-button.active {
    color: white;
}

.tab-button.active::before {
    transform: scaleX(1);
}

.tab-button.active::after {
    transform: scaleX(1);
}

/* 添加点击波纹效果 */
.tab-button .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 添加悬停时的微弱发光效果 */
.tab-button:hover {
    box-shadow: 0 0 15px rgba(30, 136, 229, 0.3);
}

/* 添加按钮之间的装饰线 */
.product-tabs-buttons::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary-color),
        transparent
    );
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-tabs-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .tab-button {
        width: 200px;
        text-align: center;
    }
}

.product-image {
    position: relative;
    overflow: hidden;
    flex: 2;
    margin-right: 80px;
}

.product-image img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.product-content{
    flex: 2;
}

.product-content h2 {
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.product-subtitle {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.product-description {
    color: var(--light-text);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tag {
    background: var(--primary-light);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.learn-more:hover {
    gap: 15px;
}

.platform-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.action-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.action-buttons .btn {
    flex: 1;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    background-color: white;
    transition: all 0.3s;
    border: none;
    border-radius: 25px;
}

.action-buttons .btn.active {
    background-color: #0066cc;
    color: white;
}

.action-buttons .btn:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 页脚样式 */
.footer {
    background-color: #0a192f;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
  }
  
  .footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%,
        rgba(0, 170, 255, 0.05) 0%,
        transparent 30%),
      radial-gradient(circle at 80% 70%,
        rgba(0, 102, 204, 0.05) 0%,
        transparent 30%);
    z-index: 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
  }
  
  .footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 500;
  }
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }
  
  .footer-logo img {
    height: 45px;
    margin-right: 12px;
  }
  
  .footer-logo-text {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(90deg, #fff, #aad6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .footer-about {
    margin-bottom: 25px;
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
  }
  
  .footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .footer-contact-item i {
    margin-right: 12px;
    color: #00aaff;
    font-size: 18px;
    width: 20px;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-link-item {
    margin-bottom: 12px;
  }
  .footer-link-item a{
    text-decoration: none
  }
  .footer-link {
    color: #aaa;
    font-size: 15px;
    transition: all 0.3s;
    display: block;
    padding: 8px 0;
    position: relative;
    padding-left: 0;
  }
  
  .footer-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transition: width 0.3s;
  }
  
  .footer-link:hover {
    color: #fff;
    padding-left: 10px;
  }
  
  .footer-link:hover::before {
    width: 100%;
  }
  
  .footer-news-item {
    margin-bottom: 20px;
  }
  
  .footer-news-title {
    color: #fff;
    font-size: 15px;
    margin-bottom: 5px;
    transition: color 0.3s;
    display: block;
    line-height: 1.5;
  }
  
  .footer-news-title:hover {
    color: #00aaff;
  }
  
  .footer-news-date {
    color: #666;
    font-size: 13px;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
  }  

.product-qt {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #c4e5fcc7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-cards {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin-bottom: 30px;
}

.card-content {
    display: flex;
    width: 100%;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .card-content {
        flex-direction: column-reverse;
    }
    
    .product-image1 {
        margin-bottom: 20px;
    }
}

.card-item {
    display: none;
}

.card-item.active {
    display: flex;
}

.product-content1 {
    flex: 1.2;
    padding: 20px;
}

.product-content1 h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.product-image1 {
    /* flex: 0.8; */
    height: 350px;
    overflow: hidden;
}

.product-image1 img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}

.product-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item i {
    color: #0066cc;
    margin-right: 10px;
    font-size: 24px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    background: #fff;
}

/* 在文件末尾添加 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.product-card {
    position: relative;
    z-index: 2;
}

.product-card > *:not(.particles-container) {
    position: relative;
    z-index: 3;
}

.product-qt {
    position: relative;
    z-index: 2;
}

.product-qt > *:not(.particles-container) {
    position: relative;
    z-index: 3;
}