/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #b8933a;
  --accent-glow: rgba(184, 147, 58, 0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.brand {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 12px;
  margin-right: -12px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.tagline {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  margin-top: 16px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 48px auto;
  opacity: 0.4;
}

/* ===== Projects ===== */
.projects {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.project-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 520px;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: border-color 0.4s, transform 0.4s;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.project-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}

.project-card:hover .project-card-bg {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.3) 60%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.project-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  text-align: left;
}

.project-badge {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
}

.project-card-body h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 8px;
  margin: 8px 0;
  color: var(--text-primary);
}

.project-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .brand {
    font-size: 36px;
    letter-spacing: 8px;
    margin-right: -8px;
  }

  .tagline {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .project-card {
    height: 200px;
  }

  .project-card-body h2 {
    font-size: 24px;
    letter-spacing: 4px;
  }
}
