:root {
    --primary-blue: #0A1F33;
    --accent-blue: #0077C8;
    --metal-gray: #2D353C;
    --industrial-orange: #FF5A00;
    --steel-silver: #C4CED4;
    --text-dark: #2A2E32;
    --foot-text: #C4CED4;
    --precision-border: 2px solid var(--steel-silver);
    --font-stack: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --text-base-size: 1rem;
    --text-scale-ratio: 1.333; /* 修改为经典排版比例 */
}

/* 统一标题系统（排除页脚） */
:root {
    --heading-color: linear-gradient(145deg, #40464d 0%, #2d3236 100%);
    --text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body :not(.main-footer) h1,
body :not(.main-footer) h2,
body :not(.main-footer) h3,
body :not(.main-footer) h4,
body :not(.main-footer) h5,
body :not(.main-footer) h6 {
    font-family: var(--font-stack);
    background: var(--heading-color);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 3em 0 2em;
    padding-bottom: 1.5em;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-shadow: var(--text-shadow);
    font-size: 1.5rem;
    position: relative;
    text-align: center;
}

body .contact-info :is(h1, h2, h3, h4, h5, h6) {
    color: #C4CED4;
    text-align: left;
}

body .industry-grid :is(h1, h2, h3, h4, h5, h6){
    color: white;
}

body .advantages-container :is(h2){
    color: white;
}

body .service-advantages :is(h2){
    color: white;
}

/* 最终版分割线样式 */
/* 排除首页横幅和卡片中的所有标题分割线 */
body :not(.main-footer) h1::after,
body :not(.main-footer) h2::after,
body :not(.main-footer) h3::after,
body :not(.main-footer) h4::after,
body :not(.main-footer) h5::after,
body :not(.main-footer) h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(196,206,212,0) 0%,
        rgba(196,206,212,0.8) 50%,
        rgba(196,206,212,0) 100%
    );
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(10,31,51,0.15);
    transition: all 0.3s ease;
}

/* 彻底移除首页所有标题的分割线（包含h3特别处理） */
:is(.contact-info) :is(h1, h2, h3, h4, h5, h6)::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
    height: 0 !important;
    width: 0 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    all: unset !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* 增加标题上下间距 */
body :not(.main-footer) h1,
body :not(.main-footer) h2,
body :not(.main-footer) h3,
body :not(.main-footer) h4,
body :not(.main-footer) h5,
body :not(.main-footer) h6 {
    margin: 2em 0 1.2em;
    padding-bottom: 1em;
}

/* 移动端优化 */
@media (max-width: 768px) {
    body :not(.main-footer) h1::after,
    body :not(.main-footer) h2::after,
    body :not(.main-footer) h3::after,
    body :not(.main-footer) h4::after,
    body :not(.main-footer) h5::after,
    body :not(.main-footer) h6::after {
        width: 50%;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%,
            var(--accent-blue) 50%,
            transparent 100%
        );
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
}

body :not(.main-footer) h1 { font-size: 1.5rem; }
body :not(.main-footer) h2 { font-size: 1.4rem; }
body :not(.main-footer) h3 { font-size: 1.3rem; }
body :not(.main-footer) h4 { font-size: 1.2rem; }
body :not(.main-footer) h5 { font-size: 1.1rem; }
body :not(.main-footer) h6 { font-size: 1.0rem; }

body .contact-info :is(h1, h2, h3, h4, h5, h6) {
    text-align: center;
}

/* 保留轮播图特殊标题样式 */
.carousel-caption h1 {
    color: transparent; /* 保留渐变效果 */
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3.5));
}

.contact-info{
    margin-top: -42px;
    margin-left: 10px;
}

body {
    font-family: var(--font-stack);
    line-height: 1.8;
    color: var(--text-dark);
    font-size: var(--text-base-size);
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--nav-height, 82px));
}

/* 强调文本样式 */
strong {
    font-weight: 600;
    color: var(--metal-gray);
}

/* 全局列表样式 */
ul, ol {
    list-style: none;
    padding-left: 0;
}

