/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  padding: 0 !important;
  margin: 0 !important;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #293a4c;
}

/* 变量定义 */
:root {
  /* 颜色变量 */
  --primary-color: #016ef1;
  --primary-gradient: linear-gradient(124deg, #02a7f9 0%, #016ef1 59%);
  --text-primary: #293a4c;
  --text-secondary: #869fb2;
  --text-light: #a1a2a6;
  --bg-white: #ffffff;
  --bg-light: #f7f7f7;
  --bg-gradient-light: linear-gradient(180deg, #f0f5ff 0%, #d0e1fe 100%);
  --shadow-light: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  --shadow-primary: 3px 3px 7px 0px rgba(1, 110, 241, 0.5);
}

.header-container {
  position: absolute !important;
}
.header-phone:before {
  background-image: url("/assets/front/src/cosmetic/phone.png") !important;
}
.header-phone {
  color: #ff5967 !important;
  background: linear-gradient(0deg, #ffd1d1 0%, #ffffff 100%) !important;
}
.header-btn {
  background-color: #ff5967 !important;
}
.footer {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* 容器样式 */
.custom-container {
  width: 1200px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-divider {
  width: 1px;
  height: 24px;
  background: #e6e6e6;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

/* .nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}


.phone-icon {
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
}

.phone-number {
  color: var(--primary-color);
  font-family: "DIN Alternate", monospace;
  font-weight: bold;
  font-size: 16px;
} */

.phone-section {
  background: var(--bg-gradient-light);
  padding: 4px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #016ef1;
}

.phone-section::before {
  background-image: url("/assets/front/src/chemwiseImg/phone.png") !important;
}

.divider {
  width: 1px;
  height: 12px;
  background: #e8e8e8;
}

.cta-button {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 22px 22px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background: #0056cc;
}

/* 主横幅区域 */
.hero-section {
  background: url("/assets/front/src/cosmetic/top-banner.jpg") center/cover;
  height: 536px;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: left;
  color: var(--text-primary);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 80px 10px;
  width: 1200px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 0px;
  max-width: 552px;
}

.hero-title {
  font-size: 38px;
  font-weight: 600;
  line-height: 44px;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 32px;
  background: #ff5967;
  color: var(--bg-white);
  padding: 8px 16px;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 150px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0px);
  transition: transform 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* 功能导航 */
.feature-nav {
  background: var(--bg-white);
  /* padding: 24px; */
  box-shadow: var(--shadow-light);
  width: 100%;
  margin: 0 auto;
  transition: all 0.3s ease;
  z-index: 100;
}

/* 固定导航样式 */
.feature-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

/* 固定导航动画 */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 占位符，防止内容跳跃 */
.feature-nav-placeholder {
  height: 0;
  transition: height 0.3s ease;
}

.feature-nav-placeholder.active {
  height: 80px; /* 根据导航的实际高度调整 */
}

.feature-nav .custom-container {
  display: flex;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  /* flex: 1; */
  justify-content: flex-start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 24px 0px;
  border-radius: 6px;
  position: relative;
  user-select: none; /* 防止文本被选中 */
}

.feature-text:hover {
  color: #ff5967;
  transform: translateY(-1px);
}

.feature-text.active-nav {
  color: #ff5967;
  font-weight: 600;
}

.feature-text.active-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff5967;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* 挑战部分 */
.challenges-section {
  padding: 80px 0 0;
  text-align: center;
  min-width: 1200px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 46px;
  margin-bottom: 48px;
  margin-top: 0px;
  color: var(--text-primary);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin-top: 24px;
}

.challenge-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: #ffffff;
  padding: 24px;
  border: 1px solid #e9e9e9;
  border-radius: 2px;
}

.challenge-icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.challenge-content {
  display: flex;
  gap: 8px;
}
.challenge-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.challenge-content p {
  font-weight: 400;
  font-size: 16px;
  color: #293a4c;
  line-height: 24px;
}

/* 功能展示部分 */
.feature-showcase {
  /* height: 800px; */
  padding: 80px 0;
  background: linear-gradient(180deg, #f7f7f7 100%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-card {
  background: var(--bg-white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  max-width: 380px;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 10;
}

.feature-card.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-primary);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* 功能卡片悬浮效果 */

/* 为每个功能卡片设置不同的位置 */
.feature-card-1 {
  top: 64px;
  left: 60px;
}

.feature-card-2 {
  top: 166px;
  left: 250px;
}

.feature-card-3 {
  top: 256px;
  left: 496px;
}

.feature-card-4 {
  top: 192px;
  left: 750px;
}

.feature-card-5 {
  top: 64px;
  left: 900px;
}

/* 绿色化学品模块的悬浮点样式 */
.feature-card2-box-point-1 {
  top: 160px;
  left: 13%;
  width: 150px !important;
  height: 150px !important;
}

.feature-card2-box-point-2 {
  top: 525px;
  left: 13%;
  width: 150px !important;
  height: 150px !important;
}

.feature-card2-box-point-3 {
  top: 525px;
  left: 75%;
  width: 150px !important;
  height: 150px !important;
}

.feature-card2-box-point-4 {
  top: 160px;
  left: 75%;
  width: 150px !important;
  height: 150px !important;
}

/* 绿色化学品模块的功能卡片位置 */
.feature-card2-1 {
  top: -60px;
  left: 124px;
}

.feature-card2-2 {
  top: 330px;
  left: 128px;
}

.feature-card2-3 {
  top: 314px;
  left: 890px;
}

.feature-card2-4 {
  top: -5px;
  left: 840px;
}

/* 悬浮点样式增强 */
.feature-card-box-point {
  position: absolute;
  width: 200px;
  height: 150px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 平台优势部分 */
.advantages-section {
  background: linear-gradient(153deg, #ff7a85 0%, #ff5967 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  min-width: 1200px;
}

.advantages-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: #e64b59;
}

.advantages-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 46px;
  color: var(--bg-white);
  margin: 0px 0 48px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* 解决方案卡片样式 */
.solution-card {
  height: 180px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* 为每个卡片设置对应的背景图片 */
.solution-card[data-solution="1"] {
  background-image: url(/assets/front/src/cosmetic/solution01.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="2"] {
  background-image: url(/assets/front/src/cosmetic/solution02.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="3"] {
  background-image: url(/assets/front/src/cosmetic/solution03.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="4"] {
  background-image: url(/assets/front/src/cosmetic/solution04.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="5"] {
  background-image: url(/assets/front/src/cosmetic/solution05.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="6"] {
  background-image: url(/assets/front/src/cosmetic/solution06.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card[data-solution="7"] {
  background-image: url(/assets/front/src/cosmetic/solution07.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.solution-card:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.solution-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 80px);
}

.solution-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #293a4c;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
  text-align: left;
}

.solution-content p {
  font-size: 14px;
  color: #5b5c60;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* 优化布局：第一行两列等宽铺满，第二行三列等宽铺满，第三行两列一个占75%一个占25%铺满 */
.solution-card:nth-child(1) {
  grid-column: 1 / 7; /* 第一行第一列，占6/12 = 50% */
}

.solution-card:nth-child(2) {
  grid-column: 7 / 13; /* 第一行第二列，占6/12 = 50% */
}

.solution-card:nth-child(3) {
  grid-column: 1 / 5; /* 第二行第一列，占4/12 = 33.33% */
}

.solution-card:nth-child(4) {
  grid-column: 5 / 9; /* 第二行第二列，占4/12 = 33.33% */
}

.solution-card:nth-child(5) {
  grid-column: 9 / 13; /* 第二行第三列，占4/12 = 33.33% */
}

.solution-card:nth-child(6) {
  grid-column: 1 / 9; /* 第三行第一列，占8/12 = 2/3 */
}

.solution-card:nth-child(7) {
  grid-column: 9 / 13; /* 第三行第二列，占4/12 = 1/3 */
}

.advantage-card {
  background: linear-gradient(
    180deg,
    rgba(41, 58, 76, 0.1) 0%,
    rgba(41, 58, 76, 0.8) 100%
  );
  background-image: url("https://image-resource.mastergo.com/44676109734247/44676109734248/5380335a8dc4cb0574a2a0cc34393910.png");
  background-size: cover;
  background-position: center;
  width: 640px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.advantage-card.small {
  width: 172px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.advantage-card .card-content {
  position: relative;
  z-index: 2;
  text-align: left;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card .card-content h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #ffffff;
}

/* 卡片基础样式和动画 */
.advantage-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}
/* 
.advantage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

/* 抽屉功能样式 */
.advantage-text {
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
  color: #ffffff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.advantage-card.expanded {
  width: 640px;
  height: 400px;
  z-index: 5;
  border: none !important;
}

.advantage-card.expanded .advantage-text {
  opacity: 1;
  max-height: 200px;
  margin-top: 16px;
}

.advantage-card.small .advantage-text {
  display: none;
}

/* 收起状态样式 */
.advantage-card.collapsed {
  width: 172px;
  height: 200px;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.9;
}

.advantage-bg1 {
  background-image: url("/assets/front/src/chemwiseImg/advantage1.png");
}
.advantage-bg2 {
  background-image: url("/assets/front/src/chemwiseImg/advantage2.png");
}
.advantage-bg3 {
  background-image: url("/assets/front/src/chemwiseImg/advantage3.png");
}
.advantage-bg4 {
  background-image: url("/assets/front/src/chemwiseImg/advantage4.png");
}

/* 服务方案部分 */
.services-section {
  background: var(--bg-light);
  padding: 80px 0;
  text-align: center;
  min-width: 1200px;
}

.services-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  flex: 1;
  max-width: 372px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  flex-shrink: 0;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-content p {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-primary);
  opacity: 0.8;
}

/* 客户展示部分 */
.clients-section {
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.clients-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-grid {
  display: flex;
  gap: 20px;
  margin-top: 0px;
  margin-bottom: 48px;
  animation: scrollLeft 60s linear infinite;
  width: max-content;
}

.clients-grid:hover {
  animation-play-state: paused;
}

.client-logo {
  width: 200px;
  height: 75px;
  border-radius: 4.69px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-parent-logo {
  position: relative;
  width: 200px;
  height: 75px;
  border-radius: 4.69px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.client-parent-logo-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-parent-logo:hover {
  background: url("/assets/front/src/chemwiseImg/logoHover.png") no-repeat center center;
  background-size: 100% 100%;
  transition: all 0.3s ease;
}

.client-parent-logo:hover .client-logo {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-parent-logo:hover .client-parent-logo-title {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.challenge-advantage-card {
  display: flex;
  flex-direction: column;
}
.challenge-advantage-card .challenge-icon {
  width: 64px;
  height: 64px;
}
.challenge-advantage-card .challenge-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.challenge-advantage-card .challenge-content h3 {
  text-align: left;
  margin-top: 16px;
  font-weight: 500;
  font-size: 18px;
  color: #293a4c;
  line-height: 26px;
}
.challenge-advantage-card .challenge-content p {
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: #5b5c60;
  line-height: 24px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 添加渐变遮罩效果 */
.clients-container::before,
.clients-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-container::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.clients-container::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

/* 联系我们部分 */
.contact-section {
  background: url("/assets/front/src/chemwiseImg/contact.png") center/cover;
  padding: 80px 0;
  text-align: center;
}

.contact-content {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 46px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-description {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.feature-card-box {
  /* position: absolute; */
}
.feature-card-img {
  width: 1200px;
  height: 800px;
}

.feature-card-box-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.feature-card-box-point {
  position: absolute;
  width: 200px;
  height: 150px;
  cursor: pointer;
}

.feature-card-box-point-1 {
  top: 250px;
  left: 6%;
}
.feature-card-box-point-2 {
  width: 150px;
  top: 375px;
  left: 23%;
}
.feature-card-box-point-3 {
  width: 160px;
  top: 420px;
  left: 44%;
}
.feature-card-box-point-4 {
  width: 180px;
  top: 375px;
  left: 63%;
}
.feature-card-box-point-5 {
  width: 150px;
  top: 250px;
  left: 80%;
}

.advantage-card-content {
  width: 100%;
  height: 100%;
  padding: 32px 24px;
  box-sizing: border-box;
  background: linear-gradient(0deg, #293a4c80 0%, #293a4c10 100%);
  display: flex;
  align-items: flex-end;
}
.header-nav-box a:hover {
  color: #ff5967 !important;
}
.header-home:hover {
  color: #ff5967 !important;
}

.mobile-img {
  display: none;
}

.section-description {
  font-weight: 400;
  font-size: 16px;
  color: #5b5c60;
  line-height: 28px;
  text-align: center;
  margin: 0;
}

.challenge-item-title {
  font-weight: 500;
  font-size: 18px;
  color: #ff5967;
  line-height: 26px;
  text-align: left;
}

/* 化妆品新原料分类表格样式 */
.ingredient-classification {
  padding: 48px;
  width: 1180px;
  box-sizing: border-box;
  background: #ffffff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.classification-intro {
  font-weight: 400;
  font-size: 16px;
  color: #5b5c60;
  line-height: 28px;
  text-align: left;
}

.classification-table {
  overflow-x: auto;
  margin-top: 24px;
}

.classification-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.classification-table thead {
  background: #fdf0f2;
}

.classification-table th {
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  color: #293a4c;
  line-height: 24px;
  border: 1px solid #e8e8e8;
  border-bottom: none;
}

.classification-table td {
  padding: 10px 24px;
  text-align: left;
  font-size: 15px;
  color: #293a4c;
  line-height: 1.6;
  border: 1px solid #f0f0f0;
  vertical-align: top;
}

.classification-table tbody tr:hover {
  background: #f8f9fa;
}
.card-top,
.card-bottom {
  position: relative;
}

.card-bottom {
  margin-top: 48px;
  background: url(/assets/front/src/cosmetic/process.png) no-repeat center center;
  background-size: 1198px 632px;
  height: 632px;
  width: 100%;
}
.card-top-img {
  position: absolute;
  top: -7px;
  left: -6px;
  width: 100px;
  height: 34px;
}
.card-bottom-img {
  position: absolute;
  top: -7px;
  left: -6px;
  width: 132px;
  height: 34px;
}

.feature-showcase-2 {
  background: linear-gradient(#fff5f5 0%, #ffffff 49%, #fff9f9 100%);
  box-shadow: inset 8px 8px 16px 0px #ffe7e9;
  padding: 80px 0;
}

.feature-showcase-2 .feature-card-box {
  flex-direction: row;
}

/* 难点展示区域样式 */
.feature-card-box {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 1180px;
  margin: 0 auto;
}

.feature-card-box-left {
  width: 724px;
  position: relative;
  height: 470px;
}

.difficulty-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* transform: scale(0.95); */
}

.difficulty-img.active {
  opacity: 1;
  /* transform: scale(1); */
}

.feature-card-box-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  height: 470px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.feature-card-box-right-item {
  padding: 24px 24px 0 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.feature-card-box-right-item:hover h3 {
  color: #ff5967;
}

.feature-card-box-right-item.active h3 {
  color: #ff5967;
  margin-left: 16px;
}

.feature-card-box-right-item.active p::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 36px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 7px 0;
  border-color: transparent #ff5967 transparent transparent;
}

.feature-card-box-right-item h3 {
  font-weight: 500;
  font-size: 18px;
  color: #293a4c;
  line-height: 26px;
  margin: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-card-box-right-item p {
  font-weight: 400;
  font-size: 14px;
  color: #5b5c60;
  line-height: 24px;
  margin: 0;
  padding-bottom: 24px !important;
  border-bottom: 1px solid #e5e5e5;
}
.feature-card-box-right-item:last-child p {
  border-bottom: none;
}

.feature-card-box-right-item.active h3 {
  color: #ff5967;
}

.success-example-swiper-button-prev {
  background: url("/assets/front/src/cosmetic/stories-arrow-left.png") no-repeat center
    center;
  background-size: 32px 32px;
  width: 32px;
  height: 32px;
  position: absolute;
  z-index: 90;
  top: 50%;
  left: -8px;
  margin-top: -16px;
  cursor: pointer;
}

.success-example-swiper-button-next {
  background: url("/assets/front/src/cosmetic/stories-arrow-right.png") no-repeat center
    center;
  background-size: 32px 32px;
  width: 32px;
  height: 32px;
  position: absolute;
  z-index: 90;
  top: 50%;
  right: 0px;
  margin-top: -16px;
  cursor: pointer;
}
.services-section-description {
  width: 1180px;
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    margin-top: 40px !important;
  }
  .custom-container {
    width: 100% !important;
    padding: 0 15px !important;
  }
  .ingredient-classification {
    padding: 32px 16px;
    width: 100% !important;
    box-sizing: border-box;
  }
  .card-bottom {
    height: 200px !important;
    background-size: 100% 100% !important;
  }
  .services-section-description {
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box;
    margin: 0 0 48px auto !important;
  }

  .success-example-slide-box .swiper-slide {
    flex-direction: column-reverse !important;
  }
  .success-example-slide {
    width: 100% !important;
    box-sizing: border-box;
  }
  .success-example-slide-item-right {
    width: 100% !important;
    height: auto !important;
  }

  .classification-intro {
    font-size: 14px;
    padding: 0 20px;
    margin-bottom: 24px;
  }

  .classification-table {
    /* margin: 0 20px; */
  }

  .classification-table th,
  .classification-table td {
    padding: 16px 12px;
    font-size: 14px;
  }

  .classification-table th:first-child,
  .classification-table td:first-child {
    min-width: 60px;
  }

  .classification-table th:nth-child(2),
  .classification-table td:nth-child(2) {
    min-width: 150px;
  }

  .classification-table th:last-child,
  .classification-table td:last-child {
    min-width: 100px;
  }

  /* 移动端难点展示区域样式 */
  .feature-card-box {
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .feature-card-box-left {
    width: 100% !important;

    height: auto !important;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; /* 确保相对定位，为绝对定位的子元素提供定位上下文 */
  }

  /* 移动端图片优化 */
  .feature-card-box-left .difficulty-img {
    position: relative; /* 移动端使用相对定位，让图片撑起容器高度 */
    width: 100%;
    height: auto;
    display: none; /* 默认隐藏 */
  }

  .feature-card-box-left .difficulty-img.active {
    display: block; /* 激活时显示 */
    opacity: 1;
  }

  .feature-card-box-right {
    /* gap: 16px; */
  }

  .feature-card-box-right-item {
    /* padding: 20px; */
  }

  .feature-card-box-right-item h3 {
    font-size: 16px;
  }

  .feature-card-box-right-item p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .feature-nav {
    display: none;
  }

  /* 移动端不显示固定导航和占位符 */
  .feature-nav.fixed,
  .feature-nav-placeholder {
    display: none !important;
  }
  .container {
    position: relative;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    width: 100%;
    text-align: center;
  }
  .feature-card-img {
    width: 100%;
    height: auto;
  }
  .advantages-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-card.expanded {
    width: 100%;
    height: auto;
  }

  .advantage-card.small {
    width: 100%;
    height: auto;
  }

  /* 移动端解决方案卡片样式 */
  .solution-card {
    padding: 24px 20px;
  }

  .solution-card:nth-child(1),
  .solution-card:nth-child(2),
  .solution-card:nth-child(3),
  .solution-card:nth-child(4),
  .solution-card:nth-child(5),
  .solution-card:nth-child(6),
  .solution-card:nth-child(7) {
    grid-column: 1;
  }

  .solution-number {
    font-size: 36px;
    top: 12px;
    right: 16px;
  }

  .solution-icon img {
    width: 48px;
    height: 48px;
  }

  .solution-content h3 {
    font-size: 16px;
  }

  .solution-content p {
    font-size: 13px;
  }

  .services-grid {
    flex-direction: column;
  }

  .feature-card-box-points,
  .feature-card {
    display: none;
  }

  .hero-content {
    padding: 80px 15px;
  }
  .hero-section {
    background: url(/assets/front/src/cosmetic/bg-mobile.png) center / cover;
  }

  .feature-card-img {
    display: none;
  }
  .mobile-img {
    display: block;
  }

  .advantages-section,
  .services-section,
  .challenges-section {
    min-width: 100% !important;
  }
}

/* FAQ模块样式 */
.faq-accordion {
}

.faq-item {
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question:hover span {
  color: #ff5967;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

/* .faq-question:hover {
  background: #f5f5f5;
} */

.faq-text {
  font-size: 16px;
  font-weight: 500;
  color: #293a4c;
  line-height: 24px;
  flex: 1;
  text-align: left;
  margin-right: 16px;
}

.faq-icon {
  font-size: 20px;
  font-weight: bold;
  color: #ff5967;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-item.active {
  background: linear-gradient(#fff5f5 0%, #ffffff 49%, #fff9f9 100%);
  box-shadow: inset 8px 8px 16px 0px #ffe7e9;
}

.faq-answer p {
  margin: 0px 32px 32px 32px !important;
  font-weight: 400;
  font-size: 14px;
  color: #293a4c;
  line-height: 24px;
  text-align: left;
}

.faq-answer p:last-child {
  border-bottom: none;
}

/* 相关主题卡片网格样式 */
.related-topics-grid {
  margin-top: 64px !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  /* transition: all 0.3s ease; */
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.topic-card:hover {
  background: url(/assets/front/src/cosmetic/question-bg.png) no-repeat right center;
}

.topic-card:hover .topic-title {
  color: #ff5967;
}
.topic-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.topic-title {
  font-size: 14px;
  font-weight: 500;
  color: #293a4c;
  line-height: 1.5;
  flex: 1;
  text-align: left;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
  /* .faq-accordion {
    margin: 0 20px 32px;
  } */

  .faq-question {
    padding: 20px;
  }

  .faq-text {
    font-size: 15px;
  }

  .faq-answer p {
    margin: 0 20px 20px !important;
  }

  .related-topics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-card {
    padding: 20px;
  }

  .topic-title {
    font-size: 13px;
  }

  .header-container {
    min-width: 100% !important;
  }
}

/* 更多资讯网格样式 */
.more-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.more-info-item {
  background: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.more-info-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.more-info-title {
  background: linear-gradient(153deg, #ff7a85 0%, #ff5967 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 24px;
  margin: 0;
  text-align: left;
  line-height: 1.2;
}

.more-info-content {
  list-style: none;
  padding: 24px 20px;
  margin: 0;
}

.more-info-content li {
  list-style: none;
  text-align: left;
  color: #293a4c;
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 12px;
  margin-top: 12px;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}
.more-info-content li:first-child {
  margin-top: 0;
}

.more-info-content li:before {
  content: "•";
  color: #dee2e6;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.more-info-content li:last-child {
  margin-bottom: 0;
}

.more-info-button-container {
  text-align: center;
  margin-top: 48px;
}

.more-info-button {
  background: #ffffff;
  border: 1px solid #ff5967;
  padding: 8px 42px;
  font-weight: 500;
  font-size: 16px;
  color: #ff5967;
  line-height: 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  border-radius: 2px;
}

.more-info-button:hover {
  background: #ff5967;
  color: #ffffff;
}

.more-info-answer li:before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: url("/assets/front/src/cosmetic/more-icon.png");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 768px) {
  .more-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .more-info-title {
    font-size: 16px;
    padding: 16px;
  }

  .more-info-content {
    padding: 20px 16px;
  }

  .more-info-content li {
    /* font-size: 13px;
    margin-bottom: 12px;
    padding-left: 16px; */
  }
}

/* 咨询表单样式 */
.consultation-form {
  /* margin-top: 40px;
  padding: 40px; */
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
  margin-bottom: 0 !important;
  position: relative;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.form-label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.required {
  color: #ff5967;
  font-weight: bold;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  background: #fff;
  color: #293a4c;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  /* border: none; */
  background: #ffffff;
  box-shadow: none;
}

.form-input.error,
.form-textarea.error {
  /* border-color: #ff5967; */
  /* background: rgba(255, 89, 103, 0.05); */

  border-color: #fff;
  background: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.error-message {
  /* color: #ff5967; */
  color: #fff;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: left;
}

.error-message.show {
  opacity: 1;
}

.submit-btn {
  background: #293a4c;
  color: #ffffff;
  padding: 8px 43px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.submit-btn:hover {
  transition: all 0.3s ease;
  transform: translateY(-2px);

  /* box-shadow: 0 8px 25px rgba(1, 110, 241, 0.3); */
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-btn.loading {
  pointer-events: none;
}

.submit-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 成功提示样式 */
.success-message {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.success-message.show {
  display: block;
}

.success-message .iconfont {
  margin-right: 8px;
  font-size: 16px;
  color: #4caf50;
}
.success-example-slide {
  overflow: hidden;
  position: relative;
}
.success-example-slide .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.success-example-slide-item-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}
.success-example-slide-item-right {
  width: 752px;
  height: auto;
}
.success-example-slide-item-left img {
  width: 200px;
  height: 75px;
}
.success-example-slide-item-left p {
  font-weight: 400;
  font-size: 14px;
  color: #5b5c60;
  line-height: 28px;
  text-align: left;
}
.success-example-slide-item-left p:first-child {
  font-weight: 500;
  font-size: 18px;
  color: #293a4c;
  line-height: 28px;
  text-align: left;
}
.success-example-slide-box {
  margin-top: 48px;
  padding: 80px 0;
  background: url("/assets/front/src/cosmetic/stories-bg.png") no-repeat center center;
  background-size: cover;
}
.success-example-slide {
  width: 1180px;
  margin: 0 auto;
}
.success-example-slide-box .swiper-slide {
  display: flex;
  gap: 48px;
  padding: 0 32px;
}
/* 表单响应式样式 */
@media (max-width: 768px) {
  #difficulties-solutions,
  #requirements-process {
    padding: 0 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    flex: none;
  }

  .submit-btn {
    width: 100%;
  }

  .success-example-slide-item-left img {
    display: none;
  }
}

@media (max-width: 480px) {
  /* .consultation-form {
    padding: 20px 12px;
  } */

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-label {
    font-size: 13px;
  }
}
