/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部容器 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header>div:first-child {
    display: flex;
    align-items: center;
}

header>div:first-child img {
    height: 50px;
    width: auto;
}

/* 导航样式 */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: #165DFF;
    background: rgba(22, 93, 255, 0.08);
}

/* Hero 区域 */
.TopBox {
    width: 100%;
    background: linear-gradient(135deg, #165DFF 0%, #2B57F7 50%, #6135FF 100%);
    height: 700px;
    background: url('/assets/imgs/2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    
}

.TopBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    bottom: 0;
}

.TopBox-content {
    margin: 30px auto;
    /* background: rgba(255, 255, 255, 0.452); */
    padding: 40px 80px;
    border-radius: 20px;
    height: calc(100% - 60px);
    width: calc(100% - 160px);
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-align: center;

}

.title {
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: 700;
    margin-top: 150px;
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desc {
    font-size: 16px;
    color: #1b1b1b;
    line-height: 1.8;
}

.TopBox-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    position: absolute;
    top: 80px;
    right: 80px;
    width: 450px;
}

/* 介绍区域 */
.intro-section {
    padding: 100px 0;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-item::after{
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 0;
    bottom: 0;
    width: calc(100% - 100px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 5px;
    background-color: #165DFF;

}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* 产品展示区域 */
.product-section {
    padding: 100px 0;
    background: #fff;
}

/* 产品切换导航 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 24px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-tab:hover {
    border-color: #165DFF;
    color: #165DFF;
}

.product-tab.active {
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    border-color: #165DFF;
    color: #fff;
}

/* 产品详情容器 */
.product-details-container {
    position: relative;
    margin-bottom: 40px;
}

.product-detail {
    display: none;
    animation: fadeIn 0.5s ease;
}

.product-detail.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 产品详情内容 */
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-info h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 12px 0;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-specs {
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    padding: 25px;
    border-radius: 12px;
    color: #fff;
}

.product-specs h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-specs p {
    font-size: 14px;
    opacity: 0.9;
}

/* 产品图片区域 */
.product-detail-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-image-main {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-sub {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左右切换按钮 */
.product-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.product-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: #fff;
    color: #667eea;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-nav-btn:hover {
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    border-color: #165DFF;
    color: #fff;
    transform: scale(1.1);
}

.product-nav-btn span {
    position: relative;
    top: -2px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-info h3 {
        font-size: 28px;
    }

    .product-image-main {
        height: 350px;
    }

    .product-image-sub {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .product-tabs {
        gap: 10px;
    }

    .product-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .product-detail-info h3 {
        font-size: 24px;
    }

    .product-detail-desc {
        font-size: 14px;
    }

    .product-features li {
        font-size: 14px;
        padding: 10px 0;
    }

    .product-image-main {
        height: 280px;
    }

    .product-image-sub {
        height: 200px;
    }
}

/* 服务区域 */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #165DFF 0%, #2B57F7 50%, #6135FF 100%);
    color: #fff;
}

.services-section .section-title,
.services-section .section-subtitle {
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* 企业优势区域 */
.about-section {
    padding: 100px 0;
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 联系我们区域 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
}

.contact-content {
    max-width: 1200px;
    margin: 60px auto 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.contact-item:hover {
    background: linear-gradient(135deg, #165DFF 0%, #6135FF 100%);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(22, 93, 255, 0.25);
    border-color: #165DFF;
}

.contact-item:hover h4,
.contact-item:hover p {
    color: #fff;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #165DFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .TopBox-content {
        width: calc(100% - 60px);
        padding: 30px 40px;
    }

    .title {
        font-size: 36px;
        margin-top: 100px;
    }

    .desc {
        width: 100%;
        font-size: 15px;
    }

    .TopBox-content img {
        width: 350px;
        right: 40px;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
        padding: 6px 12px;
    }

    header>div:first-child img {
        height: 40px;
    }

    .TopBox {
        height: auto;
        min-height: 500px;
    }

    .TopBox-content {
        width: calc(100% - 40px);
        padding: 30px 20px;
        height: auto;
    }

    .title {
        font-size: 28px;
        margin-top: 30px;
    }

    .desc {
        width: 100%;
        font-size: 14px;
    }

    .TopBox-content img {
        display: none;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .intro-features,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 30px 20px;
    }

    .contact-icon {
        font-size: 40px;
    }

    .contact-item h4 {
        font-size: 18px;
    }

    .contact-item p {
        font-size: 14px;
    }
}