/* Product - Threat intelligence (minimal hyper-modern, balanced color) */

.hm-page--product .hm-prod-ti {
  --ti-rose: #e11d48;
  --ti-amber: #d97706;
  --ti-violet: #7c3aed;
  --ti-ink: var(--hm-ink, #0f172a);
  --ti-muted: var(--hm-muted, #64748b);
  --ti-line: rgba(148, 163, 184, 0.22);
  --ti-border: rgba(148, 163, 184, 0.32);
  --ti-surface: #f8fafc;
  --ti-dash-w: 1040px;
  --ti-rail-w: 232px;
  --ti-dossier-w: 304px;
  position: relative;
  padding: var(--hm-prod-section) 0 calc(var(--hm-prod-section) * 0.95);
  overflow: hidden;
  background: #fafafa;
  border-top: 1px solid var(--hm-line);
}

.hm-page--product .hm-prod-ti__ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 68%),
    radial-gradient(ellipse 30% 28% at 88% 80%, rgba(167, 139, 250, 0.04) 0%, transparent 70%);
}

.hm-page--product .hm-prod-ti__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.35rem, 3.5vw, 2rem);
}

.hm-page--product .hm-prod-ti__head {
  max-width: 600px;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.hm-page--product .hm-prod-ti__head .hm-hero-kicker {
  margin-bottom: 1rem;
  justify-content: center;
}

.hm-page--product .hm-prod-ti__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hm-page--product .hm-prod-ti__lead {
  margin: 0 auto;
  max-width: 500px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--hm-muted);
}

.hm-page--product .hm-prod-ti__caps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
  padding: 0;
  list-style: none;
}

.hm-page--product .hm-prod-ti__caps li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--hm-ink-soft);
  background: #fff;
  border: 1px solid var(--ti-border);
}

.hm-page--product .hm-prod-ti__caps ion-icon {
  width: 14px;
  height: 14px;
  color: var(--hm-brand);
}

.hm-page--product .hm-prod-ti__stage {
  width: 100%;
}

.hm-page--product .hm-prod-ti__dash-viewport {
  width: 100%;
  max-width: var(--ti-dash-w);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Shell */
.hm-page--product .hm-prod-ti__dash {
  position: relative;
  width: var(--ti-dash-w);
  max-width: var(--ti-dash-w);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ti-border);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 56px rgba(59, 130, 246, 0.08);
  overflow: hidden;
  will-change: transform;
}

/* Browser chrome - flat */
.hm-page--product .hm-prod-ti__dash-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid var(--ti-line);
  background: var(--ti-surface);
}

.hm-page--product .hm-prod-ti__dash-dots {
  display: flex;
  gap: 0.35rem;
}

