* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --secondary: #00a8e8;
  --accent: #00d4aa;
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
}

.tech-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 102, 204, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 图片铺满整个盒子 */
.logo-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/logo.png");
  background-size: cover;    /* 铺满 */
  background-position: center;
  z-index: 2;
}

.logo-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 12px;
  animation: pulse 2s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.4; }
}

.nav-brand-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.nav-brand-text span {
  font-size: 11px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 70px;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-100) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.15);
  border-radius: 30px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h2 {
  font-size: 64px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--gray-600);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid rgba(0, 102, 204, 0.1);
  border-radius: 20px;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  border-radius: 50%;
  border-color: var(--accent);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  border-radius: 30px;
  transform: rotate(45deg);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.research-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.research-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  transform: translateY(-5px);
}

.research-card:hover::before {
  transform: scaleX(1);
}

.research-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: white;
}

.research-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.research-card p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
}

.research-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.research-tag {
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.team-section {
  background: var(--gray-100);
}

.team-category {
  margin-bottom: 60px;
}

.team-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.team-category-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.team-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), transparent);
}

.team-grid-teacher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.team-card-teacher {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: stretch;
}

.team-card-teacher:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.team-avatar-teacher {
  width: 180px;
  align-self: stretch;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: var(--gray-600);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.team-avatar-teacher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-avatar-teacher::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.team-info-teacher {
  padding: 25px;
  flex: 1;
}

.team-info-teacher h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.team-info-teacher .role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-info-teacher .desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 10px;
}

.team-info-teacher .email {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--gray-600);
  position: relative;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.team-info {
  padding: 25px;
}

.team-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.member-university {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-left: 8px;
}

.team-info .role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-info .desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.team-info .email {
  margin-top: 15px;
  font-size: 13px;
  color: var(--gray-600);
}

.achievement-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid var(--gray-200);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 102, 204, 0.05);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
}

.achievement-content {
  display: none;
}

.achievement-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.paper-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.paper-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.paper-item:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.08);
}

.paper-year {
  min-width: 80px;
  text-align: center;
}

.paper-year .year {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.paper-year .venue {
  font-size: 11px;
  color: var(--gray-600);
  text-transform: uppercase;
  margin-top: 5px;
}

.paper-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.paper-content .authors {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.paper-content .paper-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.paper-badge {
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 15px;
  font-size: 12px;
  color: var(--gray-600);
}

.paper-badge.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.competition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.competition-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.competition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffaa00);
}

