/* Launch Intelligence — Collection Hero Strip (page-level, #page-ai-insights) */

#page-ai-insights .li-collection-hero-strip-mount {
  margin: 0 0 16px;
}

#page-ai-insights .li-collection-hero-strip {
  --li-chs-atmosphere: 168 55% 38%;
  --li-chs-height: clamp(120px, 14vw, 156px);
  position: relative;
  min-height: var(--li-chs-height);
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 157, 0.1);
  background: linear-gradient(
    180deg,
    rgba(7, 17, 20, 0.55) 0%,
    rgba(11, 23, 26, 0.82) 42%,
    rgba(7, 17, 20, 0.55) 100%
  );
  overflow: hidden;
  isolation: isolate;
  opacity: 0.38;
  filter: saturate(0.72);
  transform: translateY(4px);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.5s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

#page-ai-insights .li-collection-hero-strip.is-active {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(0);
  border-color: rgba(15, 168, 157, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 32px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(15, 168, 157, 0.08);
}

#page-ai-insights .li-chs-sep {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 2;
}

#page-ai-insights .li-chs-sep--top {
  top: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 168, 157, 0.35) 22%,
    rgba(47, 159, 154, 0.5) 50%,
    rgba(15, 168, 157, 0.35) 78%,
    transparent
  );
  box-shadow: 0 0 14px rgba(15, 168, 157, 0.22);
}

#page-ai-insights .li-chs-sep--bottom {
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 168, 157, 0.22) 30%,
    rgba(15, 168, 157, 0.32) 50%,
    rgba(15, 168, 157, 0.22) 70%,
    transparent
  );
  box-shadow: 0 0 10px rgba(15, 168, 157, 0.14);
}

#page-ai-insights .li-chs-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 62% 90% at 12% 50%,
      hsl(var(--li-chs-atmosphere) / 0.16),
      transparent 68%
    ),
    radial-gradient(
      ellipse 48% 70% at 88% 40%,
      rgba(15, 168, 157, 0.1),
      transparent 62%
    );
  animation: li-chs-glow-breathe 10s ease-in-out infinite;
}

#page-ai-insights .li-collection-hero-strip.is-active .li-chs-atmosphere {
  animation-duration: 9s;
}

#page-ai-insights .li-chs-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px 18px;
  padding: 12px 16px 10px;
  min-height: var(--li-chs-height);
}

#page-ai-insights .li-chs-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 108px;
}

#page-ai-insights .li-chs-card-stack {
  position: relative;
  width: 96px;
  height: 72px;
  perspective: 640px;
  transform-style: preserve-3d;
  animation: li-chs-float 11s ease-in-out infinite;
}

#page-ai-insights .li-chs-card-stack.is-active {
  animation-duration: 10s;
}

#page-ai-insights .li-chs-card {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: hsl(var(--li-chs-atmosphere));
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#page-ai-insights .li-chs-card-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      hsl(var(--li-chs-atmosphere) / 0.22) 0%,
      transparent 48%
    ),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(180deg, rgba(8, 18, 22, 0.9), rgba(4, 10, 12, 0.95));
}

#page-ai-insights .li-chs-card-art--back {
  background-image:
    conic-gradient(from 210deg at 70% 30%, hsl(var(--li-chs-atmosphere) / 0.18), transparent 55%),
    linear-gradient(160deg, rgba(12, 28, 32, 0.95), rgba(6, 14, 17, 0.98));
}

#page-ai-insights .li-chs-card-art--mid {
  background-image:
    linear-gradient(45deg, transparent 40%, hsl(var(--li-chs-atmosphere) / 0.12) 40%, hsl(var(--li-chs-atmosphere) / 0.12) 42%, transparent 42%),
    linear-gradient(-45deg, transparent 58%, rgba(148, 163, 184, 0.08) 58%, rgba(148, 163, 184, 0.08) 60%, transparent 60%),
    linear-gradient(180deg, rgba(10, 22, 26, 0.94), rgba(7, 17, 20, 0.98));
}

#page-ai-insights .li-chs-card-art--front {
  background-image:
    radial-gradient(circle at 28% 22%, hsl(var(--li-chs-atmosphere) / 0.2), transparent 42%),
    linear-gradient(128deg, rgba(15, 168, 157, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(11, 23, 26, 0.92), rgba(7, 17, 20, 0.98));
}

#page-ai-insights .li-chs-card--back {
  transform: translate3d(-10px, 6px, -28px) rotate(-7deg) scale(0.92);
  opacity: 0.55;
}

#page-ai-insights .li-chs-card--mid {
  transform: translate3d(4px, 2px, -12px) rotate(4deg) scale(0.96);
  opacity: 0.78;
}

