/* 全局基础 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 80px;
}

body {
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.85;
  padding-top: 70px;
  overflow-x: hidden;
}

/* 顶部悬浮导航 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  z-index: 999;
}
.nav-container {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: #1e293b;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.4px;
}

/* 导航 */
.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  text-decoration: none;
  color: #475569;
  font-size: 15px;
  transition: color 0.25s ease;
  position: relative;
}
.nav-menu a:hover {
  color: #2563eb;
}
.nav-menu a.active {
  color: #2563eb;
  font-weight: 500;
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
  border-radius: 1px;
}

/* 语言切换器 */
.lang-divider {
  color: #cbd5e1;
  margin: 0 4px;
  user-select: none;
}
.lang-item {
  list-style: none;
}
.lang-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  font-family: inherit;
}
.lang-btn:hover {
  background: #f1f5f9;
  color: #2563eb;
}
.lang-btn.active {
  background: #2563eb;
  color: white;
}

/* PC端正常背景图 + 全称 + 标语 */
.hero {
  max-width: 100%;
  background: rgba(255,255,255,0.75) url("/static/images/bg-hero.jpg") center/cover no-repeat;
  background-blend-mode: overlay;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 0 0 20px 20px;
}
.hero .slogan {
  font-size: 18px;
  color: #334155;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 500;
  letter-spacing: 0.8px;
}

/* 内容容器 */
.container {
  max-width: 100%;
  width: 100%;
  padding: 0 16px 80px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 动画 */
.section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  border: none;
  transition: all 0.32s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: elegantFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }

@keyframes elegantFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* 标题与精致线性图标 */
.section-title {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.advantage-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 通用图标容器：通过 mask 着色，保持线性矢量风格 */
.section-title[data-icon]::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #2563eb;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  flex-shrink: 0;
}

/* 核心优势子卡：去掉图标，仅保留文字标题 */
.advantage-item h3[data-icon] {
  position: static;
  min-height: 0;
  padding-left: 0;
}
.advantage-item h3[data-icon]::before,
.advantage-item h3[data-icon]::after {
  content: none;
}

/* —— 区块图标 —— */
.section-title[data-icon="about"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v16'/><path d='M13 10h6a1 1 0 0 1 1 1v10'/><path d='M3 21h18'/><path d='M7 8h2M7 12h2M7 16h2M16 13h1.5M16 17h1.5'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v16'/><path d='M13 10h6a1 1 0 0 1 1 1v10'/><path d='M3 21h18'/><path d='M7 8h2M7 12h2M7 16h2M16 13h1.5M16 17h1.5'/></svg>");
}
.section-title[data-icon="mission"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='5.5'/><circle cx='12' cy='12' r='2'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='5.5'/><circle cx='12' cy='12' r='2'/></svg>");
}
.section-title[data-icon="vision"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/><circle cx='12' cy='12' r='3'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/><circle cx='12' cy='12' r='3'/></svg>");
}
.section-title[data-icon="values"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 21 8v8l-9 5-9-5V8z'/><circle cx='12' cy='12' r='3'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 21 8v8l-9 5-9-5V8z'/><circle cx='12' cy='12' r='3'/></svg>");
}
.section-title[data-icon="advantage"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 14 10 22 12 14 14 12 22 10 14 2 12 10 10z'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 14 10 22 12 14 14 12 22 10 14 2 12 10 10z'/></svg>");
}
.section-title[data-icon="recruitment"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='3' width='14' height='18' rx='2'/><path d='M10 6h4'/><circle cx='12' cy='11' r='2.5'/><path d='M8 17c.8-1.5 2.3-2.5 4-2.5s3.2 1 4 2.5'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='3' width='14' height='18' rx='2'/><path d='M10 6h4'/><circle cx='12' cy='11' r='2.5'/><path d='M8 17c.8-1.5 2.3-2.5 4-2.5s3.2 1 4 2.5'/></svg>");
}
.section-title[data-icon="roadmap"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='5' r='2'/><circle cx='18' cy='19' r='2'/><path d='M8 5h7a4 4 0 0 1 0 8H9a4 4 0 0 0 0 8h7'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='5' r='2'/><circle cx='18' cy='19' r='2'/><path d='M8 5h7a4 4 0 0 1 0 8H9a4 4 0 0 0 0 8h7'/></svg>");
}
.section-title[data-icon="contact"]::before {
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
          mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
}