.competition-card.silver::before {
  background: linear-gradient(90deg, #c0c0c0, #a0a0a0);
}

.competition-card.bronze::before {
  background: linear-gradient(90deg, #cd7f32, #b87333);
}

.medal {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
}

.competition-card.silver .medal {
  background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
  box-shadow: 0 4px 15px rgba(160, 160, 160, 0.3);
}

.competition-card.bronze .medal {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
  box-shadow: 0 4px 15px rgba(184, 115, 51, 0.3);
}

.competition-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.competition-card .award-level {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.competition-card .competition-desc {
  font-size: 14px;
  color: var(--gray-600);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.demo-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.demo-preview {
  height: 220px;
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.demo-preview::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: demoPulse 4s ease-in-out infinite;
}

@keyframes demoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.play-btn {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 22px solid var(--primary);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.demo-info {
  padding: 25px;
}

.demo-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.demo-info p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 15px;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 15px;
  font-size: 12px;
  color: var(--gray-600);
}

.contact-section {
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 25px;
}

.contact-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-card p, .contact-card a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: white;
}

footer {
  background: #0f0f1a;
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  font-size: 14px;
}

.footer-record {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.56);
}

.record-label {
  color: rgba(255, 255, 255, 0.56);
}

.record-link,
.record-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.record-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.record-link:hover {
  color: white;
  text-decoration: underline;
}

.record-separator {
  color: rgba(255, 255, 255, 0.28);
}

.police-record {
  white-space: nowrap;
}

.police-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: translateY(1px);
}

.police-icon-img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.is-pending {
  cursor: default;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* 移动端导航菜单 */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  display: block;
  padding: 14px 10px;
  text-decoration: none;
  color: var(--gray-800);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s ease;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* 通用 */
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 36px;
    padding: 0 4px;
  }

  .section-header h2 {
    font-size: 26px;
    word-break: break-word;
  }

  .section-header p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Hero */
  .hero {
    padding-top: 70px;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding: 48px 20px 40px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 8px 14px;
    letter-spacing: 1px;
    word-break: break-all;
  }

  .hero h2 {
    font-size: 34px;
    letter-spacing: -1px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 36px;
    padding: 0 4px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 24px;
  }

  /* 浮动装饰形状在移动端隐藏，避免遮挡内容 */
  .floating-shapes {
    display: none;
  }

  /* 研究方向 */
  .research-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .research-card {
    padding: 20px;
  }

  .research-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .research-card h3 {
    font-size: 17px;
  }

  .research-card p {
    font-size: 14px;
  }

  .research-list-inline {
    gap: 8px;
    margin-top: 14px;
  }

  .research-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* 团队 */
  .team-category {
    margin-bottom: 40px;
  }

  .team-category-header h3 {
    font-size: 18px;
  }

  .team-grid-teacher,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-card-teacher {
    flex-direction: column;
  }

  .team-avatar-teacher {
    width: 100%;
    height: 130px;
    font-size: 56px;
  }

  .team-info-teacher {
    padding: 18px;
  }

  .team-info-teacher h4 {
    font-size: 16px;
  }

  .team-info-teacher .desc,
  .team-info-teacher .email {
    font-size: 13px;
  }

  .team-avatar {
    height: 150px;
    font-size: 60px;
  }

  .team-info {
    padding: 18px;
  }

  .team-info h4 {
    font-size: 16px;
  }

  .team-info .desc,
  .team-info .email {
    font-size: 13px;
  }

  /* 成果 Tab */
  .achievement-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 20px;
  }

  /* 论文 */
  .paper-item {
    flex-direction: column;
    gap: 10px;
    padding: 18px;
  }

  .paper-year {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: unset;
    text-align: left;
  }

  .paper-year .year {
    font-size: 20px;
  }

  .paper-year .venue {
    font-size: 10px;
  }

  .paper-content h4 {
    font-size: 14px;
    line-height: 1.5;
  }

  .paper-content .authors {
    font-size: 13px;
  }

  .paper-meta {
    gap: 8px;
  }

  .paper-badge {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* 竞赛 */
  .competition-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .competition-card {
    padding: 24px 20px;
  }

  .medal {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 14px;
  }

  .competition-card h4 {
    font-size: 16px;
  }

  .competition-card .competition-desc {
    font-size: 13px;
  }

  /* Demo */
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .demo-preview {
    height: 150px;
  }

  .play-btn {
    width: 56px;
    height: 56px;
  }

  .demo-info {
    padding: 18px;
  }

  .demo-info h4 {
    font-size: 16px;
  }

  .demo-info p {
    font-size: 13px;
  }

  /* 联系 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin-bottom: 18px;
  }

  .contact-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .contact-card p,
  .contact-card a {
    font-size: 14px;
  }

  /* 页脚 */
  footer {
    padding: 36px 0;
  }

  .footer-links {
    gap: 14px;
    padding: 0 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 13px;
  }

  footer p {
  font-size: 12px;
  padding: 0 16px;
  }

  .footer-record {
    margin-top: 8px;
    gap: 4px;
    font-size: 12px;
    padding: 0 16px;
  }
}

@media (max-width: 375px) {
  .hero h2 {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 9px;
    padding: 7px 12px;
  }

  .tab-btn {
    padding: 9px 14px;
    font-size: 12px;
  }
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit !important;
  text-decoration: none !important;
}
