@charset "UTF-8";

/* 政策支持页 (Figma 605:570) 专属样式。
   公共导航/页脚/按钮沿用 home.css；此处只补本页布局。
   还原基准：Figma 桌面 1920px 画板，字号/间距/坐标均取自设计稿。 */

.policy-page {
  position: relative;
  z-index: 1;
  padding-top: 1px;
}

/* 顶部光晕：Figma Ellipse 37(节点 605:572)。
   设计稿 1920 画板坐标:x=-250、y=-564、尺寸 2374×878 → 全部按 /1920 换算为 vw,随宽度等比缩放。 */
.policy-page::before {
  content: "";
  position: absolute;
  left: -13vw;          /* -250 / 1920 */
  top: -29.4vw;         /* -564 / 1920 */
  z-index: 0;
  width: 123.6vw;       /* 2374 / 1920 */
  height: 45.7vw;       /* 878 / 1920 */
  background: url("../assets/policies/glow-top.svg") center / 100% 100% no-repeat;
  opacity: 1;
  filter: brightness(1.4) saturate(1.15);   /* 增强亮度,使光晕更明显 */
  mix-blend-mode: screen;                    /* 在深色背景上叠加发光而非遮挡 */
  pointer-events: none;
}

/* 中部极光背景：Figma image 160 */
.policy-aurora {
  position: absolute;
  top: 833px;
  left: 50%;
  transform: translateX(-50%);
  width: 2348px;
  max-width: none;
  height: 1310px;
  opacity: 0.4;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* —— 通用区块标题（居中）—— */
.policy-block {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
  margin: 0 auto;
}

.policy-eyebrow {
  margin: 0;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.policy-title {
  margin: 0;
  max-width: 946px;
  color: #fff;
  font-size: clamp(2.5rem, 3.35vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.0375em;
}

.policy-sub {
  margin: 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

/* —— Hero —— */
.policy-hero {
  position: relative;
  padding-top: 200px;
}

/* —— 三步策略 —— */
.policy-steps {
  position: relative;
  z-index: 2;
  width: min(1246px, calc(100% - 200px));
  margin: 100px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 72px;
  align-items: start;
}

.policy-steps__divider {
  grid-column: 1 / -1;   /* 横线贯穿三列(含列间距),与标题行底部对齐 */
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.2);
}

.policy-step-label {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-latin);
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.policy-step-name {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.333;
  letter-spacing: -0.6px;
}

.policy-step-name b {
  font-weight: 700;
}

.policy-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.policy-step-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.375;
}

.policy-step-list img {
  flex: none;
  width: 16px;
  height: 16px;
}

/* —— 八大 0 负担 政策 区 —— */
.policy-ring-section {
  position: relative;
  z-index: 2;
  margin-top: 196px;
}

.policy-ring-stage {
  position: relative;
  width: 100%;
  height: 760px;
  margin: 60px auto 0;
}

.policy-ring-stage > * {
  position: absolute;
  left: 50%;
  top: 50%;
}

.policy-ring-orbit,
.policy-ring-arcs {
  width: 586px;
  height: 586px;
  margin-left: -293px;
  margin-top: -293px;
}

.policy-ring-orbit {
  pointer-events: none;
}

/* 8 段弧线:平时细+暗靛蓝,激活段加粗+亮蓝并发光 */
.policy-ring-arcs {
  overflow: visible;
  pointer-events: none;
}

.policy-ring-arcs path {
  fill: none;
  stroke: #1a0b50;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke 420ms ease, stroke-width 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.policy-ring-arcs path.is-active {
  stroke: url(#policyArcGrad2);
  stroke-width: 11;
  filter: drop-shadow(0 0 6px rgba(82, 60, 220, 0.65));
}

/* 当前选中指示点,沿圆环滑到激活标签角度(位置由 JS 逐帧驱动) */
.policy-ring-marker {
  z-index: 3;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #6a52ff;
  box-shadow: 0 0 14px 3px rgba(106, 82, 255, 0.85);
  pointer-events: none;
  transform: translate(var(--mx, 0px), var(--my, -290px));
}

.policy-ring-core {
  width: 204px;
  margin-left: -102px;
  margin-top: -184px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.policy-ring-core img {
  width: 204px;
  height: 285px;
  object-fit: cover;
  object-position: bottom;
}

.policy-ring-core__name {
  margin: 0;
  color: #fff;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.policy-ring-core__desc {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.policy-pill {
  z-index: 5;
  display: inline-flex;
  align-items: center;
  margin-left: var(--x);
  margin-top: var(--y);
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 320ms ease, background 320ms ease, border-color 320ms ease;
}

.policy-pill:hover {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.16);
}

.policy-pill.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.policy-pill:focus-visible {
  outline: 2px solid #6a52ff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .policy-ring-marker,
  .policy-ring-arcs path {
    transition: none;
  }
}

/* —— 精英先锋空间 拼贴 —— */
.policy-space {
  position: relative;
  z-index: 2;
  margin-top: 110px;
  overflow: hidden;
}

.policy-space__stage {
  position: relative;
  width: min(1920px, 100%);
  height: 1060px;
  margin: 0 auto;
}

.policy-space__heading {
  position: absolute;
  left: 50%;
  top: 352px;
  transform: translateX(-50%);
}

.policy-space__photo {
  position: absolute;
  border-radius: 20px;
  object-fit: cover;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.22, 1);
}

.policy-space__caption {
  position: absolute;
  width: 276px;
  display: grid;
  gap: 10px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.22, 1);
}

/* 视差倾斜的平滑过渡(JS 逐帧设值,过渡补足拖尾的纵深感) */
.policy-space__stage {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.22, 1);
}