/* 导航栏样式 */
.main-nav {
    background: linear-gradient(145deg, var(--primary-blue) 0%, #0C263D 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    --nav-height: 82px;
    border-bottom: 3px solid var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-image: linear-gradient(90deg, var(--steel-silver) 0%, transparent 100%) 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.lang-switcher {
    display: flex;
    gap: 12px;
    margin-left: 2rem;
}

.lang-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.lang-btn.active {
    background: var(--accent-blue);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0,119,200,0.3);
}

@media (max-width: 768px) {
    .lang-switcher {
        position: absolute;
        right: 4rem;
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

.logo {
  height: 60px;
  filter: brightness(0) invert(1);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    padding: 0 2rem;
}

@media (min-width: 768px) and (max-width: 992px) {
    .main-nav ul {
        gap: min(1.5vw, 1rem);
        padding: 0 1rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        transition: gap 0.3s ease;
    }
    .nav-container {
        padding: 0 1rem;
        transition: padding 0.3s ease;
    }
    .main-nav a {
        font-size: clamp(0.9rem, 1.1vw, 1rem);
        padding: 0 0.5rem;
        white-space: nowrap;
        min-width: max-content;
        transition: all 0.3s ease;
    }
    .logo {
        height: 40px;
        filter: brightness(0) invert(1);
        flex: none; /* 完全禁用伸缩 */
        width: 160px; /* 固定logo容器宽度 */
        min-width: 160px;
        margin-right: 1rem;
        transition: all 0.3s ease;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-nav ul {
        margin-left: auto; /* 将导航菜单推到最右侧 */
        min-width: 0; /* 允许内容压缩 */
    }

    .main-nav a {
        font-size: clamp(0.85rem, 1vw, 0.95rem);
        padding: 0 0.4rem;
    }
    
    /* 防止导航项换行 */
    .nav-container {
        flex-wrap: nowrap;
    }
}

/* 移动端菜单样式 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: calc(var(--nav-height) + -1rem);
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem 1rem 1rem 0;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
        z-index: 999;
        list-style: none;
        padding-left: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px) scaleY(0.95);
        transform-origin: top center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s ease;
        will-change: transform, opacity;
    }

    .main-nav ul.active {
        display: flex;
        max-height: 1000px; /* Increased to ensure full animation */
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }

    .main-nav ul.active a {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav ul:not(.active) a {
        opacity: 0;
        transform: translateY(-5px);
    }
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0 0.8rem;
}

.main-nav a:hover {
    color: #ffd700;
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    z-index: 100;
    width: 80%;
    max-width: 800px;
    padding: 0;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .carousel-caption {
        width: 90%;
        padding: 1rem;
        bottom: 15%;
    }
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
    transform: translateX(0);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.dot.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

.dot::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
}

.dot-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
}

.carousel-item {
    position: relative;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    flex-shrink: 0;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 3;
    position: relative;
    pointer-events: auto;
}

.carousel-inner {
    display: flex;
    overflow: visible;
}

.carousel-inner {
    position: relative;
    min-height: 500px; /* 保持与图片相同高度 */
}

.carousel-item {
    width: 40%;
    height: 698px;
    background-size: cover;
    background-position: center;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(50px); }
    to { transform: translateX(0); }
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    z-index: 100;
    width: 80%;
    max-width: 800px;
    padding: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.carousel-caption h1 {
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3.5)); /* 使用标题层级系统 */
    margin: 1rem 0 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    background: linear-gradient(to right, var(--steel-silver) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 4px solid var(--industrial-orange);
    padding-bottom: 0.8rem;
    line-height: 1.1;
}

.carousel-caption p {
    font-size: 1.2em;
    opacity: 0.95;
    margin-top: 0.5rem;
    white-space: normal;
    word-break: break-word;
}

@keyframes captionFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        width: 100%;
        padding: 0.5rem;
        bottom: 18%;
        font-size: 0.9rem;
        backdrop-filter: blur(2px);
    }
    .carousel-caption p {
        font-size: clamp(0.8rem, 3.2vw, 0.95rem);
        line-height: 1.4;
        margin: 0 1%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: keep-all;
        letter-spacing: -0.03em;
    }
}


