:root {
  --text: #111;
  --sub: #777;
  --text-main: #0f172a;   /* 主文字（标题） */
  --text-sub: #475569;    /* 副文字 */
  --text-light: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Microsoft YaHei", sans-serif;
}

html, body {
  overflow-x: hidden; /* 🔥 禁止横向滚动 */
  scroll-behavior: smooth;
}

body {
  /* scroll-snap-type: y mandatory;  先关 */
  position: relative;
  background: none; 
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1; /* 在最底层 */
  background: radial-gradient(
    circle at top,
    #e0f2fe 0%,
    #f8fafc 40%,
    #e2e8f0 100%
  );
}



/* ========================= HEADER ======================= */
.header {
  position: fixed;
  top: 3px;              /* 👈 留一点空间才看得到圆角 */
  left: 50%;
  transform: translateX(-50%);

  width: 98%;
  max-width: 1600px;

  z-index: 100;
  padding: 16px 0;

  /* ❌ 去掉透明和模糊 */
  background: #ffffff;

  /* ✅ 四角圆角 */
  border-radius: 20px;

  /* ✅ 高级感阴影（很关键） */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 95%;
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 0;
  text-decoration: none;
}

.logo img:first-child { 
  height: 45px; 
  display: block;
}

.logo-text { 
  height: 45px; 
  width: 150px;
  filter: brightness(0);
  display: block;
}

/* ======================= nav ===================== */
.nav-item {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;       /* ✨ 核心修改：默认就是 700 (Bold) 状态，让字体始终加粗 */
  color: #334155;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-item:hover {
  background: rgba(26, 86, 219, 0.05); /* ✨ 悬浮时变成淡淡的蓝色透明底，更有细节感 */
  color: #1a56db;                      /* ✨ 悬浮时也顺滑地变成行知蓝 */
}

.nav-item.active {
  background: transparent !important;  /* ✨ 核心修改：去掉以前的黑色背景，改为完全透明 */
  color: #1a56db !important;           /* ✨ 核心修改：点击激活后，永久保持璀璨的行知蓝 */
  font-weight: 700 !important;         /* 确保激活时也是完美的加粗状态 */
}


/* =======================account login===================== */
.account {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-back,
.back,
.back-link {
  position: fixed;
  top: 94px;
  left: 34px;
  z-index: 10002;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #333;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.page-back:hover,
.back:hover,
.back-link:hover {
  transform: translateX(-4px);
  background: #111;
  color: #fff;
}

.page-account {
  position: fixed;
  top: 28px;
  right: 34px;
  z-index: 10002;
}

.menu-btn {
  display: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.menu-btn:hover {
  background: rgba(0,0,0,0.05);
}

.extra-btns {
  display: flex;
  gap: 10px;
}

.lang-btn,
.contact-btn,
.login-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;   /* 🔥 比 absolute 更稳 */
  top: 80px;
  right: 20px;
  z-index: 9999;     /* 🔥 一定要 */
  width: 180px;
  padding: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: 0.25s ease;
}

.mobile-menu a {
  text-decoration: none;
  color: #111;
  font-size: 14px;

  padding: 8px 10px;
  border-radius: 8px;

  transition: 0.2s;
}

.mobile-menu a:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}


/* ── LEAM Google Login 头像 ── */
.leam-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  position: relative;
}

.leam-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leam-avatar .avatar-initial {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

/* 下拉菜单 */
.leam-user-menu {
  position: absolute;
  top: 72px;
  right: 60px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 220px;
  z-index: 9999;
  border: 0.5px solid #e5e5e5;
}

.leam-menu-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #111;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leam-menu-item:hover { background: #f5f5f5; }

.leam-menu-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.leam-menu-item .item-info { display: flex; flex-direction: column; }
.leam-menu-item .item-name { font-size: 13px; font-weight: 500; color: #111; }
.leam-menu-item .item-email { font-size: 11px; color: #888; }

.leam-active-account { background: #f7f7f7; }

.leam-menu-divider {
  height: 0.5px;
  background: #efefef;
  margin: 6px 0;
}

.leam-menu-action {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.leam-menu-action:hover { background: #f5f5f5; }

.hidden { display: none !important; }


/* ======================= HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 8% 80px;
  overflow: hidden;
}

/* 照片背景层 */
.hero-bg-image {
      width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    inset: 0;
}

/* 深色渐变遮罩，左侧更深让文字清晰 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.68) 0%,
    rgba(0,0,0,0.45) 20%,
    rgba(0,0,0,0.15) 40%
  );
  z-index: 1;
}

/* 底部渐出 */
.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(248,250,252,0) 0%,
    rgba(248,250,252,0.9) 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 680px;
  text-align: left;
}

/* 顶部小标签 */
.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 54px);
  color: white;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  white-space: nowrap;
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 20px);   
  color: rgba(255, 255, 255, 0.95);     
  font-weight: 600;                     
  line-height: 1.6;
  margin-bottom: 12px;                                   
}

/* 2. 详细描述 (Description) */
.hero-desc-2 {
  font-size: clamp(14px, 1.5vw, 17px);   
  color: rgba(255, 255, 255, 0.78);     
  line-height: 1.75;                    
  margin-bottom: 40px;                                  
  max-width: 720px;                    
  margin-left: auto;                   
  margin-right: auto;
}

/* ── 按钮组 ── */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-btn-primary {
  background: white;
  color: #0f172a;
  border: 1px solid white;
}

.hero-btn-primary:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-2px);
}

