/* Individual project pages */
.project-page {
  min-height: 100vh;
  background: #060608;
  color: #e0e0e0;
}

/* Project hero */
.project-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(100, 190, 210, 0.06) 0%, transparent 60%);
}

.project-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.project-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.project-hero .back-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.project-hero .tag-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-hero .tag {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(100, 190, 210, 0.6);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(100, 190, 210, 0.15);
  border-radius: 100px;
}

.project-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.project-hero .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 700px;
}

/* Project content sections */
.project-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.project-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.project-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tech stack pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-pill {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
}

/* Visual showcase area */
.showcase {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.showcase-visual {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.showcase-visual canvas {
  width: 100%;
  height: 100%;
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.project-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex;
  gap: 1rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.cta-btn.primary {
  background: rgba(100, 190, 210, 0.12);
  border: 1px solid rgba(100, 190, 210, 0.25);
  color: rgba(200, 230, 240, 0.9);
}

.cta-btn.primary:hover {
  background: rgba(100, 190, 210, 0.2);
  border-color: rgba(100, 190, 210, 0.4);
}

.cta-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* Divider */
.divider {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.divider hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

/* Mobile */
@media (max-width: 768px) {
  .project-hero {
    padding: 6rem 1.25rem 2.5rem;
  }

  .project-hero h1 {
    font-size: 1.8rem;
  }

  .project-hero .lead {
    font-size: 0.95rem;
  }

  .project-section {
    padding: 2rem 1.25rem;
  }

  .project-section h2 {
    font-size: 1.25rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-cta {
    padding: 2rem 1.25rem 3rem;
    flex-direction: column;
  }

  .cta-btn {
    text-align: center;
    justify-content: center;
  }

  .showcase {
    padding: 1rem 1.25rem;
  }

  .divider {
    padding: 0 1.25rem;
  }
}
