* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
/* 顶部导航 */
header {
    background: #1a2942;
    color: #fff;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: background 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    margin: 0;
    border: none;
    height: 80px;
}

header nav {
    height: 100%;
    width: 100%;
}

header.scrolled {
    background: #1a2942;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 导航栏链接样式 */
.nav-links a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    width: auto;
    height: 32px;
    max-width: 200px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links li:not(:first-child)::before {
    content: '|';
    position: absolute;
    left: -1rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #007bff;
    text-decoration: none;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
    z-index: 1001;
    transition: transform 0.3s ease;
}
/* 通用样式 */
section {
    padding: 6rem 2rem 4rem;
}

/* 首屏轮播特殊样式 */
.hero {
  width: 100%;
  /* 电脑端：限制最大高度，避免占满全屏，解决“显示太大” */
  max-height: 600px;
  /* 高度自适应，等比缩放，不拉伸变形 */
  height: auto;
  /* 最小高度兜底，避免小屏幕过矮 */
  min-height: 300px;
  overflow: hidden;
  /* 强制消除上下多余边距，解决手机端间隔问题 */
  margin: 0;
  margin-top: 80px !important; /* 与导航栏高度完全一致，确保不重叠 */
  padding: 0;
  /* 确保没有边框 */
  border: none;
  /* 确保没有背景色 */
  background: none;
  /* 确保没有任何额外的间距 */
  box-sizing: border-box;
  line-height: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  /* 核心：等比裁剪、居中显示，图片永远不变形 */
  object-fit: cover;
  object-position: center;
  /* 消除图片下方默认的空白间隙 */
  display: block;
}

/* 如果你想手机端高度更合理，可以加这个（可选） */
@media (max-width: 768px) {
  section.hero {
    /* 手机端限制高度，避免轮播图过长，压缩空白 */
    max-height: 400px;
    min-height: 250px;
  }

  /* 强制消除轮播图下方内容的多余边距，彻底解决间隔太远 */
  section.hero + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}
h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
/* 页面标题 */
.page-header {
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
}

/* 各页面标题背景颜色 */
.solutions-page .page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.products-page .page-header {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.cases-page .page-header {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.partners-page .page-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.news-page .page-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.contact-page .page-header {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
}
/* 首屏轮播 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.carousel {
    height: 100%;
    position: relative;
    background: none;
}
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carousel-item.active {
    opacity: 1;
}
.carousel-item img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin: 0;
    padding: 0;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}
.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}
.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover {
    background: #0069d9;
}
/* 公司简介 */
.about {
    padding: 2rem;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-text p {
    text-indent: 2em;
}
.about-image {
    flex: 1;
    min-width: 300px;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
}
/* 核心业务 */
.business {
    background: #f4f4f4;
    padding: 3rem 2rem;
}
.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.business-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.business-card h3 {
    margin-bottom: 1rem;
}
/* 核心解决方案 */
.solutions {
    padding: 6rem 2rem;
}
.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.solution-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.solution-card h3 {
    margin-bottom: 1rem;
}
/* 标杆案例 */
.cases {
    background: #f4f4f4;
    padding: 3rem 2rem;
}
.case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.case-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.case-card-content {
    padding: 1.5rem;
}
.case-card h3 {
    margin-bottom: 1rem;
}
/* 企业实力 */
.strengths {
    padding: 3rem 2rem;
}
.strengths-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.strength-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
}
.strength-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
/* 咨询入口 */
.consultation {
    background: #007bff;
    color: #fff;
    padding: 2rem;
    text-align: center;
}
.consultation h2 {
    color: #fff;
}
/* 新闻动态 */
.news {
    padding: 2rem;
}
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.news-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.news-card h3 {
    margin-bottom: 1rem;
}
.news-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
/* 发展历程 */
#history {
    padding: 4rem 2rem;
}
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
    transform: translateX(-50%);
}
.history-item {
    position: relative;
    margin-bottom: 2rem;
}
.history-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}
.history-item:nth-child(even) {
    padding-left: 50%;
}
.history-content {
    background: #f4f4f4;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.history-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    transform: translateY(-50%);
}
.history-item:nth-child(odd)::before {
    right: calc(50% - 10px);
}
.history-item:nth-child(even)::before {
    left: calc(50% - 10px);
}
/* 团队成员 */
#team {
    background: #f9f9f9;
    padding: 4rem 2rem;
}
.team-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 25px;
    overflow-x: auto;
}
.team-card {
    flex: 1;
    min-width: 200px;
    max-width: calc(25% - 19px);
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.team-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}
.team-card h3 {
    margin-bottom: 0.5rem;
}
.team-card .position {
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}
.team-card .content {
    color: #666;
    text-align: left;
}
/* 企业文化 */
#culture {
    padding: 4rem 2rem;
}
.culture-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.culture-item {
    flex: 1;
    min-width: 250px;
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}
.culture-item h3 {
    margin-bottom: 1rem;
}
/* 企业荣誉 */
.honors {
    background: #f9f9f9;
    padding: 4rem 2rem;
}
.honor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.honor-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.honor-card img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 1rem;
}
/* 解决方案优势 */
.solution-advantages {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.advantage-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.advantage-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
.advantage-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
/* 产品展示 */
.products-section {
    padding: 4rem 2rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.product-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-image {
    height: 200px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 硬件产品图片样式 */
.hardware-image {
    height: auto;
    overflow: visible;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.hardware-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
}
.product-content {
    padding: 1.5rem;
}
.product-content h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.product-content p {
    margin-bottom: 1rem;
}
.product-specs {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}
.product-specs h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.product-specs ul {
    list-style: none;
    padding-left: 1rem;
}
.product-specs li {
    margin-bottom: 0.3rem;
}
/* 产品优势 */
.product-advantages {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
/* 案例展示 */
.cases-section {
    padding: 4rem 2rem;
}
.case-content {
    padding: 1.5rem;
}
.case-content h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.case-content p {
    margin-bottom: 1rem;
    color: #666;
}
.case-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}
/* 案例详情 */
.case-detail {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.detail-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.detail-header {
    margin-bottom: 2rem;
}
.detail-header h3 {
    margin-bottom: 1rem;
}
.detail-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}
.detail-body {
    margin-bottom: 2rem;
}
.detail-body h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.detail-body p {
    margin-bottom: 1rem;
}
.detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.detail-images img {
    width: 100%;
    border-radius: 5px;
}
/* 合作生态介绍 */
.partnership-intro {
    padding: 4rem 2rem;
}
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.intro-text {
    flex: 1;
    min-width: 300px;
}
.intro-image {
    flex: 1;
    min-width: 300px;
}
.intro-image img {
    width: 100%;
    border-radius: 10px;
}
/* 合作伙伴展示 */
.partners-showcase {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.partner-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
.partner-card:hover {
    transform: translateY(-5px);
}
.partner-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
.partner-card h4 {
    margin-bottom: 0.5rem;
}
.partner-card p {
    color: #666;
    font-size: 0.9rem;
}
/* 合作模式 */
.cooperation-models {
    padding: 4rem 2rem;
}
.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.model-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.model-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.model-card ul {
    list-style: none;
    padding-left: 1rem;
}
.model-card li {
    margin-bottom: 0.5rem;
    position: relative;
}
.model-card li::before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}
/* 加入我们 */
.join-us {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.join-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.join-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.step-number {
    background: #007bff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}
.step-item h4 {
    margin-bottom: 1rem;
}
/* 新闻列表 */
.news-list {
    padding: 4rem 2rem;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.news-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-image {
    height: 200px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-content {
    padding: 1.5rem;
}
.news-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.news-link:hover {
    text-decoration: underline;
}
/* 新闻详情 */
.news-detail {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.detail-content {
    max-width: 800px;
    margin: 0 auto;
}
.detail-body img {
    width: 100%;
    border-radius: 5px;
    margin: 1rem 0;
}
/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
}
.pagination a:hover {
    background: #e9e9e9;
}
.pagination .active {
    background: #007bff;
    color: #fff;
}
/* 联系信息 */
.contact-info {
    padding: 4rem 2rem;
}
.info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.info-item {
    flex: 1;
    min-width: 250px;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}
.info-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
.info-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
/* 联系表单 */
.contact-form-section {
    background: #f4f4f4;
    padding: 4rem 2rem;
}
.form-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
form .full-width {
    grid-column: 1 / -1;
}
form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
form textarea {
    resize: vertical;
    min-height: 150px;
}
form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
form button:hover {
    background: #0069d9;
}
/* 地图 */
.map-section {
    padding: 4rem 2rem;
}
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* 底部信息区 */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 2rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-section {
    flex: 1;
    min-width: 200px;
}
.footer-section h3 {
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}
.footer-section ul li a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}
/* 悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-button {
    background-color: #007bff;
    color: white;
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    height: 120px;
    border-radius: 30px;
    border: none;
    outline: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.top-button {
    background-color: #f8f9fa;
    color: #333;
    font-size: 20px;
    border: 1px solid #dee2e6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }
    
    .floating-ad {
        width: 140px;
        height: 160px;
        padding: 5px;
    }
    
    .ad-image {
        width: 100%;
        height: 100%;
        font-size: 10px;
        border-radius: 6px;
    }
    
    /* 页面标题海报适配 */
    .page-header {
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-color: #000 !important;
        min-height: 50vh !important;
        padding: 6rem 1rem !important;
    }
}

/* 桌面端样式 */
@media (min-width: 769px) {
    /* 电脑版试用按钮位置保持不变 */
    .mobile-trial-button {
        display: none !important;
    }
    
    .desktop-trial-button {
        display: inline-block !important;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 - 汉堡菜单 */
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        font-size: 1.4rem;
    }
    
    .nav-links li:not(:first-child)::before {
        display: none;
    }
    
    .menu-toggle {
        display: block !important;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 9999;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.5);
        padding: 0.5rem;
        border-radius: 4px;
    }
    
    /* 确保header滚动时汉堡菜单按钮颜色变化 */
    header.scrolled .menu-toggle {
        color: #333;
        background: rgba(255, 255, 255, 0.9);
    }
    
    /* 手机版试用按钮位置调整 */
    .mobile-trial-button {
        display: inline-block !important;
    }
    
    .desktop-trial-button {
        display: none !important;
    }
    
    .software-header {
        align-items: flex-start !important;
    }
    
    /* 通用样式 */
    section {
        padding: 3rem 1rem 2rem;
    }
    
    /* 页面标题 */
    .page-header {
        padding: 5rem 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* 首屏轮播 */
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    /* 通用标题和段落 */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* 按钮样式 */
    button {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    /* 链接样式 */
    a {
        font-size: 0.9rem !important;
    }
    
    /* 网格布局 */
    .solution-cards,
    .advantages-grid,
    .products-grid,
    .partners-grid,
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    /* 新闻动态在手机版一行显示两个 */
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        min-width: 0;
    }
    
    /* 公司资质在手机版一行显示两个 */
    .honor-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        min-width: 0;
    }
    
    /* 核心服务和首页案例中心在手机版一行显示两个 */
    .business-cards,
    .case-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        /* 确保在小屏幕上强制显示两列 */
        min-width: 0;
    }
    
    /* 产品页面手机版图文调整 */
    .software-header,
    .service-header,
    .hardware-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .software-image,
    .service-image,
    .hardware-image {
        width: 100px !important;
        height: 100px !important;
    }
    
    .software-image img,
    .service-image img,
    .hardware-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    .software-info,
    .service-info,
    .hardware-info {
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .software-info h4,
    .service-info h4,
    .hardware-info h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .software-info p,
    .service-info p,
    .hardware-info p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* 案例中心的标杆案例在手机版一行显示一个 */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-width: 0;
    }
    
    /* 调整卡片样式，使其在手机版上更好地适应两列布局 */
    .business-card,
    .case-card,
    .honor-card,
    .news-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .business-card h3,
    .case-card h3,
    .honor-card h3,
    .news-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .case-card img,
    .honor-card img {
        height: 120px;
    }
    
    /* 新闻卡片在手机版上的样式调整 */
    .news-card .news-date {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .news-card p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .news-card .news-link {
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }
    
    /* 团队成员 */
    .team-cards {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .team-card {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* 发展历程 */
    .history-timeline::before {
        left: 20px;
    }
    
    .history-item:nth-child(odd),
    .history-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .history-item::before {
        left: 10px;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* 合作模式 */
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    /* 联系信息 */
    .info-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-item {
        flex: 1 1 45%;
        min-width: 150px;
        padding: 1.5rem !important;
    }
    
    .info-item img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0.8rem !important;
    }
    
    .info-item h4 {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .info-item p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* 产品中心分类板块 */
    .case-tabs {
        padding: 0.3rem !important;
        gap: 0.5rem !important;
    }
    
    .case-tabs .tab-btn {
        padding: 0.3rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    /* 联系表单 */
    form {
        grid-template-columns: 1fr;
    }
    
    /* 留言咨询板块 */
    .contact-form-section {
        padding: 2rem 1rem !important;
    }
    
    .form-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    form div {
        margin-bottom: 1rem !important;
    }
    
    form label {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    form input,
    form textarea {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    form button {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* 底部信息区 */
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-section {
        flex: 0 0 48%;
        min-width: 150px;
        margin-bottom: 1rem;
    }
    
    /* 确保页脚部分的关于我们和产品中心在手机版上显示在同一行 */
    .footer-section:first-child,
    .footer-section:nth-child(2) {
        flex: 0 0 48%;
    }
    
    /* 悬浮按钮 */
    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
    }
    
    .contact-button {
        height: 100px;
        font-size: 12px;
    }
    
    /* 案例展示 */
    .case-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* 产品展示 */
    .hardware-image img {
        max-height: 300px;
    }
    
    /* 新闻详情 */
    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* 合作生态 */
    .join-steps {
        flex-direction: column;
    }
    
    /* 首页轮播 */
    .hero img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    
    /* 核心服务 */
    .business-card {
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .business-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* 公司资质 */
    .honor-card {
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    /* 合作伙伴 */
    .partners-banner {
        padding: 1.5rem 1rem;
    }
    
    /* 咨询入口 */
    .consultation {
        padding: 2rem 1rem;
        border-radius: 12px;
        margin: 0 1rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    /* 新闻动态 */
    .news-card {
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* 地图 */
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
    
    /* 字体大小 */
    h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* 产品卡片样式优化 */
    .software-header {
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 1.5rem;
    }
    
    .software-header:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .software-image {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .software-info h4 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
    }
    
    .software-info p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
    }
    
    /* 按钮样式优化 */
    .btn {
        padding: 0.9rem 1.8rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    }
    
    /* 试用按钮样式 */
    .software-header a {
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
    
    .software-header a:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    }
    
    /* 标签切换样式 */
    .case-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 10px;
        background: #f8f9fa;
    }
    
    .case-tabs button {
        padding: 0.6rem 1.2rem;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .case-tabs button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .case-tabs button.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }
    
    /* 产品详情样式 */
    .product-detail {
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .detail-content h5 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #007bff;
        margin-bottom: 1rem;
    }
    
    .detail-content ul {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-content li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    /* 图片容器样式 */
    .image-container {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-bottom: 1.5rem;
    }
    
    /* 确保在小屏幕上内容不溢出 */
    .container {
        width: 100%;
        overflow-x: hidden;
    }
    
    /* 导航栏适配 */
    nav {
        padding: 0 1rem;
    }
    
    /* 图片适配 */
img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0;
    padding: 0;
    display: block;
}
    
    /* 滚动条样式 */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}