:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e5e7eb;
  --color-card-bg: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 720px;
  --spacing: 2rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

/* Main content */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing);
  flex: 1;
  width: 100%;
}

/* Hero section */
.hero {
  padding: 4rem 0 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--color-accent);
}

.tagline {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.intro {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

/* Page */
.page {
  padding: 2rem 0;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page li {
  margin-bottom: 0.4rem;
}

/* Projects */
.project-grid {
  margin-top: 1.5rem;
}

.project-card {
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: var(--color-muted);
}

.project-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.tech-stack {
  font-size: 0.8rem !important;
  color: var(--color-muted) !important;
  opacity: 0.8;
}

.project-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .nav-links {
    gap: 1rem;
  }
}
