/* =========================================
   ASTERIZER - Tactical Products page
   Dark + blue HUD aesthetic. Scoped under .tactical / .product-* / .pm-*.
   Floating renders, smooth reveal + detail transitions, reduced-motion safe.
   ========================================= */

.tactical {
  --t-bg: #05080f;
  --t-bg-2: #070c18;
  --t-panel: #0b1322;
  --t-panel-2: #0e1a2e;
  --t-line: #1e374c;
  --t-line-soft: rgba(91, 140, 196, 0.18);
  --t-blue: #3b82f6;
  --t-cyan: #5fd0ff;
  --t-amber: #f5b53d;
  --t-red: #ff5d6c;
  --t-text: #d7e6ff;
  --t-muted: #7f93b5;
  --t-glow: rgba(59, 130, 246, 0.45);
  --t-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  position: relative;
  background: radial-gradient(120% 80% at 50% -10%, var(--t-bg-2) 0%, var(--t-bg) 55%);
  color: var(--t-text);
  padding-top: 80px;
  overflow: hidden;
}

/* === Background FX === */
.tactical-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.t-grid {
  position: absolute;
  inset: -2px;
  background-image: 
    linear-gradient(var(--t-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--t-line-soft) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.t-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.t-glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  top: -160px;
  right: -120px;
  animation: t-drift 22s ease-in-out infinite;
}

.t-glow-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(95, 208, 255, 0.18) 0%, transparent 70%);
  bottom: -160px;
  left: -120px;
  animation: t-drift 26s ease-in-out infinite reverse;
}

@keyframes t-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

.t-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(95, 208, 255, 0.06) 50%, transparent);
  height: 200px;
  animation: t-scan-move 7s linear infinite;
  opacity: 0.7;
}

@keyframes t-scan-move {
  0% { transform: translateY(-220px); }
  100% { transform: translateY(100vh); }
}

.tactical .container { position: relative; z-index: 1; }

/* === Hero === */
.t-hero {
  padding: 80px 0 50px;
  text-align: center;
}

.t-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--t-mono);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--t-cyan);
  background: rgba(95, 208, 255, 0.06);
  border: 1px solid var(--t-line);
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.t-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t-cyan);
  box-shadow: 0 0 10px var(--t-cyan);
  animation: t-blink 1.6s ease-in-out infinite;
}

@keyframes t-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.t-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #fff;
}

.t-title-glow {
  color: var(--t-cyan);
  text-shadow: 0 0 28px rgba(95, 208, 255, 0.55);
}

.t-subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--t-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.t-hero-stats {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.t-stat {
  min-width: 130px;
  padding: 16px 22px;
  background: linear-gradient(160deg, var(--t-panel-2), var(--t-panel));
  border: 1px solid var(--t-line);
  border-radius: 8px;
}

.t-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--t-cyan);
  text-shadow: 0 0 18px rgba(95, 208, 255, 0.4);
}

.t-stat-label {
  font-family: var(--t-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--t-muted);
}

/* === Filters === */
.t-catalog { padding: 30px 0 110px; }

.t-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.t-filter {
  font-family: var(--t-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--t-muted);
  background: var(--t-panel);
  border: 1px solid var(--t-line);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.t-filter i { margin-right: 6px; font-size: 0.72rem; }

.t-filter:hover {
  color: var(--t-text);
  border-color: rgba(95, 208, 255, 0.5);
}

.t-filter.active {
  color: #04101f;
  background: linear-gradient(135deg, var(--t-cyan), var(--t-blue));
  border-color: transparent;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
}

/* === Product grid === */
.t-grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 22px;
  perspective: 1400px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 16px;
  padding: 26px 24px 22px;
  background: 
    linear-gradient(160deg, rgba(20, 34, 56, 0.65) 0%, rgba(8, 14, 26, 0.9) 70%);
  border: 1px solid var(--t-line);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: var(--t-text);
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px) translateZ(42px) scale(1.02);
  border-color: rgba(95, 208, 255, 0.6);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.32);
}

.product-card:hover::before { opacity: 1; }

.product-card:focus-visible {
  outline: 2px solid var(--t-cyan);
  outline-offset: 3px;
}

/* HUD corner brackets */
.pc-frame i,
.pm-frame i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(95, 208, 255, 0.55);
  pointer-events: none;
}
.pc-frame i:nth-child(1), .pm-frame i:nth-child(1) { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.pc-frame i:nth-child(2), .pm-frame i:nth-child(2) { top: 9px; right: 9px; border-left: 0; border-bottom: 0; }
.pc-frame i:nth-child(3), .pm-frame i:nth-child(3) { bottom: 9px; left: 9px; border-right: 0; border-top: 0; }
.pc-frame i:nth-child(4), .pm-frame i:nth-child(4) { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }

/* State badge */
.pc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--t-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid currentColor;
}
.pc-badge i { font-size: 0.62rem; }
.state-unlocked { color: var(--t-cyan); background: rgba(95, 208, 255, 0.08); }
.state-upcoming { color: var(--t-amber); background: rgba(245, 181, 61, 0.08); }
.state-locked   { color: var(--t-red); background: rgba(255, 93, 108, 0.08); }

