/* ===== StarNexus 学术洞见资源聚合页 =====
   配色规范：
     白色/浅色背景 -> 文字 #4A3A6B
     紫色背景 #4A3A6B -> 文字 #FFFFFF
     金色背景 #D4AF37 -> 文字 #4A3A6B
*/

.insights-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* ---------- Hero（紫色背景） ---------- */
.inx-hero {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  border-radius: 24px;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inx-hero .hero-icon { font-size: 3.5rem; margin-bottom: 12px; }
body .site-shell .inx-hero h1 {
  font-size: 36px;
  color: #ffffff !important;
  margin: 0 0 12px;
  font-weight: 800;
}
.inx-hero p {
  font-size: 16px;
  color: #ffffff !important;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.inx-hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-gold-cta {
  display: inline-block;
  padding: 13px 30px;
  background: linear-gradient(135deg, #D4AF37, #E3C55A);
  color: #4A3A6B;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-gold-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #E5C048, #EDCB5F);
}
.btn-outline-cta {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-cta:hover {
  border-color: #D4AF37;
  color: #F0D98A;
}

/* ---------- 通用区块 ---------- */
.inx-section {
  background: #fff;
  border: 1px solid #E0D9EB;
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(74, 58, 107, 0.05);
}
.inx-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
body .site-shell .inx-section-head h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #4A3A6B !important;
  margin: 0;
}
.inx-section-head .inx-tag {
  font-size: 12px;
  font-weight: 700;
  color: #4A3A6B;
  background: #FAF1D6;
  border-radius: 999px;
  padding: 4px 12px;
}
.inx-sub {
  color: #6B6882;
  line-height: 1.7;
  margin: 0 0 20px;
  font-size: 15px;
}

/* ---------- 视频讲座卡片 ---------- */
.inx-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.inx-video-card {
  display: flex;
  flex-direction: column;
  background: #F8F6FC;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(74, 58, 107, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.inx-video-card:hover {
  border-color: #D4AF37;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(74, 58, 107, 0.16);
}
.inx-video-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F0D98A;
  font-size: 2.4rem;
  position: relative;
}
.inx-video-thumb .play-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(212, 175, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.inx-video-card .free-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #D4AF37;
  border-radius: 999px;
  padding: 3px 10px;
}
.inx-video-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.inx-video-body .who {
  font-size: 12px;
  color: #8A6A10;
  font-weight: 700;
}
body .site-shell .inx-video-body h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #4A3A6B !important;
  margin: 0;
  line-height: 1.35;
}
.inx-video-body p {
  color: #6B6882;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.inx-video-body .watch {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #4A3A6B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.inx-all-link {
  margin-top: 22px;
  text-align: center;
}
.btn-plain {
  display: inline-block;
  padding: 11px 28px;
  border: 2px solid #4A3A6B;
  color: #4A3A6B;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-plain:hover {
  background: #4A3A6B;
  color: #fff;
}

/* ---------- 工作坊卡片 ---------- */
.inx-workshops {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.inx-ws-card {
  display: flex;
  flex-direction: column;
  background: #F8F6FC;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(74, 58, 107, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.inx-ws-card:hover {
  border-color: #D4AF37;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(74, 58, 107, 0.16);
}
.inx-ws-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.inx-ws-type {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #4A3A6B;
  border-radius: 999px;
  padding: 3px 10px;
}
.inx-ws-date {
  font-size: 12px;
  color: #8A6A10;
  font-weight: 700;
}
body .site-shell .inx-ws-card h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #4A3A6B !important;
  margin: 0 0 8px;
}
.inx-ws-card p {
  color: #6B6882;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
  flex: 1;
}
.inx-ws-link {
  font-size: 13px;
  font-weight: 700;
  color: #4A3A6B;
}

/* ---------- 底部 CTA ---------- */
.inx-cta {
  text-align: center;
  padding: 44px 32px;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%);
  border-radius: 24px;
  color: #fff;
  margin-top: 32px;
}
body .site-shell .inx-cta h2 {
  font-size: 26px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  margin: 0 0 10px;
}
.inx-cta p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px;
  margin: 0 0 22px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .inx-videos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .inx-hero { padding: 40px 24px; }
  .inx-hero h1 { font-size: 26px; }
  .inx-section { padding: 24px 20px; }
  .inx-videos,
  .inx-workshops { grid-template-columns: 1fr; }
}
