/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  /* color: inherit; */
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  min-height: 100vh;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航区域 */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}
.logo2 {
  font-weight: bold;
  color: #667eea;
  font-size: 1.5rem;
}

/* 主要内容区域 */
.main-content {
  /* margin-top: 80px; */
  padding: 2rem 0;
}

/* 模块样式 */
.section {
  background: white;
  margin: 2rem 0;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 标题样式 */
.section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.section h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: #444;
  border-left: 4px solid #667eea;
  padding-left: 1rem;
}

.section h4 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 0.5rem;
}
 /* h5 {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 0.5rem;
} */

/* 段落样式 */
.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #666;
}

/* 图片样式 */
.section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  margin: 1rem 0;
  transition: transform 0.3s ease;
}

.section img:hover {
  transform: scale(1.05);
}

/* 图片容器样式 */
.image-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.image-container img {
  /* flex: 1; */
  width: 300px;
}

/* 统计数据样式 */
.stats-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  color: white;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h4 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-item p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* 下载区域样式 */
.download-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin: 3rem 0;
}

.download-item {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
}

.download-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.download-item img {
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
}

.download-item p {
  font-weight: 600;
  color: #333;
}

/* 使命区域特殊样式 */
.mission-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.mission-section h1 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.mission-section p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }

  .section h1 {
    font-size: 2rem;
  }

  .section h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
  }

  .image-container {
    gap: 1rem;
  }

  .image-container img {
    width: 46%;
  }

  .stats-container,
  .download-container {
    gap: 1rem;
  }

  .stat-item {
    min-width: 150px;
    padding: 1rem 1rem;
  }

  .stat-item h4 {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .stat-item p {
    font-size: 1rem;
    white-space: nowrap;
    margin-bottom: 0.8rem;
  }

  .download-item {
    min-width: 150px;
    padding: 1.5rem 1rem;
  }
  .download-item p {
    font-size: 0.9rem;
  }

  .download-item img {
    width: 120px;
    height: 120px;
  }

  .container {
    padding: 0 10px;
  }
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动指示器 */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  z-index: 1001;
  transition: width 0.3s ease;
}

/* 页脚样式 */
.site-footer {
  background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
  border-top: 1px solid rgba(102, 126, 234, 0.08);
  padding: 1.5rem 0;
  color: #666;
}

.site-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.site-footer .sep {
  margin: 0 0.6rem;
  color: #ccc;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .site-footer .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .sep {
    display: none;
  }
}

/* 联系我们浮动按钮 */
.contact-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  user-select: none;
}

.contact-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.contact-float-btn:active {
  transform: translateY(-1px);
}

.contact-float-btn svg {
  width: 20px;
  height: 20px;
}

p {
  word-break: break-all;
}

/* 联系我们弹窗 */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.contact-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
}

.contact-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 25px;
}

.contact-modal-header h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.contact-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.contact-modal-close:hover {
  background: #f5f5f5;
  color: #666;
}

.contact-modal-body {
  padding: 0 30px 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
}

.btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
}

.btn-secondary:hover {
  background: #e9ecef;
  color: #495057;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-float-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .contact-float-btn span {
    display: none;
  }
  
  .contact-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .contact-modal-header,
  .contact-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
