/* ==================================================================
   主页（landing）— 与站内共用同一份样式表
   主页专属变量与规则全部用 html.landing 作用域，不会影响站内页面。
   ================================================================== */
html.landing {
  --bg: #f7f5fb;
  --bg-alt: #efeaf8;
  --card: #ffffff;
  --border: #ddd3ee;
  --line: #e6ddf3;
  --ink: #2f2640;
  --body: #4b4260;
  --sub: #8a8096;
  --purple-deep: #4a2f80;
  --purple-darker: #4d3590;
  --purple-line: #e4dcfb;
  --gold: #d9bb5a;
  --gold-light: #efdfa1;
  --gold-dark: #b5923c;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --maxw: min(1720px, 93vw);
  --radius: 2px;
  --shadow: 4px 4px 0 rgba(74, 47, 128, 0.12);
  --shadow-hover: 7px 7px 0 rgba(74, 47, 128, 0.16);
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-width: none;
}
html.landing::-webkit-scrollbar,
html.landing body::-webkit-scrollbar { width: 0; height: 0; display: none; }
html.landing body { scrollbar-width: none; }
html.landing body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: clip;
}
:where(html.landing) a { color: inherit; text-decoration: none; }
:where(html.landing) a:hover { color: inherit; }
/* ============ 顶栏 ============ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-nav.solid {
  background: rgba(247, 245, 251, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 22px rgba(60, 40, 100, 0.06);
  transform: translateZ(0);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 26px; display: flex; align-items: center; gap: 26px; }
.nav-brand { display: flex; align-items: center; gap: 12px; line-height: 1.15; white-space: nowrap; }
.nav-lockup { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: -30px; }
.nav-logo, .nav-word { height: clamp(30px, 3.4vw, 42px); width: auto; flex: none; object-fit: contain; background: none; filter: drop-shadow(0 2px 8px rgba(20,10,40,.35)); }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-mark { font-family: var(--sans); font-weight: 800; font-size: 21px; letter-spacing: .5px; color: #fff; transition: color .35s; }
.nav-mark .dash { color: var(--purple-soft); margin: 0 1px; }
.nav-sub { font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,.72); transition: color .35s; }
.nav-dot { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--gold)); flex: none; }
html.landing .nav-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
html.landing .nav-login { font-size: 14.5px; color: rgba(255,255,255,.86); transition: color .35s, background .2s; }
html.landing .nav-login:hover { color: #fff; }
html.landing .site-nav.solid .nav-login { color: var(--sub); }
html.landing .site-nav.solid .nav-login:hover { color: var(--purple); }
.nav-user { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.9); transition: color .35s; }
.site-nav.solid .nav-user { color: var(--purple-deep); }
.nav-signup { font-size: 14.5px; font-weight: 600; padding: 8px 2px; background: transparent; border: none; color: var(--gold); transition: color .2s; }
.nav-signup:hover { color: var(--gold-light); }
.site-nav.solid .nav-signup { color: var(--gold-dark); }
.site-nav.solid .nav-signup:hover { color: var(--gold); }
.nav-cta-sm { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 3px; border: 1px solid rgba(255,255,255,.5); color: #fff; transition: all .2s; }
.nav-cta-sm:hover { background: rgba(255,255,255,.14); }
.site-nav.solid .nav-cta-sm { background: var(--gold); border-color: var(--gold); color: #3b2450; }
.site-nav.solid .nav-mark { color: var(--purple-deep); }
.site-nav.solid .nav-mark .dash { color: var(--purple); }
.site-nav.solid .nav-sub { color: var(--sub); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14.5px; padding: 7px 14px; border-radius: 3px; color: rgba(255,255,255,.86); transition: all .2s; }
.nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.site-nav.solid .nav-links a { color: var(--sub); }
.site-nav.solid .nav-links a:hover { background: var(--purple-soft); color: var(--purple); }
.nav-enter { font-size: 14px; font-weight: 600; white-space: nowrap; padding: 8px 18px; border-radius: 3px; border: 1px solid rgba(255,255,255,.5); color: #fff; transition: all .2s; }
.nav-enter:hover { background: var(--card); border-color: #fff; color: var(--purple-dark); }
.site-nav.solid .nav-enter { background: var(--gold); border-color: var(--gold); color: #3b2450; }
.site-nav.solid .nav-enter:hover { background: var(--gold-light); border-color: var(--gold-light); color: #3b2450; }

/* ============ Hero ============ */
html.landing .hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 108px 26px 118px; overflow: hidden; background: var(--purple-deep); }
.hero-bg { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease, transform 8s ease; transform: scale(1.06); }
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-slide.slide-plate { background: var(--purple-deep); }
.hero-njuline { position: absolute; right: 3%; bottom: 15%; width: min(660px, 56vw); height: auto; opacity: .92; pointer-events: none; filter: drop-shadow(0 8px 34px rgba(20,10,40,.35)); }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(56,34,108,.68) 0%, rgba(56,34,108,.42) 46%, rgba(56,34,108,.14) 100%); }
.hero-tint::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(56,34,108,.34) 0%, transparent 26%, transparent 74%, rgba(56,34,108,.22) 100%); }
.hero-content { position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--purple-soft); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.28); }
html.landing .hero-title { font-family: var(--sans); font-weight: 600; font-size: clamp(38px, 6.1vw, 74px); line-height: 1.12; letter-spacing: 1px; color: rgba(255,255,255,.94); text-shadow: 0 3px 22px rgba(0,0,0,.22); margin-bottom: 18px; }
.hero-en { font-size: clamp(11px, 1.5vw, 15px); letter-spacing: 6px; color: rgba(255,255,255,.66); margin-bottom: 26px; }
.hero-tagline { font-family: var(--sans); font-size: clamp(18px, 2.6vw, 26px); color: #f3ecff; letter-spacing: 3px; margin-bottom: 30px; }
.hero-motto { display: inline-block; font-family: var(--serif); font-size: clamp(15px, 2vw, 20px); letter-spacing: 6px; color: #efe7ff; padding: 4px 0; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; font-weight: 700; padding: 13px 30px; border-radius: 3px; font-size: 15px;   box-shadow: 0 10px 26px rgba(217,187,90,.4); transition: all .2s; }
.btn-primary:hover { background: var(--gold-light); transform: translate(2px,2px); color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 13px 30px; border-radius: 3px; font-size: 15px; font-weight: 600; transition: all .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero-scroll { position: absolute; left: 26px; bottom: 26px; z-index: 5; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.5); writing-mode: horizontal-tb; }
.hero-scroll::after { content: ''; display: block; width: 30px; height: 1px; margin: 8px 0 0; background: linear-gradient(90deg, rgba(255,255,255,.6), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.hero-motto-mark { position: absolute; right: 3%; bottom: 7%; height: clamp(40px, 4.6vw, 74px); width: auto; max-width: 88%; opacity: .55; z-index: 4; pointer-events: none; filter: drop-shadow(0 6px 26px rgba(15,8,35,.45)); }

/* Hero 入场动画 */
.hero-eyebrow, html.landing .hero-title, .hero-en, .hero-tagline, .hero-motto, .hero-cta { opacity: 0; animation: heroIn .9s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-eyebrow { animation-delay: .15s; }
html.landing .hero-title { animation-delay: .3s; }
.hero-en { animation-delay: .5s; }
.hero-tagline { animation-delay: .62s; }
.hero-motto { animation-delay: .74s; }
.hero-cta { animation-delay: .9s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============ 梧桐叶分割：大叶"切割页面"，一左一右交替 ============ */
.divider { position: relative; z-index: 5; width: 100%; height: clamp(150px, 16vw, 260px); margin: 0; padding: 0; overflow: visible; }
.div-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--purple) 16%, var(--purple) 84%, transparent); opacity: .5; transform: translateY(-50%) scaleX(0); transform-origin: center; transition: transform 1s ease; }
.divider.in .div-line { transform: translateY(-50%) scaleX(1); }
.div-leaf { position: absolute; top: 50%; width: clamp(160px, 18vw, 260px); height: auto; color: var(--purple); opacity: 0; transition: opacity .7s ease .15s, transform .95s cubic-bezier(.2,.9,.3,1.35) .15s; }
/* 出血（少量）+ 右移；主叶脉斜向右（顺时针 26°） */
.divider-left .div-leaf { left: clamp(-130px, -7vw, -20px); transform: translateY(-50%) rotate(26deg) scale(.55); }
.divider-right .div-leaf { right: clamp(-130px, -7vw, -20px); transform: scaleX(-1) translateY(-50%) rotate(26deg) scale(.55); }
.divider.in .div-leaf { opacity: 1; }
.divider-left.in .div-leaf { transform: translateY(-50%) rotate(26deg) scale(1); }
.divider-right.in .div-leaf { transform: scaleX(-1) translateY(-50%) rotate(26deg) scale(1); }

/* ============ 通用 section ============ */
.section { padding: 68px 0 76px; scroll-margin-top: 70px; }
.section-alt { background: var(--bg-alt); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-kicker { font-size: 12.5px; letter-spacing: 4px; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; }
.sec-head-row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 46px); flex-wrap: wrap; }
.sec-head-main { max-width: 760px; }
.head-logo { height: clamp(84px, 9vw, 132px); width: auto; object-fit: contain; flex: none; }
.head-motto { display: flex; align-items: center; flex: none; }
.head-motto img { height: clamp(96px, 11vw, 168px); width: auto; object-fit: contain; opacity: .95; }
.unit-logo { display: block; height: clamp(56px, 6vw, 84px); width: auto; margin: 0 auto 14px; object-fit: contain; opacity: .98; }
.sec-title { font-family: var(--sans); font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: 1.5px; color: var(--purple-deep); }
.sec-title::after { content: ''; display: block; width: 54px; height: 3px; margin: 18px auto 0; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 2px; }
.sec-sub { color: var(--sub); margin-top: 18px; font-size: 16px; }
.sec-more { margin-top: 34px; text-align: center; }
.sec-more a { color: var(--purple); font-weight: 600; font-size: 15px; text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--gold); transition: color .2s; }
.sec-more a:hover { color: var(--gold-dark); }
.sub-h { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: 1px; color: var(--purple-deep); margin: 38px 0 18px; text-align: center; }
.sub-h::before, .sub-h::after { content: '·'; color: var(--gold); margin: 0 12px; }

/* ============ 班级简介 ============ */
.intro-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 46px; align-items: start; }
.intro-lead p { margin-bottom: 20px; font-size: 16.5px; color: var(--body); }
.intro-lead strong { color: var(--purple); font-weight: 700; }
.drop { float: left; font-family: var(--serif); font-size: 62px; line-height: .84; color: var(--purple); margin: 6px 12px 0 0; font-weight: 700; }
.intro-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); position: relative; }
.intro-card::before { content: ''; position: absolute; top: 0; left: 26px; right: 26px; height: 4px; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 0 0 4px 4px; }
.ic-logo { display: block; height: clamp(64px, 7vw, 96px); width: auto; margin: 2px auto 18px; object-fit: contain; opacity: .98; }
.ic-title { font-family: var(--sans); font-size: 18px; color: var(--purple-deep); letter-spacing: 2px; margin-bottom: 16px; text-align: center; }
.ic-list { list-style: none; }
.ic-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.ic-list li:last-child { border-bottom: none; }
.ic-list span { color: var(--sub); flex: none; }
.ic-list b { color: var(--ink); font-weight: 600; text-align: right; }

