* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
ul,
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    border: none;
    cursor: pointer;
    background: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
/* 悬浮导航栏 */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    color: #fff;
    padding: 12px 0;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo 图片占位 */
.logo img {
    height: 40px;
    width: auto;
    display: block;
}
/* 右侧导航整体 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
/* 每个导航链接：图片icon + 文字垂直居中 */
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    line-height: 1;
}
/* 导航图标统一尺寸 */
.nav-icon {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}
/* 移动端导航适配 */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    .logo img {
        height: 34px;
    }
    .nav-right {
        gap: 16px;
    }
    .nav-link span {
        font-size: 13px;
    }
    .nav-icon {
        width: 14px;
        height: 14px;
    }
}
/* Banner轮播 */
.banner {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
}
.banner-slider {
    height: 100%;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.slide-item.active {
    opacity: 1;
    z-index: 2;
}
/* ========== 三张轮播分别设置背景图 ========== */
.slide-item:nth-child(1) .banner-bg {
    background-image: url("../image/banner1.jpg");
}
.slide-item:nth-child(2) .banner-bg {
    background-image: url("../image/banner2.jpg");
}
.slide-item:nth-child(3) .banner-bg {
    background-image: url("../image/banner3.jpg");
}
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f1736;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
/* 半透明遮罩，保证文字可读 */
.banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.42);
}
.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 40px 0;
}
.banner-content h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 16px;
}
.banner-content p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 28px;
}
.banner-btn {
    background: #2b60d8;
    color: #fff;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    border: none;
    cursor: pointer;
	margin-top: 30px;
}
/* 底部轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
}
.dot.active {
    background: #fff;
    width: 24px;
}
/* 移动端适配 */
@media (max-width:768px) {
    .banner-content h1 {
        font-size: 28px;
    }
    .banner-content {
        padding: 120px 40px;
    }
}
/* 关于我们 */
.about-section {
    padding: 60px 0;
    background-image: url("../image/map-bg.png")
}
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}
/* h2标题：图标+公司名称 */
.about-text h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #2b60d8;
    font-weight: 600;
    margin-bottom:14px;
}
/* 标题前面的icon图片 */
.about-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
/* h3副标题 */
.about-subtitle {
    font-size: 20px;
    font-weight:500;
    color:#333;
    line-height:1.5;
    margin-bottom:18px;
}
.about-subtitle2{
    font-size: 30px;
    font-weight:500;
    color:#333;
    line-height:1.3;
    margin-bottom:18px;
}
.about-desc{
	padding-top: 30px;
}
/* p描述文本 */
.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}
.about-img-placeholder {
    background: #c8d2e5;
    height: 220px;
    width: 100%;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-item img {
  max-width: 100%;
  height: auto;
}
.stat-img img {
    margin: 0 auto;
}
/* 产品Tab区域 */
.product-section {
    padding: 70px 0;
    background: #f3f5fc;
}
.product-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.tab-item {
	height: 120px;
	font-size: 22px;
	line-height: 1.4;
	display: flex;
    padding: 14px 14px;
    border-radius: 10px;
    cursor: pointer;
    color:#333;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
/* ========== 未选中：普通状态 各自背景图 ========== */
.tab-item[data-tab="tab1"] {
  background-image: url("../image/tab1-normal.png");
}
.tab-item[data-tab="tab2"] {
  background-image: url("../image/tab2-normal.png");
}
.tab-item[data-tab="tab3"] {
  background-image: url("../image/tab3-normal.png");
}
.tab-item[data-tab="tab4"] {
  background-image: url("../image/tab4-normal.png");
}
/* ========== active选中状态，切换各自的激活背景图 ========== */
.tab-item.active[data-tab="tab1"] {
  background-image: url("../image/tab1-active.png");
  color:#ffffff;
}
.tab-item.active[data-tab="tab2"] {
  background-image: url("../image/tab2-active.png");
  color:#ffffff;
}
.tab-item.active[data-tab="tab3"] {
  background-image: url("../image/tab3-active.png");
  color:#ffffff;
}
.tab-item.active[data-tab="tab4"] {
  background-image: url("../image/tab4-active.png");
  color:#ffffff;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.product-card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.pro-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.pro-name {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
	text-align: center;
}
/* 产品参数蓝色样式 */
.pro-param {
    font-size: 13px;
    color: #1551b8;
    background: #eaf4ff;
    margin: 4px 0;
    padding: 3px 8px;
    border-radius: 4px;
	display: flex;
    justify-content: space-between;
}
.param-label {
    text-align: left;
}
.param-val {
    text-align: right;
}
.center-btn-wrap {
    text-align: center;
    margin-top: 36px;
}
/* 应用领域 */
.apply-section {
    padding: 40px 0;
}
.section-title {
    font-size: 30px;
    margin-bottom: 30px;
}
.apply-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    align-items: start;
}
.apply-col-left {
    display: grid;
    grid-template-rows: auto auto;
    gap: 16px;
}
.apply-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.apply-col-right {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 20px;
}
.apply-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    box-sizing: border-box;
}
/* PC端：维持背景图，固定高度 */
.apply-item.apply-ship {
    height: 427px;
}
.apply-img{
    display:none;
}
.apply-item.apply-oil {
    height: 280px;
}
.apply-item.apply-car {
    height: 280px;
}
.apply-item.apply-mine {
    height: 227px;
}
.apply-item.apply-metal {
    height: 227px;
}
.apply-item.apply-build {
    height: 227px;
}
.apply-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}
.apply-bg.ship {
    background-image: url("../image/app-ship.png");
}
.apply-bg.mine {
    background-image: url("../image/app-mine.png");
}
.apply-bg.metal {
    background-image: url("../image/app-metal.png");
}
.apply-bg.oil {
    background-image: url("../image/app-oil.png");
}
.apply-bg.car {
    background-image: url("../image/app-car.png");
}
.apply-bg.build {
    background-image: url("../image/app-build.png");
}
/* PC+移动端全部移除深色蒙版 */
.apply-bg::after {
    display: none;
}
.apply-text {
    position: absolute;
    inset: 0;
    z-index: 2;
}
/* 蓝色tag标签固定右下角 */
.tag {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 16px;
    background: #2b60d8;
    padding: 4px 12px;
    border-radius: 8px;
}
/* ==========移动端 ========== */
@media (max-width: 768px) {
    .apply-grid,
    .apply-col-left,
    .apply-row-two,
    .apply-col-right {
        display: block;
        width: 100%;
		margin-top: 20px;
    }
    .apply-col-right {
        margin-top: 20px !important;
    }
    .apply-item {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    .apply-item:not(:first-child) {
        margin-top: 18px !important;
    }
    .apply-bg {
        display: none !important;
    }
    .apply-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius:8px;
    }
    .tag {
        font-size: 14px;
        padding: 3px 10px;
        right: 12px;
        bottom: 12px;
    }
    /* =========修改重点：手机端Tab一行4个，产品一行2个========= */
    .product-tabs {
        grid-template-columns: repeat(4, 1fr);
        gap:8px;
    }
    .tab-item {
        height:90px;
        font-size:14px;
        padding: 8px 4px;
    }
    .product-card-list {
        grid-template-columns: repeat(2,1fr);
        gap:12px;
    }
    .product-section {
        padding:40px 0;
    }
    .pro-name {
        font-size:17px;
    }
    .about-row {
        grid-template-columns: 1fr;
    }
    .stat-row {
        grid-template-columns: repeat(2,1fr);
        gap:18px;
		padding: 0 30px;
    }
    .about-subtitle2 {
        font-size:22px;
    }
}
/* 移动端页脚 */
@media (max-width:768px) {
    .footer-wrap {
        flex-direction: column;
    }
    .footer-logo-img {
        height: 90px;
    }
    .contact-info h4{
        font-size:20px;
    }
}
/* 平板、产品模块响应式 */
@media (max-width: 1024px) {
    .product-card-list {
        grid-template-columns: repeat(2,1fr);
    }
}
.footer {
    background-color: #f4f7fd;
    padding: 48px 0 32px;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.contact-info h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #222;
}
.contact-info p {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin-bottom: 16px;
    font-size: 16px;
    color:#555;
    gap:10px;
}
.footer-icon {
    width:22px;
    height:22px;
    flex-shrink: 0 !important;
    object-fit: contain;
}
.footer-logo {
    flex-shrink: 0;
}
.footer-logo-img {
    height: 120px;
    object-fit: contain;
}
.footer-divider{
    max-width:1200px;
    margin:32px auto 16px;
    padding:0 20px;
    border-bottom:1px solid #e2e4f0;
}
.copyright {
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
    text-align:center;
    font-size:14px;
    color:#777;
}
/* 应用领域卡片 背景图hover放大 */
.apply-hover-wrap .apply-item {
    overflow: hidden;
}
.apply-hover-wrap .apply-bg {
    transition: transform 0.35s ease;
}
.apply-hover-wrap .apply-item:hover .apply-bg {
    transform: scale(1.08);
}
/* 产品卡片 鼠标悬浮图片放大 */
.product-card .pro-img-box {
    overflow: hidden;
}
.product-card .pro-img-box img {
    transition: transform 0.35s ease;
}
.product-card:hover .pro-img-box img {
    transform: scale(1.08);
}
/* Tab选项卡鼠标悬浮，切换为各自的选中active背景图 */
.product-tabs .tab-item {
    cursor: pointer;
}
/* tab1 hover → tab1-active.png */
.product-tabs .tab-item[data-tab="tab1"]:not(.active):hover {
    background-image: url("../image/tab1-active.png");
    color: #ffffff;
}
/* tab2 hover → tab2-active.png */
.product-tabs .tab-item[data-tab="tab2"]:not(.active):hover {
    background-image: url("../image/tab2-active.png");
    color: #ffffff;
}
/* tab3 hover → tab3-active.png */
.product-tabs .tab-item[data-tab="tab3"]:not(.active):hover {
    background-image: url("../image/tab3-active.png");
    color: #ffffff;
}
/* tab4 hover → tab4-active.png */
.product-tabs .tab-item[data-tab="tab4"]:not(.active):hover {
    background-image: url("../image/tab4-active.png");
    color: #ffffff;
}
/*==========联系弹窗 完整可直接替换CSS==========*/
.contact-popup-mask{
    display: none;
    position: fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,0.65);
    z-index:9999;
    align-items: center;
    justify-content: center;
}
.contact-popup-mask.show{
    display:flex;
}
.contact-popup-box{
    position: relative;
    width: 92vw;
    max-width: 780px;
    aspect-ratio: 9 / 7;
    max-height: calc(100vh - 40px);
    background-image: url(../image/tanchuang-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius:20px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px 40px 60px;
    box-sizing: border-box;
}
.popup-close-btn{
    position:absolute;
    right: 4px;
    top: 120px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:#ffffff;
    box-shadow: 0 2px 10px #00000026;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    line-height:1;
    cursor:pointer;
    z-index:10;
}
.popup-text-area{
    width:100%;
    text-align:center;
    padding-top:60px;
}
.popup-contact-item{
    margin-bottom:16px;
	font-size: 24px;
	background: #ffffff;
}
@media (max-width:768px) {
	.popup-close-btn{
    position:absolute;
    right: 4px;
    top: 50px;  /* 移动端往下移，由50改为70 */
    width:44px;
    height:44px;
    border-radius:50%;
    background:#ffffff;
    box-shadow: 0 2px 10px #00000026;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 24px;
    line-height:1;
    cursor:pointer;
    z-index:10;
}
	.contact-popup-box{
		padding: 0 60px 0 60px;
	}
	.popup-contact-item{
		font-size: 16px;
	}
}