/* ==========================================================================
   技术白皮书页 - 独立原创样式 (page-whitepaper.css)
   布局：档案柜式纵向卷轴 + 期刊卷宗报告墙 + 趋势雷达 + 信封式订阅
   风格：香水潮流风 · 浅蓝 + 浅紫 + 亮粉，纵向卷轴展开
   所有类名以 wp- 前缀隔离，不与全站其他列表页重复
   ========================================================================== */

/* ---------- 页面头部 meta 条 ---------- */
.wp-hero .wp-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--body);
  position: relative;
  flex-wrap: wrap;
}

.wp-hero .wp-hero-meta span {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.wp-hero .wp-hero-meta span strong {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--purple-deep);
  margin-right: 6px;
  font-weight: 700;
  line-height: 1;
}

.wp-hero .wp-hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-soft);
}

/* 面包屑窄段：去掉底部多余间距，贴近 hero */
.wp-crumb-sec {
  padding: 0 !important;
}

.wp-crumb-sec .breadcrumb {
  margin-bottom: 0;
  border-bottom: none;
  padding: 22px 0 6px;
}

/* ==========================================================================
   模块一：白皮书特色介绍 —— 档案柜式纵向卷轴（深色背景）
   左侧 sticky 引言 + 右侧四个纵向抽屉
   ========================================================================== */
.wp-feature-sec {
  position: relative;
  overflow: hidden;
}

.wp-feature-sec::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 10%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 179, 232, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.wp-feature {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: start;
  position: relative;
}

/* 左侧引言 */
.wp-feature-aside {
  position: sticky;
  top: 100px;
}

.wp-eyebrow-light {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink-soft);
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 16px;
  padding: 5px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 196, 214, 0.28);
  border-radius: var(--r-pill);
}

.wp-feature-aside h2 {
  font-size: 34px;
  color: #fff;
  line-height: 1.32;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.wp-feature-aside h2 .wp-accent {
  color: var(--pink-soft);
  position: relative;
}

.wp-feature-aside h2 .wp-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  z-index: -1;
  border-radius: 4px;
  opacity: 0.55;
}

.wp-feature-aside > p {
  font-size: 15px;
  line-height: 2;
  color: rgba(251, 249, 253, 0.74);
  margin-bottom: 30px;
}

.wp-feature-stat {
  display: flex;
  gap: 40px;
}

.wp-feature-stat > div strong {
  display: block;
  font-size: 36px;
  font-family: var(--font-en);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.wp-feature-stat > div span {
  font-size: 13px;
  color: rgba(251, 249, 253, 0.6);
  letter-spacing: 1px;
}

/* 右侧抽屉列：纵向卷轴连接线 */
.wp-feature-drawers {
  position: relative;
  padding-left: 8px;
}

.wp-feature-drawers::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-soft) 0%, var(--blue-soft) 50%, var(--pink-soft) 100%);
  opacity: 0.5;
}

.wp-drawer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin-bottom: 18px;
  margin-left: 44px;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.wp-drawer:last-child {
  margin-bottom: 0;
}

.wp-drawer:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 196, 214, 0.4);
  transform: translateX(10px);
}

/* 抽屉节点圆点 */
.wp-drawer::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(155, 126, 222, 0.25);
  transition: all 0.4s ease;
}

.wp-drawer:hover::before {
  border-color: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 123, 169, 0.25);
}

.wp-drawer-no {
  font-family: var(--font-en);
  font-size: 30px;
  color: rgba(255, 196, 214, 0.55);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.wp-drawer:hover .wp-drawer-no {
  color: var(--pink-soft);
}

.wp-drawer-ico {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(155, 126, 222, 0.32) 0%, rgba(255, 123, 169, 0.28) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-soft);
  flex-shrink: 0;
}

.wp-drawer-body h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 5px;
}

.wp-drawer-body p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(251, 249, 253, 0.66);
}

