/**
 * BinikStock V588 — refined homepage AI Metadata Generator preview.
 * All rules are isolated to the V585 section.
 */

html body .bs-v585-ai-metadata,
html body .bs-v585-ai-metadata * {
  box-sizing: border-box;
}

html body .bs-v585-ai-metadata {
  --bs-v585-ink: #071427;
  --bs-v585-copy: #4f5d76;
  --bs-v585-muted: #7d8aa3;
  --bs-v585-line: #e3e8f2;
  --bs-v585-purple: #6238f5;
  --bs-v585-purple-deep: #4f2ee8;
  width: 100%;
  margin: 0 0 64px;
  overflow: hidden;
  border: 1px solid var(--bs-v585-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 67% 33%, rgba(92, 65, 241, .055), transparent 27%),
    radial-gradient(circle at 91% 82%, rgba(110, 73, 251, .075), transparent 25%),
    #fff;
  color: var(--bs-v585-ink);
  font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 16px 46px rgba(27, 38, 68, .05);
}

html body .bs-v585-ai-metadata a {
  color: inherit;
  text-decoration: none;
}

html body .bs-v585-ai-metadata-main {
  min-height: 470px;
  padding: 34px clamp(30px, 3.4vw, 58px) 36px;
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(620px, 1.12fr);
  gap: clamp(34px, 3.2vw, 58px);
  align-items: center;
}

html body .bs-v585-ai-metadata-copy {
  min-width: 0;
  align-self: center;
}

html body .bs-v585-ai-meta-eyebrow {
  width: fit-content;
  min-height: 36px;
  margin: 0 0 30px;
  padding: 8px 17px;
  border-radius: 999px;
  background: #f1edff;
  color: #6844ef;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 550;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-eyebrow svg,
html body .bs-v585-ai-meta-panel-title svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

html body .bs-v585-ai-meta-heading-link {
  display: block;
  width: fit-content;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-heading-link h2,
html body .bs-home-v156 > .bs-v482-home-main .bs-v585-ai-meta-heading-link h2#bs-v585-ai-metadata-title {
  max-width: 640px;
  margin: 0;
  color: var(--bs-v585-ink);
  font-size: clamp(31px, 2.55vw, 46px) !important;
  line-height: 1.13;
  font-weight: 600 !important;
  letter-spacing: -.038em;
}

html body .bs-v585-ai-meta-description {
  max-width: 610px;
  margin: 17px 0 0;
  color: #4e5c73;
  display: block;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 400;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-cta {
  width: fit-content;
  min-width: 166px;
  min-height: 47px;
  margin-top: 24px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bs-v585-purple), var(--bs-v585-purple-deep));
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(91, 52, 235, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

html body .bs-v585-ai-meta-cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .bs-v585-ai-meta-cta:hover,
html body .bs-v585-ai-meta-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(91, 52, 235, .3);
}

html body .bs-v585-ai-meta-notes {
  margin-top: 19px;
  color: #6e7b94;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 450;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-notes i {
  width: 1px;
  height: 16px;
  background: #a9b3c5;
  display: block;
}

html body .bs-v585-ai-metadata-demo {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(350px, 1.04fr) minmax(300px, .96fr);
  gap: 26px;
  align-items: center;
}

html body .bs-v585-ai-meta-files {
  position: relative;
  min-width: 0;
  min-height: 370px;
  display: grid;
  width: calc(100% - 20px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .78fr);
  gap: 14px;
  align-items: center;
  justify-self: start;
  transform: translate(-18px, -10px);
}

html body .bs-v585-ai-meta-file-stack {
  display: grid;
  gap: 12px;
}

html body .bs-v585-ai-meta-file-stack > div,
html body .bs-v585-ai-meta-illustration {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  box-shadow: 0 9px 23px rgba(30, 44, 78, .09);
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

html body .bs-v587-ai-meta-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 32px rgba(30, 44, 78, .16);
}

html body .bs-v585-ai-meta-file-stack img,
html body .bs-v585-ai-meta-illustration img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  backface-visibility: hidden;
  filter: saturate(1.03) contrast(1.025);
}

html body .bs-v585-ai-meta-illustration {
  margin: 0;
}

html body .bs-v585-ai-meta-panel {
  min-width: 0;
  min-height: 380px;
  padding: 20px 18px 18px;
  border: 1px solid #dde3ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px rgba(22, 35, 67, .07);
}

