/* /css/components/product-highlight.css
   "Product Highlight" container below the landing columns: the brochure card
   (opens the iframe modal) and the PragOptics-themed Field Node Manager card. */

.product-highlight { margin-top: 18px; padding: 26px 24px 28px; }

.ph-head { margin-bottom: 18px; }
.ph-kicker {
  display: inline-block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-600, #21bca5); font-weight: 800;
}
.ph-title {
  margin: .25em 0 0; font-weight: 850; font-size: 1.5rem; line-height: 1.2;
  background: linear-gradient(130deg, #fff 10%, var(--brand-600, #21bca5) 58%, var(--brand-purp, #a200ff) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }

/* shared themed card surface (both cards use the same gradient + edge) */
.ph-card {
  position: relative; overflow: hidden; min-height: 252px; padding: 22px;
  border-radius: var(--radius, 16px);
  background: linear-gradient(120deg, rgba(28, 164, 144, .12), rgba(162, 0, 255, .12));
  border: 1px solid rgba(162, 0, 255, .30);
  box-shadow: var(--aura, 0 18px 50px rgba(0, 0, 0, .5));
}

/* brochure card: flyer beside a body whose title / text / button are spread vertically */
.ph-brochure { display: flex; flex-direction: row; align-items: stretch; gap: 18px; }
.ph-flyer {
  width: 168px; max-width: 44%; height: auto; flex: none; align-self: center;
  border-radius: 12px; border: 1px solid var(--border, rgba(255, 255, 255, .12)); background: #05070d;
}
.ph-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ph-card-body h3 { margin: 0; font-size: 1.2rem; font-weight: 800;
  background: linear-gradient(120deg, var(--brand-600, #21bca5), #bf7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-card-body p { margin: 0; color: var(--muted, #9fb3c8); }
.ph-card-body .ph-btn { align-self: flex-start; }

/* FNM card: faint logo behind, content (incl. centered button) centered, docs link bottom-right */
.ph-fnm { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding-bottom: 42px;
  background: linear-gradient(160deg, rgba(11, 15, 25, .92), rgba(15, 11, 25, .94)); border-color: rgba(162, 0, 255, .22); }
.ph-fnm::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(/images/logo.png) no-repeat center / 58% auto; opacity: .24;
}
.ph-fnm > * { position: relative; z-index: 1; }
.ph-fnm h3 { margin: 0; font-size: 1.2rem; font-weight: 800;
  background: linear-gradient(120deg, var(--brand-600, #21bca5), #bf7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-fnm p { margin: 0; color: var(--muted, #9fb3c8); max-width: 42ch; }
.ph-docs { position: absolute; right: 14px; bottom: 12px; z-index: 1; font-size: .8rem; color: var(--muted, #9fb3c8); text-align: right; }
.ph-docs a { color: var(--brand-600, #21bca5); text-decoration: none; }
.ph-docs a:hover { color: #fff; }

/* shared themed button (matches the HART hub CTA so it reads as one product) */
.ph-btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: .95rem; text-decoration: none; color: #04130f;
  background: linear-gradient(120deg, var(--brand-600, #21bca5), var(--brand, #1ca490));
  box-shadow: 0 10px 26px rgba(28, 164, 144, .30);
}
.ph-btn:hover { background: linear-gradient(120deg, var(--brand-600, #21bca5), var(--brand-purp, #a200ff)); color: #fff; }

/* brochure iframe modal (reuses .legal-mask/.legal-panel/.legal-card from legal-viewer.css) */
.brochure-card { width: min(1040px, 94vw) !important; }
.brochure-body { padding: 0 !important; }
.brochure-frame { width: 100%; height: min(80vh, 940px); border: 0; display: block; background: #05070d; }

@media (max-width: 680px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-brochure { flex-direction: column; }
  .ph-flyer { width: 100%; max-width: 300px; margin: 0 auto; }
  .ph-card-body { justify-content: flex-start; }
  .ph-card-body .ph-btn { align-self: center; }
  .brochure-frame { height: 82vh; }
}
