/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    color: #ffffff;
}


/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #333;
    color: #fff;
    border: 2px solid #333;
}

.btn-primary:hover {
    background-color: #555;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.btn-outline {
    background-color: transparent;
    color: #000000;
    border: 2px solid #020202;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #555;
}

/* 轮播图样式 */
.slider {
    background-color: #2c2c2c;
    padding: 20px 0 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #444;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px; /* 弧角效果 */
    margin-top: 60px;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.slider-item.active {
    opacity: 1;
}

.slider-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 40px 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-text {
    flex: 1;
    max-width: 45%;
    color: #fff;
    text-align: left;
    z-index: 10;
    position: relative;
    overflow: visible;
}

.slider-badge {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid #777;
}

.slider-text h2 {
    font-size: 42px;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #fff;
}

.slider-text p {
    font-size: 17px;
    margin-bottom: 35px;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 60ch; /* 限制最大字符宽度为60个字符，确保良好的可读性 */
    word-wrap: break-word; /* 确保长单词能正确换行 */
}

.slider-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 轮播图中的按钮样式，确保在黑色背景上正常显示 */
.slider-buttons .btn-primary {
    background-color: #444;
    color: #fff;
    border: 2px solid #666;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.slider-buttons .btn-primary:hover {
    background-color: #555;
    border-color: #888;
}

/* 轮播图图片出场动画关键帧 */
@keyframes slideImageAppear {
    0% {
        transform: translateY(-50%) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translateY(-50%) scale(1.05);
        opacity: 1;
    }
    90% {
        transform: translateY(-50%) scale(0.95);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* slider-text内的图片样式 */
.slider-text img {
    position: absolute;
    right: -400px; /* 向右移动，超出slider-text范围 */
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    opacity: 0; /* 初始状态透明 */
    animation: slideImageAppear 1s ease-out forwards; /* 添加出场动画 */
    transition: all 0.3s ease;
}

/* 鼠标悬停效果 */
.slider-text img:hover {
    transform: translateY(-50%) scale(1.1) rotate(8deg);
    transition: all 0.3s ease;
}

/* 优化：简化CSS，移除冗余的:not(:hover)规则 */

.slider-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #555;
}

.slider-buttons .btn-secondary:hover {
    background-color: #555;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border-color: #777;
}

.slider-image {
    flex: 1;
    max-width: 55%;
    text-align: right;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slider-image img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    display: block;
    width: auto;
    height: auto;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 20;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #777;
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.1);
    border-color: #fff;
}

/* 解决方案样式 */
.solutions {
    padding: 20px 0;
    background-color: #5e5e5e;
    border-bottom: 1px solid #e5e5e5;
}

.solutions .container {
    color: #ffffff;
}

.solutions h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.solutions p {
    font-size: 16px;
    margin-bottom: 35px;
    color: #ffffff;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    border: 1px solid #e5e5e5;
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #fff;
}

.solution-image {
    flex: 1;
    max-width: 45%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: none;
}

.solution-card:hover .solution-image img {
    transform: scale(1.03);
}

.solution-content {
    flex: 1;
    padding: 35px;
    background-color: #5e5e5e;
}

.solution-content h4 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #fff;
}

.solution-content p {
    font-size: 15px;
    margin-bottom: 25px;
    color: #fff;
    text-align: left;
    max-width: 100%;
    line-height: 1.6;
}

.solution-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 产品展示样式 */
.products-section {
    padding: 30px 0;
    background-color: #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.products-section .container {
    color: #333;
}

