/* detail.css — shared styles for service-detail and project-detail pages */

.detail-hero {
  text-align: center;
  padding: 120px 20px 40px;
  background: radial-gradient(ellipse at top, rgba(91, 155, 255, 0.08), transparent 60%);
}

.detail-hero .badge {
  display: inline-block;
  background: rgba(91, 155, 255, 0.12);
  color: #7cb3ff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.detail-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff, #8888a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-hero .lead {
  color: #8888a0;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Detail body */
.detail-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.detail-body h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #5b9bff;
}

.detail-body p {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Features list */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  transition: 0.3s;
}

.feature-item:hover {
  border-color: rgba(91, 155, 255, 0.25);
}

.feature-item h3 {
  color: #e0e0e8;
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-item p {
  color: #8888a0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Tech stack tags */
.detail-tech {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.detail-tech span {
  background: rgba(91, 155, 255, 0.1);
  color: #7cb3ff;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* CTA area */
.detail-cta {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.12);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-top: 40px;
}

.detail-cta h2 {
  color: #e0e0e8;
  margin-bottom: 10px;
}

.detail-cta p {
  color: #8888a0;
  margin-bottom: 24px;
}

.detail-cta .btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pricing tier cards */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tier-card {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tier-card:hover {
  border-color: rgba(91, 155, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 155, 255, 0.12);
}

.tier-card.featured {
  border-color: rgba(91, 155, 255, 0.3);
  background: rgba(20, 22, 32, 0.95);
}

.tier-card .tier-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7cb3ff;
  margin-bottom: 8px;
  font-weight: 600;
}

.tier-card .tier-price {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.tier-card .tier-price span {
  font-size: 0.9rem;
  color: #8888a0;
  font-weight: 400;
}

.tier-card .tier-desc {
  color: #8888a0;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.tier-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.tier-card ul li {
  color: #aaa;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(78, 140, 255, 0.05);
}

.tier-card ul li::before {
  content: "\2713 ";
  color: #5b9bff;
  font-weight: 700;
  margin-right: 8px;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5b9bff;
  font-size: 0.9rem;
  margin-bottom: 30px;
  transition: 0.2s;
}

.back-link:hover {
  color: #7cb3ff;
}

/* Portfolio detail specifics */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-placeholder {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.08);
  border-radius: 12px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .detail-hero {
    padding: 100px 20px 30px;
  }
  .detail-hero h1 {
    font-size: 2rem;
  }
  .detail-body {
    padding: 30px 20px 60px;
  }
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