#page-ai-insights .li-chs-card--front {
  transform: translate3d(0, 0, 0) rotate(-1deg);
  z-index: 2;
}

#page-ai-insights .li-chs-card-glyph {
  position: absolute;
  inset: 10% 12%;
  width: 76%;
  height: 76%;
  color: inherit;
  opacity: 0.85;
}

#page-ai-insights .li-chs-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 65%
  );
  opacity: 0.35;
  pointer-events: none;
}

#page-ai-insights .li-chs-card-stack:hover .li-chs-card--back {
  transform: translate3d(-12px, 4px, -24px) rotate(-10deg) scale(0.93);
}

#page-ai-insights .li-chs-card-stack:hover .li-chs-card--mid {
  transform: translate3d(6px, 0, -8px) rotate(6deg) scale(0.97);
}

#page-ai-insights .li-chs-card-stack:hover .li-chs-card--front {
  transform: translate3d(0, -2px, 4px) rotate(2deg) scale(1.02);
}

#page-ai-insights .li-chs-indicators {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 140px;
}

#page-ai-insights .li-chs-indicator {
  display: grid;
  grid-template-columns: 6px 1fr;
  grid-template-rows: auto auto;
  column-gap: 6px;
  row-gap: 0;
  align-items: start;
  font-size: 9px;
  line-height: 1.3;
  color: var(--text-faint);
}

#page-ai-insights .li-chs-indicator-dot {
  grid-row: 1 / span 2;
  width: 5px;
  height: 5px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.45);
}

#page-ai-insights .li-chs-indicator.is-ready .li-chs-indicator-dot {
  background: var(--green);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.35);
}

#page-ai-insights .li-chs-indicator.is-active-chip .li-chs-indicator-dot {
  background: var(--accent-teal);
  box-shadow: 0 0 6px rgba(15, 168, 157, 0.35);
}

#page-ai-insights .li-chs-indicator-k {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#page-ai-insights .li-chs-indicator-v {
  grid-column: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

#page-ai-insights .li-chs-summary {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

#page-ai-insights .li-chs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}

#page-ai-insights .li-chs-kicker {
  flex: 0 0 100%;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-ai-insights .li-chs-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page-ai-insights .li-chs-readiness {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--accent-teal);
  opacity: 0.85;
}

#page-ai-insights .li-chs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#page-ai-insights .li-chs-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 168, 157, 0.12);
  background: rgba(7, 17, 20, 0.6);
  font-size: 10px;
  color: var(--text-muted);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

#page-ai-insights .li-chs-tag.is-set {
  border-color: hsl(var(--li-chs-atmosphere) / 0.35);
  background: hsl(var(--li-chs-atmosphere) / 0.1);
  color: var(--text-main);
  animation: li-chs-meta-pulse 8s ease-in-out infinite;
}

#page-ai-insights .li-chs-tag-k {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-ai-insights .li-chs-tag-v {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page-ai-insights .li-chs-dossier {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 0;
}

#page-ai-insights .li-chs-dossier-row {
  min-width: 0;
}

#page-ai-insights .li-chs-dossier-row dt {
  margin: 0 0 1px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

#page-ai-insights .li-chs-dossier-row dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page-ai-insights .li-chs-footnote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 16px 8px;
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

@keyframes li-chs-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes li-chs-glow-breathe {
  0%,
  100% {
    opacity: 0.72;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(0.5px);
  }
}

@keyframes li-chs-meta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(15, 168, 157, 0);
  }
  50% {
    box-shadow: 0 0 12px hsl(var(--li-chs-atmosphere) / 0.22);
  }
}

@media (max-width: 768px) {
  #page-ai-insights .li-collection-hero-strip {
    --li-chs-height: auto;
  }

  #page-ai-insights .li-chs-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px 8px;
  }

  #page-ai-insights .li-chs-visual {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
  }

  #page-ai-insights .li-chs-card-stack {
    width: 88px;
    height: 64px;
  }

  #page-ai-insights .li-chs-indicators {
    max-width: none;
    flex: 1;
  }

  #page-ai-insights .li-chs-dossier {
    grid-template-columns: 1fr;
  }

  #page-ai-insights .li-chs-title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-ai-insights .li-chs-card-stack,
  #page-ai-insights .li-chs-atmosphere,
  #page-ai-insights .li-chs-tag.is-set {
    animation: none !important;
  }

  #page-ai-insights .li-chs-card {
    transition: none;
  }

  #page-ai-insights .li-collection-hero-strip {
    transition: opacity 0.2s ease;
  }
}
