/* ======= Premium Hero ======= */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Hero Image - Full Width, Auto Height */
.hero-image-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dark Overlay for Text Readability */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 15, 35, 0.75) 0%,
    rgba(5, 15, 35, 0.6) 40%,
    rgba(5, 15, 35, 0.2) 70%,
    rgba(5, 15, 35, 0.05) 100%
  );
}

/* Hero Content - Right Side */
.hero-content-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Subtle backdrop to separate text from busy background */
  background: linear-gradient(
    to right,
    rgba(5, 15, 35, 0.15) 0%,
    transparent 25%
  );
}

/* Hero Container */
.hero-container {
  width: 100%;
  max-width: 520px;
  margin-right: 5%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Blue Gradient Glass Card */
.hero-card {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(0, 87, 183, 0.1);
  color: white;
  
  position: relative;
  overflow: hidden;
}

/* Decorative inner glow/top gradient for hero-card */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(17, 56, 212, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #ffffff; /* 关键：强制设置文字颜色为白色 */
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  width: fit-content;
  /* Subtle shadow for depth */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-badge:hover::before {
  transform: translateX(100%);
}

.hero-badge svg {
  color: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.hero-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  color: rgb(17, 56, 212);
}

.hero-headline .highlight {
  display: block;
  /* 从浅金到琥珀色的跨度 */
  background:rgb(252, 137, 29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  
  font-weight: 800; /* 加粗字体会让颜色更明显 */
  /* 提升 1.5 倍饱和度，让色彩更鲜艳 */
  filter: saturate(2) contrast(1.2);
  
    /* 添加微弱的深色投影，让浅色文字在浅色背景下也能看清 */
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
  }


.hero-desc {
  font-size: var(--fs-small);
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-actions .btn {
  padding: 0.875rem 1.75rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

/* Trust Badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Subtle top decorative line */
.hero-trust::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.6), transparent);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  opacity: 0.85;
  color: rgb(40, 36, 106);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-trust-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero-trust-item svg {
  color: #ffd700;
  opacity: 0.8;
}

/* Discount Mini Card */
.hero-discount-mini {
  background: linear-gradient(
    135deg,
    rgba(0, 50, 120, 0.4) 0%,
    rgba(0, 87, 183, 0.3) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-discount-mini-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-discount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

.hero-discount-tag.gold {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 184, 0, 0.25));
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
}

.hero-discount-tag.orange {
  background: linear-gradient(135deg, rgba(255, 169, 77, 0.3), rgba(255, 146, 43, 0.25));
  border: 1px solid rgba(255, 169, 77, 0.4);
  color: #ffa94d;
}

.hero-discount-tag.red {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(238, 90, 90, 0.25));
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

.hero-discount-year {
  font-weight: var(--fw-semibold);
  opacity: 0.85;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(0, 113, 227, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content-wrap {
    justify-content: center;
    padding: 3rem 1.5rem;
  }

  .hero-container {
    max-width: 480px;
    margin-right: 0;
  }

  .hero-trust {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-image-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5, 15, 35, 0.85) 0%,
      rgba(5, 15, 35, 0.7) 45%,
      rgba(5, 15, 35, 0.4) 70%,
      rgba(5, 15, 35, 0.2) 100%
    );
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero-discount-row {
    gap: 0.375rem;
  }

  .hero-discount-tag {
    padding: 0.3rem 0.625rem;
    font-size: 0.65rem;
  }
}
@media (max-width: 960px) {
  /* 1. 让最外层容器变为 Flex 列排列 */
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  /* 2. 图片容器 */
  .hero-image-wrap {
    position: relative;
    height: auto;
    order: 1;
  }

  /* 3. 文字内容包装层：设置为居中布局 */
  .hero-content-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    background: #fff;
    padding: 3rem 1.5rem; /* 增加上下内边距 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
    text-align: center;  /* 文字居中 */
    order: 2;
  }

  /* 4. 核心容器：增加 gap 产生行间距 */
  .hero-container {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* 确保子元素如 badge 居中 */
    gap: 2rem; /* 【微调】增加每一行/块之间的上下距离 */
  }

  /* 5. 卡片样式重置 */
  .hero-card {
    position: relative;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    color: #333;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 6. 元素细节微调 */
  .hero-badge {
    margin: 0 auto 0.5rem auto; /* 徽章居中 */
  }

  .hero-headline {
    font-size: 2.6rem;
    line-height: 1.5; /* 增加标题行高 */
    color:rgb(26, 64, 214);
    margin-top: 20px; /* 由父级 gap 控制间距 */
    margin-bottom: 20px; /* 由父级 gap 控制间距 */
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 2; /* 【微调】增加描述文字的行间距 */
    color: #666;
    max-width: 450px; /* 限制宽度让居中更美观 */
   
  }

  /* 7. 按钮组居中 */
  .hero-actions {
    justify-content: center; /* 按钮水平居中 */
    gap: 1.5rem; /* 按钮之间的间距 */
    width: 100%;
  }

  /* 8. 信任标识居中 */
  .hero-trust {
    justify-content: center;
    padding-top: 1.5rem;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* 9. 折扣小卡片居中微调 */
  .hero-discount-mini {
    width: 100%;
    max-width: 400px;
    background: rgba(17, 56, 212, 0.03);
    border: 1px solid rgba(17, 56, 212, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-discount-row {
    justify-content: center; /* 标签居中 */
  }

  /* 隐藏桌面端干扰元素 */
  .hero-image-overlay, .hero-scroll {
    display: none;
  }
}