/* ═══════════════════════════════════════════════════════════
   ASIRS 学会页面（Society）样式
   配色规范：
     - 白色/浅色背景 → 文字 #4A3A6B（紫色）
     - 紫色背景 #4A3A6B → 文字 #FFFFFF
     - 金色背景 #D4AF37 → 文字 #4A3A6B
   ═══════════════════════════════════════════════════════════ */

:root {
  --soc-purple: #4A3A6B;
  --soc-purple-dark: #3D2E5C;
  --soc-purple-soft: #F4F0FA;
  --soc-gold: #D4AF37;
  --soc-gold-light: #E8C84E;
  --soc-border: #E0D9EB;
  --soc-text: #4A3A6B;
  --soc-muted: rgba(74, 58, 107, 0.72);
}

.soc-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  color: #4A3A6B;
}

/* ── 1. 英雄栏（紫色背景 + 白字 + 金色点缀）── */
.soc-hero {
  background: linear-gradient(135deg, #4A3A6B 0%, #5E4D80 60%, #6B5A8A 100%);
  border-radius: 14px;
  padding: 48px 44px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(74, 58, 107, 0.28);
}
.soc-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  pointer-events: none;
}
.soc-hero-inner { position: relative; z-index: 1; }
.soc-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #D4AF37;
  color: #4A3A6B;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.soc-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  color: #FFFFFF;
  max-width: 780px;
}
/* 覆盖全局标题紫色规则 */
body .site-shell .soc-hero h1 { color: #FFFFFF !important; }
.soc-hero-tagline {
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.5px;
}
.soc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.soc-hero-stat { display: flex; flex-direction: column; }
.soc-hero-stat strong {
  font-size: 30px;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1.1;
}
.soc-hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2px;
}
.soc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ── 1.5 平台实时统计（真实数据库数据）── */
.soc-live-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.soc-live-stat {
  background: linear-gradient(135deg, #4A3A6B 0%, #5E4D80 100%);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(74, 58, 107, 0.18);
}
.soc-live-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1.1;
}
.soc-live-stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.soc-stat-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #4A3A6B;
  opacity: 0.7;
}