/* Render area with floating icon */
.pc-render {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.pc-render > i {
  font-size: 3.4rem;
  color: var(--t-cyan);
  filter: drop-shadow(0 0 18px rgba(95, 208, 255, 0.55));
  animation: pc-float 5s ease-in-out infinite;
  z-index: 2;
}

.product-card[data-state="upcoming"] .pc-render > i { color: var(--t-amber); filter: drop-shadow(0 0 18px rgba(245, 181, 61, 0.5)); }
.product-card[data-state="locked"] .pc-render > i { color: #4a5a72; filter: none; }

@keyframes pc-float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(8px); }
}

.pc-ring {
  position: absolute;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1px dashed rgba(95, 208, 255, 0.35);
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.15);
  animation: pc-spin 16s linear infinite;
}
.pc-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(95, 208, 255, 0.12);
}
.product-card[data-state="locked"] .pc-ring { border-color: rgba(120, 140, 170, 0.25); }

@keyframes pc-spin {
  to { transform: rotate(360deg); }
}

/* Locked overlay lock chip */
.pc-lock {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 15, 0.85);
  border: 1px solid var(--t-red);
  border-radius: 50%;
  color: var(--t-red);
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(255, 93, 108, 0.35);
}
.product-card.locked .pc-render > i { opacity: 0.5; }

/* Meta */
.pc-meta { display: flex; flex-direction: column; gap: 3px; }
.pc-cat {
  font-family: var(--t-mono);
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--t-muted);
}
.pc-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.pc-code {
  font-family: var(--t-mono);
  font-size: 0.72rem;
  color: var(--t-blue);
  letter-spacing: 1px;
}

.pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--t-mono);
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--t-cyan);
}
.pc-cta i { transition: transform 0.3s ease; }
.product-card:hover .pc-cta i { transform: translateX(5px); }
.product-card.locked .pc-cta { color: var(--t-red); }

/* Filtering hide */
.product-card.t-hidden {
  display: none;
}

/* === Detail modal === */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal[hidden] { display: none; }

.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.46);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-modal.open .pm-backdrop { opacity: 1; }

.pm-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  max-height: 88dvh;
  overflow: hidden auto;
  /* concise card - hide the scrollbar entirely (content is compact enough to fit) */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* liquid glass: clearly see-through, glassier than the header bar */
  background: rgba(10, 17, 30, 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
  backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
  border: 1px solid rgba(95, 208, 255, 0.34);
  border-radius: 16px;
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(59, 130, 246, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.pm-panel::-webkit-scrollbar { width: 0; height: 0; display: none; }
.product-modal.open .pm-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 26, 0.8);
  border: 1px solid var(--t-line);
  border-radius: 8px;
  color: var(--t-text);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}
.pm-close:hover { border-color: var(--t-cyan); color: var(--t-cyan); transform: rotate(90deg); }

.pm-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
}

/* Stage (floating render) */
.pm-stage {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(60% 60% at 50% 40%, rgba(59, 130, 246, 0.14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(95, 208, 255, 0.04) 0 1px, transparent 1px 28px);
  border-right: 1px solid var(--t-line);
  overflow: hidden;
}

.pm-stage-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--t-glow) 0%, transparent 65%);
  filter: blur(30px);
  animation: t-pulse 4s ease-in-out infinite;
}

@keyframes t-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.12); }
}

.pm-render {
  position: relative;
  z-index: 2;
  font-size: 5rem;
  color: var(--t-cyan);
  filter: drop-shadow(0 0 34px rgba(95, 208, 255, 0.6));
  animation: pm-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes pm-float {
  0%, 100% { transform: translateY(-14px) rotate(-2deg); }
  50% { transform: translateY(14px) rotate(2deg); }
}

.pm-stage-base {
  position: absolute;
  bottom: 54px;
  width: 200px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.4), transparent 70%);
  filter: blur(6px);
  animation: pm-shadow 6s ease-in-out infinite;
}

@keyframes pm-shadow {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.pm-readout {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--t-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: var(--t-muted);
  line-height: 1.7;
  text-align: left;
}

/* Info side */
.pm-info { padding: 30px 30px 32px; }

.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--t-mono);
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid currentColor;
  margin-bottom: 14px;
}