.section-content {
  width: 100%;
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
}
.section-content p {
  margin-bottom: 14px;
}
.section-content li {
  list-style: none;
  margin-bottom: 12px;
}

/* 核心优势卡片 */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
.advantage-item {
  background: #f9fafb;
  padding: 22px;
  border-radius: 14px;
  border: none;
  transition: 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}
.advantage-item:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}
.advantage-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.advantage-item p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
}

/* 联系我们 */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.contact-item {
  width: 100%;
}
.contact-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.contact-item p {
  font-size: 15px;
  color: #374151;
}

/* 底部 */
.footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 14px;
  color: #94a3b8;
  background: #fff;
}
.footer-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-tools-title {
  font-size: 13px;
  color: #64748b;
  letter-spacing: 0.2px;
}
.footer-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.footer-tool-link:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f1f5f9;
  transform: translateY(-1px);
}
.footer-tool-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.footer-tool-link .dot {
  fill: #f8fafc;
}
.footer-tool-link .stroke {
  fill: none;
  stroke: #f8fafc;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.footer-tool-link .cut {
  fill: #f8fafc;
  opacity: 0.85;
}
.footer-copy {
  color: #94a3b8;
}

/* ============================== */
/* 手机端完美样式 */
/* ============================== */
@media (max-width: 768px) {
  .logo-text {
    display: none !important;
  }

  .nav-menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-menu a {
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .nav-menu a.active::after {
    display: none;
  }
  .nav-menu a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #64748b;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    transition: background-color 0.2s ease;
  }
  .nav-menu a:hover::before,
  .nav-menu a.active::before {
    background-color: #2563eb;
  }
  .nav-menu a[href="#home"]::before {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5.5 9.5V21h13V9.5'/></svg>");
            mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5.5 9.5V21h13V9.5'/></svg>");
  }
  .nav-menu a[href="#about"]::before {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v16'/><path d='M13 10h6a1 1 0 0 1 1 1v10'/><path d='M3 21h18'/></svg>");
            mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v16'/><path d='M13 10h6a1 1 0 0 1 1 1v10'/><path d='M3 21h18'/></svg>");
  }
  .nav-menu a[href="#mission"]::before {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='5.5'/><circle cx='12' cy='12' r='2'/></svg>");
            mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='5.5'/><circle cx='12' cy='12' r='2'/></svg>");
  }
  .nav-menu a[href="#advantage"]::before {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 14 10 22 12 14 14 12 22 10 14 2 12 10 10z'/></svg>");
            mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 14 10 22 12 14 14 12 22 10 14 2 12 10 10z'/></svg>");
  }
  .nav-menu a[href="#contact"]::before {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
            mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
  }
  
  /* 移动端语言选择器 - 简化版 */
  .lang-divider {
    display: none !important;
  }
  .lang-item {
    display: none !important;
  }
  .lang-item.mobile-visible {
    display: block !important;
  }
  .lang-btn {
    font-size: 12px !important;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  .lang-btn:hover {
    background: #e2e8f0;
    transform: scale(1.05);
  }
  .lang-btn.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 6px rgba(37,99,235,0.3);
  }
  
  /* 添加语言切换提示 */
  .lang-item:first-of-type::after {
    content: " 🌐";
    font-size: 14px;
  }

  /* 手机顶部：只显示 重定义运动 + 标语 */
  .hero {
    background: #fff !important;
    padding: 40px 16px !important;
  }
  .hero .slogan {
    visibility: hidden !important;
    line-height: 1.4 !important;
  }
  .hero .slogan::after {
    content: "可信数据驱动运动 · 空间智能定义未来 · 加速人机文明进程";
    visibility: visible;
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
  }
}

/* 电脑端正常 */
@media (min-width: 769px) {
  .container {
    max-width: 960px;
    padding: 0 32px 120px;
  }
  .section {
    flex-direction: row;
    padding: 56px 60px;
    gap: 44px;
    margin-bottom: 40px;
  }
  .section-title {
    flex: 0 0 200px;
    margin-bottom: 0;
  }
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .contact-content {
    flex-direction: row;
    gap: 44px;
  }
}