.hero-btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ── 手机响应式 ── */
@media (max-width: 768px) {
  .hero {
    padding: 110px 20px 80px;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero::after {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.3) 60%,
      rgba(0,0,0,0.1) 100%
    );
  }

  .hero-pillars {
    flex-direction: column;
    border-radius: 14px;
  }

  .hero-pillar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 14px 18px;
  }

  .hero-pillar:last-child {
    border-bottom: none;
  }

  .hero-actions {
    justify-content: center;
  }
}


/* ======================= 动画 & 控制 ===================== */
.page {
  overflow-x: hidden;
}

main {
  scroll-behavior: smooth;
}

.main-content {
  position: relative;
  z-index: 2;
}

/* ======================= SECTION ===================== */
.section {
  scroll-margin-top: 7px;
  min-height: 100vh;
  padding: 120px 8%;
  scroll-snap-align: start;
  padding-top: 120px;
  text-align: center;
  font-size: 28px;
}

/* =======================公司理念简介===================== */
.philosophy {
  padding: 48px 8% 96px;
  min-height: 48vh;
  position: relative;
  overflow: hidden;
}

#philosophy {
  scroll-margin-top: 92px;
}

/* 左右布局 */
.philosophy-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  padding-top: 24px;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* 左边文字 */
.philosophy-left {
  max-width: 660px;
  width: 100%;
  margin-top: 0;
}

.philosophy-left h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .95;
  margin-bottom: 30px;
  transform: none;
  letter-spacing: 0;
}

.philosophy-kicker {
  display: inline-flex;
  margin-bottom: 22px !important;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, .11);
  color: #075985 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  transform: none !important;
}

.philosophy-left p {
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.9;
  color: #000000;
  transform: none;
  margin-bottom: 14px;
}

.philosophy-visual {
  display: grid;
  gap: 14px;
  align-self: stretch;
  align-content: center;
}

.philosophy-card {
  position: relative;
  padding: 24px 26px;
  border-radius: 22px;
  background: rgba(251, 245, 221, 0.86);
  border: 1px solid rgba(230, 190, 92, .32);
  box-shadow: 0 18px 48px rgba(148, 115, 42, .12);
  backdrop-filter: blur(18px);
}

.philosophy-card.main {
  background: rgba(255, 246, 216, 0.96);
  color: #111;
  transform: translateX(-28px);
}

.philosophy-card:nth-child(2) {
  transform: translateX(18px);
}

.philosophy-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #8aa0bd;
  font-size: 12px;
  letter-spacing: .18em;
}

.philosophy-card strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.philosophy-card p {
  margin: 0;
  color: inherit;
  opacity: .72;
  line-height: 1.7;
  font-size: 14px;
}

.card-content {
  text-align: center;
}

.tag {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 2px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
}

.philosophy-btn-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 38px 0 18px;
}

.about-btn {
  min-width: 126px;
  text-align: center;
  min-height: 44px;
  padding: 11px 22px;
  font-size: 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: #111;
  border: 1px solid rgba(15,23,42,0.1);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.about-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,.16);
  
  background: #111;
  color: #fff;
  border-color: #111;
}

@media (max-width: 640px) {
  .philosophy-btn-wrap {
    padding: 64px 18px 48px;
    gap: 12px;
  }

  .about-btn {
    flex: 1 1 130px;
    max-width: 190px;
  }
}

/* ======================= 合作条 ===================== */
.partners {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin-top: 0; 
}