/* ==========================================================================
   模块二：白皮书列表 —— 期刊卷宗式纵向报告墙（核心原创布局）
   每行 = 超大编号锚点 + 封面卡 + 详情面板，纵向卷轴贯穿
   ========================================================================== */
.wp-archive-sec {
  position: relative;
}

.wp-archive {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

/* 卷轴主轴（贯穿所有报告的左侧虚线） */
.wp-archive::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background-image: linear-gradient(180deg, var(--purple-soft) 50%, transparent 50%);
  background-size: 2px 12px;
  background-repeat: repeat-y;
}

.wp-row {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 26px;
  margin-bottom: 40px;
}

.wp-row:last-child {
  margin-bottom: 0;
}

/* 超大编号锚点 */
.wp-row-num {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple-soft);
  text-stroke: 1.5px var(--purple-soft);
  align-self: center;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  padding-top: 6px;
}

.wp-row:hover .wp-row-num {
  -webkit-text-stroke-color: var(--purple);
  color: var(--purple-mist);
  transform: scale(1.06);
}

/* 编号节点圆点（压在虚线轴上） */
.wp-row-num::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -28px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px var(--purple-mist);
  transition: all 0.4s ease;
}

.wp-row:hover .wp-row-num::after {
  border-color: var(--pink);
  box-shadow: 0 0 0 5px var(--pink-mist);
}

/* 报告卡：封面 + 详情 */
.wp-row-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: all 0.4s ease;
  align-items: center;
}

.wp-row:hover .wp-row-card {
  box-shadow: var(--shadow-md);
  border-color: var(--purple-soft);
  transform: translateY(-3px);
}

/* 封面 */
.wp-cover {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 8 / 5;
  box-shadow: var(--shadow-sm);
}

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

.wp-row:hover .wp-cover img {
  transform: scale(1.07);
}

.wp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(74, 45, 138, 0.1) 0%, transparent 40%, rgba(45, 42, 62, 0.55) 100%);
  transition: opacity 0.4s ease;
}

/* 封面期刊戳 */
.wp-cover-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple-deep);
}

/* 封面日期戳 */
.wp-cover-date {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: var(--r-sm);
  background: rgba(45, 42, 62, 0.55);
  backdrop-filter: blur(6px);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

/* 详情面板 */
.wp-detail {
  min-width: 0;
}

.wp-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--pink-deep);
  font-weight: 600;
  padding: 4px 12px;
  background: var(--pink-mist);
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}

.wp-detail h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.wp-row:hover .wp-detail h3 {
  color: var(--purple-deep);
}

.wp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.wp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wp-meta span svg {
  color: var(--purple);
}

.wp-detail > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 20px;
}

.wp-view {
  padding: 11px 24px;
  font-size: 13.5px;
}

/* ==========================================================================
   模块三：趋势洞察雷达 —— 阶梯式趋势卡 + 动量条
   ========================================================================== */
.wp-trend-sec {
  position: relative;
}

.wp-trend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.wp-trend {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  overflow: hidden;
}

.wp-trend::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.wp-trend:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-soft);
}

.wp-trend:hover::before {
  transform: scaleX(1);
}

.wp-trend-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wp-trend-no {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--purple-deep);
  padding: 4px 12px;
  background: var(--purple-mist);
  border-radius: var(--r-pill);
}

.wp-trend-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-deep);
  padding: 4px 10px;
  background: var(--pink-mist);
  border-radius: var(--r-pill);
}

.wp-trend-ico {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--purple-mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-deep);
  margin-bottom: 18px;
}

.wp-trend h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.wp-trend > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 22px;
}

/* 动量条 */
.wp-trend-bar {
  margin-top: auto;
}

.wp-trend-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.wp-trend-bar-label strong {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-deep);
}

.wp-trend-bar-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  overflow: hidden;
}

.wp-trend-bar-track i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
  transition: width 1s ease;
}

/* ==========================================================================
   模块四：订阅白皮书更新 —— 信封式 CTA
   ========================================================================== */