/* 横幅样式 */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('factory-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content h1 {
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3));
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* 特色板块样式 */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 1.5));
    line-height: 1.3;
    font-weight: 500;
}

/* 页脚样式 */
/* 内容卡片样式 */
.content-cards {
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  transition: 
    opacity 0.3s ease-out,
    transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap');
:root {
    --primary-blue: #0A1F33;
    --accent-blue: #0077C8;
    --metal-gray: #2D353C;
    --industrial-orange: #FF5A00;
    --steel-silver: #C4CED4;
    --text-dark: #2A2E32;
    --precision-border: 2px solid var(--steel-silver);
    --font-stack: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --text-base-size: 1rem;
    --text-scale-ratio: 1.333; /* 修改为经典排版比例 */
}

/* 标题层级系统 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-stack);
    color: var(--steel-silver);
    margin: 1.5em 0 0.8em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3)); } /* ≈2.369rem */
h2 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio, 2.5))); } /* ≈2.073rem */
h3 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio, 2))); } /* ≈1.777rem */
h4 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio, 1.5))); } /* ≈1.48rem */
h5 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio, 1))); } /* =1.333rem */
h6 { font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio, 0.5))); } /* ≈1.154rem */

body {
    font-family: var(--font-stack);
    line-height: 1.8;
    color: var(--text-dark);
    font-size: var(--text-base-size);
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
    padding: calc(var(--nav-height, 82px)) 0 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 强调文本样式 */
strong {
    font-weight: 600;
    color: var(--metal-gray);
}

/* 全局列表样式 */
ul, ol {
    list-style: none;
    padding-left: 0;
}

/* 导航栏样式 */
.main-nav {
    background: linear-gradient(145deg, var(--primary-blue) 0%, #0C263D 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    --nav-height: 82px;
    border-bottom: 3px solid var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-image: linear-gradient(90deg, var(--steel-silver) 0%, transparent 100%) 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}


.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    padding: 0 2rem;
}

@media (min-width: 768px) and (max-width: 992px) {
    .main-nav ul {
        gap: min(1.5vw, 1rem);
        padding: 0 1rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        transition: gap 0.3s ease;
    }
    .nav-container {
        padding: 0 1rem;
        transition: padding 0.3s ease;
    }
    .main-nav a {
        font-size: clamp(0.9rem, 1.1vw, 1rem);
        padding: 0 0.5rem;
        white-space: nowrap;
        min-width: max-content;
        transition: all 0.3s ease;
    }
    .logo {
        height: 40px;
        flex: none; /* 完全禁用伸缩 */
        width: 160px; /* 固定logo容器宽度 */
        min-width: 160px;
        margin-right: 1rem;
        transition: all 0.3s ease;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-nav ul {
        margin-left: auto; /* 将导航菜单推到最右侧 */
        min-width: 0; /* 允许内容压缩 */
    }

    .main-nav a {
        font-size: clamp(0.85rem, 1vw, 0.95rem);
        padding: 0 0.4rem;
    }
    
    /* 防止导航项换行 */
    .nav-container {
        flex-wrap: nowrap;
    }
}

/* 移动端菜单样式 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: calc(var(--nav-height) + -1rem);
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem 1rem 1rem 0;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
        z-index: 999;
        list-style: none;
        padding-left: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px) scaleY(0.95);
        transform-origin: top center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s ease;
        will-change: transform, opacity;
    }

    .main-nav ul.active {
        display: flex;
        max-height: 1000px; /* Increased to ensure full animation */
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }

    .main-nav ul.active a {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav ul:not(.active) a {
        opacity: 0;
        transform: translateY(-5px);
    }
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0 0.8rem;
}

.main-nav a:hover {
    color: #ffd700;
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
    transform: translateX(0);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.dot.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

.dot::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
}

.dot-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
}

