/* ============================================================
   Global Layout — 全站布局
   Header / Footer / 容器宽度 / Section 间距
============================================================ */

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--text-main);
}

/* 全站容器宽度 */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Section 间距 */
.section {
  padding: var(--space-section) 0;
}

/* -------------------------
   Header（固定顶部）
------------------------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  background: var(--color-white);
  box-shadow: var(--shadow-light);
  z-index: 99;
}

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

.header .logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
}

/* 导航菜单布局 */
.nav a {
  margin: 0 18px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-main);
}

.nav a:hover {
  opacity: 0.6;
}

/* -------------------------
   Footer
------------------------- */

.footer {
  background: var(--color-white);
  padding: 80px 0 40px;
  border-top: 1px solid #eee;
}

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

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  margin: 6px 0;
  color: var(--text-sub);
  font-size: 14px;
}

.footer-col a:hover {
  opacity: 0.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
