/* ========== 制药行业页面样式 ========== */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #252b3a; background: #fff; }
.w1440 { max-width: 1440px;
  margin: 0 auto; padding: 0 24px;
}

@media (max-width: 1500px) {
  .w1440  {
    max-width: 1200px;
  }
}

/* ========== Banner ========== */
.biome-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;

  background: linear-gradient(90deg, #0a2f66, #1857b8);}

.biome-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-text .w1440 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.banner-text h1 {
  font-size: 44px;
  color: #fff;
  margin: 0 0 20px 0;
  font-weight: 700;
  max-width: 700px;
  line-height: 1.3;
}

.banner-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 36px 0;
  max-width: 680px;
  line-height: 1.7;
}

.banner-btn {
  display: inline-block;
  padding: 14px 44px;
  background: #1a6eff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}

.banner-btn:hover {
  background: #0a5aeb;
}

/* ========== 通用section ========== */
.pain-section h2,
.help-section h2,
.blueprint-section h2,
.path-section h2,
.faq-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin-bottom: 50px;
  font-weight: 700;
}

/* ========== 行业痛点 ========== */
.pain-section { padding: 80px 0; background: #fff; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pain-card {
  padding: 24px 20px;
  background: transparent;
  border-radius: 0;
  transition: transform 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: #f5f7fb; }

.help-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.help-tab {
  padding: 14px 32px;
  background: #fff;
  color: #1a2b4a;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #e0e6f0;
  font-weight: 500;
}

.help-tab:hover {
  background: #eef3ff;
  border-color: #1a6eff;
  color: #1a6eff;
}

.help-tab.active {
  background: #1a6eff;
  color: #fff;
  border-color: #1a6eff;
  font-weight: 600;
}

.help-contents { position: relative; min-height: 420px; }

.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; align-items: center; gap: 48px; }

.help-text { flex: 1; min-width: 0; }

.help-text h3 {
  font-size: 24px;
  color: #1a2b4a;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.help-text > p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.help-text ul {
  padding-left: 20px;
  margin: 0 0 30px 0;
}

.help-text ul li {
  font-size: 15px;
  color: #5a6a80;
  line-height: 2;
  list-style: disc;
}

.help-btn {
  display: inline-block;
  padding: 10px 36px;
  background: #1a6eff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.help-btn:hover { background: #0a5aeb; }

.help-image { flex: 0 0 45%; min-width: 0; }

.help-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ========== 应用蓝图 ========== */
.blueprint-section { padding: 80px 0; background: #fff; }

.blueprint-section p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.blueprint-img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ========== 数字化转型路径 ========== */
.path-section { padding: 80px 0; background: #f5f7fb; }

.path-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.path-tab {
  padding: 14px 36px;
  background: #fff;
  color: #1a2b4a;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #e0e6f0;
  font-weight: 500;
}

.path-tab:hover {
  background: #eef3ff;
  border-color: #1a6eff;
  color: #1a6eff;
}

.path-tab.active {
  background: #1a6eff;
  color: #fff;
  border-color: #1a6eff;
  font-weight: 600;
}

.path-contents { position: relative; min-height: 400px; }

.path-content {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}

.path-content.active { display: flex; align-items: center; gap: 48px; }

.path-text { flex: 1; min-width: 0; }

.path-text h3 {
  font-size: 24px;
  color: #1a2b4a;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.path-text p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  margin: 0 0 30px 0;
}

.path-btn {
  display: inline-block;
  padding: 10px 36px;
  background: #1a6eff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.path-btn:hover { background: #0a5aeb; }

.path-image { flex: 0 0 45%; min-width: 0; }

.path-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ========== 客户案例 ========== */
.case-section {
  position: relative;
  padding: 0;
  background: #1a2b4a url('/static/biome_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;
}

/* ========== FAQ ========== */
.faq-section { padding: 80px 0; background: #fff; }

.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;
  color: #1a2b4a;
  font-weight: 700;
  flex: 1;
  padding-right: 0;
  line-height: 1.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-list > li.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  font-size: 17px;
  color: #7d8aa0;
  line-height: 1.8;
  margin: 0 0 28px 0;
  padding-right: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .biome-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 { flex: none; width: 100%; order: -1; }
  .help-tabs { gap: 6px; }
  .help-tab { padding: 8px 16px; font-size: 13px; }
  .path-tabs { gap: 24px; }
  .path-tab { font-size: 16px; }
  .case-section { min-height: 440px; padding: 60px 0; }
  .case-section h2 { font-size: 32px; }
  .case-section h3 { font-size: 24px; }
}

@media (max-width: 768px) {
  .w1440 { padding: 0 20px; }
  .biome-banner { height: 300px; }
  .banner-text h1 { font-size: 24px; }
  .banner-text p { font-size: 14px; }
  .banner-text .w1440 { padding-top: 30px; padding-bottom: 30px; margin-left: 0; }
  .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 { font-size: 26px; }
  .pain-card { padding: 24px; }
  .pain-card h3 { font-size: 18px; }
  .pain-icon img { height: 60px; }
  .pain-grid { grid-template-columns: 1fr; }
  .help-tab, .path-tab { padding: 10px 20px; font-size: 14px; }
  .help-content, .path-content { padding: 30px; }
  .help-content.active, .path-content.active { gap: 20px; }
  .help-text h3, .path-text h3 { font-size: 20px; }
}