.carousel-item {
    position: relative;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    flex-shrink: 0;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 3;
    position: relative;
    pointer-events: auto;
}

.carousel-inner {
    display: flex;
    overflow: visible;
}

.carousel-inner {
    position: relative;
    min-height: 500px; /* 保持与图片相同高度 */
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(50px); }
    to { transform: translateX(0); }
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.95);
    z-index: 100;
    width: 80%;
    max-width: 800px;
    padding: 2rem 3rem;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 31, 51, 0.95) 0%, rgba(15, 40, 65, 0.9) 100%);
    border-radius: 16px;
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
    line-height: 1.7;
    backdrop-filter: blur(12px);
    border: var(--precision-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: captionFadeIn 0.8s ease-out;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-caption h1 {
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3.5)); /* 使用标题层级系统 */
    margin: 1rem 0 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    background: linear-gradient(to right, var(--steel-silver) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 4px solid var(--industrial-orange);
    padding-bottom: 0.8rem;
    line-height: 1.1;
}

.carousel-caption p {
    font-size: 1.2em;
    opacity: 0.95;
    margin-top: 0.5rem;
}

@keyframes captionFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        width: 90%;
        padding: 1rem;
        bottom: 15%;
        font-size: 1.2rem;
        backdrop-filter: blur(4px);
    }
}


/* 横幅样式 */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('factory-bg.jpg');
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 3));
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* 特色板块样式 */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 1.5));
    line-height: 1.3;
    font-weight: 500;
}

/* 页脚样式 */
/* 行业应用展示区 */
.industry-showcase {
  padding: 4rem 1rem;
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
}

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

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.industry-item {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
}

.industry-item:hover {
  transform: translateY(-5px);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(10, 31, 51, 0) 0%, rgba(10, 31, 51, 0.9) 100%);
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.industry-item:hover .industry-overlay {
  transform: translateY(0);
}

.industry-overlay h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.industry-overlay p {
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 核心优势区 */
.core-advantages {
  padding: 4rem 1rem;
  background: var(--primary-blue);
}

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

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.advantage-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-item img {
  width: 160px;
  height: 87px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.advantage-item h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  filter: brightness(0.8) contrast(1.2);
}

.core-advantages h2 {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.advantage-item p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .industry-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-item {
    height: 250px;
  }
  
  .advantage-item {
    padding: 1.5rem;
  }

  .industry-overlay h3 {
    font-size: 1.3rem;
  }
  
  .advantage-item h3 {
    font-size: 1.1rem;
  }
}

/* 内容卡片样式 */
.content-cards {
  padding: 4rem 0;
  background: #f9f9f9;
}

.cards-container {
  max-width: 98%;
  margin: 0 auto;
  padding: 1rem 1%;
  display: grid;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 2rem;
  min-height: 60vh; /* 精确视口高度 */
  margin-bottom: 0vh; /* 可视预览区域 */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  scroll-snap-align: start; /* 精准滚动定位 */
  scroll-margin-top: 15vh; /* 顶部留白 */
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 自定义滚动条样式 */
.cards-container::-webkit-scrollbar {
  width: 8px;
  background: rgba(0,0,0,0.05);
}

.cards-container::-webkit-scrollbar-thumb {
  background: var(--industrial-orange);
  border-radius: 4px;
}

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 滚动触发动画 */
@keyframes scrollReveal {
  from {
    opacity: 0.5;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.card:not(:hover) {
  animation: scrollReveal 0.6s ease-out;
}

@media (min-width: 768px) {
  .card {
    flex: 0 0 400px;
  }
  
  .cards-container::-webkit-scrollbar {
    height: 8px;
    background: rgba(0,0,0,0.05);
  }
  
  .cards-container::-webkit-scrollbar-thumb {
    background: var(--industrial-orange);
    border-radius: 4px;
  }
}

.card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--metal-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-blue);
}

.card h3 {
  color: var(--text-dark);
  font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 1.5));
  margin: 1.5rem 1rem 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  color: var(--text-dark);
  margin: 0 1rem 1rem;
  line-height: 1.6;
}

