/* Enhanced Personal Website UI */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  font-feature-settings: 'kern' 1;
}

.hero {
  text-align: center;
}

.hero .subtitle {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: #4a5568;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.about {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.about p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #2d3748;
  line-height: 1.8;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.about p:last-child {
  margin-bottom: 0;
}

.about strong {
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}

.contact {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  position: relative;
}

.contact a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.contact a:hover {
  color: #1a202c;
}

.contact a:hover::after {
  width: 100%;
}

.contact a i {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: #718096;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  body {
    padding: 2rem 1.5rem;
  }
  
  main {
    gap: 2.5rem;
  }
  
  .about {
    max-width: 100%;
    padding: 1.5rem 0;
  }
  
  .about p {
    font-size: 1.0625rem;
    line-height: 1.75;
  }
  
  .contact {
    gap: 1rem;
  }
  
  .contact a {
    font-size: 0.875rem;
  }
}
