/* ========================================
   PSLAB – Service Landing Pages
   Uses design tokens from index.css
   ======================================== */

/* ---------- Page Shell ---------- */
.service-lp-page {
  padding-top: 80px; /* navbar height */
}

/* ---------- Service Hero ---------- */
.service-hero {
  padding: 80px 0 56px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-glass-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--clr-accent-glow) 0%, transparent 60%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--clr-text-heading);
}

.service-hero__desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.service-hero__desc strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ---------- Feature Cards Grid ---------- */
.service-features {
  padding: 80px 0;
}

.service-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--clr-glass-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-primary-light), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(26, 122, 138, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 122, 138, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 122, 138, 0.2), rgba(26, 122, 138, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--clr-primary-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.feature-card__desc strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ---------- Certifications Strip ---------- */
.service-certs {
  padding: 48px 0;
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-glass-border);
  border-bottom: 1px solid var(--clr-glass-border);
}

.service-certs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.service-certs__title {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.service-certs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Reuse existing .cert-badge from index.css but allow overrides */
.service-certs .cert-badge {
  font-size: 0.78rem;
  padding: 6px 16px;
}

/* ---------- CTA Section ---------- */
.service-cta {
  padding: 80px 0;
  text-align: center;
}

.service-cta__box {
  background: #ffffff;
  border: 1px solid var(--clr-glass-border);
  border-radius: var(--radius);
  padding: 56px 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-cta__box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-primary-light), transparent);
}

.service-cta__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--clr-text-heading);
  margin-bottom: 12px;
}

.service-cta__desc {
  color: var(--clr-text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Case Study Cards on LP ---------- */
.service-lp-page .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-lp-page .article-card {
  background: #ffffff;
  border: 1px solid var(--clr-glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.service-lp-page .article-card:hover {
  border-color: rgba(26, 122, 138, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 122, 138, 0.12);
}

.service-lp-page .article-card__content {
  padding: 28px 24px;
}

.service-lp-page .article-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.service-lp-page .article-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-lp-page .article-card__summary {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-lp-page .article-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.service-lp-page .article-card__link:hover {
  color: var(--clr-primary-dark);
}

/* ---------- Breadcrumb on LP ---------- */
.service-lp-page .article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.service-lp-page .article-hero__breadcrumb a {
  color: var(--clr-primary);
  font-weight: 500;
}

.service-lp-page .article-hero__breadcrumb span {
  color: var(--clr-text-muted);
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .service-features__grid {
    grid-template-columns: 1fr;
  }

  .service-lp-page .article-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 60px 0 40px;
  }
}
