@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f0f1a;
  color: #e0e0e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

header .subtitle {
  font-size: 0.95rem;
  color: #8888a0;
  margin-top: 0.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.engineers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  flex: 1;
}

.engineer-card {
  background: #1a1a2e;
  border: 1px solid #2a2a40;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.engineer-card:hover {
  transform: translateY(-4px);
  border-color: #4a4a6a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #2a2a40;
  transition: border-color 0.2s ease;
}

.engineer-card:hover .avatar {
  border-color: #4a4a6a;
}

.name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}

.role {
  font-size: 0.8rem;
  color: #8888a0;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.level-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.level-badge.leadership {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.level-badge.senior {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.level-badge.manager {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.level-badge.engineer {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid #1a1a2e;
}

footer p {
  font-size: 0.8rem;
  color: #555568;
}

footer .credit {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #44445a;
}

/* Tablet */
@media (max-width: 768px) {
  .engineers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  header h1 {
    font-size: 1.6rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .engineers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  header {
    padding: 2rem 1rem 1.5rem;
  }
  
  header h1 {
    font-size: 1.4rem;
  }
}