@media (prefers-reduced-motion: reduce) {
  .policy-space__photo,
  .policy-space__caption,
  .policy-space__stage {
    transition: none;
  }
}

.policy-space__caption strong,
.policy-space__caption h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.6px;
}

.policy-space__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.3;
}

/* —— 先导区扶持政策 卡片 —— */
.policy-whitepaper {
  position: relative;
  z-index: 2;
  width: min(1246px, calc(100% - 200px));
  margin: 120px auto 140px;
  display: flex;
  gap: 40px;
  align-items: stretch;
  padding: 40px 40px 40px 48px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  background: rgba(250, 250, 250, 0.06);
}

.policy-whitepaper__text {
  flex: 1 1 auto;
  align-self: center;
  display: grid;
  gap: 24px;
  max-width: 661px;
}

.policy-whitepaper__text h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.075em;
}

.policy-whitepaper__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.policy-whitepaper__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.3;
}

/* 原为每行手写「• 」前缀的 <span>，列表化后用 ::before 还原同样的圆点字符，视觉不变 */
.policy-whitepaper__list li::before {
  content: "• ";
}

.policy-whitepaper__media {
  position: relative;
  flex: 0 0 471px;
  min-height: 243px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.policy-whitepaper__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-whitepaper__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.policy-whitepaper__cta {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.policy-whitepaper__cta span {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.167;
  letter-spacing: -0.5px;
}

.policy-whitepaper__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 20px;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.143;
  text-transform: uppercase;
  transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1),
    background 0.25s ease, box-shadow 0.25s ease;
}

