/* ============================================================
   VOLUM TECHNOLOGIES — Products Section
   ============================================================ */

.products { background: #000; }

/* ── SUBSECTIONS (Software / Hardware) ── */
.products-subsection { margin-top: 3.5rem; }
.products-subsection:first-of-type { margin-top: 2rem; }

.prod-sub-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--primary); opacity: 0.6;
  margin-bottom: 1.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid rgba(0,152,253,0.12);
  border-radius: 6px; overflow: hidden;
}

/* ── PRODUCT CARD ── */
.prod-card {
  background: #050810;
  border-right: 1px solid rgba(0,152,253,0.08);
  position: relative; overflow: hidden;
  transition: background 0.4s, transform 0.4s;
  cursor: pointer;
  display: flex; flex-direction: column;
}

/* ── PRODUCT MEDIA AREA (image / video / placeholder) ── */
.prod-media {
  height: 210px;
  background: linear-gradient(160deg, #06101f 0%, #030810 100%);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
/* ambient colour glow — overridden per product below */
.prod-media::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 30%, var(--card-glow, rgba(0,152,253,0.1)) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.prod-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.6s ease;
  position: relative; z-index: 1;
}
.prod-card:hover .prod-media img { transform: scale(1.06); }

/* fade image into card background */
.prod-media::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 72px;
  background: linear-gradient(to bottom, transparent, #050810);
  pointer-events: none; z-index: 2;
}

/* per-product glow colours */
#holototem .prod-media  { --card-glow: rgba(130,0,123,0.14); }
#holotable  .prod-media { --card-glow: rgba(130,0,123,0.14); }
#holocabine .prod-media { --card-glow: rgba(130,0,123,0.14); }

/* Software placeholder: dark with subtle dot grid */
.prod-media--placeholder {
  background: linear-gradient(135deg, #060d1e 0%, #0b1830 100%);
  display: flex; align-items: center; justify-content: center;
}
.prod-media--placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,152,253,0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
.prod-media--placeholder::after {
  background: linear-gradient(to bottom, transparent, #050810);
}
.prod-media-icon-lg {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(0,152,253,0.08);
  border: 1px solid rgba(0,152,253,0.22);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: all 0.3s;
}
.prod-card:hover .prod-media-icon-lg {
  background: rgba(0,152,253,0.14);
  border-color: rgba(0,152,253,0.4);
  box-shadow: 0 0 24px rgba(0,152,253,0.2);
}
.prod-media-icon-lg svg {
  width: 26px; height: 26px;
  stroke: var(--primary); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* HoloTotem: video plays on hover */
.prod-media-static {
  width: 100%; height: 100%;
  object-fit: contain; padding: 1rem;
  transition: opacity 0.4s, transform 0.6s ease;
  position: absolute; inset: 0;
}
.prod-media-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 0.5s;
}
.prod-card--video:hover .prod-media-video { opacity: 1; }
.prod-card--video:hover .prod-media-static { opacity: 0; transform: scale(1.06); }

.prod-media-play-hint {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,152,253,0.15);
  border: 1px solid rgba(0,152,253,0.3);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.prod-media-play-hint svg {
  width: 12px; height: 12px;
  fill: var(--primary); stroke: none;
  margin-left: 2px;
}
.prod-card--video:hover .prod-media-play-hint { opacity: 0; }

/* ── PRODUCT BODY (text content) ── */
.prod-body {
  padding: 1.75rem 2rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.prod-body .prod-link { margin-top: auto; padding-top: 1.5rem; }
.prod-card:last-child { border-right: none; }
.prod-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,152,253,0.07) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.prod-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.prod-card:hover { background: #07101e; transform: translateY(-4px); }
.prod-card:hover::before, .prod-card:hover::after { opacity: 1; }

/* ── CARD ELEMENTS ── */
.prod-badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.65rem; margin-bottom: 1.5rem;
  background: rgba(0,152,253,0.1);
  border: 1px solid rgba(0,152,253,0.25);
  border-radius: 20px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
}

.prod-icon {
  width: 46px; height: 46px; border-radius: 7px;
  background: rgba(0,152,253,0.07);
  border: 1px solid rgba(0,152,253,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  transition: all 0.3s;
}
.prod-card:hover .prod-icon {
  background: rgba(0,152,253,0.12);
  border-color: rgba(0,152,253,0.38);
  box-shadow: 0 0 20px rgba(0,152,253,0.18);
}
.prod-icon svg {
  width: 20px; height: 20px; stroke: var(--primary);
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.prod-name {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.prod-desc {
  font-size: 0.855rem; font-weight: 300;
  color: rgba(255,255,255,0.47); line-height: 1.62;
  margin-bottom: 1.5rem;
}

.prod-link {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0; transform: translateX(-6px);
  transition: all 0.3s;
}
.prod-card:hover .prod-link { opacity: 1; transform: translateX(0); }
.prod-link svg {
  width: 13px; height: 13px; stroke: currentColor;
  fill: none; stroke-width: 2;
  transition: transform 0.2s;
}
.prod-link:hover svg { transform: translateX(3px); }

/* ── FEATURE LIST (inside cards) ── */
.prod-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 1rem; margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,152,253,0.08);
}
.prod-features li {
  display: flex; gap: 0.85rem; align-items: flex-start;
}
.prod-features li svg {
  width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px;
  stroke: var(--primary); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.75;
}
.prod-features li span {
  font-size: 0.8rem; font-weight: 300; line-height: 1.58;
  color: rgba(255,255,255,0.45);
}
.prod-features li span strong {
  color: rgba(255,255,255,0.72); font-weight: 500;
}
