* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --text: #111;
  --muted: #667085;
  --line: rgba(17, 17, 17, 0.1);
  --soft: #f5f7f8;
  --blue-soft: #edf7ff;
  --yellow-soft: #fff7df;
  --green-soft: #effaf3;
  --card: rgba(255, 255, 255, 0.82);
}

body {
  margin: 0;
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 12%, rgba(197, 232, 255, 0.5), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #f4f0e8 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.program-page {
  min-height: 100vh;
  padding: 34px clamp(20px, 6vw, 88px) 80px;
}

.back-link {
  position: fixed;
  top: 34px;
  left: 34px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #333;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.back-link:hover {
  transform: translateX(-4px);
  background: #111;
  color: #fff;
}

.program-lang {
  position: fixed;
  top: 17px;
  right: 100px;
  z-index: 50;
  min-width: 62px;
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #111;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.program-lang:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
}

.program-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.program-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 72px 0 24px;
  scrollbar-width: none;
}

.program-tabs::-webkit-scrollbar {
  display: none;
}

.program-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.program-tab.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.program-hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  min-height: 430px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.66)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.program-hero-copy {
  align-self: end;
  max-width: 720px;
}

.program-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #7d8aa0;
  text-transform: uppercase;
}

.program-title {
  margin: 0;
  font-size: clamp(44px, 6.3vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.program-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.72;
  color: #344054;
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.program-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  transition: all 0.3s ease; 
  cursor: pointer;
}

.program-button.secondary {
  background: rgba(255, 255, 255, 0.85); 
  color: #111;
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow: none;
}

.btn-icon {
  width: 18px;   
  height: auto;
  margin-left: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.program-button.secondary:hover, 
.program-button.secondary:active {
  background: #111 !important;
  color: #fff !important;
  border-color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.program-button.secondary:hover .btn-icon,
.program-button.secondary:active .btn-icon {
  filter: invert(1) brightness(2);
  transform: translateX(3px); 
}

.program-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.program-panel-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.program-panel-text {
  margin: 10px 0 0;
  color: #556070;
  line-height: 1.72;
}

.program-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.program-mini-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.program-mini-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-soft);
  color: #8a6a11;
  font-size: 13px;
  font-weight: 800;
}

.program-section {
  padding: 48px 0 0;
}

.section-label {
  margin: 0 0 14px;
  color: #7d8aa0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.program-section h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.program-section > p,
.program-lead {
  max-width: 820px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.85;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-card,
.program-stat,
.program-event-card,
.program-b2b {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.program-card {
  padding: 24px;
}

.program-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.program-card p,
.program-card li {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
  font-size: 16px;
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.program-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.program-stat {
  padding: 24px;
  min-height: 132px;
}

.program-stat strong {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.program-stat > span {
  display: block;
  margin-top: 12px;
  color: #667085;
  line-height: 1.55;
}

/* 2. 保护数字动画内部的 span 不被破坏 */
.program-stat strong span {
  display: inline-block; /* 覆盖全局的 block */
  margin-top: 0;         /* 去掉多余间距 */
  color: inherit;        /* 继承黑色的数字颜色 */
  line-height: 1;
}

/* 3. 稍微优化 strong 容器，防止底部被轻微截断 */
.program-stat strong {
  display: flex !important;
  align-items: flex-end;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  padding-bottom: 2px; /* 留一点缓冲空间给滚动的数字 */
}

.program-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 14px;
}

.program-photo {
  min-height: 210px;
  border-radius: 24px;
  background: #e8edf3 center / cover;
  overflow: hidden;
}

.program-photo.tall {
  min-height: 438px;
  grid-row: span 2;
}

.program-event-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.program-date-box {
  display: grid;
  place-items: center;
  min-height: 102px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.program-date-box span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.program-event-card h3 {
  margin: 0 0 8px;
}

.program-event-card p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.program-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.program-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: #344054;
  font-size: 13px;
}

.program-b2b {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 26px;
  background: linear-gradient(135deg, #111 0%, #243041 100%);
  color: #fff;
}

.program-b2b p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.program-faq-list {
  display: grid;
  gap: 10px;
}

.program-faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 0 18px;
}

.program-faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
}

.program-faq-item p {
  margin: 0;
  padding: 0 0 18px;
  color: #556070;
  line-height: 1.72;
}

@media (max-width: 920px) {
  .program-hero-strip,
  .program-grid.two,
  .program-event-card,
  .program-b2b {
    grid-template-columns: 1fr;
  }

  .program-stats,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-photo.tall {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .program-page {
    padding: 18px 14px 54px;
  }

  .back-link {
    top: 14px;
    left: 14px;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .program-lang {
    top: 14px;
    right: 14px;
    min-width: 52px;
    min-height: 36px;
    font-size: 13px;
  }

  .program-tabs {
    padding-top: 62px;
  }

  .program-hero-strip {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .program-title {
    font-size: 38px;
  }

  .program-subtitle,
  .program-section > p,
  .program-lead {
    font-size: 16px;
  }

  .program-actions,
  .program-b2b {
    align-items: stretch;
  }

  .program-button,
  .program-b2b .program-button {
    width: 100%;
  }

  .program-stats,
  .program-grid,
  .program-photo-grid {
    grid-template-columns: 1fr;
  }

  .program-photo.tall {
    grid-column: auto;
    min-height: 260px;
  }

  .program-event-card {
    padding: 16px;
  }
}

/* ============================ FOOTER ========================== */
.footer {
  position: relative;
  background: rgba(255, 255, 255, 0.35);
  color: #0f172a;
  margin: 30px 50px;
  padding: 22px 72px 20px;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.1) 40%,
    transparent 70%
  );
}

/* 主体布局 */
.footer-container {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, .35fr) minmax(300px, .78fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
  min-height: 220px;
}

/* 左 */
.footer-left {
  max-width: 400px;
}

.footer-address {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-contact {
  font-size: 14px;
  color: #334155;
  line-height: 1.8;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-logo {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.footer-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

/* 中 */
.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
}

.footer-middle a {
  text-decoration: none;
  color: #475569;
  font-size: 15px;
  line-height: 1.2;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-middle a:hover {
  color: #111;
  transform: translateX(4px);
}

/* 右（粒子区域） */
.footer-right {
  width: min(100%, 300px);
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: translateX(26px);
  overflow: visible;
}

#particleCanvas {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(2px);
}

/* 底部 */
.footer-bottom {
  margin-top:14px;
  border-top: 1px solid #222;
  padding-top: 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
  letter-spacing: 1px;
}

/* ================= footer social media ================== */
.footer-social {
  display: flex;
  gap: 25px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.05);
  color: #0f172a;

  transition: 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: #111;
  color: white;
}

/* ===== 小红书专属按钮 ===== */
.xhs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: none;      /* ❌ 去掉灰色 */
  width: auto;
  height: auto;
  padding: 0;
}

/* 控制图片大小 */
.xhs-btn img {
  width: 26px;   /* ⭐ 比原本大一点 */
  height: 26px;

  filter: brightness(0); /* 黑色 */

  transition: 0.3s;
}

/* hover */
.xhs-btn:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.1); /* ⭐ 微微放大 */
}

/* ===== 微信弹窗背景 ===== */
.wechat-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
}

/* ===== 弹窗盒子（就是你绿框大小）===== */
.wechat-box {
  width: 260px; /* ⭐ 控制大小 */
  padding: 20px;

  border-radius: 20px;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);

  text-align: center;

  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* 二维码 */
.wechat-box img {
  width: 100%;
  border-radius: 12px;
}

/* 名字 */
.wechat-name {
  margin-top: 12px;
  font-size: 14px;
  color: #0f172a;
}