/* ═══════════════════════════════════════════════════════════
   NEXER TECHNOLOGY — products.css
   Styles for all product pages.
   Loaded via <link> on each product page template.
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   SHARED PRODUCT LAYOUT
   (hero, lead, why, cta reuse services.css vars)
───────────────────────────────────────────── */

/* Platform badge in hero kicker */
.prod-platform-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative; top: -1px;
}

/* Tag chips row below title */
.prod-tags-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}

.prod-page-tag {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   KEY CAPABILITIES — horizontal strips
   (same pattern as services, self-contained here)
───────────────────────────────────────────── */
.prod-features-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

.prod-features-label {
  font-size: 0.65rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.prod-features-list { display: flex; flex-direction: column; }

.prod-feat-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
  transition: background 0.2s;
}
.prod-feat-row:first-child { border-top: 1px solid var(--rule); }
.prod-feat-row:hover { background: var(--surface2); }

.prod-feat-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
  padding: 1.8rem 1rem;
  flex-shrink: 0;
}

.prod-feat-icon-placeholder {
  width: 36px; height: 36px;
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.prod-feat-icon-placeholder::before,
.prod-feat-icon-placeholder::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.1);
}
.prod-feat-icon-placeholder::before { width: 1px; height: 60%; }
.prod-feat-icon-placeholder::after  { width: 60%; height: 1px; }

.prod-feat-icon-img {
  width: 32px; height: 32px;
  object-fit: contain; display: block;
  opacity: 0.85; transition: opacity 0.2s;
}
.prod-feat-row:hover .prod-feat-icon-img { opacity: 1; }

.prod-feat-body {
  display: flex; flex-direction: column;
  justify-content: center; gap: 0.4rem;
  padding: 1.8rem 2rem;
}
.prod-feat-body h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  color: var(--white); line-height: 1.2;
}
.prod-feat-body p {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────
   COUNTRY SECTIONS
   (reuses loc-* classes from services.css via shared vars)
───────────────────────────────────────────── */
.prod-countries-intro {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.75; padding: 3rem 0 1rem;
  border-top: 1px solid var(--rule);
}

/* ─────────────────────────────────────────────
   VIDEO SECTION
───────────────────────────────────────────── */
.prod-video-section {
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.prod-video-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.4rem;
  color: var(--white); margin-bottom: 0.75rem;
  line-height: 1.2;
}

.prod-video-desc {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.75; max-width: 600px;
  margin-bottom: 2rem;
}

.prod-video-embed {
  width: 100%; max-width: 860px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  background: #000;
  overflow: hidden;
}

.prod-video-embed iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ─────────────────────────────────────────────
   WHY NEXER — product variant (no sticky image)
───────────────────────────────────────────── */
.prod-why-section {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}

.prod-why-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.prod-why-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.prod-why-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.prod-why-image:hover img { transform: scale(1.03); }
.prod-why-image.img-placeholder {
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
}
.prod-why-image.img-placeholder::after {
  content: 'Image coming soon';
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

.prod-why-kicker {
  font-size: 0.65rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.2rem;
}

.prod-why-text {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.9;
}

.prod-why-points {
  list-style: none;
  display: flex; flex-direction: column;
}
.prod-why-points li {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.88rem; color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.prod-why-points li:first-child { border-top: 1px solid var(--rule); }

.prod-why-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   CTA BAR — product variant
───────────────────────────────────────────── */
.prod-cta-bar {
  padding: 4rem 0;
  border-top: 4px solid var(--rule);
}
.prod-cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 3rem;
}
.prod-cta-bar h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--white); line-height: 1.2; margin-bottom: 0.5rem;
}
.prod-cta-bar p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─────────────────────────────────────────────
   PROCUREMENT — Lifecycle diagram
───────────────────────────────────────────── */
.proc-diagram-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.proc-diagram-img {
  width: 100%;
  max-width: 900px;
  display: block;
  border: 1px solid var(--rule);
}

.proc-diagram-placeholder {
  width: 100%; max-width: 900px;
  aspect-ratio: 16 / 5;
  background: var(--surface2);
  border: 1px dashed var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.proc-diagram-placeholder::after {
  content: 'Lifecycle diagram — coming soon';
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {

  .prod-feat-row { grid-template-columns: 56px 1fr; }
  .prod-feat-icon-col { padding: 1.2rem 0.8rem; }
  .prod-feat-body { padding: 1.2rem; }
  .prod-why-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .prod-why-image { aspect-ratio: 16 / 9; }
  .prod-cta-inner { flex-direction: column; align-items: flex-start; }
}