:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #2563eb;
  --border: #e5e7eb;
  --card-bg: #f9fafb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  text-align: center;
}

.hero__eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Works */
.works {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.works__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card__cover {
  height: 160px;
}

.card__cover--1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.card__cover--2 { background: linear-gradient(135deg, #f472b6, #db2777); }
.card__cover--3 { background: linear-gradient(135deg, #34d399, #059669); }
.card__cover--4 { background: linear-gradient(135deg, #fbbf24, #d97706); }

.card__body {
  padding: 20px;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card__desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 40px;
  text-align: center;
}

.footer__text {
  color: var(--muted);
  margin-bottom: 12px;
}

.footer__links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__copyright {
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__beian { text-align: center; font-size: 12px; color: #888; margin: 8px 0 0; }
.footer__beian a { color: #888; text-decoration: none; }
.footer__beian a:hover { color: #555; }
