* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: Inter, Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 1920px;
    min-width: 480px;
}
.container {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}
h1 { font-size: 2.5rem; }
h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #008348;
}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a {
    text-decoration: none;
    color: #008348;
    transition: color 0.3s ease;
}
a:hover { color: #008348; }
sub{vertical-align: text-bottom;font-size: 0.4rem;}
.w950{max-width: 950px;width: 100%;margin: 0 auto;padding: 0 2vw;}
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.primary-btn {
    background-color: #008348;
    color: #fff;
    border: 2px solid #008348;
}
.primary-btn:hover {
    background-color: #285a44;
    border: 2px solid #285a44;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.secondary-btn {
    background-color: transparent;
    color: #008348;
    border: 2px solid #008348;
}
.secondary-btn:hover {
    background-color: #008348;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#main-header {
    background-color: #028348;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}
.logo .sitename {margin-bottom: 0.2rem;}
.logo .sitename a{color:#fff;font-size: 1.8rem;font-weight: 700;}
.logo .tagline {
    font-size: 0.9rem;
    color: #d3d3d3;
    margin-bottom: 0;
}
#main-nav ul {
    display: flex;
    list-style: none;
}
#main-nav ul li {
    margin-left: 1.5rem;
}
#main-nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}
#main-nav ul li a.active,
#main-nav ul li a:hover {
    color: #fff;
}
#main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}
#main-nav ul li a.active::after,
#main-nav ul li a:hover::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu ul {
    list-style: none;
    padding: 0 20px;
}
.mobile-menu ul li { margin-bottom: 1rem; }
.mobile-menu ul li a {
    display: block;
    color: #333;
    font-weight: 500;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f1f1;
}
.mobile-menu ul li a:hover { color: #008348; }
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section {
    background: url("/images/banner.webp") no-repeat center center fixed;
    background-size: cover;
    padding: 10rem 0
}
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.hero-content {
    text-align: center;
    flex: 1;
    padding: 2rem;
    background-color: rgb(255 255 255 / 66%);
    border-radius: 10px;
}
.hero-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-content h2 { font-size: 2rem; color: #008348; margin-bottom: 1rem; }
.hero-content h2::after {left: 0;transform: none;}
.hero-content p { font-size: 1.1rem; color: #555; margin-bottom: 2rem;}
.hero-buttons {display: flex;gap: 1rem;align-items: center;justify-content: center;}
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 60%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-section, .specs-section, .advantages-section, .application-section, .contact-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 1rem;
}
.table-responsive {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 1400px;
}
.comparison-table, .detailed-specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.comparison-table th, .comparison-table td, .detailed-specs-table th, .detailed-specs-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
}
.comparison-table th, .detailed-specs-table th {
    background-color: #008348;
    color: #fff;
    font-weight: 600;
}
.comparison-table tbody tr:hover, .detailed-specs-table tbody tr:hover {
    background-color: #f8f9fa;
}
.comparison-table tbody tr:nth-child(even), .detailed-specs-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}
.model-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.model-tab {
    padding: 0.8rem 1.5rem;
    background-color: #f1f1f1;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.model-tab.active, .model-tab:hover {
    background-color: #008348;
    color: #fff;
}
.model-content {
    max-width: 1400px;
    margin: 0 auto;
}
.model-details {
    display: none;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.model-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.specs-overview { margin-bottom: 2rem; }
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.specs-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #008348;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.specs-card h4 { color: #008348; margin-bottom: 0.8rem; }
.specs-card p { margin-bottom: 0.5rem; color: #555; }

.table-details{margin-top: 1.5rem;display: flex;justify-content: center;align-items: center;gap: 2rem;}
.details-btn{
    padding: 0.8rem 1.5rem;
    background-color: #008348;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.advantage-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.advantage-icon { margin-bottom: 1.2rem; display: flex; justify-content: center; }
.advantage-icon i{color: #008348;}
.advantage-card h3 { color: #008348; margin-bottom: 0.8rem; }
.advantage-card p { color: #666; }
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.application-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.application-card:hover { transform: translateY(-5px); }
.application-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.application-card h3 { padding: 1.2rem 1.5rem 0.5rem; color: #008348; text-align: center; }
.application-card p { padding: 0 1.5rem 1.2rem; color: #666; text-align: center; margin-bottom: 0; }
.application-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.application-icon i{color: #008348;}

.contact-container {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    flex-wrap: wrap;
    max-width:1400px;
}
.contact-info, .contact-form { flex: 1; min-width: 300px; }
.contact-info {
    background-color: #008348;
    color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.contact-info h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-details {display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;gap: 40px;}
.contact-details li { display: flex; align-items: flex-start;}
.contact-icon { margin-right: 1rem;}
.contact-text { flex: 1; }
.social-links { display: flex; gap: 1rem; }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    transition: background-color 0.3s ease;
}
.social-link:hover { background-color: rgba(255,255,255,0.3); }
.contact-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #333; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #008348;
    box-shadow: 0 0 0 3px rgba(44,127,184,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 2rem; }
#main-footer {color: #fff;padding: 3rem 0 1.5rem;}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}
.footer-logo h2 { color: #fff; margin-bottom: 0.5rem; }
.footer-logo h2::after {left: 0;transform: none;}
.footer-logo .tagline { color: #bbb; }
.footer-logo img{width:100%;max-width:200px;}
.footer-logo h3, .footer-links h3, .footer-products h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-logo h3::after, .footer-links h3::after, .footer-products h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #008348;
}
.footer-links ul, .footer-products ul, .footer-contact ul { list-style: none; }
.footer-links ul li, .footer-products ul li, .footer-contact ul li { margin-bottom: 0.8rem; }
.footer-links ul li a, .footer-products ul li a { color: #bbb; transition: color 0.3s ease; }
.footer-links ul li a:hover, .footer-products ul li a:hover { color: #00f515; }
.footer-contact ul li { color: #bbb; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    color: #bbb;
    font-size: 0.9rem;
}
.footer-privacy a { color: #bbb; margin-left: 1.5rem; transition: color 0.3s ease; }
.footer-privacy a:hover { color: #008348; }
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: #008348;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover {
    background-color: #00f515;
    transform: translateY(-3px);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* 产品网格布局 - 最大宽度 1900px */
.wide-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-grid-section {
  padding: 70px 0;
  background: #f8f9fa;
}

/* Grid 核心：一行 5 个 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1900px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .products-grid {grid-template-columns: repeat(3, 1fr);}
}
@media (max-width: 768px) {
  .products-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 480px) {
  .products-grid {grid-template-columns: 1fr;}
  .productlist-img{margin-top:18px;}
}

/* 产品卡片样式 */
.product-card-item {
    width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.product-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 图片容器：隐藏溢出，实现放大效果 */
.product-image-box {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.productlist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* 平滑动画 */
}

/* 悬停图片放大 */
.product-card-item:hover .productlist-img {
  transform: scale(1.1);
}

/* 产品名称 */
.product-title {
  padding: 18px 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}


@media (max-width: 1280px) {
    .contact-details{grid-template-columns: 1fr 1fr;}
    .footer-content{grid-template-columns: repeat(3, 1fr);}
    .footer-logo{grid-column: span 3;}
}

@media (max-width: 992px) {
    html { font-size: 15px; }
    .hero-section .container { flex-direction: column-reverse; text-align: center; }
    .hero-content { padding-right: 0; margin-bottom: 2rem;display: flex;flex-direction: column;align-items: center;gap: 40px;}
    .hero-content h2::after{left: 50%;transform: translateX(-50%);}
    .hero-buttons { justify-content: center; }
    .hero-image { text-align: center; }
    #main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .contact-details{grid-template-columns: 1fr 1fr;}
}
@media (max-width: 768px) {
    html { font-size: 14px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content h3 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; }
    .advantage-card, .application-card { padding: 1.2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-privacy a { margin: 0 0.5rem; }
    .back-to-top { width: 42px; height: 42px; bottom: 1.5rem; right: 1.5rem; }
    .contact-details{grid-template-columns:1fr;}
    .footer-content{grid-template-columns: repeat(2, 1fr);}
    .footer-logo{grid-column: span 2;}
    .footer-contact{grid-column: span 2;}
}
@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .specs-grid, .advantages-grid, .applications-grid { grid-template-columns: 1fr; }
    .model-tabs { gap: 0.5rem; }
    .model-tab { padding: 0.6rem 1rem; font-size: 0.9rem; }
    .comparison-table th, .comparison-table td, .detailed-specs-table th, .detailed-specs-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* 产品详情页公共样式 */
.product-detail-hero {
    background: url("/images/inbanner.webp") no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.detail-title{
    width: 100%;
    max-width: 950px;
    background-color: rgb(0 0 0 / 44%);
    border-radius: 10px;
    padding: 2rem 0;
    margin: 0 auto;
}
.detail-title h1 {
    color: #fff;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.detail-title h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #fff;
}
.detail-title p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}
.product-detail-content {
    padding: 40px 0;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 30px;
}
.product-table table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
.product-table th, .product-table td {
            border: 1px solid #eee;
            padding: 8px 12px;
            text-align: center;
            font-size: 1.0rem;
        }

.product-detail-table table {border-collapse: collapse;table-layout: fixed;width: 100%;margin:0 auto;font-size: 1rem;}
.product-detail-table table thead th,.product-detail-table table thead td{border: 1px solid #fff;text-align: center;}
.product-detail-table table tbody{font-size: 0.75rem;}
.product-detail-table table tbody tr {height: 1.5rem;}
.product-detail-table table tbody tr:hover{background-color:#bdbdbd;}
.product-detail-table table tbody td {border: 1px solid #ddd;text-align: center;}
.product-detail-table table tbody td:first-of-type{font-weight:600;}
.product-detail-table .weight{font-weight: 700;}
.product-detail-table .left{text-align: left;padding-left: 6px;}
.product-detail-table .yellow{background: #ddd;}
.product-detail-table .h225{height: 2.25rem;}
.product-detail-table .fixed{position: sticky;top:104px;background-color: #008348;z-index: 999;color: #fff;font-size: 1.125rem;}
.product-detail-table h2{font-size: 0.875rem;padding-bottom: 2px;margin-bottom: 0;}
.product-detail-table h2::after{height: 2px;}

@media (max-width: 992px) {
    .detail-grid {grid-template-columns: 1fr;}
    .product-detail-table .fixed{top:98px;}
}
@media (max-width: 768px) {
    .product-detail-table .fixed{top:90px;}
}
.product-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-img{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.product-img img{
    flex: 1;
    min-width: 400px;
    max-width: 100%;
    height: auto;
    display: block;
}
.product-card h2 {
    color: #008348;
    margin-bottom: 15px;
    font-size: 20px;
}
.product-card h2::after {
    left: 0;
    transform: none;
}
.params-card {
    position: sticky;
    top: 100px;
}
.params-table {
    width: 100%;
    border-collapse: collapse;
}
.params-table tr {
    border-bottom: 1px solid #eee;
}
.params-table th {
    text-align: left;
    padding: 10px 0;
    width: 40%;
    color: #333;
}
.params-table td {
    padding: 10px 0;
    color: #666;
}
.feature-list {
    padding-left: 20px;
}
.feature-list li {
    margin-bottom: 8px;
    list-style: disc;
}

/* 渐变动画背景 */
.gradient-bg {
    background-image:linear-gradient(45deg, #002514, #00512c, #00a158, #00512c, #002514);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
  }

@keyframes gradientFlow {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
  }