/* 关于我们介绍文字美化 */
.card .intro-text {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  word-spacing: 0.02em;
  background-image: linear-gradient(145deg, #2d353c 0%, #40464d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
  text-indent: 2em;
  margin: 1.5rem 0;
  hyphens: auto;
}

.card .intro-text::first-letter {
  font-size: 2.2em;
  float: left;
  line-height: 0.8;
  margin: 0.15em 0.1em 0 0;
  color: var(--accent-blue);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  background: var(--industrial-orange);
  color: white;
  padding: 0.8rem 1.5rem;
  margin: 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #cc4700;
}

@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

.main-footer {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem 0;
    margin-top: 0;  /* 与上方内容保持20px间距 */
    border-top: 3px solid var(--accent-blue);
}

/* 备案信息样式 */
.beian-info {
    width: 100%;
    text-align: center;
    padding: 1rem 0 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.beian-info a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.beian-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .footer-content {
        padding: 10px 15px;
        justify-content: space-between;
    }
}

/* 中等屏幕优化 */
@media (max-width: 992px) {
    .footer-content {
        gap: 0.6rem;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 0.8rem 0 0.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 0.4rem;
    }
    
    .contact-info,
    .qrcode {
        width: 100%;
        max-width: 254px;
        text-align: center;
        margin: 4px auto;
        padding: 0 5px;
    }
    
    .qrcode img {
        width: 60px;
        margin: 0 auto 3px;
    }

    .contact-info p {
        margin: 0.2rem 0;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .contact-info strong {
        display: block;
        margin-top: 0.3rem;
    }
}

.qrcode img {
    width: 120px;
    margin-bottom: 0.5rem;
}

/* 新增模块样式 */
.company-profile {
  margin: 3rem auto;
  max-width: 1200px;
  padding: 2rem;
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.profile-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.profile-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--steel-silver);
}

.core-business ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.core-business li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.core-business i {
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.service-advantages {
  padding: 4rem 2rem;
  background: var(--primary-blue);
  margin-top: 3rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-card {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-card i {
  font-size: 2.5rem;
  color: var(--industrial-orange);
  margin-bottom: 1rem;
}

.advantage-card h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin: 1rem 0;
}

.advantage-card p {
  color: var(--metal-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-image img {
    height: 200px;
  }
}

/* 时间轴样式 */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    width: 4px;
    background: var(--primary-blue);
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.timeline-item.left-img {
    flex-direction: row;
}
.timeline-item.right-img {
    flex-direction: row-reverse;
}

.timeline-img {
    width: 45%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.timeline-img:hover {
    transform: translateY(-5px);
}

.timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px solid var(--metal-gray);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--industrial-orange);
    transform: translateX(-50%) rotate(45deg);
}

.timeline-year {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-desc p {
    line-height: 1.8;
    margin: 0.8rem 0;
    color: var(--neutral-gray);
}

.timeline-icon {
    position: absolute;
    top: -25px;
    right: -25px;
    background: var(--industrial-orange);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column!important;
        margin: 2rem 0;
        gap: 1rem;
    }

    /* 移除左右布局的影响 */
    .timeline-item.left-img,
    .timeline-item.right-img {
        flex-direction: column!important;
    }
    
    .timeline-img,
    .timeline-content {
        width: 100%;
        margin-bottom: 0;
    }

    .timeline-img {
        order: -1; /* 强制图片在上方 */
    }

    .timeline-img img {
        height: 200px;
        object-position: center 30%;
        margin-bottom: 1rem; /* 增加图片底部间距 */
    }

    .timeline-content {
        padding: 0.8rem 0.3rem;
        box-sizing: border-box;
        width: 100%;
        overflow-x: hidden;
        margin: 0;
    }
    
    .timeline-container {
        padding: 0 0.5rem;
    }

    .timeline-year {
        font-size: 2rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-desc p {
        word-wrap: break-word;
        white-space: normal;
        margin: 0.5rem auto;
        max-width: 95%;
        padding: 0 0.3rem;
    }

    .timeline-icon {
        display: none; /* 完全隐藏时间轴图标 */
    }
}

/* 联系页面样式 */
.contact-content {
    margin: 2rem 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 0.8fr 0.8fr;
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-size: calc(var(--text-base-size) * pow(var(--text-scale-ratio), 0.5));
    font-weight: 500;
    text-indent: 0.5em;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 1rem);
    margin: 0 0.5rem;
    padding: 0.8rem;
    border: 1px solid var(--steel-silver); /* 改用已定义的淡灰色变量 */
    border-radius: 4px;
    box-sizing: border-box;
}

.submit-btn {
    background: var(--industrial-orange);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: 9px;
}

.submit-btn:hover {
    background: #b32b2b;
}

.map-container {
    flex: 1;
    padding: 20px;
    background: #f5f5f5;
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-iframe iframe {
    width: 100%;
    height: 100%;
}

.placeholder-map {
    height: 400px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-gray);
}

/* 产品网格布局 */
.product-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: 16px;
    border: var(--precision-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(0, 168, 204, 0.1);
    border-radius: 12px;
    pointer-events: none;
}

.card-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3比例 */
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.specs {
    margin: 1rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #666;
}


.cta-button {
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 30px;
    right: 30px;
    margin: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #34495e;
}

/* 产品标题居中 */
.product-showcase h2,
.product-card h3 {
    text-align: center;
}

/* 关于我们卡片背景样式 */
.about-card {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.8) 100%
  ), url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/aboutBackground.png') left/cover no-repeat;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  opacity: 0.8;
}

/* 关于我们卡片背景样式 */
.about-card {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: 
    linear-gradient(
      to left, 
      rgba(255,255,255,0.7) 0%,
      rgba(255,255,255,0.8) 100%
    ),
    url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/aboutBackground.png') left/cover no-repeat;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  opacity: 0.8;
}

.about-card {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.8) 100%
  ), url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/aboutBackground.png') left/cover no-repeat;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  opacity: 0.8;
}

