/* ===== 全局 ===== */
:root {
  --primary: #2b5cff;
  --primary-dark: #1e46d4;
  --primary-light: #eef2ff;
  --text: #1f2733;
  --text-light: #5b6472;
  --bg: #ffffff;
  --bg-gray: #f6f8fb;
  --border: #e6eaf2;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(31, 39, 51, 0.06);
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #7a9bff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -1px;
}

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 15px;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(43, 92, 255, 0.10), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(122, 155, 255, 0.12), transparent),
    var(--bg-gray);
  padding: 96px 0 88px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
}

.hero h1 .highlight { color: var(--primary); }

.hero p {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 17px;
  color: var(--text-light);
}

.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 92, 255, 0.28);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

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

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section.gray { background: var(--bg-gray); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 { font-size: 32px; font-weight: 700; }

.section-head p { margin-top: 14px; color: var(--text-light); font-size: 16px; }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(43, 92, 255, 0.35);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }

.card p { font-size: 14.5px; color: var(--text-light); }

.card ul { margin-top: 14px; }

.card ul li {
  font-size: 14px;
  color: var(--text-light);
  padding: 5px 0 5px 18px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.55;
}

/* ===== 数字条 ===== */
.stats { background: var(--primary); color: #fff; padding: 56px 0; }

.stats .grid-4 { text-align: center; }

.stats .num { font-size: 36px; font-weight: 700; }

.stats .label { font-size: 14px; opacity: 0.85; margin-top: 6px; }

/* ===== 关于页 ===== */
.page-hero {
  background: var(--bg-gray);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 { font-size: 34px; font-weight: 700; }

.page-hero p { margin-top: 12px; color: var(--text-light); }

.about-text p { margin-bottom: 18px; color: var(--text-light); font-size: 15.5px; }

.about-text p strong { color: var(--text); }

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  width: 160px;
  background: var(--bg-gray);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.info-table td { color: var(--text-light); }

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ===== 时间线 ===== */
.timeline { position: relative; padding-left: 28px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline-item { position: relative; padding-bottom: 32px; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}

.timeline-item .year {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }

.timeline-item p { font-size: 14px; color: var(--text-light); }

/* ===== 联系页 ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}

.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card h3 { font-size: 18px; margin-bottom: 8px; }

.contact-card p { font-size: 14.5px; color: var(--text-light); word-break: break-all; }

/* ===== 页脚 ===== */
.site-footer {
  background: #171d28;
  color: #9aa3b2;
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}

.site-footer p { font-size: 13.5px; line-height: 1.8; }

.footer-links li { padding: 4px 0; }

.footer-links a { font-size: 13.5px; transition: color 0.2s; }

.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  font-size: 13.5px;
}

.footer-bottom {
  border-top: 1px solid #262e3d;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a { color: #9aa3b2; }

.footer-bottom a:hover { color: #fff; }

.footer-bottom .divider { margin: 0 10px; opacity: 0.4; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0; }
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .section { padding: 56px 0; }
  .stats .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