.partners::before,
.partners::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-title {
  display: block !important;
  width: 100% !important;
  text-align: center !important;  /* 👈 强制文字水平居中 */
  margin: 0 auto 30px auto !important; /* 👈 居中对齐，并留出下方 30px 间距给 Logo */
  clear: both !important;         /* 👈 清除所有可能来自上方的浮动影响 */
  
  /* 如果字体颜色由于之前的深色表单变成了白色，这里可以强制改回原本的深蓝/黑色 */
  color: #0f172a !important;     
  font-size: 32px !important;     /* 保持原本大标题字号 */
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* 确保跑马灯轨道不会因为上方的布局变动而往上贴 */
.partners-track {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0 !important;
}

.partners-track {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}

.partners-slide {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* logo样式 */
.partner-logo {
  height: 100px;     /* 保持不变（决定布局高度） */
  width: auto;
  transform: scale(1.8);   /* 👈 放大视觉 */
  transform-origin: center;

  opacity: 0.6;
  transition: 0.3s;
}

/* hover效果 */
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* hover暂停 */
.partners-track:hover .partners-slide {
  animation-play-state: paused;
}

/* 滚动动画 */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ======================= 核心项目（卡片展开）===================== */
.core-programs-section {
  padding: 80px 5% 100px;
  text-align: center;
  position: relative;
}

#features {
  scroll-margin-top: 92px;
}

.core-section-header {
  margin-bottom: 48px;
}

.core-section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 300;
}

.core-section-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.core-cards-grid {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* ── 单张卡片 ── */
.core-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  height: 520px;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.core-card:hover {
  flex: 2.2;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* ── 背景图层 ── */
.core-card-bg {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.6s ease;
}

.core-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.core-card-glass {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.core-card:hover .core-card-bg {
  transform: scale(1.04);
}

/* ── 遮罩层：让图片上半部分完全显露，下半部分过渡到纯白 ── */
.core-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,       /* 顶部完全透明 */
    rgba(255, 255, 255, 0) 45%,      /* 延伸透明区域，露出更多照片 */
    rgba(255, 255, 255, 0.85) 75%,   /* 开始变白 */
    rgba(255, 255, 255, 1) 100%      /* 底部纯白 */
  );
  transition: background 0.4s ease;
}

/* 悬浮时白底稍微向上延伸，确保展开的文字能看清 */
.core-card:hover .core-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.95) 75%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* ── 底部内容区：去掉原本的半透明背景，直接依赖上方的白底 ── */
.core-card-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: none;             /* 去除背景 */
  backdrop-filter: none;        /* 去除模糊，保持干净 */
  transition: padding 0.4s ease;
}

.core-card:hover .core-card-glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── 编号 ── */
.core-card-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #94a3b8;               /* 浅灰蓝色，不抢视觉 */
  margin-bottom: 8px;
}

/* ── 项目名 ── */
.core-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;               /* 深灰黑色，极高对比度 */
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  text-shadow: none;            /* 去除原先的黑色阴影 */
}

/* ── 副标题 ── */
.core-card-sub {
  font-size: 12px;
  font-weight: 500;
  color: #475569;               /* 中度灰色 */
  line-height: 1.5;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

/* ── 悬浮时展开的说明文字 ── */
.core-card-desc {
  font-size: 12px;
  font-weight: 400;
  color: #334155;               /* 易读的正文灰 */
  line-height: 1.7;
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.1s, margin-top 0.3s ease;
}

/* ── 受众标签 ── */
.core-card-tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  background-color: rgba(15, 23, 42, 0.06); /* 淡灰背景 */
  color: #0f172a;                           /* 深色字 */
  border: 0.5px solid rgba(15, 23, 42, 0.12);
  margin-top: 12px;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

/* ── 右上角箭头 (因为图片可能深浅不一，给箭头加个磨砂玻璃白底，确保随时可见) ── */
.core-card-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.7);     /* 半透明白底 */
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.core-card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #0f172a;                          /* 黑色线条 */
  stroke-width: 2;
  fill: none;
}

.core-card:hover .core-card-arrow {
  opacity: 1;
  transform: scale(1);
}

/* ── 鼠标悬浮时：让说明文字长高并显示出来 ── */
.core-card:hover .core-card-desc {
  max-height: 150px;  /* 给足够的高度让文字完整展开 */
  opacity: 1;         /* 让文字从透明变成完全可见 */
}

/* ── 鼠标悬浮时：让底部的标签浮现 ── */
.core-card:hover .core-card-tag {
  opacity: 1;
  transform: translateY(0); /* 归位动画，原本是偏下 4px */
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .core-cards-grid {
    flex-direction: column;
    height: auto;
  }

  .core-card {
    height: 220px;
    flex: none;
  }

  .core-card:hover {
    flex: none;
    transform: none;
  }
}

/* ======================= 胶囊（保留备用）===================== */
.features-section {
  text-align: center;
  position: relative;
}

.features-section h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 40px 120px;
}

.feature-card {
  width: 180px;
  height: 450px;
  border-radius: 100px;
  transform: translateY(0px);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.08),
    0 4px 12px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.15),
    0 10px 25px rgba(0,0,0,0.08);
}

.feature-card.active {
  transform: scale(1.2);
  z-index: 10;
}

.overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10000;          /* ← 确保比 feature-card 高 */
}

