.sales-hero {
  min-height: min(860px, calc(100vh - 20px));
  padding: 116px 0 58px;
  overflow: hidden;
}
.sales-hero-layout {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 38px;
}
.sales-hero-copy { max-width: 650px; }
.sales-hero-accent {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 23px;
  padding: 9px 13px;
  border: 1px solid rgba(171,116,223,.27);
  border-radius: 999px;
  background: rgba(139,82,184,.08);
  color: #c9b6dc;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .015em;
  text-transform: none;
}
.sales-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -.052em;
}
.sales-hero-copy h1 > span {
  display: block;
  white-space: nowrap;
}
.sales-hero-lead {
  max-width: 630px;
  margin-top: 24px;
  color: #aaa3b0;
  font-size: 17px;
  line-height: 1.58;
}
.sales-hero-actions { margin-top: 30px; align-items: stretch; }
.sales-hero-actions .v2-btn {
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
}
.sales-hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.sales-hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #a7a0ad;
  font-size: 14px;
  line-height: 1.35;
}
.sales-hero-benefits li span {
  display: grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(104,221,176,.34);
  border-radius: 50%;
  color: #7fdbb4;
  font-size: 11px;
}
.hero-showcase {
  min-width: 0;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  position: relative;
}
.hero-showcase-stage {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 60% 20%, rgba(181,103,207,.18), transparent 45%),
    linear-gradient(145deg, rgba(25,20,29,.98), rgba(11,10,14,.98));
  box-shadow: 0 40px 100px rgba(0,0,0,.46), 0 0 75px rgba(139,73,174,.14);
  isolation: isolate;
}
.hero-showcase-stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: rgba(184,87,191,.14);
  filter: blur(60px);
  pointer-events: none;
}
.hero-showcase-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(.98);
  transition: opacity .62s ease, transform .7s cubic-bezier(.2,.8,.2,1), visibility 0s linear .7s;
}
.hero-showcase-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}
.hero-showcase-image-wrap {
  min-height: 0;
  margin: 18px 18px 0;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(20,16,23,.72);
}
.hero-showcase-image-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background-image: var(--showcase-backdrop);
  background-position: center;
  background-size: cover;
  filter: blur(36px) saturate(.7);
  opacity: .22;
  transform: scale(1.08);
}
.hero-showcase-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-showcase-slide figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 102px;
  padding: 17px 24px 20px;
  background: linear-gradient(180deg, rgba(15,12,18,.42), rgba(15,12,18,.96));
}
.hero-showcase-slide figcaption > div { min-width: 0; }
.hero-showcase-created {
  display: block;
  margin-bottom: 4px;
  color: #b78bd2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-showcase-slide figcaption strong {
  display: block;
  color: #f6f2f8;
  font: 650 22px/1.2 var(--font-display);
}
.hero-showcase-slide figcaption p {
  margin: 5px 0 0;
  color: #948c9a;
  font-size: 13px;
  line-height: 1.4;
}
.hero-showcase-model {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #bab2c0;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  white-space: nowrap;
}
.hero-showcase-arrow {
  position: absolute;
  z-index: 5;
  top: 43%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(9,8,12,.7);
  backdrop-filter: blur(12px);
  font: 400 28px/1 var(--font-display);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.hero-showcase-prev { left: 30px; }
.hero-showcase-next { right: 30px; }
.hero-showcase-arrow:hover,
.hero-showcase-arrow:focus-visible {
  border-color: rgba(196,132,223,.7);
  background: rgba(32,22,37,.9);
  transform: scale(1.05);
}
.hero-showcase-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 16px;
}
.hero-showcase-dots button {
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-showcase-dots span {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 99px;
  background: #48414e;
  transition: width .25s ease, background .25s ease;
}
.hero-showcase-dots button[aria-pressed="true"] span {
  width: 30px;
  background: linear-gradient(90deg, #9165ca, #d565a9);
}
.hero-showcase-dots button:focus-visible {
  outline: 2px solid #bd83df;
  outline-offset: 1px;
  border-radius: 8px;
}
@media (max-width: 1180px) {
  .sales-hero-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .sales-hero-copy h1 { font-size: 39px; }
}
@media (max-width: 900px) {
  .sales-hero { min-height: 0; padding: 108px 0 52px; }
  .sales-hero-layout {
    width: min(720px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .sales-hero-copy { max-width: 690px; text-align: left; }
  .sales-hero-copy h1 { max-width: 690px; font-size: clamp(42px, 7vw, 52px); }
  .hero-showcase { max-width: 650px; justify-self: center; }
}
@media (max-width: 600px) {
  .sales-hero { padding: 91px 0 40px; }
  .sales-hero-layout { width: calc(100% - 28px); gap: 34px; }
  .sales-hero-accent {
    margin-bottom: 18px;
    padding: 8px 11px;
    border-radius: 14px;
    font-size: 14px;
  }
  .sales-hero-copy h1 {
    font-size: clamp(34px, 9.6vw, 39px);
    line-height: 1.035;
    letter-spacing: -.045em;
  }
  .sales-hero-copy h1 > span { display: inline; white-space: normal; }
  .sales-hero-copy h1 > span:not(:last-child)::after { content: " "; }
  .sales-hero-lead { margin-top: 19px; font-size: 16px; line-height: 1.5; }
  .sales-hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .sales-hero-actions .v2-btn { width: 100%; font-size: 16px; }
  .sales-hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }
  .sales-hero-benefits li { font-size: 14px; }
  .hero-showcase-stage { aspect-ratio: 1 / 1.22; border-radius: 22px; }
  .hero-showcase-image-wrap { margin: 10px 10px 0; border-radius: 15px; }
  .hero-showcase-slide figcaption {
    min-height: 122px;
    padding: 15px 16px 17px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .hero-showcase-slide figcaption strong { font-size: 20px; }
  .hero-showcase-slide figcaption p { font-size: 12px; }
  .hero-showcase-model { padding: 5px 8px; font-size: 11px; }
  .hero-showcase-arrow { display: none; }
  .hero-showcase-dots { gap: 4px; padding-top: 10px; }
  .hero-showcase-dots button { width: 42px; height: 38px; }
}
@media (max-width: 370px) {
  .sales-hero-copy h1 { font-size: 33px; }
  .sales-hero-benefits { gap: 8px 6px; }
  .sales-hero-benefits li { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sales-hero-copy,
  .hero-showcase,
  .hero-showcase-slide {
    animation: none !important;
    transition: none !important;
  }
}

/* TASK-056.1: product-first hero */
.sales-hero {
  min-height: min(900px, calc(100vh - 10px));
  padding-top: clamp(134px, 10vw, 150px);
  background:
    radial-gradient(circle at 76% 34%, rgba(126, 61, 170, .17), transparent 33%),
    radial-gradient(circle at 30% 10%, rgba(75, 105, 191, .08), transparent 28%);
}
.hero-product-layout { grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr); grid-template-areas: "copy preview"; gap: clamp(38px, 5vw, 76px); }
.hero-product-copy { grid-area: copy; position: relative; z-index: 3; }
.hero-product-copy h1 { max-width: 680px; font-size: clamp(44px, 3.5vw, 58px); line-height: .98; letter-spacing: -.06em; }
.hero-product-copy h1 > span { display: block; white-space: normal; overflow-wrap: break-word; }
.hero-product-copy h1 > span:first-child {
  background: linear-gradient(100deg, #fff 8%, #e4d7eb 47%, #bd8bda 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-product-copy h1 > span + span { margin-top: 7px; color: #b9a9c2; }
.hero-product-copy .sales-hero-lead { max-width: 600px; color: #b4adb9; font-size: 18px; }
.hero-product-copy .sales-hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; }
.hero-trust-list { grid-template-columns: repeat(2, minmax(0, max-content)); }
.hero-provider-block { margin-top: 27px; }
.hero-provider-block > span { display: block; margin-bottom: 10px; color: #7f7885; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-provider-block > div { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-provider-block b {
  min-height: 28px; display: inline-flex; align-items: center; padding: 0 9px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.025);
  color: #aaa1af; font-size: 10px; font-weight: 600; letter-spacing: .01em;
}
.hero-generation-counter { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #8e8794; font-size: 11px; }
.hero-generation-counter strong { color: #e9e1ed; font: 650 15px var(--font-display); }
.hero-generation-counter i { width: 6px; height: 6px; border-radius: 50%; background: #6dd9aa; box-shadow: 0 0 13px rgba(109,217,170,.65); }
.hero-product-preview { grid-area: preview; min-width: 0; position: relative; padding: 24px 18px 30px 8px; isolation: isolate; }
.hero-product-preview::before {
  position: absolute; z-index: -1; inset: 3% -3% 0 2%; border-radius: 42%;
  background: radial-gradient(circle, rgba(153,71,195,.2), rgba(62,47,94,.06) 48%, transparent 72%);
  filter: blur(28px); content: ""; animation: hero-glow 7s ease-in-out infinite alternate;
}
.hero-product-window {
  overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 25px;
  background: rgba(13,11,17,.96); box-shadow: 0 38px 100px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.06);
}
.hero-product-bar { min-height: 51px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 17px; border-bottom: 1px solid rgba(255,255,255,.08); background: #121016; }
.hero-product-bar > strong { color: #ede7f0; font: 650 12px var(--font-display); }
.hero-product-bar > strong span { color: #d466bd; }
.hero-window-dots { display: flex; gap: 5px; }
.hero-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #423b47; }
.hero-window-dots i:first-child { background: #81526f; }.hero-window-dots i:nth-child(2) { background: #77684d; }
.hero-product-live { justify-self: end; display: flex; align-items: center; gap: 6px; color: #89818e; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.hero-product-live i { width: 5px; height: 5px; border-radius: 50%; background: #68d6a6; }
.hero-product-shell { min-height: 520px; display: grid; grid-template-columns: 105px minmax(0, 1fr); }
.hero-product-tabs { display: flex; padding: 15px 9px; flex-direction: column; gap: 5px; border-right: 1px solid rgba(255,255,255,.07); background: #0e0c11; }
.hero-product-tabs button {
  min-height: 54px; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 7px; padding: 0 8px;
  border: 1px solid transparent; border-radius: 10px; background: transparent; color: #8d8593; font: 500 10px var(--font-body); text-align: left; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.hero-product-tabs button i { width: 18px; height: 18px; display: block; position: relative; border: 1px solid currentColor; border-radius: 5px; opacity: .72; }
.hero-product-tabs button i::after { position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 2px; content: ""; }
.hero-product-tabs button:hover { color: #d3c9d8; background: rgba(255,255,255,.035); }
.hero-product-tabs button[aria-selected="true"] { border-color: rgba(184,113,218,.28); background: linear-gradient(135deg, rgba(146,69,188,.2), rgba(83,54,115,.08)); color: #f3e9f7; }
.hero-product-tabs button:focus-visible { outline: 2px solid #d39aed; outline-offset: 2px; }
.hero-product-canvas { min-width: 0; padding: 20px; position: relative; background: radial-gradient(circle at 72% 35%, rgba(139,77,163,.09), transparent 42%), #141117; }
.hero-product-canvas:focus-visible { outline: 2px solid #d39aed; outline-offset: -4px; }
.hero-preview-heading { display: flex; align-items: center; justify-content: space-between; color: #9a91a0; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-preview-heading b { color: #615969; letter-spacing: 2px; }
.hero-prompt-card { margin-top: 14px; padding: 13px 15px; position: relative; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.035); }
.hero-prompt-card > span { color: #b579d1; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-prompt-card p { min-height: 38px; margin: 7px 25px 0 0; color: #d8d0dc; font-size: 11px; line-height: 1.55; }
.hero-demo-cursor { position: absolute; right: 17px; bottom: 15px; width: 11px; height: 15px; border: solid #f4eaf7; border-width: 0 2px 2px 0; transform: rotate(-30deg); filter: drop-shadow(0 3px 5px rgba(0,0,0,.5)); animation: hero-cursor 5s ease-in-out infinite; }
.hero-generated-result { height: 328px; margin: 15px 0 0; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0d0b10; }
.hero-generated-result img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-generated-result::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(7,6,9,.92)); content: ""; pointer-events: none; }
.hero-generated-result figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-generated-result figcaption > span { display: flex; align-items: center; gap: 7px; }
.hero-generated-result figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #70dfae; box-shadow: 0 0 12px rgba(112,223,174,.7); }
.hero-generated-result figcaption b { color: #f5eff7; font: 600 11px var(--font-body); }
.hero-generated-result figcaption small { color: #aaa0ae; font-size: 9px; }
.hero-product-canvas.is-switching .hero-prompt-card,.hero-product-canvas.is-switching .hero-generated-result { animation: hero-card-in .36s ease both; }
.hero-product-canvas.is-switching .hero-generated-result { animation-delay: .05s; }
.hero-floating-panel { position: absolute; z-index: 5; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.15); background: rgba(22,17,27,.84); box-shadow: 0 18px 45px rgba(0,0,0,.43); backdrop-filter: blur(16px); animation: hero-float 6s ease-in-out infinite; }
.hero-floating-assistant { top: 4px; right: -8px; gap: 10px; padding: 10px 13px; border-radius: 13px; }
.hero-floating-assistant > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg,#7949bd,#d553a8); color: #fff; font-style: normal; }
.hero-floating-assistant span { display: grid; gap: 2px; color: #9d94a2; font-size: 9px; }.hero-floating-assistant b { color: #eee7f1; font-size: 10px; }
.hero-floating-workflow { left: -18px; bottom: 4px; gap: 6px; padding: 10px 12px; border-radius: 12px; animation-delay: -2.2s; }
.hero-floating-workflow span { padding: 6px 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; color: #c5bbc9; font-size: 8px; }.hero-floating-workflow i { color: #9f6fc0; font-style: normal; }
@keyframes hero-card-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hero-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hero-glow { from { opacity: .6; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes hero-cursor { 0%,28%,100% { transform: translate(-18px,4px) rotate(-30deg); opacity: .55; } 48%,72% { transform: translate(0,0) rotate(-30deg); opacity: 1; } }
@media (max-width: 1120px) {
  .hero-product-layout { grid-template-columns: minmax(0,.9fr) minmax(490px,1.1fr); gap: 30px; }
  .hero-product-copy h1 { font-size: 50px; }
  .hero-product-shell { min-height: 480px; }.hero-generated-result { height: 290px; }
}
@media (max-width: 900px) {
  .sales-hero { padding-top: 112px; }
  .hero-product-layout { width: min(760px,calc(100% - 40px)); grid-template-columns: 1fr; grid-template-areas: "copy" "preview"; gap: 52px; }
  .hero-product-copy { max-width: 720px; }.hero-product-copy h1 { max-width: 720px; font-size: clamp(48px,7.5vw,62px); }
  .hero-product-preview { width: min(680px,100%); justify-self: center; }
}
@media (max-width: 600px) {
  .sales-hero { padding-top: 96px; }
  .hero-product-layout { width: calc(100% - 28px); gap: 38px; }
  .hero-product-copy h1 { font-size: clamp(38px,11vw,46px); line-height: 1; }
  .hero-product-copy h1 > span { display: block; }.hero-product-copy h1 > span + span { margin-top: 8px; }
  .hero-product-copy .sales-hero-lead { font-size: 16px; }
  .hero-product-copy .sales-hero-actions { display: grid; }
  .hero-trust-list { grid-template-columns: 1fr; }
  .hero-provider-block > div { gap: 6px; }.hero-provider-block b { min-height: 27px; font-size: 9px; }
  .hero-product-preview { padding: 12px 0 28px; }
  .hero-product-window { border-radius: 19px; }
  .hero-product-bar { min-height: 44px; padding: 0 12px; }
  .hero-product-shell { min-height: 0; display: block; }
  .hero-product-tabs { overflow-x: auto; padding: 8px; flex-direction: row; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); scrollbar-width: none; }
  .hero-product-tabs::-webkit-scrollbar { display: none; }
  .hero-product-tabs button { min-width: 80px; min-height: 45px; display: flex; flex: 0 0 auto; justify-content: center; padding: 0 9px; }
  .hero-product-tabs button i { display: none; }
  .hero-product-canvas { padding: 13px; }
  .hero-prompt-card { margin-top: 10px; padding: 11px 12px; }.hero-prompt-card p { font-size: 10px; }
  .hero-generated-result { height: min(86vw,350px); margin-top: 11px; }
  .hero-floating-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product-preview::before,.hero-floating-panel,.hero-demo-cursor,.hero-product-canvas.is-switching .hero-prompt-card,.hero-product-canvas.is-switching .hero-generated-result { animation: none !important; }
}

/* TASK-114: contain the existing hero at narrow viewport widths. */
.sales-hero,
#sales-hero-root,
.hero-product-layout,
.hero-product-copy,
.hero-product-preview,
.hero-product-window { min-width: 0; max-width: 100%; }
.sales-hero { overflow-x: clip; }
@media (max-width: 900px) {
  .hero-product-preview { overflow: clip; }
}
@media (max-width: 600px) {
  .hero-product-copy h1,
  .hero-product-copy h1 > span,
  .hero-product-copy .sales-hero-lead { max-width: 100%; overflow-wrap: break-word; }
  .hero-product-copy .sales-hero-actions,
  .hero-product-copy .sales-hero-actions .v2-btn,
  .hero-trust-list,
  .hero-trust-list li { min-width: 0; max-width: 100%; }
  .hero-product-copy .sales-hero-actions .v2-btn { width: 100%; white-space: normal; }
  .hero-trust-list li { overflow-wrap: break-word; }
}
