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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: white;
  color: black;
  line-height: 1.6;
}

a {
  color: black;
  text-decoration: none;
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

header {
  border-bottom: 2px solid black;
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(5px);
  z-index: 100;
}

nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

section {
  margin-bottom: 80px;
}

section h2 {
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  animation: fade-in 0.6s ease-out forwards;
}

section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: color 0.3s;
}

section p {
  color: #555;
  line-height: 1.7;
}

.content > div {
  opacity: 0;
  animation: slide-up 0.6s ease-out forwards;
}

.content > div:first-child {
  animation-delay: 0ms;
}

.content > div:last-child {
  animation-delay: 100ms;
}

.box {
  border: 2px solid black;
  padding: 40px;
  text-align: center;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: 150ms;
  transition: transform 0.3s;
}

.box:hover {
  transform: scale(1.02);
}

.box p {
  font-size: 2rem;
  font-weight: bold;
  color: black;
}

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

.card {
  border: 2px solid black;
  padding: 24px;
  transition: all 0.3s;
  opacity: 0;
  animation: slide-up 0.6s ease-out forwards;
}

.card:hover {
  box-shadow: 8px 8px 0px 0px rgba(0,0,0,1);
  transform: translateY(-4px);
}

.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 100ms; }
.card:nth-child(3) { animation-delay: 200ms; }
.card:nth-child(4) { animation-delay: 300ms; }
.card:nth-child(5) { animation-delay: 400ms; }

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-header img {
  width: 40px;
  height: 40px;
}

.card-header h3 {
  margin: 0;
  font-size: 1.125rem;
}

.card img {
  width: 96px;
  height: 96px;
  border: 2px solid black;
  object-fit: cover;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 4px;
}

.role {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 16px;
}

.links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.links a {
  font-size: 0.875rem;
  transition: opacity 0.3s;
}

.links a:hover {
  text-decoration: underline;
}

.card:hover .role {
  color: #666;
}

#home h3:hover {
  color: #666;
}

footer {
  border-top: 2px solid black;
  padding: 24px 0;
  text-align: center;
}

footer p {
  font-size: 0.875rem;
  color: #666;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .box p {
    font-size: 1.5rem;
  }
  
  main {
    padding: 32px 16px;
  }
  
  section {
    margin-bottom: 48px;
  }
}
