:root {
  --color-primary: #1f5eff;
  --color-primary-dark: #1647c4;
  --color-text: #1f2733;
  --color-text-muted: #5b6572;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-border: #e6eaf0;
  --radius: 12px;
  --container: 1120px;
}

* {
  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(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.brand-name {
  font-weight: 600;
  font-size: 17px;
}

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

.nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 15px;
}

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

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--color-border);
}

.lang-switch a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.lang-switch a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.lang-switch a:hover {
  color: var(--color-primary);
}

/* 首屏 */
.hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #1f5eff 0%, #4f8bff 100%);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 17px;
  opacity: 0.92;
}

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

.btn-primary {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* 区块 */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 26px;
  margin-bottom: 24px;
  text-align: center;
}

.section-text {
  max-width: 820px;
  margin: 0 auto 36px;
  color: var(--color-text-muted);
  text-align: center;
}

/* 数据 */
.stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--color-primary);
}

.stat span {
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.section-alt .card {
  background: #fff;
}

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

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

.card .date {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* 联系方式 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.contact-item span {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* 页脚 */
.site-footer {
  padding: 28px 0;
  background: #111827;
  color: #c8d0db;
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: #c8d0db;
  text-decoration: none;
}

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

/* 移动端 */
@media (max-width: 768px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
