/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "思源黑体", "微软雅黑", "Microsoft YaHei", sans-serif;
    scroll-behavior: smooth; /* 平滑滚动 */
}
body {
    background: #F5F7FA;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(54, 179, 126, 0.03) 0%, transparent 20%);
}
a {
    text-decoration: none;
    color: #0066CC;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
    border-radius: inherit;
}
/* 公共类 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 100px 0;
    position: relative;
}
/* section间隔装饰线 */
.section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
}
.section:last-of-type::after {
    display: none;
}
.bg-gray {
    background: #F5F7FA;
}
.bg-blue {
    background: linear-gradient(135deg, #0066CC 0%, #0052AA 100%);
    position: relative;
    overflow: hidden;
}
/* 科技感背景纹理 */
.bg-blue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}
.text-center {
    text-align: center;
}
.text-white {
    color: #fff;
}
.section-title {
    font-size: 38px;
    color: #0066CC;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 70px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #36B37E, #0066CC);
    border-radius: 2px;
}
.text-center .section-title {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
/* 科技蓝按钮（升级渐变+光影） */
.btn-tech {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(90deg, #0066CC, #0088FF);
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-tech::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}
.btn-tech:hover {
    background: linear-gradient(90deg, #0052AA, #0077EE);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}
.btn-tech:hover::before {
    left: 100%;
}
.btn-white {
    background: linear-gradient(90deg, #fff, #f5f9ff);
    color: #0066CC;
    margin-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}
.btn-white:hover {
    background: linear-gradient(90deg, #f5f9ff, #e8f1ff);
    color: #0066CC;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

/* 头部导航（升级立体阴影+hover效果） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    z-index: 999;
    padding: 12px 0;
    transition: all 0.3s ease;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05);
}
.nav ul {
    display: flex;
    gap: 40px;
}
.nav a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.3px;
}
.nav a.active, .nav a:hover {
    color: #0066CC;
}
.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #36B37E, #0066CC);
    transition: width 0.3s ease;
}
.nav a.active::after, .nav a:hover::after {
    width: 100%;
}
/* 导航下拉菜单（升级阴影+渐变） */
.nav-sub {
    position: relative;
}
.nav-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 220px;
    display: none;
    z-index: 99;
    border-top: 3px solid #0066CC;
}
.nav-sub-menu a {
    display: block;
    padding: 10px 25px;
    color: #333;
    transition: all 0.3s ease;
}
.nav-sub-menu a:hover {
    background: rgba(0, 102, 204, 0.05);
    color: #0066CC;
    padding-left: 30px;
}
.nav-sub:hover .nav-sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 移动端菜单（升级样式） */
.menu-btn {
    display: none;
    font-size: 26px;
    color: #0066CC;
    cursor: pointer;
    transition: all 0.3s ease;
}
.menu-btn:hover {
    transform: rotate(90deg);
}
.nav-mob {
    display: none;
    padding: 25px;
    background: #fff;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}
.nav-mob a {
    display: block;
    padding: 12px 0;
    color: #333;
    border-bottom: 1px solid rgba(0, 102, 204, 0.05);
    transition: all 0.3s ease;
}
.nav-mob a:last-child {
    border-bottom: none;
}
.nav-mob a.active, .nav-mob a:hover {
    color: #0066CC;
    padding-left: 10px;
}

/* 首屏Banner（升级3D层次感+动态光影） */
.banner {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0052AA, #0088FF);
}
#banner3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}
/* Banner网格纹理 */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}
.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 1000px;
}
.banner-content h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    line-height: 1.3;
    letter-spacing: 1px;
}
.banner-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.banner-btn {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* 企业简介（升级左右渐变+卡片立体度） */
.about-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}
.about-text {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}
.about-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #36B37E, #0066CC);
}
.about-text p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.9;
    font-size: 16px;
}
.about-text p:last-of-type {
    margin-bottom: 35px;
}
.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    transform: translateY(10px);
    transition: all 0.5s ease;
}
.about:hover .about-img {
    transform: translateY(0);
}
.about-img img {
    width: 100%;
    transition: transform 0.5s ease;
}
.about:hover .about-img img {
    transform: scale(1.03);
}

/* 产品核心入口（升级卡片悬浮+渐变+图标动效） */
.product-entry-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}
.product-entry-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    color: #333;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.05);
}
/* 卡片顶部渐变 */
.product-entry-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #36B37E);
}
.product-entry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}
/* 悬浮时底部光效 */
.product-entry-item:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom center, rgba(0, 102, 204, 0.05), transparent 70%);
    z-index: 0;
}
.item-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #0066CC;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.product-entry-item:hover .item-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
}
.item-icon.icon-green {
    background: rgba(54,179,126,0.1);
    color: #36B37E;
}
.item-icon.icon-yellow {
    background: rgba(255,193,7,0.1);
    color: #FFC107;
}
.item-icon.icon-purple {
    background: rgba(156,39,176,0.1);
    color: #9C27B0;
}
.product-entry-item h3 {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.product-entry-item p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.item-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 20px;
    color: #0066CC;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.product-entry-item:hover .item-arrow {
    transform: translateX(10px);
}

