.projects-hero {
  padding: 160px 5% 80px;
  text-align: center;
  background: linear-gradient(135deg, #0f0f1e 0%, #16213e 100%);
}

.projects-hero h1 {
  font-size: 4rem;
  background: linear-gradient(90deg, #6e57ff, #a78bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  padding: 60px 0;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(30, 30, 60, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 87, 255, 0.2);
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(50px);
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(110, 87, 255, 0.25);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-info {
  padding: 1.8rem;
}

.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #6e57ff;
}

.project-info p {
  margin-bottom: 1rem;
  color: #ccc;
}

.tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tags span {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  background: rgba(110, 87, 255, 0.2);
  border-radius: 50px;
}

.project-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-link {
  color: #6e57ff;
  font-weight: 600;
  text-decoration: none;
}

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