.products-section h2 {
    font-size: 30px;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    text-align: center;
    padding: 28px;
    background-color: #f9f9f9;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

.product-icon {
    width: 70px;
    height: 70px;
    background-color: #224668;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid #e0e0e0;
}

.product-icon img {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-item h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #333;
}

.product-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

.product-card-image {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
}

/* 多张图片时每张图片占据45%宽度 */
.product-card-image img {
    max-width: 45%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: none;
}

/* 单张图片时保持90%宽度 - 这个规则必须放在后面，以确保优先级更高 */
.product-card-image img:only-child {
    max-width: 90%;
    max-height: 90%;
}

.product-card:hover .product-card-image img {
    transform: scale(1.02);
}

.product-card-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.product-card-content p {
    color: #666;
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 14px;
    flex: 1;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: auto;
}

/* 技术文章展示模块样式 */
.tech-articles-section {
  padding: 80px 0;
  background-color: #F4F6F9;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
}

.tech-articles-section .container {
    color: #333;
}

.tech-articles-header {
  text-align: center;
  margin-bottom: 56px;
}

.tech-articles-header h2 {
  font-size: 32px;
  color: #0A2B4E;
  margin-bottom: 12px;
}

.tech-articles-header p {
  font-size: 18px;
  color: #4A5568;
  max-width: 600px;
  margin: 0 auto;
}

.tech-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-article-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.tech-article-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #ddd;
}

