/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1E2A30;
  background: #F8F7F4;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 42, 48, 0.06);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #1E2A30;
}
.logo-icon {
  width: 28px; height: 28px;
  background: #2A4858; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #E8C97A; font-size: 14px;
}
.main-nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 14px; color: #5A6269; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-link:hover { color: #1E2A30; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #E8C97A;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  width: 40px; height: 28px; border-radius: 14px;
  border: 1px solid rgba(30,42,48,0.12); background: transparent;
  font-size: 12px; font-weight: 600; color: #5A6269;
  cursor: pointer; transition: all 0.2s;
}
.lang-toggle:hover { background: #1E2A30; color: #fff; border-color: #1E2A30; }
.btn-scholar {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: #2A4858; color: #fff;
  font-size: 12px; font-weight: 600;
  transition: background 0.2s;
}
.btn-scholar:hover { background: #1E2A30; }
.btn-gh {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #B0BAC2; font-size: 13px;
  transition: all 0.2s; text-decoration: none;
}
.btn-gh:hover { background: rgba(255,255,255,0.1); color: #fff; }
.scholar-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Hero ===== */
.hero {
  background: #2A4858;
  padding: 140px 0 80px;
  color: #fff;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 60px; align-items: start;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: #B0BAC2; margin-bottom: 20px;
}
.hero-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 52px; font-weight: 700;
  line-height: 1.1; margin-bottom: 6px;
}
.hero-name-en {
  font-family: 'Crimson Pro', serif;
  font-size: 22px; font-weight: 400;
  color: #E8C97A; margin-bottom: 12px;
}
.hero-title {
  font-size: 15px; color: #8FA5B0; margin-bottom: 16px;
}
.hero-desc {
  font-size: 15px; color: #B0BAC2; line-height: 1.7;
  max-width: 520px; margin-bottom: 20px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.tag {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(232, 201, 122, 0.12);
  border: 1px solid rgba(232, 201, 122, 0.25);
  font-size: 13px; color: #E8C97A; font-weight: 500;
}
.hero-stats {
  display: flex; gap: 32px; margin-bottom: 28px;
}
.stat-item { text-align: center; }
.stat-views { display: flex; align-items: center; justify-content: center; }
.view-badge {
  height: 20px; border-radius: 4px;
  opacity: 0.95; transition: opacity 0.3s, transform 0.2s;
}
.view-badge:hover { opacity: 1; transform: scale(1.05); }
.stat-value {
  display: block; font-size: 28px; font-weight: 700;
  color: #fff; line-height: 1.2;
}
.stat-label {
  font-size: 12px; color: #8FA5B0;
}
.hero-actions { display: flex; gap: 12px; }
.btn-primary {
  padding: 12px 24px; border-radius: 999px;
  background: #E8C97A; color: #1E2A30;
  font-size: 14px; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,201,122,0.3);
}
.btn-secondary {
  padding: 12px 24px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 14px; font-weight: 600;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* Hero Card */
.hero-card {
  background: #fff; border-radius: 20px;
  padding: 24px; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.card-photo {
  width: 160px; height: 160px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid #E8C97A;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-name { font-size: 20px; font-weight: 700; color: #1E2A30; }
.card-title { font-size: 14px; color: #B08D3C; margin: 4px 0; }
.card-inst { font-size: 12px; color: #9AA0A6; }
.card-sync {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(30,42,48,0.08);
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 12px; color: #9AA0A6;
}
.sync-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-light { background: #F8F7F4; }
.section-light-alt { background: #F0EEEA; }
.section-white { background: #fff; }
.section-dark {
  background: #2A4858; color: #fff;
}
.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px;
}
.section-title-group { display: flex; flex-direction: column; gap: 6px; }
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px; font-weight: 700; color: #1E2A30;
}
.section-dark .section-title { color: #fff; }
.section-en {
  font-family: 'Crimson Pro', serif;
  font-size: 13px; font-weight: 600; color: #B08D3C;
  letter-spacing: 1px;
}
.section-note {
  font-size: 14px; color: #8A8F96; font-style: italic;
  max-width: 380px; text-align: right;
}
.section-dark .section-note { color: #8FA5B0; }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.about-text {
  font-size: 15px; color: #5A6269; line-height: 1.8;
  margin-bottom: 28px;
}
.honors-card {
  background: #fff; border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(30,42,48,0.06);
}
.honors-card h3 {
  font-size: 16px; font-weight: 700; color: #1E2A30;
  margin-bottom: 16px;
}
.honors-list { display: flex; flex-direction: column; gap: 12px; }
.honor-item { display: flex; gap: 12px; align-items: flex-start; }
.honor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E8C97A; margin-top: 6px; flex-shrink: 0;
}
.honor-title { font-size: 14px; font-weight: 600; color: #1E2A30; }
.honor-year { font-size: 12px; color: #9AA0A6; }

.timeline-card {
  background: #fff; border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(30,42,48,0.06);
}
.timeline-card + .timeline-card { margin-top: 20px; }
.timeline-card h3 {
  font-size: 16px; font-weight: 700; color: #1E2A30;
  margin-bottom: 16px;
}
.timeline { display: flex; flex-direction: column; gap: 16px; }
.timeline-item {
  display: flex; gap: 14px; position: relative;
}
.timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E8C97A; border: 2px solid #F8F7F4;
  flex-shrink: 0; margin-top: 4px;
}
.timeline-school { font-size: 14px; font-weight: 600; color: #1E2A30; }
.timeline-degree { font-size: 13px; color: #6B737A; margin-top: 2px; }
.timeline-period { font-size: 12px; color: #9AA0A6; margin-top: 2px; }

/* ===== Research ===== */
.research-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research-card {
  background: #fff; border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(30,42,48,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.research-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232,201,122,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.research-title {
  font-size: 18px; font-weight: 700; color: #1E2A30;
  margin-bottom: 8px;
}
.research-desc {
  font-size: 14px; color: #5A6269; line-height: 1.6;
  margin-bottom: 14px;
}
.research-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.r-tag {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(42,72,88,0.06);
  font-size: 11px; color: #5A6269; font-weight: 500;
}

/* ===== Publications ===== */
.pub-sync-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: #B0BAC2; margin-bottom: 28px;
}
.pub-section-title {
  font-size: 18px; font-weight: 700;
  margin: 28px 0 16px;
}
.pub-list { display: flex; flex-direction: column; gap: 12px; }
.pub-item {
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.pub-item:hover { background: rgba(255,255,255,0.08); }
.pub-highlight { border-color: rgba(232,201,122,0.3); }
.pub-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.pub-meta { font-size: 13px; color: #8FA5B0; margin-top: 4px; }
.pub-badge {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(232,201,122,0.15);
  color: #E8C97A; font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.pub-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pub-cited {
  font-size: 12px; color: #B0BAC2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
/* 论文折叠 */
.pub-extra { display: none; }
.pub-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 4px;
  padding: 12px 20px; border-radius: 12px;
  background: transparent;
  border: 1px dashed rgba(232,201,122,0.35);
  color: #E8C97A; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.pub-toggle:hover {
  background: rgba(232,201,122,0.08);
  border-color: rgba(232,201,122,0.6);
}
.pub-toggle .toggle-arrow {
  display: inline-block; font-size: 11px;
  transition: transform 0.25s ease;
}
.pub-toggle.expanded .toggle-arrow { transform: rotate(180deg); }
.pub-viewall {
  display: inline-block; margin-top: 16px;
  padding: 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #B0BAC2; font-size: 13px;
  transition: all 0.2s;
}
.pub-viewall:hover {
  background: rgba(255,255,255,0.15); color: #fff;
}

/* ===== Projects ===== */
.project-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: #fff; border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(30,42,48,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.project-tag {
  font-size: 12px; font-weight: 700; color: #B08D3C;
  margin-bottom: 10px;
}
.project-title {
  font-size: 18px; font-weight: 700; color: #1E2A30;
  margin-bottom: 10px;
}
.project-desc {
  font-size: 14px; color: #5A6269; line-height: 1.6;
  margin-bottom: 14px;
}
.project-status {
  font-size: 12px; color: #9AA0A6;
}

/* ===== Teaching ===== */
.course-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.course-card {
  background: #F0EEEA; border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(30,42,48,0.06);
}
.course-card h3 {
  font-size: 18px; font-weight: 700; color: #1E2A30;
}
.course-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 12px; font-weight: 600; color: #9AA0A6;
  margin: 4px 0 16px;
  display: block;
}
.course-item { padding: 14px 0; border-top: 1px solid rgba(30,42,48,0.06); }
.course-item:first-of-type { border-top: none; }
.course-name { font-size: 15px; font-weight: 700; color: #1E2A30; }
.course-desc { font-size: 13px; color: #6B737A; margin-top: 4px; line-height: 1.5; }

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; align-items: start;
}
.contact-desc {
  font-size: 15px; color: #B0BAC2; line-height: 1.7;
  margin-bottom: 22px;
}
.contact-item {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.contact-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E8C97A; flex-shrink: 0;
}
.contact-text { font-size: 16px; color: #fff; font-weight: 500; }
.contact-card {
  background: #fff; border-radius: 14px;
  padding: 32px; color: #1E2A30;
}
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: #5A6269; line-height: 1.6; margin-bottom: 20px; }
.btn-gold {
  display: inline-block;
  padding: 12px 24px; border-radius: 999px;
  background: #E8C97A; color: #1E2A30;
  font-size: 14px; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,201,122,0.3);
}

/* ===== Footer ===== */
.site-footer {
  background: #0E1B21; color: #fff;
  padding: 36px 0;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
}
.footer-brand { font-size: 15px; font-weight: 700; }
.footer-sub { font-size: 12px; color: #7C8B93; margin-top: 4px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a {
  font-size: 13px; color: #A9B4BB;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-divider {
  height: 1px; background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #7C8B93;
}
.footer-views {
  margin-top: 16px; text-align: center;
  font-size: 12px; color: #7C8B93;
}
.footer-views .view-eye { margin-right: 4px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 320px; margin: 0 auto; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .research-grid,
  .project-grid,
  .course-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-note { text-align: left; }
  .hero-name { font-size: 36px; }
  .hero-stats { gap: 20px; }
}