html body .bs-v585-ai-meta-panel-title {
  width: fit-content;
  margin-bottom: 14px;
  color: var(--bs-v585-ink);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-panel-title svg {
  color: #673cf0;
}

html body .bs-v585-ai-meta-field {
  margin-top: 12px;
}

html body .bs-v585-ai-meta-field > label,
html body .bs-v585-ai-meta-field-head label,
html body .bs-v585-ai-meta-field-head > strong {
  margin: 0;
  color: #111a2c;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-field-head {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html body .bs-v585-ai-meta-field-head > span {
  color: #9aa5b7;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 500;
}

html body .bs-v585-ai-meta-field-head > span b {
  font: inherit;
}

html body .bs-v585-ai-meta-field > label {
  margin-bottom: 5px;
  display: block;
}

html body .bs-v585-ai-meta-field input,
html body .bs-v585-ai-meta-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #dce2ed;
  border-radius: 7px;
  outline: 0;
  background: #fbfcff;
  color: #3d4960;
  font-family: inherit;
  font-size: 9.5px;
  line-height: 1.45;
  font-weight: 400;
  box-shadow: inset 0 1px 2px rgba(23, 34, 58, .02);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-field input {
  height: 34px;
  padding: 0 10px;
}

html body .bs-v585-ai-meta-field textarea {
  min-height: 82px;
  padding: 8px 10px;
  resize: vertical;
}

html body .bs-v585-ai-meta-field input:hover,
html body .bs-v585-ai-meta-field textarea:hover {
  border-color: #c8d0df;
}

html body .bs-v585-ai-meta-field input:focus,
html body .bs-v585-ai-meta-field textarea:focus {
  border-color: #7759ee;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 58, 240, .09);
}

html body .bs-v585-ai-meta-keywords {
  margin-top: 14px;
}

html body .bs-v585-ai-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html body .bs-v585-ai-meta-chips span {
  min-height: 27px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f0f1fa;
  color: #44516b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 8.5px;
  line-height: 1;
  font-weight: 500;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-chips span.is-more {
  color: #6846e8;
}

html body .bs-v585-ai-meta-features {
  min-height: 112px;
  margin: 0 34px 26px;
  padding: 18px 0;
  border: 1px solid #e0e5ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  box-shadow: 0 10px 26px rgba(22, 35, 67, .035);
}

html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature {
  min-width: 0;
  min-height: 74px;
  padding: 8px clamp(18px, 2.2vw, 36px);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: text;
  user-select: text;
}

html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature + .bs-v585-ai-meta-feature {
  border-left: 1px solid #e3e7ef;
}

html body .bs-v585-ai-meta-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #f0ecff;
  color: #6540ed;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

html body .bs-v585-ai-meta-feature-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html body .bs-v585-ai-meta-features strong {
  color: #111b2e;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 600;
}

html body .bs-v585-ai-meta-features small {
  color: #77859c;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 400;
}

html body .bs-v585-ai-metadata :focus-visible {
  outline: 2px solid #7555ef;
  outline-offset: 3px;
}

@media (max-width: 1360px) {
  html body .bs-v585-ai-metadata-main {
    grid-template-columns: minmax(330px, .78fr) minmax(560px, 1.22fr);
    gap: 28px;
  }

  html body .bs-v585-ai-metadata-demo {
    grid-template-columns: minmax(315px, .98fr) minmax(285px, 1.02fr);
    gap: 22px;
  }

  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1120px) {
  html body .bs-v585-ai-metadata-main {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  html body .bs-v585-ai-metadata-copy {
    text-align: center;
  }

  html body .bs-v585-ai-meta-eyebrow,
  html body .bs-v585-ai-meta-heading-link,
  html body .bs-v585-ai-meta-description,
  html body .bs-v585-ai-meta-cta {
    margin-left: auto;
    margin-right: auto;
  }

  html body .bs-v585-ai-meta-description {
    max-width: 720px;
  }

  html body .bs-v585-ai-meta-notes {
    justify-content: center;
  }

  html body .bs-v585-ai-metadata-demo {
    width: min(100%, 820px);
    margin: 12px auto 0;
  }

  html body .bs-v585-ai-meta-files {
    width: 100%;
    transform: translateY(-8px);
  }

  html body .bs-v585-ai-meta-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature:nth-child(3) {
    border-left: 0;
  }

  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature:nth-child(n+3) {
    border-top: 1px solid #e3e7ef;
  }
}

@media (max-width: 740px) {
  html body .bs-v585-ai-metadata {
    border-radius: 16px;
  }

  html body .bs-v585-ai-metadata-main {
    padding: 30px 18px 26px;
  }

  html body .bs-v585-ai-meta-eyebrow {
    margin-bottom: 22px;
    padding-left: 13px;
    padding-right: 13px;
    font-size: 11px;
  }

  html body .bs-v585-ai-meta-heading-link h2,
  html body .bs-home-v156 > .bs-v482-home-main .bs-v585-ai-meta-heading-link h2#bs-v585-ai-metadata-title {
    font-size: clamp(26px, 8vw, 36px) !important;
  }

  html body .bs-v585-ai-meta-description {
    font-size: 12px;
    line-height: 1.65;
  }

  html body .bs-v585-ai-meta-cta {
    width: 100%;
    min-height: 47px;
    margin-top: 21px;
  }

  html body .bs-v585-ai-meta-notes {
    gap: 8px;
    font-size: 10px;
  }

  html body .bs-v585-ai-metadata-demo {
    grid-template-columns: 1fr;
  }

  html body .bs-v585-ai-meta-files {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
    transform: translateY(-6px);
  }

  html body .bs-v585-ai-meta-panel {
    min-height: 0;
  }

  html body .bs-v585-ai-meta-features {
    margin: 0 18px 18px;
    grid-template-columns: 1fr;
  }

  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature + .bs-v585-ai-meta-feature,
  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature:nth-child(3) {
    border-top: 1px solid #e3e7ef;
    border-left: 0;
  }

  html body .bs-v585-ai-meta-features > .bs-v585-ai-meta-feature {
    padding: 14px 18px;
  }
}

@media (max-width: 420px) {
  html body .bs-v585-ai-meta-files {
    display: block;
  }

  html body .bs-v585-ai-meta-file-stack {
    grid-template-columns: 1fr 1fr;
  }

  html body .bs-v585-ai-meta-illustration {
    width: 54%;
    margin: 12px auto 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html body .bs-v585-ai-metadata *,
  html body .bs-v585-ai-metadata *::before,
  html body .bs-v585-ai-metadata *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
