:root {
  --bg-color: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --accent-color: #0071e3;
  --divider-color: #d2d2d7;
  --card-bg: #f5f5f7;
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.divider {
  height: 1px;
  background-color: var(--divider-color);
  width: 100%;
  max-width: 80px;
  margin: 0 auto;
}

/* Projects Section */
.projects {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  line-height: 1.125;
  font-weight: 600;
  letter-spacing: 0.004em;
  margin-bottom: 48px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.project-card:hover {
  transform: scale(1.02);
  background-color: #f0f0f2;
}

.project-card h3 {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 17px;
  line-height: 1.47059;
  color: var(--text-secondary);
}

.project-link {
  margin-top: 24px;
  font-size: 17px;
  color: var(--accent-color);
  font-weight: 400;
  display: flex;
  align-items: center;
}

.project-link::after {
  content: '→';
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.project-card:hover .project-link::after {
  transform: translateX(4px);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--divider-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 { animation-delay: 0.1s; }
.hero .subtitle { animation-delay: 0.2s; }
.hero .divider { animation-delay: 0.3s; }
.section-title { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 734px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero .subtitle {
    font-size: 19px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
}