.policy-whitepaper__btn:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.policy-whitepaper__btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.policy-whitepaper__btn:focus-visible {
  outline: 2px solid #6a52ff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .policy-whitepaper__btn {
    transition: background 0.25s ease;
  }
  .policy-whitepaper__btn:hover {
    transform: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .policy-space {
    margin-top: 96px;
  }

  .policy-space__stage {
    left: 50%;
    width: 1280px;
    max-width: none;
    height: 720px;
    margin-left: -640px;
    transform: scale(0.68);
    transform-origin: top center;
  }

  .policy-whitepaper {
    width: calc(100% - 96px);
    flex-direction: column;
    gap: 28px;
    padding: 36px;
    margin-top: 90px;
  }

  .policy-whitepaper__text {
    align-self: stretch;
    max-width: none;
  }

  .policy-whitepaper__text h2 {
    max-width: 560px;
  }

  .policy-whitepaper__media {
    flex-basis: auto;
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  /* —— Hero:补足两侧边距 —— */
  .policy-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* —— STEP 三阶段:单列,每步「标题 + 分隔线 + 列表」成组 —— */
  .policy-steps {
    width: calc(100% - 48px);
    margin-top: 72px;
    display: flex;
    flex-direction: column;
  }
  .policy-steps__divider {
    display: none;               /* 移动端改为每步标题下的分隔线 */
  }
  .policy-step-head {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .policy-step-list {
    margin: 12px 0 26px;
  }
  /* 交错排序:标题1→列表1→标题2→列表2→标题3→列表3 */
  .policy-step-head:nth-of-type(1) { order: 1; }
  .policy-step-list:nth-of-type(1) { order: 2; }
  .policy-step-head:nth-of-type(2) { order: 3; }
  .policy-step-list:nth-of-type(2) { order: 4; }
  .policy-step-head:nth-of-type(3) { order: 5; }
  .policy-step-list:nth-of-type(3) { order: 6; }

  /* —— 八大 0 负担 圆环:保持原交互形态,整体等比缩小以适配视口 —— */
  .policy-ring-section {
    margin-top: 96px;
    overflow: hidden;            /* 缩放后裁掉极轻微的溢出 */
  }
  .policy-ring-stage {
    transform: scale(0.68);
    transform-origin: top center;
    margin-bottom: -243px;       /* 回收缩放空出的高度 760*(1-0.68) */
  }

  /* —— 精英先锋空间:每张说明图与其文字配对、单列堆叠 —— */
  .policy-space {
    margin-top: 64px;
  }
  .policy-space__stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    transform: none !important;
  }
  .policy-space__heading {
    position: static;
    transform: none;
    order: 0;
    margin: 0 0 20px;
  }
  .policy-space__photo {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 12px;
  }
  /* 仅保留 3 张带说明的主图,隐藏装饰性小图 */
  .policy-space__photo:nth-of-type(2),
  .policy-space__photo:nth-of-type(3),
  .policy-space__photo:nth-of-type(5),
  .policy-space__photo:nth-of-type(6),
  .policy-space__photo:nth-of-type(7),
  .policy-space__photo:nth-of-type(9) {
    display: none;
  }
  .policy-space__caption {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    margin: 0 0 24px;
  }
  /* 图文配对顺序:静音舱(space-01)、作战室(space-02)、社交场(space-09) */
  .policy-space__photo:nth-of-type(1) { order: 1; }   /* space-01 */
  .policy-space__caption:nth-of-type(2) { order: 2; }  /* 深海静音舱 */
  .policy-space__photo:nth-of-type(4) { order: 3; }   /* space-02 */
  .policy-space__caption:nth-of-type(3) { order: 4; }  /* 敏捷作战室 */
  .policy-space__photo:nth-of-type(8) { order: 5; }   /* space-09 */
  .policy-space__caption:nth-of-type(4) { order: 6; }  /* 灵感社交场 */

  /* —— 白皮书:纵向堆叠 + 收边距 —— */
  .policy-whitepaper {
    width: calc(100% - 48px);
    flex-direction: column;
    padding: 28px;
    margin: 80px auto 100px;
  }
  .policy-whitepaper__media {
    flex-basis: auto;
  }
}

@media (max-width: 560px) {
  .policy-step-name {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .policy-ring-stage {
    transform: scale(0.46);
    margin-bottom: -410px;       /* 760*(1-0.46) */
  }
}

@media (max-width: 380px) {
  .policy-ring-stage {
    transform: scale(0.4);
    margin-bottom: -456px;       /* 760*(1-0.4) */
  }
}
