/* =============================================================
   Product page extra sections (product-detail.php + includes/product-extras/)
   Uses the theme palette: #04011c navy, #a680f1 purple, #c8f560 lime.
   ============================================================= */

/* ---------- Hero lead (under the H1) ---------- */
.px-hero { max-width: 760px; margin-top: 30px; position: relative; z-index: 2; }
.px-hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(200, 245, 96, 0.35);
  border-radius: 30px;
  color: #c8f560;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.px-hero__headline { margin: 0 0 12px; color: #fff; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.3; }
.px-hero__sub { margin: 0 0 24px; color: rgba(255, 255, 255, 0.75); font-size: 16px; line-height: 1.65; }
.px-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.px-hero__btns .cmn-btn { padding: 14px 24px; font-size: 14px; }
.px-hero__btns .cmn-btn .fa-whatsapp { transform: none; font-size: 15px; color: #25d366; }
.px-hero__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.px-hero__trust li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.px-hero__trust i { color: #c8f560; font-size: 11px; }

/* ---------- Who it is for (left column) ---------- */
.job-detail-content .px-subhead { margin-top: 34px; }
.px-who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 34px; }
.px-who__card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.px-who__card > i {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(166, 128, 241, 0.18);
  color: #c4a8ff; font-size: 16px;
}
.px-who__card h4 { margin: 0 0 6px; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; }
.px-who__card p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 13.5px; line-height: 1.55; }

