/* 强制覆盖所有宽度限制 - 最高优先级 */
* {
  max-width: none !important;
}

/* 现代化关于页面样式 */
.modern-about-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  max-width: 100% !important;
  width: 100% !important;
}

/* 关键宽度控制规则 - 与首页对齐 */
.wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 max(20px, 2vw) !important;
  box-sizing: border-box;
}

/* Hero Section - 与首页对齐 */
.about-hero {
  background:
    linear-gradient(135deg,
      rgba(15, 23, 42, 0.98) 0%,
      rgba(30, 41, 59, 0.98) 30%,
      rgba(51, 65, 85, 0.98) 60%,
      rgba(71, 85, 105, 0.98) 100%
    ),
    linear-gradient(45deg,
      rgba(59, 130, 246, 0.08) 0%,
      rgba(16, 185, 129, 0.08) 30%,
      rgba(99, 102, 241, 0.06) 60%,
      rgba(6, 182, 212, 0.08) 100%
    );
  color: white;
  padding: 80px 0;
  margin: -2em -15px 3em -15px;
  text-align: center;
  position: static;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Geek风格网格背景 */
.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

/* 霓虹光晕效果 */
.about-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(168, 85, 247, 0.05) 25%,
    transparent 50%
  );
  animation: neon-pulse 4s ease-in-out infinite alternate;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes neon-pulse {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.1); }
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 max(20px, 3vw);
}

.about-hero-title {
  font-size: 4em;
  font-weight: 800;
  margin: 0 0 20px 0;
  text-shadow:
    0 0 20px rgba(59, 130, 246, 0.4),
    0 0 40px rgba(16, 185, 129, 0.2),
    0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 40%, #d1fae5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

.about-hero-subtitle {
  font-size: 1.4em;
  opacity: 0.95;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  color: rgba(255, 255, 255, 0.95);
}

/* 内容区域 - 与首页对齐 */
.about-content-section {
  padding: 0 max(20px, 3vw);
  /* max-width: 100%; */
  margin: 0 auto;
}

/* 关于卡片 */
.about-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 2em;
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(16, 185, 129, 0.8) 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.about-card-header {
  padding: 30px 30px 0 30px;
}

.about-card-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card-body {
  padding: 20px 30px 30px 30px;
}

/* 关于我部分 */
.about-intro {
  font-size: 1.1em;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}

/* 研究方向列表 */
.research-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
}

.research-list li:last-child {
  border-bottom: none;
}

.research-list li::before {
  content: '•';
  color: rgba(59, 130, 246, 0.8);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 1rem;
}

/* 联系我部分 */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: #2d3748;
  min-width: 100px;
}

.contact-list a {
  color: rgba(59, 130, 246, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: rgba(16, 185, 129, 0.9);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* 时间线列表 */
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

.timeline-list li:last-child {
  border-bottom: none;
}

.timeline-time {
  font-weight: 600;
  color: rgba(99, 102, 241, 0.9);
  min-width: 100px;
  font-size: 0.9rem;
}

/* 交流群部分 */
.community-content {
  text-align: center;
}

.qrcode-container {
  margin-bottom: 2rem;
}

.qrcode-hover {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.qrcode-hover::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.qrcode-hover:hover::after {
  opacity: 1;
  visibility: visible;
}

.qrcode-link {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8));
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.qrcode-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(16, 185, 129, 0.9));
}

.qrcode-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
  background: white;
  padding: 10px;
  object-fit: contain;
}

.qrcode-hover:hover .qrcode-image {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.community-description {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}


/* 超宽屏优化 (2560px+) - 与首页对齐 */
@media (min-width: 2560px) {
  .about-hero-title {
    font-size: 5em;
  }
  
  .about-hero-subtitle {
    font-size: 1.6em;
  }
  
  /* .about-content-section {
    max-width: 100% !important;
  } */

}

/* 响应式设计 - 与首页对齐 */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5em;
  }
  
  .about-hero-subtitle {
    font-size: 1.1em;
  }
  
  .about-hero {
    padding: 40px 0;
    margin: -2em -10px -2em -10px;
  }
  
  .about-content-section {
    padding: 0 10px;
  }
  
  .about-card-header,
  .about-card-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .about-hero-title {
    font-size: 2em;
  }
  
  .about-hero {
    padding: 40px 0;
    margin: -2em -10px -2em -10px;
  }
  
  .about-card-header,
  .about-card-body {
    padding: 15px;
  }
  
  .qrcode-link {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .qrcode-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
  }
}
