:root {
  --bg: #f6f8fb;
  --ink: #1f2933;
  --muted: #5b6b7b;
  --brand: #1f7a8c;
  --brand-2: #2a9d8f;
  --card: #ffffff;
  --border: #e3e9f0;
  --shadow: 0 10px 30px rgba(31, 122, 140, 0.08);
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }
.brand__dot { color: var(--brand); }
.menu a { margin-left: 22px; color: var(--muted); font-size: 15px; transition: color .2s; }
.menu a:hover { color: var(--brand); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #e8f4f6 0%, #eef6f1 100%);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 90px 20px 100px;
  text-align: center;
}
.hero__hi { color: var(--brand); font-weight: 600; letter-spacing: 2px; }
.hero__name { font-size: 64px; font-weight: 900; margin: 8px 0; letter-spacing: 2px; }
.hero__role { font-size: 20px; color: var(--ink); font-weight: 600; }
.hero__desc { color: var(--muted); max-width: 560px; margin: 18px auto 30px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: #fff; color: var(--brand); border: 1px solid var(--border); }

/* Sections */
.section { max-width: 980px; margin: 0 auto; padding: 64px 20px; }
.section__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
}
.section__title::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 5px; border-radius: 3px;
  background: linear-gradient(var(--brand), var(--brand-2));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.about p { color: var(--muted); margin-bottom: 12px; }
.about p:last-child { margin-bottom: 0; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.project h3 { font-size: 19px; margin-bottom: 10px; }
.project p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.link { color: var(--brand); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; }

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.footer__copy { margin-top: 10px; font-size: 13px; color: #9aa7b4; }
.footer__beian { margin-top: 6px; font-size: 12px; color: #9aa7b4; }
.footer__beian a { color: #9aa7b4; text-decoration: none; }
.footer__beian a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .hero__name { font-size: 46px; }
  .menu a { margin-left: 14px; font-size: 14px; }
  .nav__inner { padding: 12px 16px; }
}