.hm-page--product .hm-prod-ti__dash-dots span:nth-child(1) { background: #ff5f57; }
.hm-page--product .hm-prod-ti__dash-dots span:nth-child(2) { background: #febc2e; }
.hm-page--product .hm-prod-ti__dash-dots span:nth-child(3) { background: #28c840; }

.hm-page--product .hm-prod-ti__dash-url {
  min-width: 0;
  padding: 0.38rem 0.65rem;
  border-radius: 8px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  background: #fff;
  border: 1px solid var(--ti-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-page--product .hm-prod-ti__dash-badge {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.hm-page--product .hm-prod-ti__dash-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #10b981;
  vertical-align: middle;
  animation: hm-ti-live 2.4s ease-in-out infinite;
}

@keyframes hm-ti-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hm-page--product .hm-prod-ti__dash-body {
  background: #fff;
}

/* Toolbar - typographic */
.hm-page--product .hm-prod-ti__dash-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 1.25rem;
  padding: 1.1rem 1.15rem 1rem;
  border-bottom: 1px solid var(--ti-line);
}

.hm-page--product .hm-prod-ti__dash-toolbar-left h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ti-ink);
}

.hm-page--product .hm-prod-ti__dash-toolbar-left p {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__dash-meta {
  display: flex;
  gap: 1.1rem;
  margin: 0;
}

.hm-page--product .hm-prod-ti__dash-meta div {
  text-align: right;
}

.hm-page--product .hm-prod-ti__dash-meta dt {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hm-page--product .hm-prod-ti__dash-meta dd {
  margin: 0.12rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ti-ink);
  font-variant-numeric: tabular-nums;
}

.hm-page--product .hm-prod-ti__dash-meta .is-critical dd {
  color: var(--ti-rose);
}

.hm-page--product .hm-prod-ti__dash-sync {
  font-size: 0.64rem;
  font-weight: 500;
  color: #a3a3a3;
  white-space: nowrap;
}

.hm-page--product .hm-prod-ti__dash-sync span {
  color: var(--ti-muted);
  font-variant-numeric: tabular-nums;
}

/* Grid */
.hm-page--product .hm-prod-ti__dash-grid {
  display: grid !important;
  grid-template-columns: var(--ti-rail-w) 1fr var(--ti-dossier-w) !important;
  gap: 0 !important;
  min-height: 440px;
}

.hm-page--product .hm-prod-ti__rail {
  padding: 1rem 0.85rem;
  border-right: 1px solid var(--ti-line);
}

.hm-page--product .hm-prod-ti__rail-head {
  padding: 0 0.35rem 0.75rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.hm-page--product .hm-prod-ti__rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.72rem 0.5rem 0.72rem 0.65rem;
  border: none;
  border-left: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.hm-page--product .hm-prod-ti__rail-item + .hm-prod-ti__rail-item {
  border-top: 1px solid var(--ti-line);
}

.hm-page--product .hm-prod-ti__rail-item:hover {
  background: var(--ti-surface);
}

.hm-page--product .hm-prod-ti__rail-item.is-active {
  background: rgba(225, 29, 72, 0.03);
  border-left-color: var(--ti-rose);
}

.hm-page--product .hm-prod-ti__rail-main {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.hm-page--product .hm-prod-ti__sev {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.hm-page--product .hm-prod-ti__sev--critical { background: var(--ti-rose); }
.hm-page--product .hm-prod-ti__sev--high { background: var(--ti-amber); }
.hm-page--product .hm-prod-ti__sev--medium { background: var(--ti-violet); }

.hm-page--product .hm-prod-ti__rail-copy b {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ti-ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hm-page--product .hm-prod-ti__rail-copy small {
  display: block;
  margin-top: 0.14rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.58rem;
  color: #a3a3a3;
}

.hm-page--product .hm-prod-ti__rail-time {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 500;
  color: #d4d4d4;
  font-variant-numeric: tabular-nums;
}

.hm-page--product .hm-prod-ti__rail-item.is-active .hm-prod-ti__rail-time {
  color: var(--ti-muted);
}

/* Map */
.hm-page--product .hm-prod-ti__map-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--ti-line);
}

.hm-page--product .hm-prod-ti__map-stage {
  position: relative;
  flex: 1;
  min-height: 380px;
  overflow: hidden;
  background: #f8fafc;
}

.hm-page--product .hm-prod-ti__map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(100, 116, 139, 0.42) 1px, transparent 1px),
    linear-gradient(to right, rgba(100, 116, 139, 0.42) 1px, transparent 1px);
  background-size: 11.11% 14.285%;
}

.hm-page--product .hm-prod-ti__world {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  pointer-events: none;
}

.hm-page--product .hm-prod-ti__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hm-page--product .hm-prod-ti__pin-core {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pin, #94a3b8);
  box-shadow: 0 0 0 3px #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: hm-ti-pin-glow 2.4s ease-in-out infinite;
}

.hm-page--product .hm-prod-ti__pin-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--pin, #94a3b8);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  animation: hm-ti-pin-ring 2.4s ease-out infinite;
}

.hm-page--product .hm-prod-ti__pin[data-threat="sqli"] .hm-prod-ti__pin-core,
.hm-page--product .hm-prod-ti__pin[data-threat="sqli"] .hm-prod-ti__pin-core::after {
  animation-delay: 0s;
}

.hm-page--product .hm-prod-ti__pin[data-threat="xss"] .hm-prod-ti__pin-core,
.hm-page--product .hm-prod-ti__pin[data-threat="xss"] .hm-prod-ti__pin-core::after {
  animation-delay: -0.6s;
}

.hm-page--product .hm-prod-ti__pin[data-threat="cmdi"] .hm-prod-ti__pin-core,
.hm-page--product .hm-prod-ti__pin[data-threat="cmdi"] .hm-prod-ti__pin-core::after {
  animation-delay: -1.2s;
}

.hm-page--product .hm-prod-ti__pin[data-threat="idor"] .hm-prod-ti__pin-core,
.hm-page--product .hm-prod-ti__pin[data-threat="idor"] .hm-prod-ti__pin-core::after {
  animation-delay: -1.8s;
}

@keyframes hm-ti-pin-glow {
  0%, 100% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--pin-glow-ring, rgba(148, 163, 184, 0.2));
  }
  50% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 9px var(--pin-glow-ring, rgba(148, 163, 184, 0));
  }
}

@keyframes hm-ti-pin-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  75%, 100% {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}

.hm-page--product .hm-prod-ti__pin.is-critical { --pin: var(--ti-rose); --pin-glow-ring: rgba(225, 29, 72, 0.28); }
.hm-page--product .hm-prod-ti__pin.is-high { --pin: var(--ti-amber); --pin-glow-ring: rgba(217, 119, 6, 0.26); }
.hm-page--product .hm-prod-ti__pin.is-medium { --pin: var(--ti-violet); --pin-glow-ring: rgba(124, 58, 237, 0.24); }

.hm-page--product .hm-prod-ti__pin.is-lit .hm-prod-ti__pin-core {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pin-glow, rgba(59, 130, 246, 0.2));
}

