/* banner区域 */
.banner {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  /* 确保在所有浏览器中正确显示 */
  max-width: 100vw;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.banner-content {
  z-index: 1;
  text-align: left;
  position: absolute;
  top: 50%;
  left: 0;
  width: 68rem;
  transform: translateY(-50%);
  margin-top: 32px;
}

.banner-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(5rem);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.banner-icon {
  flex-shrink: 0;
}

.banner-icon img {
  width: 8rem;
  height: 8rem;
  display: block;
}

.banner-title-group {
  flex: 1;
}

.banner-title {
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
}

.banner-subtitle {
  font-size: 2.4rem;
  margin: 0;
  text-align: left;
}

.banner-description {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(3rem);
  animation: fadeInUp 0.8s ease-out 1s forwards;
  text-align: justify;
}

.banner-buttons {
  display: flex;
  gap: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.3s forwards;
  margin-top: 8rem;
}

/* 备用CSS动画 */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-btn {
  color: white;
  text-decoration: none;
  padding: 1.2rem 4rem;
  font-size: 1.8rem;
  /* 18px */
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 14rem;
  text-align: center;
  display: inline-block;
}

/* 按钮样式和交互效果 */
.banner-btn {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0.1rem solid rgba(255, 255, 255, 1);
}

/* 悬停效果 */
.banner-btn:hover {
  background: linear-gradient(
    90deg,
    rgba(35, 167, 253, 1) 0%,
    rgba(253, 26, 226, 1) 100%
  );
  color: white;
  border: none;
}

/* 点击效果 */
.banner-btn:active {
  transform: translateY(0);
  box-shadow: 0 0.2rem 0.6rem rgba(255, 255, 255, 0.2);
}

/* 按钮波纹效果 */
.banner-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* 产品功能区域 */
.product-features {
  padding: 8rem 0;
  background-color: #f7f8fb;
}

/* 应用场景区域 */
.product-scenes {
  padding: 8rem 0;
  background-color: #f7f8fb;
}

.scenes-card {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  display: flex;
}

.scene-column {
  flex: 1.5;
  padding: 0 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.scene-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2rem;
  bottom: 2rem;
  border-right: 0.2rem dashed #a2a3a5;
}

.scene-column:first-child {
  flex: 1;
  padding-left: 0;
}

.scene-column:last-child {
  padding-right: 0;
}

.scene-title {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.scene-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  flex-grow: 1;
}

.scene-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.scene-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  background-color: #4a90e2;
  border-radius: 50%;
}

.scene-image-box {
  text-align: center;
  margin-top: auto;
}

.scene-image-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.scene-caption {
  font-size: 1.4rem;
  color: #333;
  font-weight: 500;
}

/* 产品功能区域 */
.product-features {
  padding: 8rem 0;
  background-color: #f7f8fb;
}

.section-title {
  font-size: 3.6rem;
  color: #333;
  margin-bottom: 5rem;
  font-weight: bold;
}

.features-container {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  height: 58rem;
}

.features-tabs {
  width: 32rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  height: 100%;
}

.feature-tab {
  padding: 0.4rem 1.6rem;
  cursor: pointer;
  font-size: 1.8rem;
  color: #333;
  font-weight: bold;
  border-radius: 0.6rem;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  flex: 1;
}

.feature-tab::before {
  content: "•";
  margin-right: 1.2rem;
  color: #a855f7;
  /* Purple dot */
  font-size: 2.4rem;
  line-height: 0;
  margin-top: -0.2rem;
}

.feature-tab:hover {
  transform: translateX(0.5rem);
}

