/* ==========================================================================
   MyJobAlly — Job Packages page styles
   ========================================================================== */

/* ---- Page banner (dark hero strip) ---- */
.page-banner {
  background: linear-gradient(120deg, var(--brand-navy) 45%, #3A4A5E 100%);
  padding: 56px 0;
}
.page-banner h1 { color: #fff; font-size: 30px; }

.page-banner-breadcrumb {
  background: #1A222B;
  padding: 14px 0;
}
.page-banner-breadcrumb nav {
  font-size: 14px;
  color: #8A93A0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-banner-breadcrumb a { color: #C4C9D0; }
.page-banner-breadcrumb a:hover { color: #fff; }
.page-banner-breadcrumb .current { color: var(--brand-pink-light); }
.page-banner-breadcrumb .icon { width: 12px; height: 12px; }

/* ---- Featured services ---- */
.services-section { padding: var(--space-xl) 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
}

.service-item { text-align: center; padding: 0 var(--space-sm); }

.service-icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.service-icon-circle .icon { width: 34px; height: 34px; color: var(--brand-pink); }

.service-item h3 { font-size: 17px; margin-bottom: 8px; }
.service-item p { font-size: 14px; color: var(--text-muted); }

/* ---- Job packages / pricing cards ---- */
.packages-section {
  background: var(--bg-alt);
  padding: var(--space-xl) 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  align-items: end;
}

.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

/*
  Boldness stays concentrated on the one recommended plan (see
  .pricing-card.featured below) — every other card gets only a quiet,
  low-cost hover response, not a competing lift/shadow of its own.
*/
.pricing-card:not(.featured):hover {
  border-color: var(--brand-pink);
  box-shadow: 0 6px 18px rgba(34,46,57,0.08);
}

.pricing-card.featured {
  border-color: var(--brand-pink);
  box-shadow: 0 20px 44px rgba(247,53,106,0.18);
  transform: translateY(-16px);
}

/*
  "Most Popular" badge — added on request, alongside the visual
  refresh. A real signal (which plan most employers actually pick),
  not decoration — reinforces the featured card's existing dark
  header/lift/shadow rather than introducing a second, competing cue.
*/
.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-pink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(247,53,106,0.35);
  white-space: nowrap;
}

.pricing-card-header {
  padding: var(--space-md);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.pricing-card.featured .pricing-card-header {
  background: var(--brand-navy);
  border-bottom: none;
}
.pricing-card-header h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.pricing-card.featured .pricing-card-header h3 { color: #fff; }

.pricing-card-price {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card-price .amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
/*
  Currency mark set smaller and lighter than the figure it prices —
  the number is what the eye should land on first.
*/
.pricing-card-price .amount .currency {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 1px;
}
.pricing-card-price .duration {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}

.pricing-card-features {
  list-style: none;
  padding: var(--space-md);
  flex: 1;
}
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}
/*
  Unavailable items get a strikethrough on the text itself, not just
  reduced opacity — a clearer, more scannable "not included" signal
  than faintness alone.
*/
.pricing-card-features li.unavailable { color: var(--text-muted); text-decoration: line-through; text-decoration-color: #D1D5DB; }

/*
  Each check/cross now sits inside a small filled circle rather than
  floating as a bare glyph — the same information as before, just more
  legible at a glance across a list this long.
*/
.pricing-card-features .icon {
  width: 16px; height: 16px;
  padding: 4px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--brand-pink-soft);
  color: var(--brand-pink);
  flex-shrink: 0;
}
.pricing-card-features li.unavailable .icon { background: #F3F4F6; color: #9CA3AF; }

.pricing-card-footer { padding: 0 var(--space-md) var(--space-md); }
.pricing-card-footer .btn { width: 100%; }

/* ---- Client logos ---- */
.clients-section {
  padding: var(--space-xl) 0;
  text-align: center;
}
.clients-section h2 {
  font-size: 24px;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

/* Client logo marquee, added on request — replaces the previous
   plain-text placeholder grid. A continuously-scrolling strip (a
   "carousel" in the sense of moving logos, not a manual slider),
   built with a pure CSS animation rather than JS, since a smooth
   infinite scroll doesn't need anything more than that. */
.clients-logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.clients-logo-track {
  display: flex;
  width: max-content;
  animation: clients-logo-scroll 32s linear infinite;
}
.clients-logo-marquee:hover .clients-logo-track { animation-play-state: paused; }
.clients-logo-track-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-right: var(--space-lg);
}
.clients-logo-track-inner img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
@keyframes clients-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-logo-track { animation: none; }
  .clients-logo-marquee { overflow-x: auto; }
}
@media (max-width: 600px) {
  .clients-logo-track-inner img { width: 70px; height: 70px; padding: 10px; }
}

/* ---- Custom package CTA ---- */
.custom-package-cta {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
}
.custom-package-cta h3 { font-size: 18px; margin-bottom: 6px; }
.custom-package-cta p { font-size: 14.5px; color: var(--text-muted); }
.custom-package-cta a { color: var(--brand-pink); font-weight: 600; }

.dots-decoration {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}
.dots-decoration span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-pink);
  opacity: 0.4;
}
.dots-decoration span:nth-child(2) { opacity: 0.7; }
.dots-decoration span:nth-child(3) { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
}

/* "Current Plan" / "Lower Plan" states — added on request, for a
   signed-in employer viewing pricing.php. Deliberately gray and inert
   regardless of which card it's on (including the "featured" one),
   since a disabled state shouldn't visually compete with the real,
   clickable "Upgrade" buttons elsewhere on the page. */
.btn-plan-disabled {
  background: #F3F4F6 !important;
  border-color: #E5E7EB !important;
  color: var(--text-muted) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}
.btn-plan-disabled:hover { background: #F3F4F6 !important; }