.hm-page--product .hm-prod-ti__pin.is-critical.is-lit { --pin-glow: rgba(225, 29, 72, 0.25); }
.hm-page--product .hm-prod-ti__pin.is-high.is-lit { --pin-glow: rgba(217, 119, 6, 0.22); }
.hm-page--product .hm-prod-ti__pin.is-medium.is-lit { --pin-glow: rgba(124, 58, 237, 0.2); }

.hm-page--product .hm-prod-ti__pin-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.52rem;
  border-radius: 8px;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--ti-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease, translate 0.2s ease;
  pointer-events: none;
}

.hm-page--product .hm-prod-ti__pin-card b {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ti-ink);
}

.hm-page--product .hm-prod-ti__pin-card small {
  display: block;
  margin-top: 0.06rem;
  font-size: 0.56rem;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__pin.is-critical.is-lit .hm-prod-ti__pin-card b { color: var(--ti-rose); }

.hm-page--product .hm-prod-ti__pin[data-pin-label="above"] .hm-prod-ti__pin-card {
  bottom: calc(100% + 10px);
  translate: 0 4px;
}

.hm-page--product .hm-prod-ti__pin[data-pin-label="below"] .hm-prod-ti__pin-card {
  top: calc(100% + 10px);
  translate: 0 -4px;
}

.hm-page--product .hm-prod-ti__pin.is-lit .hm-prod-ti__pin-card {
  opacity: 1;
  translate: 0 0;
}

.hm-page--product .hm-prod-ti__map-legend {
  display: flex;
  gap: 1.15rem;
  padding: 0.62rem 1rem;
  border-top: 1px solid var(--ti-line);
  background: #fff;
}

.hm-page--product .hm-prod-ti__map-legend span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__map-legend span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.38rem;
  border-radius: 50%;
  background: #cbd5e1;
  vertical-align: middle;
}

.hm-page--product .hm-prod-ti__map-legend span:nth-child(1)::before { background: var(--ti-rose); }
.hm-page--product .hm-prod-ti__map-legend span:nth-child(2)::before { background: var(--ti-amber); }
.hm-page--product .hm-prod-ti__map-legend span:nth-child(3)::before { background: var(--ti-violet); }

/* Dossier - spec sheet */
.hm-page--product .hm-prod-ti__dossier-col {
  position: relative;
  min-height: 380px;
}

.hm-page--product .hm-prod-ti__dossier {
  display: none;
  height: 100%;
  padding: 1rem 1.05rem;
}

.hm-page--product .hm-prod-ti__dossier.is-active {
  display: flex;
  flex-direction: column;
}

.hm-page--product .hm-prod-ti__dossier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--ti-line);
}

.hm-page--product .hm-prod-ti__dossier-tag {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__dossier-tag--critical {
  color: var(--ti-rose);
}

.hm-page--product .hm-prod-ti__dossier-tag--high {
  color: var(--ti-amber);
}

.hm-page--product .hm-prod-ti__dossier-tag--medium {
  color: var(--ti-violet);
}

.hm-page--product .hm-prod-ti__dossier-top h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ti-ink);
}

.hm-page--product .hm-prod-ti__dossier-id {
  flex-shrink: 0;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__dossier-desc {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--ti-muted);
}

.hm-page--product .hm-prod-ti__facts {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.55rem 0.75rem;
  margin: 0 0 0.85rem;
}

.hm-page--product .hm-prod-ti__facts div {
  display: grid;
  gap: 0.12rem;
}

.hm-page--product .hm-prod-ti__facts dt {
  margin: 0;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.hm-page--product .hm-prod-ti__facts dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ti-ink);
  letter-spacing: -0.01em;
}

.hm-page--product .hm-prod-ti__facts dd code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--hm-brand-deep);
}

.hm-page--product .hm-prod-ti__payload {
  margin-top: auto;
  border-top: 1px solid var(--ti-line);
  padding-top: 0.75rem;
}

.hm-page--product .hm-prod-ti__payload > span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.hm-page--product .hm-prod-ti__payload pre {
  margin: 0;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.62rem;
  line-height: 1.55;
  color: #475569;
  background: var(--ti-surface);
  border: 1px solid var(--ti-line);
  white-space: pre-wrap;
  word-break: break-all;
}

.hm-page--product .hm-prod-ti__dossier[data-ti-panel="sqli"] .hm-prod-ti__payload pre {
  background: rgba(225, 29, 72, 0.03);
  border-color: rgba(225, 29, 72, 0.1);
}

.hm-page--product .hm-prod-ti__dash {
  max-width: var(--ti-dash-w) !important;
}

.hm-page--product .hm-prod-ti__dash-grid {
  grid-template-columns: var(--ti-rail-w) 1fr var(--ti-dossier-w) !important;
}

@media (prefers-reduced-motion: reduce) {
  .hm-page--product .hm-prod-ti__dash-badge::before,
  .hm-page--product .hm-prod-ti__pin-core,
  .hm-page--product .hm-prod-ti__pin-core::after {
    animation: none;
  }
}
