/* Shared service landing pages (blockchain.css patterns) */

.service-hero {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
}

.service-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.8;
}

.service-offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .service-offerings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-offerings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-offering-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.service-offering-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ai-dark);
  margin-bottom: 0.625rem;
}

.service-offering-card p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.service-tag strong {
  color: var(--ai-cyan);
  font-weight: 600;
}

.service-use-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .service-use-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-use-case {
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border-left: 3px solid var(--ai-cyan);
}

.service-use-case h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ai-dark);
  margin-bottom: 0.5rem;
}

.service-use-case p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.65;
}

.service-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .service-tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-tech-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.service-capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .service-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-capability-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}

.service-capability-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-capability-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.service-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.service-related-links a {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #475569;
  transition: border-color 0.2s, color 0.2s;
}

.service-related-links a:hover {
  border-color: var(--ai-cyan);
  color: #012970;
}