/* ── 8. 合作机构 ── */
.soc-partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.soc-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.soc-partner:hover {
  border-color: #D4AF37;
  box-shadow: 0 8px 20px rgba(74, 58, 107, 0.1);
  transform: translateY(-2px);
}
.soc-partner-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #4A3A6B;
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.soc-partner-name {
  color: #4A3A6B;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

/* ── 按钮 ── */
.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}
.soc-btn-gold { background: #D4AF37; color: #4A3A6B; }
.soc-btn-gold:hover { background: #E8C84E; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35); }
.soc-btn-purple { background: #4A3A6B; color: #FFFFFF; }
.soc-btn-purple:hover { background: #3D2E5C; transform: translateY(-1px); }
.soc-btn-ghost { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.soc-btn-ghost:hover { border-color: #D4AF37; color: #D4AF37; }
.soc-btn-outline { background: #FFFFFF; color: #4A3A6B; border: 1.5px solid #4A3A6B; }
.soc-btn-outline:hover { background: #F4F0FA; }

/* ── 通用区块 ── */
.soc-section { margin-top: 56px; }
.soc-section-head { margin-bottom: 24px; }
.soc-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D4AF37;
}
.soc-section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #4A3A6B;
  line-height: 1.2;
}
.soc-section-head p {
  margin: 10px 0 0;
  color: #4A3A6B;
  max-width: 720px;
  line-height: 1.7;
}

/* ── 2. 关于 ASIRS ── */
.soc-about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}
.soc-about-card {
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 26px 28px;
}
.soc-about-brand { text-align: center; }
.soc-about-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #4A3A6B;
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}
.soc-about-brand h3 { margin: 0 0 6px; color: #4A3A6B; font-size: 20px; }
.soc-about-brand .soc-brand-sub { margin: 0 0 16px; color: #4A3A6B; font-size: 13px; opacity: 0.75; }
.soc-about-facts { display: grid; gap: 10px; text-align: left; }
.soc-about-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #F8F6FC;
  font-size: 13px;
  color: #4A3A6B;
}
.soc-about-fact strong { font-weight: 800; white-space: nowrap; }
.soc-about-desc p {
  margin: 0 0 14px;
  color: #4A3A6B;
  font-size: 15px;
  line-height: 1.9;
}
.soc-field-chip {
  display: inline-block;
  margin: 6px 8px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #4A3A6B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

/* ── 3. 品牌与组织架构（卡片 + 箭头）── */
.soc-org {
  background: #F8F6FC;
  border: 2px solid #EDE7F6;
  border-radius: 14px;
  padding: 32px 28px;
}
.soc-org-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.soc-org-node {
  background: #FFFFFF;
  border: 2px solid #E0D9EB;
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 170px;
  max-width: 230px;
  text-align: center;
  flex: 1 1 170px;
  transition: all 0.2s;
}
.soc-org-node:hover { border-color: #D4AF37; box-shadow: 0 8px 20px rgba(74, 58, 107, 0.1); transform: translateY(-3px); }
.soc-org-node h4 { margin: 0 0 6px; color: #4A3A6B; font-size: 15px; }
.soc-org-node p { margin: 0; color: #4A3A6B; font-size: 12px; opacity: 0.72; line-height: 1.5; }
.soc-org-node.soc-org-core { background: #4A3A6B; border-color: #4A3A6B; }
.soc-org-node.soc-org-core h4 { color: #FFFFFF; }
.soc-org-node.soc-org-core p { color: rgba(255, 255, 255, 0.8); }
.soc-org-node.soc-org-press { background: #D4AF37; border-color: #D4AF37; }
.soc-org-node.soc-org-press h4 { color: #4A3A6B; }
.soc-org-node.soc-org-press p { color: #4A3A6B; opacity: 0.75; }
.soc-org-arrow {
  align-self: center;
  color: #D4AF37;
  font-size: 22px;
  font-weight: 800;
  padding: 0 2px;
}
.soc-org-branch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}
.soc-org-mini {
  flex: 1 1 130px;
  max-width: 180px;
  background: #FFFFFF;
  border: 1.5px dashed #D8CCE8;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.soc-org-mini h5 { margin: 0 0 4px; color: #4A3A6B; font-size: 13px; }
.soc-org-mini p { margin: 0; color: #4A3A6B; font-size: 11px; opacity: 0.7; }

/* ── 4. 学术生态系统（5 大支柱）── */
.soc-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.soc-pillar {
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  transition: all 0.2s;
}
.soc-pillar:hover { border-color: #D4AF37; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(74, 58, 107, 0.12); }
.soc-pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #4A3A6B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.soc-pillar h4 { margin: 0 0 8px; color: #4A3A6B; font-size: 15px; }
.soc-pillar p { margin: 0; color: #4A3A6B; font-size: 12px; line-height: 1.6; opacity: 0.8; }

/* ── 5. StarNexus Scholars 学者网络 ── */
.soc-network {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.soc-network-card {
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 22px 18px;
  transition: all 0.2s;
}
.soc-network-card:hover { border-color: #D4AF37; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(74, 58, 107, 0.12); }
.soc-network-num {
  color: #D4AF37;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.soc-network-card h4 { margin: 8px 0 6px; color: #4A3A6B; font-size: 16px; }
.soc-network-card p { margin: 0; color: #4A3A6B; font-size: 13px; line-height: 1.6; opacity: 0.8; }
.soc-network-cta { text-align: center; }

/* ── 6. 会员权益 ── */
.soc-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.soc-benefit {
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 26px 22px;
  transition: all 0.2s;
}
.soc-benefit:hover { border-color: #D4AF37; box-shadow: 0 10px 24px rgba(74, 58, 107, 0.1); }
.soc-benefit-icon { font-size: 28px; margin-bottom: 12px; }
.soc-benefit h3 { margin: 0 0 8px; color: #4A3A6B; font-size: 17px; }
.soc-benefit p { margin: 0; color: #4A3A6B; font-size: 13px; line-height: 1.7; opacity: 0.82; }

/* ── 7. 核心价值观 ── */
.soc-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.soc-value {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 2px solid #EDE7F6;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.2s;
}
.soc-value:hover { border-color: #D4AF37; background: #FBF9FE; }
.soc-value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D4AF37;
  flex-shrink: 0;
}
.soc-value h4 { margin: 0; color: #4A3A6B; font-size: 15px; font-weight: 700; }

/* ── 8. 申请加入学会 ── */
.soc-apply {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
  background: #F8F6FC;
  border: 2px solid #EDE7F6;
  border-radius: 14px;
  padding: 32px 30px;
}
.soc-apply-copy h2 { margin: 0 0 12px; color: #4A3A6B; font-size: 26px; }
.soc-apply-copy p { margin: 0 0 14px; color: #4A3A6B; line-height: 1.8; }
.soc-apply-note {
  font-size: 13px;
  color: #4A3A6B;
  opacity: 0.75;
  padding: 12px 14px;
  border-left: 3px solid #D4AF37;
  background: #FFFFFF;
  border-radius: 8px;
}
.soc-form { background: #FFFFFF; border: 2px solid #EDE7F6; border-radius: 12px; padding: 26px 24px; }
.soc-field { margin-bottom: 16px; }
.soc-field label { display: block; margin-bottom: 6px; color: #4A3A6B; font-size: 13px; font-weight: 700; }
.soc-field input,
.soc-field textarea,
.soc-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E0D9EB;
  border-radius: 8px;
  background: #FFFFFF;
  color: #4A3A6B;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.soc-field input:focus,
.soc-field textarea:focus,
.soc-field select:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.soc-field textarea { min-height: 110px; resize: vertical; }
.soc-message { min-height: 24px; margin: 12px 0 0; color: #4A3A6B; font-size: 14px; }
.soc-message.success {
  padding: 10px 12px; border-radius: 8px; background: #E8F5E9; border: 1px solid #C8E6C9; color: #2E7D32;
}
.soc-message.error {
  padding: 10px 12px; border-radius: 8px; background: #FFEBEE; border: 1px solid #FFCDD2; color: #C62828;
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .soc-pillars { grid-template-columns: repeat(3, 1fr); }
  .soc-network { grid-template-columns: repeat(2, 1fr); }
  .soc-values { grid-template-columns: repeat(2, 1fr); }
  .soc-partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .soc-page { padding: 20px 16px 56px; }
  .soc-hero { padding: 32px 24px; }
  .soc-about, .soc-apply { grid-template-columns: 1fr; }
  .soc-pillars { grid-template-columns: repeat(2, 1fr); }
  .soc-benefits { grid-template-columns: 1fr; }
  .soc-network { grid-template-columns: 1fr; }
  .soc-values { grid-template-columns: 1fr; }
  .soc-live-stats { grid-template-columns: 1fr; }
  .soc-partners { grid-template-columns: repeat(2, 1fr); }
  .soc-org-flow { flex-direction: column; align-items: stretch; }
  .soc-org-arrow { transform: rotate(90deg); align-self: center; }
  .soc-hero h1 { font-size: 28px; }
}
