/* ══════════════════════════════════════════════════════
   洞察内容模块  #insights(从身体出发的知识宇宙)
   子组件:__head(标签/渐变标题/副标题)
          __row(3 张知识卡:激素百科 / 周期解码 / 月相科学)
   卡片:__media(大图 + __badge 徽标,底部压暗为手写渐变)
        → __title → __teaser(锁定文案,真实文字 + CSS 高斯模糊)
        → __cta(APP内解锁,绝对定位压在模糊文字上)
   设计稿 1920:卡 574×538,间距 46,行宽 1814,大图高 326
   ══════════════════════════════════════════════════════ */

.insights {
  padding: 104px 60px 129px;
}

/* ── 头部文案 ── */
.insights__head { text-align: center; }
.insights__heading {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3.4px;
  line-height: 40px;
  color: #C5B8ED;
}
.insights__slogan {
  margin: 32px auto 0;
  width: fit-content;
  font-weight: 400;
  font-size: 78px;
  line-height: 120px;
  color: #FCEEFF; /* 渐变兜底色 */
  background-image: linear-gradient(90deg, #EEEEEE 0%, #D1A1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.insights__sub {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 300;
  line-height: 40px;
  color: #C5B8ED;
}

/* ── 三卡横排 ── */
.insights__row {
  max-width: 1814px;
  margin: 175px auto 0;
  display: flex;
  justify-content: center;
  gap: 46px;
}
.insights__card {
  position: relative;
  flex: 0 1 574px; /* 1920 视口减两侧 padding 后差 14px,允许微量收缩保持三列 */
  min-width: 0;
  padding-bottom: 34px;
  background: rgba(55, 56, 104, 0.24);
  border-radius: 45px;
  overflow: hidden;
}

/* ── 大图区:封面 + 徽标 + 底部压暗 ── */
.insights__media { position: relative; aspect-ratio: 574 / 326; }
.insights__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insights__media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 139px;
  background: linear-gradient(180deg, rgba(35, 15, 74, 0) 0%, #230F4A 100%);
  pointer-events: none;
}
.insights__badge {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #C5B8ED;
}
.insights__badge-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insights__badge-icon > img { display: block; }
/* 周期/月相徽标 = 通用圆底 + 各自内芯;激素徽标为成品图,无需圆底 */
.insights__badge-icon--ring {
  background: url('../../images/insights/badge.png') center / 100% 100% no-repeat;
}

/* ── 文案区 ── */
.insights__title {
  margin: 22px 36px 0;
  min-height: 80px;
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 3.4px;
  line-height: 40px;
  color: #C5B8ED;
}
/* 标题内真链接(供爬虫发现 insight.html;有 JS 时点击被卡片脚本接管):抹掉默认蓝链样式 */
.insights__title a {
  color: inherit;
  text-decoration: none;
}
.insights__teaser {
  margin: 16px 83px 0 36px;
  height: 60px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 300;
  line-height: 30px;
  color: #C5B8ED;
  filter: blur(5px); /* 锁定内容:真实文字上高斯模糊,不用切图 */
  user-select: none;
  pointer-events: none;
}
.insights__cta {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%); /* 收窄到文字宽,让三段渐变铺满文字本身 */
  font-size: 16px;
  line-height: 22px;
  color: #FFC8A6; /* 渐变兜底色 */
  background-image: linear-gradient(90deg, #FFA6DA 0%, #FFC8A6 50%, #FFE8AC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 会员态解锁(html.is-member 由 index.html 底部脚本按 checkMemberStatus 切换):
   摘要去高斯模糊、恢复可选可点,「APP内解锁」隐藏,整卡可点下钻详情页 ── */
html.is-member .insights__teaser {
  filter: none;
  user-select: auto;
  pointer-events: auto;
}
html.is-member .insights__cta { display: none; }
/* 整卡始终可点:会员下钻详情页,非会员跳会员套餐区(脚本在 index.html) */
.insights__card { cursor: pointer; }

/* ── 响应式 ── */
@media (max-width: 1500px) {
  .insights__row { flex-wrap: wrap; } /* 三列过窄后转 2+1 / 单列,卡回设计宽 */
}
@media (max-width: 960px) {
  .insights { padding: 100px 24px 120px; }
  .insights__slogan { font-size: clamp(2rem, 8vw, 78px); line-height: 1.5; }
  .insights__sub { font-size: 16px; line-height: 1.9; }
  .insights__row { margin-top: 60px; gap: 32px; }
  .insights__card { border-radius: 32px; }
  .insights__title { margin: 20px 24px 0; min-height: 0; font-size: 22px; line-height: 34px; }
  .insights__teaser { margin: 12px 24px 0; }
}