.tech-article-item h3 {
  font-size: 20px;
  color: #0A2B4E;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tech-article-item p {
  font-size: 15px;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tech-article-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.tech-article-item .btn {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
}

/* FAQ 模块样式 */
.faq-section {
  background-color: #F4F6F9;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 80px 0;
}

.faq-section .container {
    color: #333;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-header h2 {
  font-size: 32px;
  color: #0A2B4E;
  margin-bottom: 12px;
}

.faq-header p {
  font-size: 18px;
  color: #4A5568;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 64px;
  cursor: pointer;
  font-weight: 600;
  color: #0A2B4E;
}

.faq-icon {
  color: #E87C1E;
  font-size: 24px;
  font-weight: 600;
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 24px;
  color: #4A5568;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

.faq-footer {
  text-align: center;
  margin-top: 40px;
}

.faq-footer a {
  color: #E87C1E;
  text-decoration: none;
  font-weight: 500;
}

.faq-footer a:hover {
  text-decoration: underline;
}

/* 定制配置部分样式 */
.customization-section {
    padding: 30px 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('../images/application/Selection-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.customization-section .container {
    color: #333;
}

.customization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.customization-text {
    /* background-color: rgba(255, 255, 255, 0.95); */
    padding: 40px;
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.customization-text h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.customization-text ul {
    list-style: none;
    margin: 0 0 35px 0;
    padding: 0;
}

.customization-text li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
    gap: 12px;
}

.customization-text li i {
    color: #00aaff;
    font-size: 18px;
}

.customization-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.customization-image {
    /* background-color: rgba(255, 255, 255, 0.95); */
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.customization-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}



/* 响应式设计 */

/* 平板设备 (768px - 1023px) */
@media (max-width: 1023px) {
    /* 轮播图 */
    .slider-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .slider-text {
        max-width: 100%;
    }

    .slider-text h2 {
        font-size: 32px;
    }

    .slider-text p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* 解决方案 */
    .solution-card {
        flex-direction: column;
    }

    .solution-image {
        max-width: 100%;
        height: 250px;
    }

    .solution-content {
        padding: 30px;
    }

    /* 产品展示 */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .products-showcase {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    /* FAQ 模块 */
    .faq-section {
        padding: 60px 0;
    }

    .faq-header h2 {
        font-size: 28px;
    }

    /* 定制配置 */
    .customization-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .customization-text {
        padding: 35px;
    }

    .customization-text h2 {
        font-size: 26px;
    }
}

/* 小型平板和大屏手机 (481px - 767px) */
@media (max-width: 767px) {
    /* 轮播图 */
    .slider {
        padding: 20px 0 20px;
    }

    .slider-container {
        height: 350px;
        background-position: 80% center;
    }

    .slider-content {
        padding: 20px 15px;
    }

    .slider-text h2 {
        font-size: 28px;
    }

    .slider-badge {
        font-size: 12px;
    }

    .slider-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .slider-buttons .btn {
        width: 100%;
        max-width: 180px;
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
    }

    /* 解决方案 */
    .solution-content {
        padding: 25px;
    }

    .solution-content h4 {
        font-size: 20px;
    }

    .solution-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .solution-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* 产品展示 */
    .products-section h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 技术文章模块 */
    .tech-articles-section {
        padding: 48px 0;
    }

    .tech-articles-header h2 {
        font-size: 24px;
    }

    .tech-articles-header p {
        font-size: 16px;
    }

    .tech-articles-grid {
        gap: 24px;
    }

    .tech-article-item {
        padding: 24px;
        min-height: 280px;
    }

    .tech-article-item h3 {
        font-size: 18px;
    }

    .tech-article-item p {
        font-size: 14px;
    }

    /* FAQ 模块 */
    .faq-section {
        padding: 48px 0;
    }

    .faq-header h2 {
        font-size: 24px;
    }

    .faq-header p {
        font-size: 16px;
    }

    .faq-question {
        height: 56px;
        padding: 0 16px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 16px;
        font-size: 14px;
    }

    .faq-answer.show {
        padding: 0 16px 20px 16px;
    }

    /* 定制配置 */
    .customization-text {
        padding: 30px;
    }

    .customization-text h2 {
        font-size: 24px;
    }

    .customization-buttons {
        flex-direction: column;
    }

    .customization-buttons .btn {
        width: 100%;
    }
}

/* 移动设备 (320px - 480px) */
@media (max-width: 480px) {
    /* 全局调整 */
    .container {
        padding: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* 轮播图 */
    .slider {
        padding: 10px 0 10px;
    }

    .slider-container {
        height: 300px;
        margin-top: 60px;
        background-position: 80% center;
    }

    .slider-content {
        padding: 15px 10px;
    }

    .slider-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .slider-text p {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .slider-badge {
        font-size: 11px;
        padding: 3px 10px;
        margin-bottom: 10px;
    }

    /* 轮播图按钮调整 */
    .slider-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 8px;
        margin-bottom: 10px;
    }

    .slider-buttons .btn {
        width: 100%;
        max-width: 160px;
        text-align: center;
        padding: 8px 14px;
        font-size: 12px;
    }

    /* 轮播图中的图片调整 - 在移动端隐藏 */
    .slider-text img {
        display: none;
    }

    /* 解决方案 */
    .solution-image {
        height: 200px;
    }

    .solution-content {
        padding: 20px;
    }

    .solution-content h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .solution-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* 产品展示 */
    .products-section {
        padding: 20px 0;
    }

    .products-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .product-item {
        padding: 20px;
    }

    .product-icon {
        width: 50px;
        height: 50px;
    }

    .product-icon img {
        max-width: 30px;
        max-height: 30px;
    }

    .product-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .product-item p {
        font-size: 14px;
    }

    .product-card-image {
        height: 150px;
    }

    .product-card-content {
        padding: 18px;
    }

    .product-card-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .product-card-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    /* 定制配置 */
    .customization-section {
        padding: 20px 0;
    }

    .customization-text {
        padding: 25px;
    }

    .customization-text h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .customization-text li {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .customization-buttons {
        gap: 10px;
    }

    .customization-buttons .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .customization-image {
        padding: 15px;
    }

    .customization-image img {
        width: 100%;
        height: auto;
    }
}

/* 小型手机 (320px) */
@media (max-width: 320px) {
    /* 轮播图 */
    .slider-container {
        height: 280px;
        background-position: 80% center;
    }

    .slider-text h2 {
        font-size: 20px;
    }

    .slider-text p {
        font-size: 14px;
    }

    /* 产品展示 */
    .products-section h2 {
        font-size: 20px;
    }

    .product-item {
        padding: 15px;
    }

    /* 定制配置 */
    .customization-text {
        padding: 20px;
    }

    .customization-text h2 {
        font-size: 20px;
    }
}