.feature-tab.active {
  background: linear-gradient(90deg, #3b82f6 0%, #d946ef 100%);
  color: white;
}

.feature-tab.active::before {
  color: white;
}

.features-content {
  flex: 1;
  background: #fff;
  padding: 4rem 2rem;
  border-radius: 1.2rem;
  height: 58rem;
}

.feature-item {
  display: none;
  align-items: center;
  gap: 3rem;
  grid-template-columns: 1fr 1.5fr;
  height: 100%;
}

.feature-item.active {
  display: grid;
  animation: fadeIn 0.5s ease;
}

.feature-title {
  display: none;
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
}

.feature-text {
  font-size: 1.4rem;
  line-height: 2;
  color: #555;
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-img {
  width: 100%;
  overflow: hidden;
  height: 100%;
  background: #f7f8fb;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.feature-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 产品优势板块 */
.product-advantages {
  padding: 8rem 0;
  background: linear-gradient(
    180deg,
    rgba(247, 248, 251, 1) 0%,
    rgba(232, 246, 255, 1) 49.74%,
    rgba(247, 248, 251, 1) 100%
  );
}

/* 产品资源区域 */
.product-resources {
  padding: 8rem 0;
  background-color: #f7f8fb;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.resource-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 4rem 3rem;
  position: relative;
  transition: all 0.3s ease;
  height: 14rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.08);
}

.resource-card:hover .download-link {
  color: #3b82f6;
  transform: translateY(0.2rem);
}

.resource-tag {
  position: absolute;
  top: 2rem;
  right: 0;
  border-radius: 0.4rem 0 0 0.4rem;
  background: linear-gradient(
    90deg,
    rgba(35, 167, 253, 1) 0%,
    rgba(253, 26, 226, 1) 100%
  );
  color: white;
  font-size: 1.2rem;
  padding: 0.2rem 1.8rem;
  font-weight: 500;
}

.resource-content h3 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.download-link {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  color: #666;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon {
  font-size: 2.2rem;
}

@media (max-width: 76.8rem) {
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    height: 14rem;
    padding: 3rem;
  }
}

.product-advantages .section-title {
  margin-bottom: 6rem;
}

.advantages-grid {
  display: flex;
  gap: 2.2rem;
  padding-bottom: 1rem;
  align-items: stretch;
}

.advantages-grid::-webkit-scrollbar {
  display: none;
}

.advantages-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.advantage-card {
  background: #fff;
  padding: 10rem 3.6rem 14rem;
  border-radius: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 22rem;
}

.advantage-card:hover {
  transform: translateY(-1.2rem);
  background: linear-gradient(
    90deg,
    rgba(35, 167, 253, 1) 0%,
    rgba(253, 26, 226, 1) 100%
  );
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.03);
}

.advantage-card:hover .advantage-info h3,
.advantage-card:hover .advantage-info p {
  color: #fff;
}

/* 图标切换 */
.advantage-icon .hover-icon {
  display: none;
}

.advantage-card:hover .advantage-icon .normal-icon {
  display: none;
}

.advantage-card:hover .advantage-icon .hover-icon {
  display: block;
}

.advantage-card:hover .svg-icon * {
  stroke: #fff !important;
}

/* 针对没有填充的元素保持无填充，有填充的元素变为白色 */
.advantage-card:hover .svg-icon circle,
.advantage-card:hover .svg-icon ellipse,
.advantage-card:hover .svg-icon path:not([fill]),
.advantage-card:hover .svg-icon rect:not([fill]) {
  fill: none !important;
}

.advantage-card:hover .svg-icon rect[fill^="url"],
.advantage-card:hover .svg-icon path[fill^="url"] {
  fill: #fff !important;
}

.advantage-card:hover .svg-icon line {
  fill: none !important;
}

.svg-icon {
  width: 8rem;
  height: 8rem;
}

.advantage-info h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.advantage-info p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  transition: color 0.3s ease;
}

.svg-icon * {
  transition: all 0.3s ease;
}

.advantage-card .advantage-icon {
  width: 10rem;
  height: 10rem;
  margin-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 图标切换 */
@media (max-width: 120rem) {
}

@media (max-width: 76.8rem) {
  .advantage-card {
    padding: 4rem 2rem;
  }
}

/* 移动端适配样式 */
/* 通用容器样式 */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .section-title {
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 2rem;
  }
  .product-advantages .section-title {
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 2rem;
  }
}