.wp-sub-sec {
  position: relative;
}

.wp-subscribe {
  position: relative;
  background: linear-gradient(135deg, var(--purple-ink) 0%, var(--purple-deep) 55%, var(--pink-deep) 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-purple);
}

/* 信封翻盖装饰 */
.wp-sub-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 50% 78%);
  pointer-events: none;
}

.wp-subscribe::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 214, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.wp-subscribe::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 179, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.wp-sub-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 60px 64px;
}

.wp-sub-text .wp-sub-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink-soft);
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 14px;
  padding: 5px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 196, 214, 0.3);
  border-radius: var(--r-pill);
}

.wp-sub-text h3 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.wp-sub-text > p {
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(251, 249, 253, 0.74);
  margin-bottom: 22px;
}

.wp-sub-perks {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.wp-sub-perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: rgba(251, 249, 253, 0.86);
}

.wp-sub-perks li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 123, 169, 0.28);
  color: var(--pink-soft);
}

/* 订阅表单 */
.wp-sub-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
}

.wp-sub-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.wp-sub-field:focus-within {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px var(--purple-mist);
}

.wp-sub-field svg {
  color: var(--purple);
  flex-shrink: 0;
}

.wp-sub-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}

.wp-sub-field input::placeholder {
  color: var(--muted);
}

.wp-sub-btn {
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  font-size: 15px;
}

.wp-sub-form .form-tip {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  min-height: 1.7em;
}

/* ==========================================================================
   响应式：平板
   ========================================================================== */
@media (max-width: 1100px) {
  .wp-feature {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .wp-feature-aside {
    position: static;
  }
  .wp-row-card {
    grid-template-columns: 200px 1fr;
    gap: 26px;
  }
  .wp-sub-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 44px;
  }
}

@media (max-width: 860px) {
  .wp-trend-grid {
    grid-template-columns: 1fr;
  }
  .wp-feature-aside h2,
  .wp-sub-text h3 {
    font-size: 28px;
  }
  .wp-feature-stat {
    gap: 30px;
  }
  .wp-feature-stat > div strong {
    font-size: 30px;
  }
}

/* ==========================================================================
   响应式：手机
   ========================================================================== */
@media (max-width: 680px) {
  /* 卷宗墙：编号移到顶部，封面与详情纵向堆叠 */
  .wp-archive::before {
    left: 22px;
  }

  .wp-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .wp-row-num {
    text-align: left;
    font-size: 40px;
    padding-left: 44px;
    padding-top: 0;
    -webkit-text-stroke-width: 1px;
  }

  .wp-row-num::after {
    left: 16px;
    top: 50%;
    transform: translate(0, -50%);
  }

  .wp-row-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
  }

  .wp-cover {
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
  }

  .wp-detail {
    padding: 22px 6px 6px;
  }

  .wp-detail h3 {
    font-size: 19px;
  }

  .wp-meta {
    gap: 14px;
  }

  .wp-drawer {
    margin-left: 36px;
    padding: 20px 20px;
    gap: 16px;
  }

  .wp-drawer::before {
    left: -25px;
  }

  .wp-drawer-no {
    font-size: 24px;
  }

  .wp-drawer-ico {
    width: 46px;
    height: 46px;
  }

  .wp-sub-inner {
    padding: 36px 24px;
  }

  .wp-sub-form {
    padding: 26px 22px;
  }

  .wp-feature-aside h2,
  .wp-sub-text h3 {
    font-size: 24px;
  }

  .wp-trend {
    padding: 26px 24px 24px;
  }
}

@media (max-width: 420px) {
  .wp-hero .wp-hero-meta {
    gap: 12px;
    font-size: 12.5px;
  }
  .wp-hero .wp-hero-meta span strong {
    font-size: 18px;
  }
  .wp-feature-stat {
    gap: 24px;
  }
  .wp-sub-text h3 {
    font-size: 22px;
  }
}
