/* ============================================
   FEATURES SECTION - JUMPO NOW!
   ============================================ */
.features-section {
  position: relative;
  width: 100%;
  padding: 0;
  background-color: var(--color-white);
  overflow: visible; /* 改为 visible 以显示顶部的波浪装饰 */
}

.features-wave-top {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 1944px;
  height: 280px;
  pointer-events: none;
  z-index: 20;
}

.features-wave-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 大星星 - 位于白云波浪边缘 */
.features-star-large {
  position: absolute;
  top: -80px;  /* 上移到白云边缘位置 */
  right: calc(50% - 400px);
  width: 150px;
  height: 157px;
  transform: rotate(18.59deg);
  z-index: 35;
  pointer-events: none;
}

/* 小星星 - 位于标题左上方 */
.features-star-small {
  position: absolute;
  top: 60px;  /* 上移 */
  left: calc(50% - 346px);
  width: 58px;
  height: 60px;
  transform: rotate(-29.32deg);
  z-index: 35;
  pointer-events: none;
}

.features-container {
  position: relative;
  width: 100%;
  padding: 190px 0 0;
  background-color: var(--color-white);
  min-height: 720px;
  z-index: 30;
}

.features-inner {
  position: relative;
  width: var(--container-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-title-block {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 10px;
  z-index: 2;
  width: 656px;
  max-width: 100%;
}

.features-main-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1;
  color: var(--color-orange);
  margin: 0;
}

.features-main-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.364;
  color: var(--color-orange);
  margin: 0;
}

.features-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  height: 540px;
  margin-top: 0;
  width: 1080px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.features-left,
.features-right {
  position: relative;
  width: 190px;
  height: 540px;
}

.features-left {
  margin-right: 90px;
}

.features-right {
  margin-left: 90px;
}

.feature-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.features-left .feature-tag,
.features-right .feature-tag {
  position: absolute;
  width: 190px;
}

.features-left .feature-tag {
  right: 0;
}

.features-right .feature-tag {
  left: 0;
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  background-color: #FFF4CF;
  border-radius: 44px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.364;
  color: var(--color-orange);
  white-space: nowrap;
}

.features-camera-center {
  position: relative;
  width: 641px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-wrapper {
  position: relative;
  width: 641px;
  height: 540px;
}

.camera-bg {
  position: absolute;
  top: -17px;
  left: -4px;
  width: 649px;
  height: 649px;
  object-fit: contain;
}

.app-screen {
  position: absolute;
  top: 210px;
  left: 85px;
  width: 369px;
  height: 207px;
  border-radius: 8px;
  object-fit: cover;
}

.camera-shadow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 571px;
  height: 68px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  .features-layout {
    gap: 20px;
  }

  .features-left {
    margin-right: 40px;
  }

  .features-right {
    margin-left: 40px;
  }
}

@media (max-width: 1024px) {
  .features-container {
    min-height: auto;
    padding: 100px var(--page-padding) 60px;
  }

  .features-layout {
    flex-direction: column;
    height: auto;
    gap: 40px;
    width: 100%;
  }

  .features-left,
  .features-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: auto;
    margin: 0;
    position: static;
  }

  .features-left .feature-tag,
  .features-right .feature-tag {
    position: static;
    width: auto;
  }

  .features-camera-center {
    order: -1;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
  }

  .camera-wrapper {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1;
  }

  .camera-bg {
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }

  .app-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 向左移动30px修复移动端偏右问题 (原34px, 右移4px) */
    transform: translate(calc(-50% - 30px), -50%);
    width: 60%;
    height: auto;
    aspect-ratio: 369/207;
  }

  .features-star-large,
  .features-star-small {
    display: none;
  }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) {
  .features-container {
    padding: 80px var(--page-padding) 40px;
  }
  
  .features-title-block {
    width: 100%;
  }
  
  .camera-wrapper {
    max-width: 350px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon img {
    max-width: 50px;
    max-height: 50px;
  }
}

/* Mobile Large (480px - 600px) */
@media (max-width: 600px) {
  .camera-wrapper {
    max-width: 300px;
  }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
  .features-container {
    padding: 60px var(--page-padding) 30px;
  }
  
  .features-layout {
    gap: 30px;
  }
  
  .features-left,
  .features-right {
    gap: 16px;
  }
  
  .camera-wrapper {
    max-width: 260px;
  }
  
  /* 手机端 app-screen 右移4像素 */
  .app-screen {
    transform: translate(calc(-50% - 30px), -50%);
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
  }
  
  .feature-icon img {
    max-width: 40px;
    max-height: 40px;
  }
}

/* Small Mobile (max 360px) */
@media (max-width: 360px) {
  .camera-wrapper {
    max-width: 220px;
  }
}

