@import url("./styles.css");

/* ==========================================================================
   LLMsMonitor Demo-5 Overrides (Preserving Trillo Architecture & Motion)
   ========================================================================== */

:root {
  --llms-violet: #6d28d9;
  --llms-violet-bright: #7c3aed;
  --llms-violet-deep: #5b21b6;
}

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--llms-violet-bright);
  outline-offset: 3px;
}

.brand,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-mark,
.footer-logo-link img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.btn-primary {
  background:
    radial-gradient(
      65% 120% at 50% 10%,
      rgba(216, 180, 254, 0.48) 0%,
      rgba(216, 180, 254, 0) 70%
    ),
    linear-gradient(
      135deg,
      var(--llms-violet-deep) 0%,
      var(--llms-violet-bright) 52%,
      var(--llms-violet-deep) 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    0 6px 18px rgba(109, 40, 217, 0.28);
}

.btn-primary:hover {
  background:
    radial-gradient(
      65% 120% at 50% 10%,
      rgba(216, 180, 254, 0.56) 0%,
      rgba(216, 180, 254, 0) 70%
    ),
    linear-gradient(135deg, #4c1d95 0%, #6d28d9 52%, #4c1d95 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 10px 26px rgba(109, 40, 217, 0.36);
}

.popular-badge {
  background: linear-gradient(135deg, var(--llms-violet-deep), var(--llms-violet-bright));
}

.save-badge {
  background-color: rgba(124, 58, 237, 0.14);
  color: var(--llms-violet-deep);
}

.hero-title-wrap {
  max-width: 820px;
}

.section-heading-center {
  max-width: 780px;
}

.hero-subtitle {
  max-width: 600px;
}

.hero-stage {
  perspective: none;
}

.hero-backdrop {
  z-index: 0;
}

.hero-showcase {
  z-index: 2;
  isolation: isolate;
}

.hero-dashboard-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  aspect-ratio: auto;
  min-inline-size: 0;
  transform-style: flat;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.hero-panel {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
  inline-size: 100%;
  min-inline-size: 0;
  aspect-ratio: 2048 / 1480;
  overflow: clip;
  background: #ffffff;
}

.hero-panel img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-track {
  gap: 44px;
  padding-inline: 22px;
  animation-duration: 80s;
}

.brand-logo-item img {
  width: 112px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.feature-visual-col {
  padding: 28px;
}

.feature-fg-llms {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 54px rgba(17, 17, 26, 0.14);
}

.platform-panel {
  width: min(640px, 88%);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(17, 17, 26, 0.14);
  overflow: hidden;
}

.insight-media {
  padding: 26px;
}

.insight-media-fg {
  width: min(440px, 94%);
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(17, 17, 26, 0.14));
}

.insight-card:hover .insight-media-fg {
  box-shadow: none;
  filter: drop-shadow(0 24px 46px rgba(17, 17, 26, 0.18));
}

.review-logo img {
  height: 22px;
  width: auto;
}

.rating-source img {
  border-radius: 4px;
}

.social-btn img {
  width: 16px;
  height: 16px;
}

@media (max-width: 809px) {
  .brand-track {
    gap: 28px;
    animation-duration: 60s;
  }

  .brand-logo-item img {
    width: 96px;
    height: 36px;
  }

  .feature-fg-llms {
    width: 100%;
  }

  .platform-panel {
    width: 92%;
  }

  .insight-media {
    padding: 18px;
  }
}
