:root {
  --primary: #1a3a6b;
  --primary-light: #2c5aa0;
  --accent: #c9a227;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1f2937;
  --muted: #6b7280;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0,0,0,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px; background: var(--accent);
  color: var(--primary); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.nav { display: flex; gap: 24px; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a.active { color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 44px; margin-bottom: 12px; letter-spacing: 2px; }
.hero-sub { font-size: 18px; opacity: .9; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--primary); font-weight: 600; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 30px; color: var(--primary); margin-bottom: 28px; text-align: center; }
.section p { max-width: 720px; margin: 0 auto 12px; text-align: center; }

/* Grid / cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card h3 { color: var(--primary); margin-bottom: 8px; font-size: 18px; }
.card p { text-align: left; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.tag { display: inline-block; background: #eef2f8; color: var(--primary-light); font-size: 12px; padding: 3px 10px; border-radius: 20px; }

/* Footer */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 28px 0; text-align: center; font-size: 14px; }
.muted { opacity: .7; font-size: 13px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
}