/* 关于我们卡片背景样式 */
.about-card {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: 
    linear-gradient(
      to left, 
      rgba(255,255,255,0.7) 0%,
      rgba(255,255,255,0.8) 100%
    ),
    url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/aboutBackground.png') left/cover no-repeat;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  opacity: 0.8;
}

.productcard {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,1) 100%
    ), url('resource/img/订制无油轴承.jpg') left/cover no-repeat;
    opacity: 0.5;
    transition: opacity 0.5s ease;
  }
  
  .productcard:hover {
    opacity: 0.8;
  }
  
  /* 产品中心卡片背景样式 */
  .productcard {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: 
      linear-gradient(
        to left, 
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,1) 100%
      ),
      url('resource/img/订制无油轴承.jpg') left/cover no-repeat;
    opacity: 0.5;
    transition: opacity 0.5s ease;
  }
  
  .productcard:hover {
    opacity: 0.8;
  }

/**/

.jxcard {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,1) 100%
    ), url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/jsbj.jpg') left/cover no-repeat;
    opacity: 0.5;
    transition: opacity 0.5s ease;
  }
  
  .jxcard:hover {
    opacity: 0.8;
  }
  
  /* 产品中心卡片背景样式 */
  .jxcard {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: 
      linear-gradient(
        to left, 
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,1) 100%
      ),
      url('https://lhcos-92761-1254345061.cos.ap-shanghai.myqcloud.com/fyjm/resource/page/jsbj.jpg') left/cover no-repeat;
    opacity: 0.5;
    transition: opacity 0.5s ease;
  }
  
  .jxcard:hover {
    opacity: 0.8;
  }

/* 响应式设计 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-form,
    .map-container {
        width: 100%;
        max-width: calc(100% - 2rem);
        margin: 0 auto;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .placeholder-map {
        height: 300px;
    }
    
    .nav-container {
        flex-direction: row;
        align-items: center;
        padding: 0 1rem;
    }
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    .menu-toggle {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }
    .main-nav ul {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }
    
    .hero-banner {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