/* 智慧农业数据（升级卡片悬浮+发光边框） */
.smart-agri-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}
.data-item {
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: all 0.4s ease;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}
.data-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.3);
}
.data-num {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
}
/* 数字后缀%样式 */
.data-num::after {
    content: "%";
    font-size: 36px;
    position: absolute;
    top: 5px;
    right: -25px;
    opacity: 0.8;
}
.data-name {
    font-size: 18px;
    opacity: 0.9;
    color: #fff;
    letter-spacing: 0.5px;
}

/* 工程案例（升级卡片hover缩放+阴影+文字动效） */
.case-swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}
/* 左右箭头（新增） */
.case-swiper::before, .case-swiper::after {
    content: "\f053";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    color: #0066CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}
.case-swiper::after {
    content: "\f054";
    left: auto;
    right: 10px;
}
.case-swiper::before:hover, .case-swiper::after:hover {
    background: #0066CC;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.case-list {
    display: flex;
    gap: 30px;
    transition: all 0.5s ease;
    padding: 10px 0;
}
.case-item {
    min-width: 320px;
    background: #F5F7FA;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 204, 0.05);
}
.case-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}
.case-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-item:hover img {
    transform: scale(1.08);
}
.case-info {
    padding: 25px;
    background: #fff;
}
.case-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.3s ease;
}
.case-item:hover h3 {
    color: #0066CC;
}
.case-info p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.case-link {
    color: #0066CC;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}
.case-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.case-item:hover .case-link i {
    transform: translateX(5px);
}

/* 底部（升级渐变背景+分区阴影） */
.footer {
    background: linear-gradient(135deg, #222, #111);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}
/* 底部纹理 */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}
.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}
.footer-item {
    flex: 1;
    min-width: 250px;
}
.footer-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #0066CC;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #36B37E;
}
.footer-item p {
    line-height: 1.9;
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 15px;
}
.footer-item a {
    display: block;
    line-height: 1.9;
    opacity: 0.8;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}
.footer-item a:hover {
    color: #0066CC;
    opacity: 1;
    padding-left: 8px;
}
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    opacity: 0.6;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* 悬浮联系按钮（升级缩放+脉冲动效） */
.contact-fix {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fix-btn {
    display: block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 65px;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
/* 脉冲动效 */
.fix-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { width: 100%; height: 100%; opacity: 0.8; }
    100% { width: 150%; height: 150%; opacity: 0; }
}
.fix-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.btn-phone {
    background: linear-gradient(90deg, #0066CC, #0088FF);
}
.btn-wechat {
    background: linear-gradient(90deg, #36B37E, #52D38D);
}

/* 产品列表页通用样式（升级筛选器+卡片立体度） */
.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    padding-bottom: 25px;
}
.product-filter a {
    padding: 10px 25px;
    background: #F5F7FA;
    color: #333;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.product-filter a.active, .product-filter a:hover {
    background: #0066CC;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
    border-color: #0066CC;
}
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 204, 0.05);
    position: relative;
}
/* 产品标签（新增） */
.product-card::before {
    content: "热销";
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(90deg, #FF5722, #FF9800);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.2);
}
.product-card:hover {
    transform: rotateY(5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}
.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.08);
}
.product-card-info {
    padding: 30px;
}
.product-card-info h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #333;
    transition: color 0.3s ease;
}
.product-card:hover h3 {
    color: #0066CC;
}
.product-card-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}
.product-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.05);
}
.product-price {
    color: #FF5722;
    font-weight: 600;
    font-size: 18px;
}

/* 响应式适配（优化移动端样式） */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    .banner-content h1 {
        font-size: 48px;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    /* 导航 */
    .nav {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    /* Banner */
    .banner {
        height: 90vh;
    }
    .banner-content h1 {
        font-size: 36px;
    }
    .banner-content p {
        font-size: 18px;
    }
    .btn-tech {
        padding: 12px 25px;
        font-size: 15px;
    }
    .btn-white {
        margin-left: 0;
        margin-top: 15px;
    }
    /* 数据模块 */
    .data-num {
        font-size: 42px;
    }
    .data-num::after {
        font-size: 28px;
        right: -20px;
    }
    /* 案例 */
    .case-item {
        min-width: 280px;
    }
    .case-swiper::before, .case-swiper::after {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    /* 产品卡片 */
    .product-card::before {
        padding: 4px 10px;
        font-size: 11px;
    }
    /* 悬浮按钮 */
    .fix-btn {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .banner {
        height: 80vh;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .product-entry-item {
        padding: 25px;
    }
    .item-icon {
        width: 90px;
        height: 90px;
        font-size: 35px;
    }
    .product-card-info {
        padding: 20px;
    }
    .product-card-info h3 {
        font-size: 20px;
    }
}