/* ============ 培养体系 ============ */
.train-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.train-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform .22s, box-shadow .22s; }
.train-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hover); }
.tc-num { font-family: var(--sans); font-size: 34px; color: var(--gold-dark); line-height: 1; margin-bottom: 14px; }
.train-card h3 { font-size: 18px; letter-spacing: 1px; color: var(--purple-deep); margin-bottom: 10px; }
.train-card p { font-size: 14px; color: var(--sub); line-height: 1.7; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--purple); border-radius: 2px; padding: 20px 24px; transition: transform .2s, box-shadow .2s; }
.module:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.mod-tag { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--purple); margin-bottom: 8px; }
.module p { font-size: 14.5px; color: var(--body); }
.four-one { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fo { text-align: center; padding: 24px 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--purple-line); transition: transform .2s; }
.fo:hover { transform: translate(-3px,-3px); }
.fo b { display: block; font-family: var(--sans); font-size: 26px; color: var(--gold-dark); margin-bottom: 4px; }
.fo span { font-size: 15px; color: var(--purple-deep); letter-spacing: 1px; }
.train-note { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--sub); font-size: 14.5px; line-height: 1.9; }
.train-note strong { color: var(--purple); }

/* ============ 班级动态 ============ */
.event { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.event:hover { box-shadow: var(--shadow-hover); }
.event + .event { margin-top: 32px; }
.event-photo { position: relative; min-height: 380px; background-size: cover; background-position: center; }
.event-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(59,36,80,.24), transparent 60%); }
.event-badge { position: absolute; left: 22px; top: 22px; z-index: 2; background: var(--gold); color: #3b2450; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 3px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.event-body { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.event-meta { font-size: 13px; letter-spacing: 1px; color: var(--purple); margin-bottom: 14px; }
.event-body h3 { font-family: var(--sans); font-size: 24px; letter-spacing: 1px; color: var(--purple-deep); margin-bottom: 18px; line-height: 1.4; }
.event-body p { color: var(--body); margin-bottom: 14px; font-size: 15.5px; }
.event-placeholder { font-size: 13.5px !important; color: var(--sub) !important; border-left: 3px solid var(--purple); padding-left: 14px; }

/* ============ 相关链接（横着平铺，不做淡入淡出） ============ */
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.link-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); border-color: var(--purple-line); }
.lc-src { font-size: 12px; letter-spacing: 1px; color: #fff; background: var(--purple); align-self: flex-start; padding: 2px 10px; border-radius: 3px; }
.link-card:nth-child(even) .lc-src { background: var(--gold); color: #3b2450; }
.lc-title { font-size: 16.5px; font-weight: 600; color: var(--purple-deep); line-height: 1.5; }
.lc-go { font-size: 13.5px; color: var(--sub); margin-top: auto; }
.link-card:hover .lc-go { color: var(--purple); }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 700px; margin: 0 auto; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; text-align: center; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.cc-role { font-size: 12.5px; letter-spacing: 3px; color: var(--sub); margin-bottom: 8px; }
.cc-name { font-family: var(--sans); font-size: 26px; font-weight: 600; color: var(--purple-deep); letter-spacing: 2px; margin-bottom: 16px; }
.cc-line { font-size: 14.5px; color: var(--body); line-height: 2; }

/* ============ 校训带 ============ */
.motto-band { background: var(--bg-alt); padding: 50px 0 26px; text-align: center; }
.motto-row { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 76px); width: min(1120px, 94%); margin: 0 auto; }
.motto-row img { flex: 1 1 0; width: 0; min-width: 0; height: auto; max-height: 130px; object-fit: contain; opacity: .92; }
.motto-cap { margin-top: 20px; letter-spacing: 3px; color: var(--purple); font-family: var(--sans); font-size: 15px; }
.motto-fenjin { display: inline-block; margin-top: 8px; padding: 14px 10px; background: none; border: none; color: var(--purple); font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.3vw, 42px); letter-spacing: 5px; line-height: 1.6; }
.motto-fenjin .gold { color: #c8a13a; }
.motto-enter-wrap { margin-top: 22px; }
.motto-enter { display: inline-block; padding: 11px 30px; font-size: 15px; font-weight: 600; letter-spacing: 2px; color: #fff; background: var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); transition: background .2s, box-shadow .2s, transform .2s; }
.motto-enter:hover { background: var(--gold-light); color: #fff; box-shadow: var(--shadow-hover); transform: translateY(-1px); }

/* ============ 归属标识 ============ */
.affil { background: var(--bg-alt); padding: 20px 0 64px; }
.affil-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.affil img { width: auto; object-fit: contain; opacity: .9; }
.affil-nju { height: 42px; }
.affil-ssbs { height: 58px; }
.affil-xz { height: 54px; }
.affil-div { width: 1px; height: 42px; background: var(--border); }

/* ============ 底部 + 稀疏梧桐叶背景 ============ */
.site-foot { position: relative; background: var(--purple-darker); color: #fff; padding: 44px 26px 0; overflow: hidden; text-align: center; }
.leaf-pile { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; z-index: 0; opacity: .3; }
.leaf-pile .pile-leaf { position: absolute; bottom: -6px; }
.foot-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; text-shadow: 0 2px 14px rgba(20,10,32,.85), 0 1px 3px rgba(20,10,32,.9); }
.foot-brand { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: 2px; color: #fff; margin-bottom: 7px; }
.foot-school { font-size: 12.5px; letter-spacing: 3px; color: var(--purple-soft); margin-bottom: 10px; }
.foot-site { display: inline-block; margin: 0 0 12px; font-size: 13.5px; letter-spacing: 2px; color: var(--gold-light); border-bottom: 1px solid transparent; transition: all .2s; }
.foot-site:hover { border-bottom-color: var(--gold-light); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 2px 0 14px; }
.foot-nav a { font-size: 13.5px; letter-spacing: 1px; color: rgba(255,255,255,.82); padding-bottom: 2px; border-bottom: 1px solid transparent; transition: all .2s; }
.foot-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.foot-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-bottom: 12px; font-size: 13.5px; letter-spacing: .5px; color: rgba(255,255,255,.8); }
.foot-note { font-size: 12.5px; color: rgba(255,255,255,.5); }
.foot-top { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 22px; border: 1px solid rgba(255,255,255,.32); border-radius: 3px; font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,.85); transition: all .2s; }
.foot-top:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; }
.foot-bar {
  position: relative; z-index: 3;
  margin: 24px -26px 0; padding: 8px 20px 10px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px 16px; flex-wrap: wrap;
  font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.85);
  background: var(--purple);
}
.foot-bar-center { display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; flex: 1; text-align: center; }
.foot-bar-ver, .foot-bar-days { color: rgba(255,255,255,.75); font-size: 12.5px; white-space: nowrap; }
.foot-bar-brand { color: #fff; }
.foot-bar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-bar-links a { color: rgba(255,255,255,.85); transition: color .2s; }
.foot-bar-links a:hover { color: var(--gold-light); }

/* ============ 深色模式开关 ============ */
html.landing .theme-toggle { background: none; border: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; flex: none; }
html.landing .theme-track { position: relative; width: 56px; height: 29px; border-radius: 999px; background: transparent; border: 1.5px solid rgba(255,255,255,.28); display: inline-block; box-shadow: inset 0 1px 6px rgba(0,0,0,.32), 0 1px 5px rgba(0,0,0,.22); transition: border-color .25s, box-shadow .25s; }
html.landing .site-nav.solid .theme-track { border-color: rgba(80,60,120,.2); box-shadow: inset 0 1px 5px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08); }
html[data-theme="dark"].landing .theme-track { background: transparent; border-color: rgba(255,255,255,.3); }
html[data-theme="dark"].landing .site-nav.solid .theme-track { border-color: rgba(255,255,255,.3); box-shadow: inset 0 1px 6px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.3); }
html.landing .theme-knob { position: absolute; top: 2px; left: 2px; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; box-shadow: 0 2px 9px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.35); transition: transform .25s, background .25s; }
html.landing .theme-knob::before { content: '☀️'; }
html[data-theme="dark"].landing .theme-knob { transform: translateX(27px); background: rgba(255,255,255,.22); }
html[data-theme="dark"].landing .theme-knob::before { content: '🌙'; }

