/* ==========================================================================
   漏洞报告页 专属样式 (vulnerability report page)
   ========================================================================== */

/* ── 头部 Banner ── */
.vr-page .second-banner {
  width: 100%;
  padding-top: 37.5%; /* 720 / 1920 */
  height: 0;
  position: relative;
  background-color: #f5f0eb;
  background-image: url("../../home/images/vulnerability/banner_vulnerability.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vr-page .second-banner .second-banner-letter {
  position: absolute;
  inset: 0;
  width: auto;
  left: 0;
  top: 0;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: clamp(40px, 13.02%, 250px);
  padding-top: 10.36%;
  max-width: 55%;
  box-sizing: border-box;
}

.vr-page .banner-letter-big {
  font-size: clamp(26px, 3.125vw, 60px);
  font-weight: 500;
  line-height: 150%;
  /* letter-spacing: clamp(2px, 0.42vw, 8px); */
  color: #ffffff;
}

.vr-page .banner-letter-sm2 {
  font-size: clamp(13px, 1.15vw, 22px);
  font-weight: normal;
  line-height: 150%;
  /* letter-spacing: 1px; */
  color: #ffffff;
  margin-top: clamp(8px, 1.04vw, 20px);
}

/* Banner 联系按钮 */
.vr-page .banner-contact-btn {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.04vw, 20px);
  margin-top: clamp(16px, 1.56vw, 30px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-contact-btn img {
  width: clamp(32px, 2.3vw, 44px);
  height: clamp(32px, 2.3vw, 44px);
}

.banner-contact-btn span {
  font-size: 16px;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0px;
  color: #ffffff;
}

/* ── 标题公共样式 ── */
.vr-page .page-title-en {
  font-family: DIN OT;
  font-size: clamp(50px, 6.46vw, 124px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0.03em;
  color: #f3f3f3;
  padding-top: clamp(30px, 2.4vw, 46px);
  text-align: center;
}

.vr-page .page-title-big {
  font-size: clamp(20px, 2.08vw, 40px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0em;
  color: #333;
  text-align: center;
  margin-top: -20px;
}

/* ── 如何报告安全漏洞 ── */
.vr-how-section {
  background: #ffffff;
}

.vr-how-desc {
  font-size: clamp(12px, 1.15vw, 22px);
  color: #666;
  text-align: center;
  margin-top: clamp(10px, 1.46vw, 28px);
  padding: 0 clamp(16px, 13.02vw, 250px);
  font-weight: 350;
  line-height: 150%;
}

/* 产品漏洞 / 数据泄露 两列卡片 */
.vr-category-grid {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.14vw, 41px);
  margin-top: clamp(26px, 3.65vw, 70px);
  padding: 0 clamp(16px, 13.02vw, 250px);
  margin-bottom: clamp(60px, 6.78vw, 130px);
}

.vr-category-card {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(24px, 3.54vw, 68px) clamp(37px, 4.9vw, 94px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0px 0px 30px 0px rgba(36, 38, 39, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  position: relative;
}

/* 图标上方橙色装饰圆点 */
.vr-category-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 1.56vw, 30px);
}

.vr-category-icon-wrap::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: clamp(8px, 0.625vw, 12px);
  height: clamp(8px, 0.625vw, 12px);
  background: var(--color-primary);
  border-radius: 50%;
}

.vr-category-icon {
  width: clamp(80px, 6.25vw, 120px);
  height: clamp(80px, 6.25vw, 120px);
  object-fit: contain;
  display: block;
}

/* 标题 / 分隔线 / 正文：与 SecIC 产品优势卡片一致 */
.vr-category-name {
  font-size: clamp(14px, 2.08vw, 24px);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0em;
  color: #333333;
  margin-bottom: clamp(10px, 1.56vw, 16px);
  text-align: center;
}

.vr-category-divider {
  width: clamp(35px, 3.64vw, 75px);
  height: clamp(2px, 0.39vw, 3px);
  background-color: var(--color-primary);
  margin: 0 auto clamp(10px, 1.56vw, 16px);
  border-radius: 0;
}

.vr-category-desc {
  font-size: clamp(12px, 1.04vw, 14px);
  font-weight: normal;
  line-height: 150%;
  color: #333333;
  text-align: center;
}

.site-lang-en .vr-category-desc {
  align-self: stretch;
  width: 100%;
  text-align: left;
}

/* ── 应提交哪些信息 ── */
.vr-info-section {
  background: rgba(242, 243, 245, 0.7);
  padding-bottom: clamp(60px, 8.02vw, 154px);
}

.vr-info-section .page-title-en {
  color: #eff0f3;
}

.vr-info-subtitle {
  font-size: clamp(12px, 1.15vw, 22px);
  color: #666666;
  font-weight: 350;
  line-height: 150%;
  text-align: center;
  margin-top: clamp(10px, 1.46vw, 28px);
}

/* 信息条目列表 */
.vr-info-list {
  margin-top: clamp(26px, 3.65vw, 70px);
  padding: 0 clamp(16px, 13.02vw, 250px);
  display: flex;
  flex-direction: column;
}

.vr-info-item {
  padding: clamp(16px, 1.56vw, 30px) 0;
  border-bottom: 1px solid #d7dce2;
  transition: all 0.3s ease;
}

.vr-info-item:first-child {
  border-top: 1px solid #d7dce2;
}

.vr-info-item-title {
  font-size: clamp(14px, 1.04vw, 20px);
  color: #000000;
  margin-bottom: clamp(10px, 1.04vw, 20px);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0em;
}

.vr-info-item-desc {
  font-size: clamp(12px, 0.78vw, 16px);
  line-height: 170%;
  font-weight: normal;
  color: #666666;
}

/* ── 注意事项 ── */
.vr-notice-section {
  background-image: url("../../home/images/vulnerability/precautions.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20.833vw; /* 原始图片比例作为最小高度 */
  position: relative;
}

.vr-notice-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 13.54%;
  padding-right: clamp(16px, 13.02vw, 250px);
  padding-bottom: clamp(24px, 2.6vw, 50px);
  box-sizing: border-box;
}

.vr-notice-title-en {
  font-family: DIN OT;
  font-size: clamp(50px, 6.98vw, 134px);
  font-weight: bold;
  line-height: 100%;
  color: rgba(243, 243, 243, 0.1);
  margin-top: clamp(-20px, -1.04vw, -8px);
}

.vr-notice-title {
  font-size: clamp(20px, 2.08vw, 40px);
  font-weight: bold;
  letter-spacing: 0em;
  color: #ffffff;
  margin-bottom: 0.93vw;
  margin-top: clamp(-34px, -1.77vw, -10px);
}

.vr-notice-subtitle {
  font-size: clamp(12px, 1.15vw, 22px);
  color: #fff;
  margin-bottom: clamp(16px, 1.56vw, 30px);
  font-weight: normal;
  line-height: 150%;
}

.vr-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.vr-notice-list li {
  font-size: clamp(14px, 0.83vw, 16px);
  color: #ffffff;
  padding-left: clamp(20px, 1.3vw, 25px);
  position: relative;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0em;
}

.vr-notice-list li::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 12px;
}

.vr-notice-policy {
  padding-top: clamp(16px, 1.56vw, 30px);
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: normal;
  line-height: 150%;
  color: #ffffff;
}

/* ── 入场动画 ── */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heroFadeIn {
  animation: heroFadeIn 1.2s ease-out both;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}

/* ── 移动端适配 ── */
@media (max-width: 768px) {
  .vr-category-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 4.26vw;
    gap: 4.26vw;
  }

  .vr-how-desc {
    padding: 0 4.26vw;
  }

  .vr-category-card {
    max-width: 100%;
    width: 100%;
  }

  .vr-info-section {
    background: #fff;
  }

  .vr-info-list {
    padding: 0 4.26vw;
  }

  .vr-info-item-title {
    color: #333;
  }

  .vr-info-item-desc {
    color: #333;
    line-height: 150%;
  }

  /* .vr-notice-section::before {
    font-size: 15vw;
    right: 4vw;
    bottom: 2vw;
  } */

  .vr-notice-section {
    background-image: url("../../home/images/vulnerability/precautions_mobile.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    min-height: 380px;
    display: flex;
    flex-direction: column;
  }

  .vr-notice-inner {
    padding: 30px 4.26vw 0;
  }

  .vr-notice-title {
    margin-top: -13px;
    margin-bottom: 26px;
  }
}

/* ── 移动端 Banner（≤768px）── */
@media (max-width: 768px) {
  .vr-page .second-banner {
    height: auto;
    min-height: 400px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background-image: url("../../home/images/vulnerability/banner_vulnerability_mobile.webp");
    background-size: cover;
    background-position: center center;
  }

  .vr-page .second-banner::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 80%;
    flex-shrink: 0;
  }

  .vr-page .second-banner .second-banner-letter {
    position: static;
    inset: auto;
    max-width: 100%;
    padding: 0 16px 30px 16px;
  }

  .vr-page .banner-letter-big {
    margin-bottom: 12px;
  }

  .vr-page .page-title-big {
    margin-top: -10px;
  }

  .vr-page .page-title-en {
    padding-top: 0;
  }
}