.overlay.show .overlay-text {
  opacity: 1;
  transform: translateY(0) !important;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

.overlay-text {
  position: relative;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  color: white;
  font-size: 22px;
  text-align: center;
  width: min(760px, calc(100vw - 48px));
  max-width: 760px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(30px);
  background: rgba(17,17,17,.72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 38px 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  transition: all 0.3s ease;
}

.overlay-text h3 {
  margin: 10px 0 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.overlay-text p {
  margin: 0;
  line-height: 1.85;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.45vw, 21px);
}

.feature-modal-tag {
  display: inline-flex;
  color: rgba(255,255,255,.62);
  letter-spacing: .16em;
  font-size: 12px;
}

.overlay-text a {
  display: inline-flex;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 16px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  margin-bottom: 15px;
}



/* logo */
.partners-slide img {
  height: 40px;
  opacity: 0.6;
  transition: 0.3s;
}

/* hover 高亮 */
.partners-slide img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* hover 整个暂停 */
.partners-track:hover .partners-slide {
  animation-play-state: paused;
}

/* 动画 */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ======================= 官方新闻 三栏 =================== */
.news-hub {
  padding: 72px 5% 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.news-hub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 1px solid #e8ecf0;
  padding-bottom: 18px;
}

.news-hub-label {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.news-hub-viewall {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.news-hub-viewall:hover { color: #0f172a; }

/* 三栏网格 */
.news-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0;
}

/* 每栏 */
.news-col {
  padding: 0 28px;
  border-right: 1px solid #e8ecf0;
}
.news-col:first-child { padding-left: 0; }
.news-col:last-child { padding-right: 0; border-right: none; }

.news-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0f172a;
}

.news-col-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-col-more {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.news-col-more:hover { color: #0f172a; }

.news-col-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── 来临活动 items ── */
.news-event-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.2s;
  border-radius: 8px;
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
}
.news-event-item:hover { background: #f8fafc; }
.news-event-item:last-child { border-bottom: none; }

.news-event-img {
  flex: 0 0 72px;
  width: 72px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}
.news-event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.news-event-date {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.news-event-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  margin: 0;
}

.news-event-loc {
  font-size: 13px;
  color: #64748b;
}

/* ── 新闻资讯 items ── */
.news-article-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  align-items: flex-start;
  border-radius: 8px;
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
  transition: background 0.2s;
}
.news-article-item:hover { background: #f8fafc; }
.news-article-item:last-child { border-bottom: none; }

.news-article-img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}
.news-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-article-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0284c7;
  text-transform: uppercase;
}

.news-article-title {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-date {
  font-size: 11px;
  color: #94a3b8;
}

/* ── 行知影集 video items ── */
.news-videos {
  gap: 10px;
}

.news-video-item {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.news-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
}
.news-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}
.news-video-item:hover .news-video-thumb img {
  opacity: 0.7;
  transform: scale(1.04);
}

.news-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s;
}
.news-video-item:hover .news-video-play {
  background: rgba(0,0,0,0.45);
}

/* ── 视频弹窗 ── */
.news-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  backdrop-filter: blur(8px);
}
.news-video-modal.open {
  display: flex;
}
.news-video-modal-inner {
  position: relative;
  width: min(860px, 92vw);
  aspect-ratio: 16 / 9;
}
.news-video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
.news-video-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.news-video-close:hover { opacity: 1; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .news-hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }
  .news-col--mid {
    grid-column: 1 / -1;
    padding: 0;
    border-right: none;
    border-top: 1px solid #e8ecf0;
    padding-top: 28px;
  }
  .news-col:first-child { border-right: 1px solid #e8ecf0; }
  .news-col:last-child { padding-left: 28px; }
}

@media (max-width: 640px) {
  .news-hub { padding: 48px 20px 60px; }
  .news-hub-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .news-col {
    padding: 24px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid #e8ecf0;
  }
  .news-col:last-child { border-bottom: none; }
  .news-col--mid { border-top: none !important; padding-top: 0 !important; }
}

/* ======================= 旧events类保留（备用）=================== */
.section-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* 左右两栏 */
.events-layout {
  display: flex;
  align-items: center;
  gap: 0;
}

/* 左：卡片轨道容器 */
.event-viewport {
  flex: 0 0 65%;
  overflow: hidden;
  padding: 80px 0;
  position: relative;
}

/* 卡片横向轨道 */
.event-track {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 每张卡片 */
.event-item {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.4;
  transform: scale(0.82);
  filter: blur(1px);
}

.event-item.active {
  opacity: 1;
  transform: scale(1.4);
  filter: blur(0px);
}

.event-item .event-info {
  filter: blur(0px);        /* ← 文字保持清晰 */
  opacity: 3;             /* 稍微淡一点就好 */
}

.event-card {
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: #ccc;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-info {
  margin-top: 14px;
}

.event-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #111;
}

.event-info p {
  font-size: 12px;
  color: #888;
}

/* 右：活动简介 */
.event-detail {
  flex: 0 0 35%;
  padding: 0 60px 0 40px;
  border-left: 1px solid #e5e5e5;
  align-self: center;        /* ← 加这行，让右边内容垂直居中 */
}

.detail-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.detail-title {
  font-size: 27px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  margin-bottom: 10px;
}

.detail-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* 导航点 */
.detail-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 100px;
}

