.product-icon-library { position: absolute; overflow: hidden; pointer-events: none; }

.hero-signal-icon svg,
.explorer-item svg,
.explorer-controls svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-signals {
  position: relative;
  z-index: 2;
  max-width: 1020px;
  height: clamp(278px, 29vw, 348px);
  margin: -17px auto 0;
  isolation: isolate;
  scroll-margin-top: 84px;
}
.hero-signals::before {
  content: '';
  position: absolute;
  inset: -21% -4% -19%;
  z-index: -1;
  background:
    radial-gradient(ellipse 48% 46% at 50% 49%, #1cb6a748, transparent),
    radial-gradient(ellipse 26% 36% at 26% 60%, #1689772b, transparent),
    radial-gradient(ellipse 24% 39% at 76% 42%, #53a6ce2b, transparent);
}
.hero-signal-guides { width: 100%; height: 100%; display: block; position: absolute; inset: 0; pointer-events: none; }
.hero-signal-pulse {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pulse-color);
  box-shadow: 0 0 9px 2px var(--pulse-color);
  opacity: 0;
  pointer-events: none;
}
.hero-signal-core {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  top: 48%;
  left: 50%;
  width: clamp(78px, 11vw, 126px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #abf8e693;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 6%, #d7fff34d, transparent 56%),
    radial-gradient(circle at 53% 57%, #256460a6, #164045d9 62%, #0a2528ef 79%);
  box-shadow: 0 0 24px #46e9cc55, 0 0 85px #47d8c634, inset 0 1px #e9fff29c, inset 0 -13px 24px #031f255c;
}
.hero-signal-core::before, .hero-signal-core::after {
  content: '';
  position: absolute;
  inset: -13px;
  border: 1px solid #88ffed47;
  border-radius: inherit;
}
.hero-signal-core::after { inset: -26px; border-color: #8cfff221; }
.hero-signal-core img { width: 52%; height: auto; filter: drop-shadow(0 3px 14px #0a282c); }

.hero-signal {
  --signal-accent: #9ff8e4;
  --signal-delay: 0s;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px 10px 11px;
  min-height: 61px;
  border: 1px solid #c5fff141;
  border-radius: 16px;
  color: #f5fffd;
  text-align: left;
  background: linear-gradient(145deg, #265356e6, #102f35f0 73%);
  box-shadow: 0 15px 34px #00181969, inset 0 1px #effff031;
}
.hero-signal.is-search { left: 7%; top: 15%; }
.hero-signal.is-analysis { right: 8%; top: 12%; --signal-accent: #bdedff; --signal-delay: -6s; }
.hero-signal.is-robot { left: 16%; top: 61%; --signal-accent: #aaffd5; --signal-delay: -4s; }
.hero-signal.is-monitor { right: 13%; top: 59%; --signal-accent: #b6e7ff; --signal-delay: -2s; }
.hero-signal strong, .hero-signal small { display: block; white-space: nowrap; }
.hero-signal strong { font-size: 13px; font-weight: 780; line-height: 1.25; }
.hero-signal small { color: #c1dbd9; font-size: 11px; margin-top: 3px; }
.hero-signal-icon {
  position: relative;
  isolation: isolate;
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #a8eee344;
  border-radius: 10px;
  background: linear-gradient(145deg, #bdfaf52d, #72c9c40f);
  box-shadow: inset 0 1px #e3fffb17;
  color: var(--signal-accent);
}
.hero-signal-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #cbfff635;
  box-shadow: 0 0 16px #79e9d85a;
  opacity: 0;
}
.hero-signals.is-moving .hero-signal { animation: signal-float 8s ease-in-out infinite both; animation-delay: var(--signal-delay); }
.hero-signals.is-moving .hero-signal-icon::before { animation: signal-activity 8s ease-in-out infinite both; animation-delay: var(--signal-delay); }
.hero-signals.is-moving .hero-signal-core::before { animation: signal-halo 8s ease-in-out infinite; }
@keyframes signal-float {
  0%, 100% { transform: translateY(0); }
  13% { transform: translateY(-7px); }
  40% { transform: translateY(-2px); }
}
@keyframes signal-activity {
  0%, 35%, 100% { opacity: 0; }
  13% { opacity: 1; }
}
@keyframes signal-halo { 25%, 75% { transform: scale(1.1); opacity: .6; } }
@media (max-width: 690px) {
  .hero-signals { --signal-inset: clamp(4px, 1.2vw, 8px); --signal-gap: 10px; height: clamp(206px, 58vw, 234px); margin-top: 19px; }
  .hero-signal-core { width: clamp(62px, 18vw, 72px); }
  .hero-signal { gap: 6px; min-height: 34px; max-width: calc((100% - 2 * var(--signal-inset) - var(--signal-gap)) / 2);
    padding: 5px 8px; border-radius: 9px; box-shadow: 0 8px 19px #00181969, inset 0 1px #effff031; }
  .hero-signal.is-search, .hero-signal.is-robot { left: var(--signal-inset); }
  .hero-signal.is-analysis, .hero-signal.is-monitor { right: var(--signal-inset); }
  .hero-signal.is-search { top: 8%; }
  .hero-signal.is-analysis { top: 14%; }
  .hero-signal.is-robot { top: 74%; }
  .hero-signal.is-monitor { top: 68%; }
  .hero-signal-icon { flex-basis: 20px; height: 20px; border-radius: 6px; }
  .hero-signal-icon svg { width: 13px; height: 13px; }
  .hero-signal > span:last-child { min-width: 0; }
  .hero-signal strong { font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
  .hero-signal small { display: none; }
}
@media (max-width: 360px) {
  .hero-signal { gap: 4px; padding-inline: 6px; }
  .hero-signal-icon { flex-basis: 18px; height: 18px; }
  .hero-signal strong { font-size: 10.5px; letter-spacing: -.015em; }
}

.section.product-features {
  --feature-ink: #1b2439;
  --feature-muted: #4d5970;
  --feature-accent: #4c5182;
  --feature-ring: #d8ddeb;
  padding-block: clamp(58px, 6.5vw, 88px) clamp(52px, 6vw, 80px);
  color: var(--feature-ink);
  background:
    radial-gradient(ellipse 62% 43% at 74% 55%, #d9e3f4, transparent),
    radial-gradient(ellipse 53% 30% at 18% 35%, #dfe9ed, transparent),
    linear-gradient(180deg, #fbfcfd, #edf1f7 28%, #e9eef6 57%, #f4f7f7);
  scroll-margin-top: 85px;
  isolation: isolate;
}
.product-features .section-inner { max-width: 1140px; }
.product-features .section-title { color: var(--feature-ink); font-size: clamp(34px, 4.8vw, 60px); font-weight: 850; letter-spacing: -.055em; text-wrap: balance; line-height: 1.1; }
.product-features .section-subtitle { color: var(--feature-muted); margin-bottom: 30px; }

.explorer { --scene-light: #cdd9f5; text-align: left; }
.explorer[data-feature="ex-ia"], .explorer[data-feature="ex-juridico"] { --scene-light: #ded4f3; }
.explorer[data-feature="ex-monitor"], .explorer[data-feature="ex-robo"] { --scene-light: #d4dbf1; }
.explorer [hidden] { display: none !important; }
.explorer-nav {
  margin-bottom: clamp(14px, 2.6vw, 28px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.explorer-nav::-webkit-scrollbar { display: none; }
.explorer-nav.is-looping { mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.explorer-nav:has(.explorer-item:focus-visible) { mask-image: none; }
.explorer-nav.is-draggable { cursor: grab; user-select: none; }
.explorer-nav.is-dragging, .explorer-nav.is-dragging .explorer-item { cursor: grabbing; }
.explorer-track { display: flex; width: max-content; }
.explorer-list {
  --feature-gap: 16px;
  display: flex;
  flex: none;
  gap: var(--feature-gap);
  padding: 10px calc(var(--feature-gap) / 2) 19px;
}
.explorer-item {
  --item-tint: #71a6f4;
  --item-face: linear-gradient(180deg, #3c4653, #272e38 48%, #1c222b 64%, #171c23);
  --item-highlight: color-mix(in srgb, var(--item-tint) 48%, #fff);
  --item-rim: linear-gradient(155deg, #a7b3c4, var(--item-tint) 23%, #586272 51%, #404957 70%, var(--item-tint));
  --item-halo: color-mix(in srgb, var(--item-tint) 39%, transparent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 7px;
  min-height: 44px;
  padding: 7px 15px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: radial-gradient(ellipse 75px 45px at var(--item-light-x, 50%) var(--item-light-y, 40%),
      var(--item-glare, transparent), var(--item-glare-tint, transparent) 42%, transparent) padding-box,
    var(--item-face) padding-box, var(--item-rim) border-box;
  box-shadow: inset 0 1px 1px #ffffff35, inset 0 -2px 3px #0005, 0 0 9px var(--item-halo), 0 7px 10px -4px #13172347;
  color: #f1f3f7;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.explorer-item[data-feature="ex-ia"] { --item-tint: #ad8fec; }
.explorer-item[data-feature="ex-kanban"] { --item-tint: #73cba1; }
.explorer-item[data-feature="ex-monitor"] { --item-tint: #6ac4e1; }
.explorer-item[data-feature="ex-robo"] { --item-tint: #efa66d; }
.explorer-item[data-feature="ex-agenda"] { --item-tint: #e28ea0; }
.explorer-item[data-feature="ex-precos"] { --item-tint: #d9c470; }
.explorer-item[data-feature="ex-proposta"] { --item-tint: #9298eb; }
.explorer-item[data-feature="ex-docs"] { --item-tint: #afc97d; }
.explorer-item[data-feature="ex-juridico"] { --item-tint: #ce98d9; }
.explorer-item[data-feature="ex-relatorios"] { --item-tint: #6bbdb2; }
.explorer-item[data-feature="ex-poslic"] { --item-tint: #d59082; }
.explorer-item[data-feature="ex-cliente"] { --item-tint: #e78cbc; }
.explorer-item[aria-pressed="true"] {
  --item-face: linear-gradient(180deg, #515e73, #374257 48%, #293345 64%, #222a37);
}

@supports (mask-composite: exclude) {
  .explorer-item::before, .explorer-item::after {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: inherit;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  .explorer-item::before {
    background: linear-gradient(112deg, transparent 38%, var(--item-highlight) 46%,
      #fff 50%, var(--item-highlight) 54%, transparent 62%) 100% 50% / 235% 100% no-repeat;
    opacity: 0;
    animation: explorer-chrome-sweep 5.8s linear infinite paused;
  }
  .explorer-nav.is-in-view .explorer-item::before { animation-play-state: running; }
  .explorer-item:nth-child(4n + 2)::before { animation-delay: -1.4s; }
  .explorer-item:nth-child(4n + 3)::before { animation-delay: -2.8s; }
  .explorer-item:nth-child(4n + 4)::before { animation-delay: -4.2s; }
  .explorer-item::after {
    background: radial-gradient(ellipse 64px 52px at var(--item-light-x, 50%) var(--item-light-y, 40%),
      #fff 14%, var(--item-highlight) 49%, transparent 100%);
    opacity: 0;
    transition: opacity .16s ease;
  }
}
@keyframes explorer-chrome-sweep {
  0%, 14% { background-position: 100% 50%; opacity: 0; }
  24%, 55% { opacity: 1; }
  65%, 100% { background-position: 0% 50%; opacity: 0; }
}
@media (hover: hover) {
  .explorer-nav:not(.is-dragging) .explorer-item:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px #ffffff45, inset 0 -2px 3px #0005, 0 0 11px var(--item-halo), 0 10px 13px -4px #13172345;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .explorer-nav:not(.is-dragging) .explorer-item:hover {
    --item-glare: #f4fcff48;
    --item-glare-tint: color-mix(in srgb, var(--item-tint) 21%, transparent);
  }
  .explorer-nav.is-in-view:not(.is-dragging) .explorer-item:hover::before { animation-play-state: paused; visibility: hidden; }
  .explorer-nav:not(.is-dragging) .explorer-item:hover::after { opacity: 1; }
}
.explorer-nav:not(.is-dragging) .explorer-item:active { transform: translateY(1px); }
.explorer-item svg { width: 16px; height: 16px; flex: none; }

.explorer-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.25fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  isolation: isolate;
}
.explorer-scene::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -16% -1% -12% 9%;
  background:
    radial-gradient(ellipse 46% 50% at 54% 50%, var(--scene-light), transparent),
    radial-gradient(ellipse 28% 38% at 72% 58%, #ffffff90, transparent);
  opacity: .44;
  pointer-events: none;
}
.explorer-view h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.9vw, 39px);
  font-weight: 790;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.explorer-view p { color: var(--feature-muted); font-size: 15px; line-height: 1.55; }
.explorer-more { display: inline-flex; gap: 7px; margin-top: 18px; color: var(--feature-accent); font-size: 13px; font-weight: 690; }
.explorer-more:hover, .explorer-image-link:hover, .explorer-all:hover { text-decoration: underline; text-underline-offset: .22em; }

.explorer-player {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 1px clamp(6px, 1vw, 11px);
  border: 1px solid #fff;
  border-radius: clamp(16px, 2vw, 25px);
  background: linear-gradient(153deg, #fffffff0, #f8f9ffaa 55%, #fefeffd4);
  box-shadow: 0 22px 56px -18px #44578368, 0 6px 19px #48567b17, inset 0 0 0 1px #a1b2d42e;
  backdrop-filter: blur(24px) saturate(125%);
}
.explorer-player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 9px;
  padding: 4px 7px;
  color: #536079;
  font-size: 11px;
}
.explorer-player-bar strong { display: flex; align-items: center; gap: 7px; color: #333e58; font-size: 11px; }
.explorer-player-bar strong > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8994bb;
  box-shadow: 0 0 0 3px #c6cee86b;
}
.explorer-stage {
  position: relative;
  aspect-ratio: 1440 / 740;
  overflow: hidden;
  border-radius: clamp(9px, 1.25vw, 15px);
  background: #edf0f9;
  box-shadow: 0 0 0 1px #889bb933, 0 6px 20px #48577b1a;
  isolation: isolate;
}
.explorer-stage img, .explorer-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.explorer-status {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: #fffffff0;
  box-shadow: 0 3px 10px #34416b25;
  color: var(--feature-muted);
  font-size: 11px;
}
.explorer-controls { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; align-items: center; gap: 14px; padding: 8px 3px; }
.explorer-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  min-height: 36px;
  border: 1px solid var(--feature-ring);
  border-radius: 10px;
  background: linear-gradient(155deg, #fff, #edf0fd);
  box-shadow: inset 0 1px #fff;
  color: #353d67;
  font: inherit;
  font-size: 12px;
  font-weight: 730;
  cursor: pointer;
}
.explorer-play:hover { background: #e9edfc; }
.explorer-controls svg { width: 14px; height: 14px; }
.explorer-play-icon svg { display: none; }
.explorer-play:not([data-state="playing"]):not([data-state="loading"]) .icon-play,
.explorer-play[data-state="playing"] .icon-pause,
.explorer-play[data-state="loading"] .icon-cancel { display: block; }
.explorer-progress { height: 3px; overflow: hidden; border-radius: 4px; background: #dce2f0; }
.explorer-progress i { display: block; width: 100%; height: 100%; transform: scaleX(var(--clip-progress, 0)); transform-origin: left; background: linear-gradient(90deg, #8796c8, #a397c8); }
.explorer-image-link { display: inline-flex; align-items: center; gap: 5px; color: #4b5673; font-size: 12px; font-weight: 650; white-space: nowrap; }
.explorer-all { display: flex; width: fit-content; align-items: center; gap: 7px; margin: clamp(26px, 3.4vw, 40px) auto 0; color: var(--feature-accent); font-size: 13px; font-weight: 700; }
.product-features :is(button, a, select):focus-visible { outline: 2px solid #586495; outline-offset: 2px; }

@media (max-width: 760px) {
  .explorer-scene { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .explorer-copy { max-width: 550px; text-align: center; justify-self: center; }
  .explorer-scene::before { inset: 0 -1% -7%; }
  .explorer-view h3 { font-size: clamp(24px, 5.5vw, 32px); margin-bottom: 7px; }
  .explorer-view p { font-size: 14px; }
  .explorer-more { margin-top: 9px; }
  .explorer-player { scroll-margin: 90px 0 14px; }
}
@media (max-width: 480px) {
  .explorer-list { --feature-gap: 12px; }
  .explorer-item { gap: 6px; font-size: 12px; padding-inline: 11px; }
  .explorer-item svg { width: 14px; height: 14px; }
  .explorer-controls { gap: 6px; padding: 7px 0; }
  .explorer-play { min-height: 38px; padding-inline: 7px; font-size: 11px; }
  .explorer-image-link { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-signals.is-moving .hero-signal,
  .hero-signals.is-moving .hero-signal-icon::before,
  .hero-signals.is-moving .hero-signal-core::before,
  .explorer-item::before { animation: none; }
  .explorer-item { transition: none; }
  .explorer-nav:not(.is-dragging) .explorer-item:is(:hover, :active) { transform: none; }
}
