/* Project Detail Pages */
.project-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.back-link:hover {
  color: #fff;
}

.project-hero {
  margin-bottom: 40px;
}

.project-diagram {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.project-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgb(156, 163, 175);
  line-height: 1.6;
  margin-bottom: 40px;
}

.project-description {
  margin-bottom: 48px;
}

.project-description p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgb(156, 163, 175);
  line-height: 1.75;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.project-highlights {
  margin-bottom: 48px;
}

.project-highlights h2,
.project-features h2,
.project-tech h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.highlight-item {
  padding: 24px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.highlight-item:hover {
  background: rgba(255,255,255,0.06);
}

.highlight-metric {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 500;
  color: #a78bfa;
  margin-bottom: 6px;
}

.highlight-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.project-features {
  margin-bottom: 48px;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  position: relative;
  padding-left: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgb(156, 163, 175);
  line-height: 1.7;
  margin-bottom: 14px;
}

.project-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a78bfa;
}

.project-features li strong {
  color: #fff;
}

.project-tech {
  margin-bottom: 48px;
}

.project-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.project-btn-primary {
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.3);
  color: #c084fc;
}

.project-btn-primary:hover {
  background: rgba(167,139,250,0.2);
  transform: translateY(-1px);
}

.project-btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

.project-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 700px) {
  .project-page { padding: 40px 20px 60px; }
  .project-title { font-size: 28px; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .project-actions { flex-direction: column; }
}