.event-more-hint {
  margin-left: 8px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.dot.active {
  width: 22px;
  border-radius: 3px;
  background: #222;
}

.event-btn {
  padding: 8px 18px;              /* 🔥 变小 */
  font-size: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);   /* ❗轻背景 */
  color: #111;
  border: 1px solid rgba(0,0,0,0.1);
  text-decoration: none;
  transition: all 0.25s ease;
}

.event-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}


/* ======================= MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  z-index: 10000;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
}

.hidden { display: none; }

/* ======================= CAROUSEL =================== */

.gallery-section {
  overflow: hidden;
  padding-top: 30px; /* 往下推，避免滚动卡住 */
}

/* ======================= Carousel nav buttons ===================== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.carousel-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  transition: background 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
  z-index: 20;
  user-select: none;
}

.carousel-nav:hover {
  background: #111;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.carousel-nav:active {
  transform: scale(0.96);
}

@media (max-width: 768px) {
  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .gallery-section {
    padding-top: 120px;
  }
}

.carousel {
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 30px;
  padding: 60px 0;
  transition: transform 0.6s ease;
  will-change: transform;
}

/*======================== 卡片 ========================*/
.card {
  width: 480px;
  height: 255px;
  flex: 0 0 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  opacity: 0.4;
  transition: all 0.4s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 中间卡片 */
.card.active {
  transform: scale(1.45);
  opacity: 1;
  z-index: 10;
  box-shadow: 
  0 0 40px rgba(0,0,0,0.4),
  0 20px 70px rgba(0,0,0,0.5);
}

/* ================即将来临============== */
.card.coming {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; 
  color: #111;
  border-radius: 20px;
  border: none;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    0 2px 10px rgba(0,0,0,0.06);

  transition: all 0.4s ease;
}

.coming-text {
  font-size: 20px;
  letter-spacing: 6px;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  /* 统一字体 */
  font-family: "Poppins", "Microsoft YaHei", sans-serif;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.video-content {
  width: 70%;
  max-width: 900px;
  position: relative;
}

.video-content iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ========================展开更多视频“按钮====================*/
.view-all-wrapper {
  margin-top: 80px; /* 🔥 稍微收紧间距 */
  display: flex;
  justify-content: center;
}

.view-all-btn {
  padding: 8px 18px;              /* 🔥 变小 */
  font-size: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);   /* ❗轻背景 */
  color: #111;
  border: 1px solid rgba(0,0,0,0.1);
  text-decoration: none;
  transition: all 0.25s ease;
}

/* hover 动效 */
.view-all-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.gallery-section {
  position: relative;
}
.gallery-title-overlay {
  opacity: 0.1;
  transition: opacity 0.5s ease;
}

/* ==============右侧电影标题================ */
.gallery-title-overlay {
  position: absolute;
  right: 10%;
  top: 55%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  color: rgba(8, 8, 8, 0.719); /* 🔥 很淡 */
  pointer-events: none;
  text-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 阴影感 */
}


/* ============================ 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;
}

/* =========================🔥 RESPONSIVE ========================= */
@media (max-width: 1024px) {

  .header {
    width: 96%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .feature-card {
    height: 400px;
  }

  .philosophy-container {
    grid-template-columns: 1fr;
  }

  .philosophy-left {
    max-width: 820px;
  }

  .philosophy-visual {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .philosophy-card,
  .philosophy-card.main,
  .philosophy-card:nth-child(2) {
    transform: none;
  }

  .card {
    width: 380px;
    flex: 0 0 380px;
  }

}

/* =========================手机========================= */

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .header-inner {grid-template-columns: auto auto; gap: 10px;}
  .nav {display: none;}
  .logo img {height: 40px;}
  .account {gap: 6px;}
  .lang-btn,
  .contact-btn,
  .login-btn {padding: 6px 10px; font-size: 12px;}

  .page-back,
  .back,
  .back-link {
    top: 34px;
    left: 14px;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .page-account {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  /* ===== HERO ===== */
  .hero {padding: 110px 20px 64px;}
  .hero-content {padding: 0; max-width: 100%;}
  .hero h1 {font-size: 26px; line-height: 1.3;}
  .hero p {font-size: 14px;}
  .hero-video {object-position: center 35%;}
  .hero-btn {padding: 10px 18px;font-size: 14px;}

  /* ===== 手机FEATURES 横滑 ===== */
  .features {overflow-x: auto; padding: 80px 20px; gap: 16px; scroll-snap-type: x mandatory;}
  .feature-card {flex: 0 0 70%; height: 360px; scroll-snap-align: center;}

  /* ===== 手机OVERLAY（重点修复）===== */
  @media (max-width: 768px) {
  .overlay-text {
    transform: translateY(30px);
    width: min(92vw, 560px);
    font-size: 16px;
    padding: 24px 22px;
    opacity: 0;          
  }
}

  .card {width: 80vw; height: 180px; flex: 0 0 80vw;}
  .card.active { transform: scale(1.1);}

  /* ===== 手机FOOTER ===== */
  .footer-container {grid-template-columns: 1fr; gap: 18px; min-height: auto;}
  .footer-middle {width: 100%; display: flex; flex-wrap: wrap; gap: 9px 18px;}
  .footer-middle a {text-align: left; padding: 0; font-size: 13px;}
  .footer-right {width: 100%; height: 190px; transform: none; justify-content: center;}
  .footer {padding: 42px 20px 20px;}
  .footer {margin: 20px 14px;padding: 30px 20px 18px;border-radius: 18px;}
  .footer-logo {font-size: 22px;line-height: 1.35;}
  .footer-social {gap: 14px;flex-wrap: wrap;}
  .footer-bottom {line-height: 1.7;letter-spacing: 0;}

}

/* =========================小手机========================= */
@media (max-width: 768px) {

  .nav {display: none; /* ❌ 隐藏原菜单 */}
  .menu-btn { display: block; /* ✅ 显示 ☰ */}
  .header-inner {grid-template-columns: auto 1fr auto;}

  /* 👉 中间 logo 居中 */
  .logo {justify-self: center;}

  /* 👉 只保留 login */
  .lang-btn,
  .contact-btn {display: none;}

}

/* =========================手机&平板 - 核心项目 + 来临活动========================= */
/* 平板（768px - 1024px）核心项目：2列网格 */
@media (max-width: 1024px) {
  .features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 40px 80px;
  }

  .feature-card {
    width: 160px;
    height: 380px;
  }

  .philosophy {
    padding: 64px 22px 64px;
    min-height: auto;
  }

  .philosophy-container {
    padding-top: 12px;
    gap: 28px;
  }

  .philosophy-left h2 {
    font-size: 40px;
  }

  .philosophy-visual {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .philosophy-card {
    padding: 18px 20px;
    border-radius: 18px;
  }

  /* 来临活动：改为上下布局 */
  .events-layout {
    flex-direction: column;
    gap: 40px;
  }

  .event-viewport {
    flex: none;
    width: 100%;
    padding: 40px 0;
  }

  .event-detail {
    flex: none;
    width: 100%;
    padding: 0 40px 40px;
    border-left: none;
    border-top: 1px solid #e5e5e5;
    padding-top: 32px;
    text-align: center;
  }

  .detail-dots {
    justify-content: center;
  }
}

/* 手机（max 768px）核心项目：从下到上垂直排列 */
@media (max-width: 768px) {

  /* 核心项目：垂直排列，从下到上（flex-direction column-reverse） */
  .features {
    flex-direction: column-reverse;
    align-items: center;
    overflow-x: visible;
    gap: 14px;
    padding: 20px 20px 60px;
    scroll-snap-type: none;
  }

  .feature-card {
    width: 85%;
    max-width: 320px;
    height: 90px;           /* 手机改成横向扁胶囊 */
    border-radius: 999px;
    flex: none;
    scroll-snap-align: none;
  }

  .feature-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  /* 来临活动：单栏 */
  .events-layout {
    flex-direction: column;
    gap: 0;
  }

  .event-viewport {
    flex: none;
    width: 100%;
    padding: 40px 0 20px;
  }

  .event-detail {
    flex: none;
    width: 100%;
    padding: 24px 24px 40px;
    border-left: none;
    border-top: 1px solid #e5e5e5;
    text-align: center;
  }

  .detail-title {
    font-size: 20px;
  }

  .detail-dots {
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  /* 来临活动卡片缩小适应手机 */
  .event-card {
    width: 180px;
  }

  .event-item.active {
    transform: scale(1.15);
  }
}

/* Stable partnership logo strip for CMS-added logos */
.partners-slide {
  gap: 0;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 0 0 auto;
  padding-right: 34px;
}

.partner-logo-slot {
  width: 112px;
  height: 92px;
  flex: 0 0 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-slide .partner-logo {
  width: auto;
  height: auto;
  max-width: 124px;
  max-height: 74px;
  object-fit: contain;
  opacity: 0.66;
  transform: none;
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.partners-slide .partner-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ===== Impact Snapshot (from edufair) ===== */
.program-section {
  padding: 48px 60px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.program-title {
  text-align: center;                  
  font-size: clamp(32px, 4vw, 40px);   
  font-weight: 700;
  color: #0F172A;                     
  margin-bottom: 40px;                
  letter-spacing: -0.02em;
}

.section-label {
  margin: 0 0 14px;
  color: #7d8aa0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.program-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.program-stat {
  padding: 24px;
  min-height: 132px;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 24px;
  background: var(--card, #fff);
  box-shadow: 0 18px 46px rgba(15,23,42,0.06);
}

.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; /* 留一点缓冲空间给滚动的数字 */
}

@media (max-width: 768px) {
  .program-section {
    padding: 32px 20px 0;
  }
  .program-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ===== Stat card icon (完美滤镜变色版) ===== */
.program-stat {
  position: relative;
  overflow: hidden;
}

.stat-icon {
  position: absolute;
  bottom: 46px;
  right: 36px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  /* ✨ 透明度调高一点点，让彩色更明显 */
  opacity: 0.55; 
  pointer-events: none;
}

/* ── 🎨 魔法滤镜：不管你的 PNG 原图是什么颜色，都会被精准转换为行知主题色 ── */

/* 亮丽行知蓝 (#1a56db) */
.icon-blue {
  filter: brightness(0) saturate(100%) invert(26%) sepia(99%) saturate(1915%) hue-rotate(213deg) brightness(91%) contrast(97%);
}

/* 清新翠绿色 (#16a34a) */
.icon-green {
  filter: brightness(0) saturate(100%) invert(48%) sepia(77%) saturate(457%) hue-rotate(93deg) brightness(94%) contrast(94%);
}

/* 活力暖橙色 (#ea580c) */
.icon-orange {
  filter: brightness(0) saturate(100%) invert(39%) sepia(65%) saturate(2502%) hue-rotate(352deg) brightness(95%) contrast(95%);
}

/* 优雅深紫色 (#9333ea) */
.icon-purple {
  filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(3025%) hue-rotate(263deg) brightness(96%) contrast(95%);
}

/* ========================= 联系我们 Contact Form ========================= */
.ic-section {
  width: 100%;
  padding-bottom: 30px !important;
}

/* ── 联系我们卡片主体 (控制宽度和外边距) ── */
.ic-card {
  width: 98%;
  max-width: 1600px;
  margin: 0 auto 20px auto !important;
  box-sizing: border-box;
}

/* ── 让表单内部的输入框排版更好看 (可选) ── */
.ic-row {
  display: flex;
  gap: 20px;
}
.ic-row .ic-field {
  flex: 1; /* 平分宽度 */
}

/* ── 顶部标题区 ── */
.ic-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ic-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ic-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.ic-tag {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── 整体表单布局（所有字段横排）── */
#inlineContactForm {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.ic-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
  min-width: 0;
}

/* 邮件字段稍宽 */
#inlineContactForm > .ic-field {
  flex: 1.5 1 180px;
}

.ic-field label {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.ic-req {
  color: #ef4444;
}

.ic-field input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.ic-field input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: #fff;
}

.ic-err {
  font-size: 11px;
  color: #ef4444;
  display: none;
  margin: 0;
}

/* ── 提交按钮（自动对齐底部）── */
.ic-btn {
  align-self: flex-end;
  height: 38px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ic-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* ── loading spinner ── */
.ic-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ic-spin 0.7s linear infinite;
  display: none;
}

@keyframes ic-spin {
  to { transform: rotate(360deg); }
}

/* ── 成功提示 ── */
.ic-success {
  display: none;
  text-align: center;
  padding: 20px 0 4px;
}

.ic-success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ic-success h3 {
  font-size: 16px;
  color: #0f172a;
  margin: 0 0 6px;
}

.ic-success p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 10px;
}

.ic-email-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
}

/* ── 手机：改回竖排 ── */
@media (max-width: 640px) {
  .ic-card {
    padding: 22px 18px;
  }

  .ic-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ic-tag {
    margin-left: 0;
  }

  #inlineContactForm {
    flex-direction: column;
  }

  .ic-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .ic-row .ic-field,
  #inlineContactForm > .ic-field {
    flex: none;
    width: 100%;
  }

  .ic-btn {
    width: 100%;
    justify-content: center;
    height: 42px;
  }
}

/* ==========================================================================
   全新联系我们 (独立样式，防冲突)
   ========================================================================== */

/* 外部区块：控制上下间距 */
/* ══════════════════════════════════════════════════════════════
   联系我们 Contact Form  —  重新设计版
   ══════════════════════════════════════════════════════════════ */
.nw-section {
  width: 100%;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

/* 外框：白底圆角卡片，两栏布局 */
.nw-container {
  width: 92%;
  max-width: 1160px;
  display: flex;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.10), 0 4px 16px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

/* ── 左栏：深色品牌区 ── */
.nw-info-col {
  flex: 0 0 380px;
  background: linear-gradient(155deg, #0f172a 0%, #1a2744 60%, #162038 100%);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* 装饰圆圈 */
.nw-info-col::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top: -80px;
  right: -80px;
  pointer-events: none;
}
.nw-info-col::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  bottom: -60px;
  left: -40px;
  pointer-events: none;
}

.nw-info-top { position: relative; z-index: 1; }
.nw-info-bottom { position: relative; z-index: 1; }

.nw-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(99, 179, 237, 0.12);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  margin-bottom: 24px;
  width: max-content;
}

.nw-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.nw-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

/* 底部联系信息 */
.nw-contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

.nw-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nw-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: #93c5fd;
}

.nw-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.nw-contact-value {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* ── 右栏：表单区 ── */
.nw-form-col {
  flex: 1;
  background: #ffffff;
  padding: 52px 52px 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nw-form-heading {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.nw-form-subheading {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
}

.nw-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nw-row {
  display: flex;
  gap: 20px;
}

.nw-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.nw-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 8px;
}

.nw-req {
  color: #f87171;
  margin-left: 3px;
}

.nw-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.nw-field input::placeholder {
  color: #b0bec5;
}

.nw-field input:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.nw-field input:focus {
  border-color: #1a56db;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.08);
}

/* 错误提示 */
.nw-err {
  display: none;
  color: #ef4444;
  font-size: 11px;
  font-weight: 500;
  margin-top: 5px;
}

/* 提交按钮 */
.nw-btn {
  margin-top: 4px;
  padding: 15px 32px;
  background: #1a56db;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.28);
  align-self: flex-start;
  min-width: 120px;
}

.nw-btn:hover {
  background: #1e429f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.36);
}

.nw-btn:active {
  transform: translateY(0);
}

/* Loading spinner */
.nw-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nw-spin 0.8s linear infinite;
  display: none;
}

@keyframes nw-spin {
  to { transform: rotate(360deg); }
}

/* 成功提示 */
.nw-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}

.nw-success-icon {
  width: 52px;
  height: 52px;
  font-size: 24px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.28);
}

.nw-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.nw-success p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.nw-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1a56db;
  margin-top: 4px;
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .nw-container {
    flex-direction: column;
    border-radius: 20px;
  }
  .nw-info-col {
    flex: none;
    padding: 40px 32px;
  }
  .nw-contact-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }
  .nw-form-col {
    padding: 36px 28px;
  }
}