/* ============ 深色模式配色 ============ */
html[data-theme="dark"].landing {
  --bg: #16121f;
  --bg-alt: #1b1628;
  --card: #221c33;
  --border: #3a2f55;
  --line: #3a2f55;
  --ink: #eae4f5;
  --body: #cfc4e4;
  --sub: #a89ec2;
  --purple-line: #4a3b6b;
  --purple-soft: #f3efff;
  --shadow: 4px 4px 0 rgba(0,0,0,.35);
  --shadow-hover: 7px 7px 0 rgba(0,0,0,.45);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .site-nav.solid { background: rgba(22,18,31,.6); border-bottom-color: var(--border); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
html[data-theme="dark"] .site-nav.solid .nav-mark { color: #f0eafb; }
html[data-theme="dark"] .site-nav.solid .nav-mark .dash { color: #b9a6f0; }
html[data-theme="dark"] .site-nav.solid .nav-sub { color: var(--sub); }
html[data-theme="dark"] .site-nav.solid .nav-user { color: #d9cdf5; }
html[data-theme="dark"] .sec-title,
html[data-theme="dark"] .sub-h,
html[data-theme="dark"] .ic-title,
html[data-theme="dark"] .train-card h3,
html[data-theme="dark"] .event-body h3,
html[data-theme="dark"] .lc-title,
html[data-theme="dark"] .cc-name { color: #d9cdf5; }
html[data-theme="dark"] .motto-fenjin .gold { color: #e6cf86; }

/* ============ 滚动出现（含交错） ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
/* 大平板 / 小笔记本（竖屏常见 1024） */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .train-grid { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 1fr; }
  .event-photo { min-height: 300px; }
  .module-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .four-one { grid-template-columns: repeat(2, 1fr); }
}
/* 平板竖屏 / 大手机（768 类） */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-enter { margin-left: auto; }
  .event-body { padding: 34px 30px; }
  .link-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .divider { padding: 10px 22px; gap: 22px; }
  .hero-njuline { width: 76vw; right: -4%; bottom: 13%; opacity: .8; }
}
/* 手机竖屏 */
@media (max-width: 560px) {
  html.landing body { font-size: 15px; }
  /* 手机竖屏：一排排不下时，主题开关 + 名字/登录 + 进入班级空间 折到第二排并靠右 */
  .nav-inner { padding: 12px 16px; gap: 8px 10px; flex-wrap: wrap; }
  .nav-sub { display: none; }
  .nav-enter { font-size: 13px; padding: 7px 14px; }
  html.landing .nav-brand { gap: 6px; }
  html.landing .nav-lockup { gap: 5px; margin-left: -12px; }
  html.landing .nav-logo, html.landing .nav-word { height: 26px; }
  html.landing .nav-mark { font-size: 16px; }
  html.landing .nav-dot { width: 12px; height: 12px; }
  html.landing .nav-right { gap: 8px; }
  html.landing .nav-login, html.landing .nav-signup { font-size: 13px; white-space: nowrap; }
  html.landing .theme-track { width: 44px; height: 24px; }
  html.landing .theme-knob { width: 18px; height: 18px; }
  html[data-theme="dark"].landing .theme-knob { transform: translateX(20px); }
  html.landing .hero { padding: 104px 20px 62px; }
  .hero-scroll { display: none; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 2px; }
  html.landing .hero-title { letter-spacing: 1px; }
  .hero-en { letter-spacing: 3px; }
  .hero-motto { letter-spacing: 4px; }
  .hero-tagline { letter-spacing: 1px; }
  .section { padding: 52px 0 58px; }
  .sec-head { margin-bottom: 34px; }
  .wrap { padding: 0 18px; }
  .train-grid { grid-template-columns: 1fr; }
  .four-one { grid-template-columns: repeat(2, 1fr); }
  .event-body { padding: 28px 22px; }
  .event-photo { min-height: 220px; }
  .sec-title { letter-spacing: 1px; }
  .divider { padding: 10px 18px; gap: 16px; }
  .hero-njuline { width: 98vw; right: -12%; bottom: 9%; opacity: .72; }
  .hero-motto-mark { height: 30px; right: 14px; bottom: 18px; opacity: .5; max-width: 92%; }
}
/* 小手机 */
@media (max-width: 380px) {
  html.landing .hero-title { font-size: clamp(28px, 10vw, 40px); }
  .hero-scroll { display: none; }
  .four-one { grid-template-columns: 1fr; }
}













/* 主页：竖屏适配 */
@media (orientation: portrait) {
  html.landing .hero-slide { background-position: 62% center; }
  html.landing .hero-motto-mark { max-width: 96%; }
}











