/*
 * Live AI-rout card.
 *
 * Shared by the homepage (a slim band under the hero) and the top of
 * /protection/. Loaded on both pages so the live tracker is styled wherever
 * protection-live.js mounts it. The full proof-page styles live in
 * protection.css (proof page only). All values reference the design tokens in
 * css/styles.css.
 */

@keyframes prot-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.prot-live {
  margin-bottom: 56px;
}
.prot-live--home {
  margin: 56px 0 0;
}
.prot-live[hidden] { display: none; }

.prot-live__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--color-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.prot-live__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(3, 246, 209, 0.12), transparent 55%);
  pointer-events: none;
}
.prot-live__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 240px;
  position: relative;
}
.prot-live__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
}
.prot-live__badge {
  padding: 2px 8px;
  border-radius: 100px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: prot-live-pulse 2s ease-in-out infinite;
}
.prot-live__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}
.prot-live__sub {
  font-size: 13px;
  color: var(--color-text-muted);
}
.prot-live__compare {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  position: relative;
}
.prot-live__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prot-live__metric-val {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.prot-live__metric-val--raw { color: #fca5a5; }
.prot-live__metric-val--improved { color: var(--color-teal); }
.prot-live__metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.prot-live__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  align-self: flex-start;
}
.prot-live__cta:hover { color: var(--color-teal); border-color: var(--color-teal); }
