:root {
  --color-bg: #ffffff;
  --color-surface: #f6f7fb;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(920px, 90%);
  margin: 0 auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef0f4;
  z-index: 10;
}

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

.nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.hero-inner {
  text-align: center;
  padding: 4rem 0;
}

.hero-kicker {
  font-size: 1.1rem;
  color: var(--color-muted);
}

.hero-name {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0.4rem 0;
}

.hero-role {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--color-accent);
}

.hero-desc {
  max-width: 520px;
  margin: 1rem auto 2rem;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* Sections */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about {
  padding: 6rem 0;
}

.about-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow);
}

.about-card p + p {
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #eef0f4;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}