/* ---------- Section frame ---------- */
.px-sec { padding: 90px 0; position: relative; }
.px-sec--alt { background: linear-gradient(180deg, #120d33 0%, #04011c 100%); }
.px-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.px-head--left { margin: 0 0 28px; text-align: left; }
.px-kicker {
  display: inline-block; margin-bottom: 12px;
  color: #c8f560; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.px-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; text-transform: none; }
.px-head--left h2 { font-size: clamp(26px, 2.8vw, 34px); }

/* ---------- Feature modules ---------- */
.px-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.px-module {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.px-module:hover { border-color: #a680f1; box-shadow: 0 0 11px 6px rgba(166, 128, 241, 0.25) inset; transform: translateY(-4px); }
.px-module__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.px-module__icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 21px; color: #fff;
  background: linear-gradient(135deg, #7c4dff 0%, #a680f1 100%);
  box-shadow: 0 10px 24px rgba(124, 77, 255, 0.35);
}
.px-module__num { color: rgba(255, 255, 255, 0.22); font-size: 34px; font-weight: 700; line-height: 1; }
.px-module h3 { margin: 0 0 16px; color: #fff; font-size: 20px; font-weight: 600; }
.px-module ul { margin: 0; padding: 0; list-style: none; }
.px-module li {
  position: relative; margin: 0 0 11px; padding-left: 22px;
  color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.6;
}
.px-module li:last-child { margin-bottom: 0; }
.px-module li::before {
  content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px; color: #c8f560; font-size: 11px;
}
.px-module li strong { color: #fff; font-weight: 600; }

/* ---------- How it works ---------- */
.px-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.px-step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.px-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 50%;
  border: 2px solid #c8f560; color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 0 16px rgba(200, 245, 96, 0.45);
}
.px-step h3 { margin: 0 0 8px; color: #fff; font-size: 17px; font-weight: 600; }
.px-step p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.6; }

/* ---------- Comparison table ---------- */
.px-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); }
.px-compare { width: 100%; min-width: 760px; border-collapse: collapse; }
.px-compare th, .px-compare td { padding: 16px 18px; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.px-compare thead th { color: #fff; font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, 0.05); }
.px-compare tbody th { color: #fff; font-weight: 600; width: 22%; }
.px-compare td { color: rgba(255, 255, 255, 0.7); }
.px-compare tr:last-child th, .px-compare tr:last-child td { border-bottom: 0; }
.px-compare .is-us { background: rgba(166, 128, 241, 0.14); color: #fff; font-weight: 500; }
.px-compare thead .is-us { background: linear-gradient(135deg, #7c4dff 0%, #a680f1 100%); }
.px-compare td.is-us i { color: #c8f560; margin-right: 4px; }
.px-note { margin: 20px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.6; }
.px-note i { color: #c8f560; margin-right: 6px; }
.px-note--center { text-align: center; }

/* ---------- Tech specs + compliance ---------- */
.px-specs { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.px-specs__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.px-specs dt { color: #c8f560; font-size: 13.5px; font-weight: 600; }
.px-specs dd { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.6; }
.px-comply { display: grid; gap: 14px; }
.px-comply__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.px-comply__item > i { flex: 0 0 auto; margin-top: 3px; color: #c4a8ff; font-size: 18px; width: 22px; text-align: center; }
.px-comply__item h3 { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 600; }
.px-comply__item p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.6; }

/* ---------- Options ---------- */
.px-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.px-option {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.px-option.is-featured { border: 2px solid #a680f1; box-shadow: 0 0 11px 8px rgba(137, 128, 241, 0.3) inset, 0 20px 50px rgba(124, 77, 255, 0.2); }
.px-option__badge {
  position: absolute; top: -13px; left: 26px;
  padding: 4px 12px; border-radius: 20px;
  background: #c8f560; color: #14112b; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.px-option h3 { margin: 0 0 10px; color: #fff; font-size: 22px; font-weight: 600; }
.px-option__best { margin: 0 0 14px; color: #c8f560; font-size: 13.5px; font-weight: 500; }
.px-option__best i { margin-right: 4px; }
.px-option p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.6; }
.px-option p:not(.px-option__best) { flex: 1; margin-bottom: 18px; }
.px-option__link { display: inline-flex; align-items: center; gap: 8px; color: #c4a8ff; font-size: 14px; font-weight: 600; }
.px-option__link:hover { color: #fff; }
.px-option__link i { font-size: 12px; transition: transform 0.2s ease; }
.px-option__link:hover i { transform: translateX(3px); }

/* ---------- FAQ ---------- */
.px-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.px-faq__item { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.04); transition: border-color 0.2s ease; }
.px-faq__item[open] { border-color: rgba(166, 128, 241, 0.6); }
.px-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  color: #fff; font-size: 16px; font-weight: 600;
}
.px-faq__item summary::-webkit-details-marker { display: none; }
.px-faq__item summary i { flex: 0 0 auto; color: #c8f560; font-size: 13px; transition: transform 0.25s ease; }
.px-faq__item[open] summary i { transform: rotate(45deg); }
.px-faq__item p { margin: 0; padding: 0 22px 20px; color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.7; }

/* ---------- CTA ---------- */
.px-sec--cta { padding: 20px 0 100px; }
.px-cta {
  position: relative; overflow: hidden;
  max-width: 980px; margin: 0 auto; padding: 56px 48px; text-align: center;
  border-radius: 22px; border: 1px solid rgba(166, 128, 241, 0.5);
  background: radial-gradient(circle at 15% 0%, rgba(166, 128, 241, 0.35) 0%, rgba(4, 1, 28, 0) 55%),
              radial-gradient(circle at 90% 100%, rgba(200, 245, 96, 0.14) 0%, rgba(4, 1, 28, 0) 50%),
              #0c0828;
}
.px-cta h2 { margin: 0 0 16px; font-size: clamp(26px, 3.4vw, 40px); text-transform: none; }
.px-cta p { max-width: 720px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.7; }
.px-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.px-cta__btns .cmn-btn { padding: 14px 26px; font-size: 14px; }
.px-cta__btns .fa-whatsapp, .px-hero__btns .fa-whatsapp { transform: none !important; color: #25d366; font-size: 15px; }

.px-wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 18px; border-radius: 30px; background: #25d366; color: #fff; font-size: 14px; font-weight: 600; }
.px-wa-link:hover { color: #fff; filter: brightness(1.05); }

#features, #how-it-works, #why-tici, #technology, #options, #faq { scroll-margin-top: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .px-modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .px-sec { padding: 70px 0; }
  .px-steps { grid-template-columns: repeat(2, 1fr); }
  .px-options { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 26px; }
  .px-head--left { margin-top: 10px; }
}
@media (max-width: 767px) {
  .px-hero { margin-top: 22px; }
  .px-hero__sub { font-size: 15px; }
  .px-hero__btns .cmn-btn { flex: 1 1 auto; }
  .px-who { grid-template-columns: 1fr; }
  .px-modules { grid-template-columns: 1fr; }
  .px-steps { grid-template-columns: 1fr; }
  .px-sec { padding: 56px 0; }
  .px-head { margin-bottom: 30px; }
  .px-module { padding: 24px 20px 22px; }
  .px-specs__row { grid-template-columns: 1fr; gap: 4px; }
  .px-cta { padding: 40px 22px; border-radius: 18px; }
  .px-cta__btns .cmn-btn { flex: 1 1 100%; }
  .px-faq__item summary { padding: 16px 18px; font-size: 15px; }
  .px-faq__item p { padding: 0 18px 18px; }
}
.px-wrap > .px-sec:first-child { padding-top: 10px; }
.px-swipe { margin: 0 0 10px; color: rgba(255,255,255,0.55); font-size: 12.5px; } .px-swipe i { color: #c8f560; margin-right: 6px; }
.px-who__card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Intro paragraph above the comparison table */
.px-intro { max-width: 820px; margin: -20px auto 34px; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 16px; line-height: 1.7; }
/* 4 options: 2 x 2 on desktop */
@media (min-width: 992px) {
  .px-options--4 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; }
}
/* 7 steps: last card spans the row on wide screens */
@media (min-width: 992px) {
  .px-steps--7 .px-step:last-child { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .px-steps--7 .px-step:last-child { grid-column: 1 / -1; }
}

/* Long product H1s (e.g. "LMS Portal: Training & Learning Management System") */
.about-hero__title.about-hero__title--long { font-size: clamp(40px, 5.6vw, 72px); line-height: 0.95; max-width: 1000px; text-transform: none; }
@media (max-width: 575px) { .about-hero__title.about-hero__title--long { font-size: clamp(34px, 10vw, 48px); } }

/* 5 modules: 3 + 2 centred on wide screens */
@media (min-width: 1200px) {
  .px-modules--5 { grid-template-columns: repeat(6, 1fr); }
  .px-modules--5 .px-module { grid-column: span 2; }
  .px-modules--5 .px-module:nth-child(4) { grid-column: 2 / 4; }
  .px-modules--5 .px-module:nth-child(5) { grid-column: 4 / 6; }
}
