.project-hero {
  padding: 60px 0 40px;
  background: #dfffe2;
}

.project-content {
  padding: 60px 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 500;
  transition: all 0.2s;
}

.back-btn:hover {
  gap: 12px;
}

.project-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.project-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Live MVP Button */
.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  margin-top: 24px;
}

.btn-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-live svg {
  width: 18px;
  height: 18px;
}

/* Tech Stack */
.tech-stack-section {
  background: var(--soft-white);
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 48px;
}

.tech-stack-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-weight: 600;
}

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

.tech-item {
  background: var(--white);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tech-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets and medium screens */
@media (max-width: 768px) {
  .project-hero {
    padding: 40px 0 32px;
  }

  .project-hero h1 {
    font-size: 32px;
  }

  .project-content {
    padding: 40px 0;
  }

  .project-meta {
    gap: 16px;
  }

  .meta-value {
    font-size: 14px;
  }

  .tech-stack-section {
    padding: 24px;
    margin-bottom: 32px;
  }

  .tech-stack-section h3 {
    font-size: 18px;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }

  .tech-item {
    padding: 12px;
  }

  .tech-logo {
    width: 40px;
    height: 40px;
  }

  .tech-item img {
    width: 40px;
    height: 40px;
  }

  .btn-live {
    width: 100%;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .project-hero {
    padding: 32px 0 24px;
  }

  .project-hero h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .project-content {
    padding: 32px 0;
  }

  .back-btn {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .project-meta {
    gap: 12px;
  }

  .meta-label {
    font-size: 11px;
  }

  .meta-value {
    font-size: 13px;
  }

  .btn-live {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 20px;
  }

  .btn-live svg {
    width: 16px;
    height: 16px;
  }

  .tech-stack-section {
    padding: 20px;
    margin-bottom: 24px;
  }

  .tech-stack-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
  }

  .tech-item {
    padding: 10px;
  }

  .tech-logo {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .tech-item img {
    width: 36px;
    height: 36px;
  }

  .tech-name {
    font-size: 11px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .project-hero h1 {
    font-size: 22px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-meta {
    flex-direction: column;
    gap: 12px;
  }
}