.pm-code {
  display: block;
  font-family: var(--t-mono);
  font-size: 0.78rem;
  color: var(--t-blue);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.pm-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.pm-cat {
  display: block;
  font-size: 0.95rem;
  color: var(--t-cyan);
  margin-bottom: 16px;
}

.pm-desc {
  color: var(--t-muted);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.pm-specs {
  display: grid;
  gap: 1px;
  background: var(--t-line);
  border: 1px solid var(--t-line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pm-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--t-panel);
  font-family: var(--t-mono);
  font-size: 0.82rem;
}
.pm-spec-key { color: var(--t-muted); letter-spacing: 1px; text-transform: uppercase; font-size: 0.7rem; }
.pm-spec-val { color: var(--t-text); font-weight: 500; }

.pm-actions .btn i { margin-left: 6px; }

/* Locked modal styling */
.product-modal.is-locked .pm-render { color: #45566f; filter: none; }
.product-modal.is-locked .pm-stage-glow { background: radial-gradient(circle, rgba(255, 93, 108, 0.3) 0%, transparent 65%); }
.product-modal.is-locked .pm-spec-val { color: var(--t-red); }

/* === Responsive === */
@media (max-width: 760px) {
  /* keep the whole detail card concise so it fits the screen with no scroll */
  .product-modal { padding: 14px; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-stage {
    min-height: 168px;
    border-right: 0;
    border-bottom: 1px solid var(--t-line);
  }
  .pm-render { font-size: 3.6rem; }
  .pm-stage-glow { width: 200px; height: 200px; }
  .pm-stage-base { bottom: 24px; width: 150px; }
  .pm-readout { display: none; }
  .pm-info { padding: 22px 22px 24px; }
  .pm-badge { margin-bottom: 10px; }
  .pm-name { font-size: 1.55rem; }
  .pm-cat { margin-bottom: 12px; }
  .pm-desc { font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
  .pm-specs { margin-bottom: 18px; }
  .pm-spec { padding: 10px 14px; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  .t-glow-1, .t-glow-2, .t-scan, .t-tag-dot,
  .pc-render > i, .pc-ring, .pm-render, .pm-stage-glow, .pm-stage-base {
    animation: none !important;
  }
  .product-card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pm-panel, .pm-backdrop { transition: opacity 0.2s ease !important; }
  .pm-render { transform: none !important; }
}

/* =========================================
   Robotic assembly line
   ========================================= */
.t-assembler { padding: 18px 0 4px; position: relative; z-index: 1; }
.asm {
  background: linear-gradient(160deg, var(--t-panel-2), var(--t-bg));
  border: 1px solid var(--t-line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  overflow: hidden;
}
.asm-head { text-align: center; margin-bottom: 10px; }
.asm-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; color: #fff; margin-top: 10px; }
.asm-sub { color: var(--t-muted); font-size: 0.88rem; margin-top: 5px; }

.asm-stage { position: relative; height: 330px; max-width: 660px; margin: 0 auto; }
.asm-rail {
  position: absolute; top: 8px; left: 0; right: 0; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--t-line) 0 14px, rgba(95, 208, 255, 0.25) 14px 18px);
}
.asm-gantry { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 4; transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.asm-cable { width: 3px; height: 22px; margin: 0 auto; background: linear-gradient(var(--t-cyan), rgba(95, 208, 255, 0.25)); transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.asm-claw { position: relative; width: 34px; height: 20px; margin: -1px auto 0; }
.asm-claw i {
  position: absolute; top: 0; width: 6px; height: 18px; border-radius: 2px;
  background: var(--t-cyan); box-shadow: 0 0 8px var(--t-glow);
  transition: transform 0.2s ease;
}
.asm-claw i:nth-child(1) { left: 5px; transform-origin: top center; }
.asm-claw i:nth-child(2) { right: 5px; transform-origin: top center; }
.asm-claw.grab i:nth-child(1) { transform: rotate(20deg); }
.asm-claw.grab i:nth-child(2) { transform: rotate(-20deg); }

/* network wiring (SVG overlay, behind the nodes) */
.asm-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.asm-edge { stroke: var(--t-cyan); stroke-width: 1.6; fill: none; opacity: 0; }
.asm-edge.on { opacity: 0.85; filter: drop-shadow(0 0 4px var(--t-glow)); }
.asm-net.live .asm-edge.on { animation: asmEdgePulse 1.8s ease-in-out infinite; }
@keyframes asmEdgePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.95; } }

/* a component node - a real part of the product, dropped into the network */
.asm-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 88px; padding: 9px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: linear-gradient(160deg, var(--t-panel-2), var(--t-panel));
  border: 1px solid var(--t-line); border-radius: 11px;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 3;
}
.asm-node-ic {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(95, 208, 255, 0.1); color: var(--t-cyan); font-size: 0.9rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.asm-node-l {
  font-family: var(--t-mono); font-size: 0.56rem; letter-spacing: 0.4px;
  text-transform: uppercase; color: #cfe8ff; line-height: 1.1;
}
.asm-node.held { border-color: var(--t-cyan); box-shadow: 0 0 16px var(--t-glow); z-index: 6; }
.asm-node.held .asm-node-ic { background: rgba(95, 208, 255, 0.2); }
.asm-node.placed { border-color: rgba(95, 208, 255, 0.5); }
.asm-node.placed .asm-node-ic { background: rgba(95, 208, 255, 0.18); box-shadow: 0 0 10px rgba(95, 208, 255, 0.3); }
.asm-node.done { border-color: var(--t-cyan); box-shadow: 0 0 18px var(--t-glow); }

.asm-stamp {
  position: absolute; left: 12px; top: 12px; transform: translateY(-6px) scale(0.9);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--t-mono); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--t-cyan); background: rgba(95, 208, 255, 0.08); border: 1px solid var(--t-cyan);
  padding: 6px 14px; border-radius: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); z-index: 6;
}
.asm-stamp.show { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 600px) {
  .asm { padding: 16px 12px; }
  .asm-stage { height: 310px; }
  .asm-node { width: 66px; padding: 7px 4px; gap: 4px; }
  .asm-node-ic { width: 26px; height: 26px; font-size: 0.78rem; }
  .asm-node-l { font-size: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .asm-gantry, .asm-cable, .asm-claw i, .asm-edge { transition: none !important; }
  .asm-net.live .asm-edge.on { animation: none !important; }
}

/* Live "now assembling" caption - shows the real product being built */
.asm-now {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-top: 10px; min-height: 22px;
}
.asm-now-tag {
  font-family: var(--t-mono); font-size: 0.58rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--t-bg); background: var(--t-cyan); padding: 3px 8px; border-radius: 5px; font-weight: 700;
}
.asm-now-name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.92rem; }
.asm-now-cat { font-family: var(--t-mono); font-size: 0.64rem; color: var(--t-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Built-product reveal chip - the finished product pops in */
.asm-built {
  position: absolute; left: 50%; bottom: 6px;
  transform: translate(-50%, 14px) scale(0.9);
  max-width: calc(100% - 24px);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 15px;
  background: linear-gradient(160deg, rgba(20, 34, 56, 0.96), rgba(8, 14, 26, 0.98));
  border: 1px solid var(--t-cyan); border-radius: 12px;
  box-shadow: 0 0 30px rgba(95, 208, 255, 0.25);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 7;
}
.asm-built.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.asm-built-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(95, 208, 255, 0.12); color: var(--t-cyan); font-size: 1.1rem;
  box-shadow: inset 0 0 12px rgba(95, 208, 255, 0.2);
}
.asm-built-meta { display: flex; flex-direction: column; line-height: 1.2; }
.asm-built-name { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 0.95rem; letter-spacing: 0.5px; }
.asm-built-cat { font-family: var(--t-mono); font-size: 0.64rem; color: var(--t-muted); text-transform: uppercase; letter-spacing: 1px; }
@media (prefers-reduced-motion: reduce) {
  .asm-built { transition: none !important; }
}

/* =========================================
   Footer - blended into the tactical (dark blue HUD) theme
   so it doesn't look like the lighter grey footer on other pages.
   ========================================= */
.tactical-footer {
  background: linear-gradient(180deg, var(--t-bg-2, #070c18), var(--t-bg, #05080f));
  border-top: 1px solid var(--t-line, #1e374c);
  position: relative;
}
.tactical-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(95, 208, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 208, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
}
.tactical-footer .container { position: relative; z-index: 1; }
.tactical-footer .logo-text {
  background: linear-gradient(180deg, #ffffff 0%, var(--t-cyan, #5fd0ff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tactical-footer .footer-brand p { color: var(--t-muted, #7f93b5); }
.tactical-footer .footer-links h4 { color: var(--t-text, #d7e6ff); }
.tactical-footer .footer-links a,
.tactical-footer .footer-bottom p { color: var(--t-muted, #7f93b5); }
.tactical-footer .footer-links a:hover { color: var(--t-cyan, #5fd0ff); }
.tactical-footer .social-link {
  background: rgba(95, 208, 255, 0.06);
  border-color: var(--t-line, #1e374c);
  color: var(--t-text, #d7e6ff);
}
.tactical-footer .social-link:hover {
  background: rgba(95, 208, 255, 0.16);
  border-color: var(--t-cyan, #5fd0ff);
  color: var(--t-cyan, #5fd0ff);
}
.tactical-footer .footer-bottom { border-top-color: var(--t-line, #1e374c); }
.tactical-footer .footer-bottom-links a { color: var(--t-muted, #7f93b5); }
.tactical-footer .footer-bottom-links a:hover { color: var(--t-cyan, #5fd0ff); }