/* 钢铁冶金行业页面样式 - 1:1复刻 */

/* 通用 */
.w1440 {
  max-width: 1440px;
  margin: 0 auto; padding: 0 40px;
}

@media (max-width: 1500px) {
  .w1440  {
    max-width: 1200px;
  }
}

/* Banner */
.steel-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;

  background: linear-gradient(90deg, #0a2f66, #1857b8);}

.steel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-text .w1440 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.banner-text h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.banner-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 30px;
}

.banner-btn {
  display: inline-block;
  padding: 14px 48px;
  background: #1e5bbf;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}

.banner-btn:hover {
  background: #0d3d8a;
}

/* 痛点区域 */
.pain-section {
  padding: 80px 0;
  background: #fff;
}

.pain-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 50px;
  font-weight: 700;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.pain-card {
  padding: 24px 20px;
  background: transparent;
  border-radius: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.pain-card:hover {
  transform: translateY(-4px);
}

.pain-icon {
  margin-bottom: 24px;
  text-align: center;
}

.pain-icon img {
  height: 80px;
  width: auto;
  display: inline-block;
}

.pain-card h3 {
  font-size: 22px;
  color: #1a2b4a;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.pain-card p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  text-align: left;
}

/* 金蝶如何帮助 */
.help-section {
  padding: 80px 0;
  background: #f5f7fa;
}

.help-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 40px;
  font-weight: 700;
}

.help-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.help-tab {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid #e0e6ee;
  border-radius: 24px;
  color: #5a6a80;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.help-tab:hover {
  border-color: #1e5bbf;
  color: #1e5bbf;
}

.help-tab.active {
  background: #1e5bbf;
  color: #fff;
  border-color: #1e5bbf;
}

.help-content {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}

.help-content.active {
  display: flex;
  gap: 48px;
}

.help-text {
  flex: 1;
  min-width: 0;
}

.help-text h3 {
  font-size: 22px;
  color: #1a2b4a;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.help-text > p {
  font-size: 15px;
  color: #5a6a80;
  line-height: 1.8;
  margin-bottom: 20px;
}

.help-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.help-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #3a4a60;
  line-height: 1.6;
}

.help-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: #1e5bbf;
  border-radius: 50%;
}

.help-text ul li::after {
  content: '✓';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 14px;
}

.help-btn {
  display: inline-block;
  padding: 12px 36px;
  background: #1e5bbf;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s;
}

.help-btn:hover {
  background: #0d3d8a;
}

.help-image {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 蓝图 */
.blueprint-section {
  padding: 80px 0;
  background: #fff;
}

.blueprint-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 20px;
  font-weight: 700;
}

.blueprint-section p {
  text-align: center;
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px;
}

.blueprint-img {
  display: block;
  max-width: 1100px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 数字化转型路径 */
.path-section {
  padding: 80px 0;
  background: #f5f7fa;
}

.path-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 40px;
  font-weight: 700;
}

.path-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #e0e6ee;
  margin-bottom: 40px;
}

.path-tab {
  padding: 16px 0;
  font-size: 18px;
  color: #5a6a80;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.path-tab:hover {
  color: #1e5bbf;
}

.path-tab.active {
  color: #1e5bbf;
  font-weight: 600;
}

.path-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1e5bbf;
}

.path-content {
  display: none;
}

.path-content.active {
  display: flex;
  gap: 48px;
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}

.path-text {
  flex: 1;
  min-width: 0;
}

.path-text h3 {
  font-size: 22px;
  color: #1a2b4a;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.path-text p {
  font-size: 15px;
  color: #5a6a80;
  line-height: 1.8;
  margin-bottom: 28px;
}

.path-btn {
  display: inline-block;
  padding: 12px 36px;
  background: #1e5bbf;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s;
}

.path-btn:hover {
  background: #0d3d8a;
}

.path-image {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 客户案例 */
.case-section {
  position: relative;
  padding: 0;
  background: #1a2b4a url('/static/steel_img/case_bg.jpg') center center / cover no-repeat;
  color: #fff;
  text-align: left;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 45, 95, 0.85) 0%, rgba(15, 45, 95, 0.35) 50%, rgba(15, 45, 95, 0.15) 100%);
  z-index: 1;
}

.case-section .w1440 {
  position: relative;
  z-index: 2;
  width: 100%;
}

.case-content {
  max-width: 800px;
}

.case-section h2 {
  font-size: 44px;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 700;
  text-align: left;
}

.case-section h3 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: left;
  line-height: 1.4;
}

.case-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  max-width: none;
  margin: 0 0 36px 0;
  text-align: left;
}

.case-btn {
  display: inline-block;
  padding: 10px 42px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid #fff;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s;
}

.case-btn:hover {
  background: #fff;
  color: #1a2b4a;
  transform: none;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list > li {
  border-bottom: 1px solid #eef1f6;
}

.faq-list > li:first-child { border-top: 1px solid #eef1f6; }

.faq-item {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  cursor: pointer;
}

.faq-toggle {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #6b778c;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-right: 24px;
  flex-shrink: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
}

.faq-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b4a;
  line-height: 1.5;
  flex: 1;
  padding-right: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #7d8aa0;
  line-height: 1.8;
}

.faq-list li.open .faq-answer {
  max-height: 500px;
  margin-bottom: 28px;
}

.faq-answer p {
  font-size: 17px;
  margin: 0;
  padding-right: 0;
  color: #7d8aa0;
}

/* 响应式 */
@media (max-width: 1024px) {
  .steel-banner { height: 400px; }
  .banner-text h1 { font-size: 32px; }
  .banner-text p { font-size: 16px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .help-content.active,
  .path-content.active {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }
  .help-image,
  .path-image {
    order: -1;
  }
  .help-tabs { gap: 6px; }
  .help-tab { padding: 8px 16px; font-size: 13px; }
  .path-tabs { gap: 24px; }
  .path-tab { font-size: 16px; }
}

@media (max-width: 768px) {
  .w1440 { padding: 0 20px; }
  .steel-banner { height: 300px; }
  .banner-text h1 { font-size: 24px; }
  .banner-text p { font-size: 14px; }
  .banner-text .w1440 { padding-top: 30px; padding-bottom: 30px; }
  .pain-section,
  .help-section,
  .blueprint-section,
  .path-section,
  .faq-section {
    padding: 50px 0;
  }
  .case-section {
    min-height: auto;
    padding: 50px 0;
  }
  .pain-section h2,
  .help-section h2,
  .blueprint-section h2,
  .path-section h2,
  .case-section h2,
  .faq-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .case-section h3 { font-size: 22px; }
  .case-section h2, .case-section h3 { font-size: 26px; }
  .pain-card { padding: 24px; }
  .pain-card h3 { font-size: 18px; }
  .pain-icon img { height: 60px; }
  .pain-grid { grid-template-columns: 1fr; }
  .path-tabs {
    flex-wrap: wrap;
    gap: 0;
  }
  .path-tab {
    width: 50%;
    padding: 12px 8px;
    font-size: 15px;
    text-align: center;
  }
  .help-text h3,
  .path-text h3 { font-size: 18px; }
  .case-section h3 { font-size: 22px; }
}