/* Banner区域 */
@media (max-width: 768px) {
  .banner {
    height: auto;
    min-height: 100vh;
  }

  .banner-content {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    transform: none;
    margin-top: 0;
    padding: 0 2rem;
  }

  .banner-header {
    align-items: center;
    gap: 1.5rem;
  }

  .banner-icon img {
    width: 6rem;
    height: 6rem;
  }

  .banner-title {
    font-size: 2.8rem;
  }

  .banner-subtitle {
    font-size: 1.8rem;
  }

  .banner-description {
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .banner-buttons {
    flex-direction: row;
    gap: 1rem;
    margin-top: 4rem;
  }

  .banner-btn {
    flex: 1;
    min-width: calc(50% - 0.5rem);
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
  }
}

/* 产品功能区域 */
@media (max-width: 1024px) {
  .product-features {
    padding: 6rem 0;
  }

  .features-container {
    flex-direction: column;
    height: auto;
    gap: 2rem;
  }

  .features-tabs {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .feature-tab {
    white-space: nowrap;
    flex: none;
    padding: 0.8rem 1.6rem;
    font-size: 2rem;
  }

  .features-content {
    height: auto;
    min-height: 40rem;
    padding: 3rem 2rem;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-text {
    font-size: 1.8rem;
    line-height: 1.8;
  }

  .feature-img {
    padding: 2rem;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .product-features {
    padding: 4rem 0;
  }

  .features-container {
    height: auto;
  }

  .features-tabs {
    display: none;
  }

  .features-content {
    padding: 2rem 1.5rem;
    height: auto;
    min-height: auto;
  }

  .feature-item {
    display: block;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
  }

  .feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .feature-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 2.4rem;
    text-align: center;
  }
  .case-card:hover {
    transform: translateY(0) !important;
    box-shadow: none !important;
  }
}

/* 产品优势区域 */
@media (max-width: 1024px) {
  .product-advantages {
    padding: 6rem 0;
  }

  .advantages-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .advantage-card {
    min-width: auto;
    padding: 4rem 3rem;
  }

  .advantage-card .advantage-icon {
    margin-bottom: 4rem;
  }

  .advantage-info h3 {
    font-size: 2rem;
  }

  .advantage-info p {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .product-advantages {
    padding: 4rem 0;
  }

  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .advantage-card {
    padding: 2.5rem 1.5rem;
  }
  .advantage-card:hover {
    transform: translateY(0);
  }

  .advantage-card .advantage-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
  }

  .advantage-info h3 {
    font-size: 2.2rem;
  }

  .advantage-info p {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}

/* 应用场景区域 */
@media (max-width: 1024px) {
  .product-scenes {
    padding: 6rem 0;
  }

  .scenes-card {
    padding: 3rem;
  }

  .scene-column {
    padding: 0 2rem;
  }

  .scene-title {
    font-size: 2rem;
  }

  .scene-list li {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .product-scenes {
    padding: 4rem 0;
  }

  .scenes-card {
    flex-direction: column;
    padding: 2rem;
  }

  .scene-column {
    padding: 2rem 0;
  }

  .scene-column:not(:last-child)::after {
    right: auto;
    left: 2rem;
    top: auto;
    bottom: 0;
    width: calc(100% - 4rem);
    height: 0.2rem;
    border-right: none;
    border-bottom: 0.2rem dashed #a2a3a5;
  }

  .scene-column:first-child {
    padding-left: 0;
  }

  .scene-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .scene-list li {
    font-size: 1.3rem;
  }
}

/* 产品资源区域 */
@media (max-width: 1024px) {
  .product-resources {
    padding: 6rem 0;
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .resource-card {
    padding: 3rem;
    height: auto;
    min-height: 14rem;
  }

  .resource-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .product-resources {
    padding: 4rem 0;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    padding: 2.5rem;
  }

  .resource-content h3 {
    font-size: 2rem;
  }

  .resource-tag {
    font-size: 1.4rem;
    padding: 0.2rem 1.5rem;
  }
}

/* 案例故事区域 */
.case-stories {
  padding: 8rem 0;
  background-color: #f7f8fb;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.case-card {
  background: #fff;
  border-radius: 2.4rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.case-card:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.08);
}

.case-image {
  width: 100%;
  height: 26rem;
  overflow: hidden;
  position: relative;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-content {
  padding: 2.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  margin-top: -3rem;
  border-radius: 2.4rem;
  position: relative;
  z-index: 2;
}

.case-content h3 {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 1.2rem;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-content p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 6rem;
  flex: 1;
  opacity: 0.9;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  width: 100%;
}

.case-footer {
  margin-top: auto;
}

.gradient-line {
  height: 0.2rem;
  width: 100%;
  background: linear-gradient(90deg, #23a7fd 0%, #fd1ae2 100%);
  margin-bottom: 2.5rem;
  border-radius: 0.1rem;
  opacity: 0.8;
}

.case-footer .case-detail {
  display: inline-flex;
  align-items: center;
  color: #8c8c8c;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  background: #edf0f5;
  padding: 1rem 2.4rem;
  border-radius: 3rem;
  width: fit-content;
  font-weight: 500;
}

.case-detail:hover {
  color: #666;
  background: #e5e8ed;
}

.case-detail .arrow {
  margin-left: 0.8rem;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .banner-buttons {
    flex-direction: row;
    width: 100%;
    gap: 1.5rem;
  }

  .banner-btn {
    width: 100%;
    max-width: 30rem;
    padding: 1.2rem 2rem;
    font-size: 1.8rem;
  }
  .case-image {
    height: 24rem;
  }
  .case-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .case-footer .case-detail {
    font-size: 1.8rem;
  }
  .case-detail .arrow {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .banner-btn{
    min-width: auto;
  }
  .resources-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}