*, *::before, *::after { box-sizing: border-box; }

.pf-svc-cta {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px), #09090b;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
}

.pf-svc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(0,87,168,0.2) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.2;
  z-index: 0;
}

.pf-svc-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,168,0.06) 0%, transparent 50%, rgba(0,57,168,0.06) 100%);
  z-index: 0;
}

.pf-svc-cta-inner {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
}

.pf-svc-cta-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pf-svc-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(0,87,168,0.1);
  border: 1px solid rgba(0,87,168,0.3);
  margin-bottom: 1.5rem;
}

.pf-svc-cta-badge-icon {
  width: 1rem;
  height: 1rem;
  color: #4d9be6;
}

.pf-svc-cta-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4d9be6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pf-svc-cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.pf-svc-cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 40rem;
  margin: 0 auto;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

.pf-svc-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .pf-svc-cta-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1280px) {
  .pf-svc-cta-grid { grid-template-columns: repeat(4, 1fr); }
}

.pf-svc-card {
  position: relative;
  background: rgba(24,24,27,0.6);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  border: 1px solid rgba(0,87,168,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}

.pf-svc-card:hover {
  border-color: rgba(0,87,168,0.45);
  transform: translateY(-0.5rem);
  box-shadow: 0 0 30px -5px rgba(0,87,168,0.35);
}

.pf-svc-icon-wrap {
  position: relative;
  aspect-ratio: 4/3;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(8,12,32,0.95), rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-svc-icon {
  width: 64px;
  height: 64px;
  color: rgba(0,87,168,0.75);
  transition: transform 0.5s cubic-bezier(0.175,0.885,0.32,1.275), color 0.3s;
}

.pf-svc-card:hover .pf-svc-icon {
  transform: scale(1.12);
  color: #0057A8;
}

.pf-svc-icon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,87,168,0.18), transparent, transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.pf-svc-card:hover .pf-svc-icon-overlay { opacity: 1; }

.pf-svc-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.pf-svc-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(0,87,168,0.12);
  border: 1px solid rgba(0,87,168,0.25);
  font-size: 11px;
  font-weight: 600;
  color: #4d9be6;
  letter-spacing: 0.02em;
}

.pf-svc-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}

.pf-svc-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

.pf-svc-takeaway {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(0,87,168,0.06);
  border: 1px solid rgba(0,87,168,0.12);
}

.pf-svc-takeaway-icon {
  width: 1rem;
  height: 1rem;
  color: #4d9be6;
  flex-shrink: 0;
  margin-top: 1px;
}

.pf-svc-takeaway-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

.pf-svc-card-cta {
  margin-top: auto;
}

.pf-svc-card .pf-anim-btn {
  width: 100%;
  justify-content: center;
}

.pf-svc-cta-btn, .pf-svc-card .pf-anim-btn, .idx-edu-anim-btn {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.pf-svc-card {
  overflow: hidden !important;
  min-width: 0 !important;
}

.pf-svc-cta-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,87,168,0.3), transparent);
  margin-top: 4rem;
}

@media (max-width: 600px) {
  .pf-svc-cta { padding: 4rem 1rem; }
}