@media (max-width: 600px) {
  .nw-section { padding: 32px 0; }
  .nw-container { width: 94%; border-radius: 18px; }
  .nw-info-col { padding: 32px 24px; }
  .nw-title { font-size: 28px; }
  .nw-form-col { padding: 28px 20px; }
  .nw-row { flex-direction: column; gap: 22px; }
  .nw-btn { align-self: stretch; justify-content: center; }
  .nw-err { position: relative; bottom: 0; }
}

/* ==========================================================================
   侧边目录
   ========================================================================== */
.sides-toc-right {
  position: fixed;
  top: 100px;          /* 距离顶部高度，避开 header */
  right: 20px;         /* 稍微往右边靠一点（从40px改到20px），放大时更不容易挡住正文 */
  z-index: 999;

  /* 默认隐藏，滚动到第一个目录区块才显示 */
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  
  width: 160px;        /* 稍微收窄一点点，提高兼容性 */
  padding: 16px;
  
  /* 现代高级感：白色半透明毛玻璃背景 */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* 柔和阴影与圆角 */
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  
  display: flex;
  flex-direction: column;
  gap: 12px;           /* 每一项的间距 */
}

/* 目录出现状态（滚动到第一个区块后触发） */
.sides-toc-right.toc-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* 目录标题 */
.tocs-title {
  font-size: 13px;     
  font-weight: 700;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 6px;
}

/* 目录的每一个链接 */
.tocs-item {
  font-size: 14px;     /* 稍微微调到 14px，让整体更精致 */
  color: #444;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  display: block;
}

/* 鼠标悬浮时的效果 */
.tocs-item:hover {
  color: #1a56db;      /* 悬浮时变蓝色 */
  font-weight: 600;
  transform: translateX(4px); /* 轻轻往右挪一点点 */
}

.tocs-item.active {
  color: #1a56db !important;       /* 强行变成行知主品牌蓝 */
  font-weight: 700 !important;     /* 字体加粗，更有重点 */
  transform: translateX(4px);      /* 保持微微向右突出的活跃感 */
  position: relative;
}

.tocs-item.active::before {
  content: "•";
  color: #1a56db;
  font-size: 16px;
  position: absolute;
  left: -10px;
  top: -1px;
}