.action-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 124px) 0 74px;
  background:
    linear-gradient(rgba(255, 252, 249, 0.8), rgba(255, 252, 249, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(255, 101, 172, 0.22), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(103, 122, 255, 0.2), transparent 32%),
    #fffaf6;
}

.action-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(39, 31, 45, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 31, 45, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  content: "";
}

.action-hero-shell { position: relative; z-index: 2; }

.action-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.action-hero-orb-one { top: 170px; left: -120px; width: 240px; height: 240px; background: rgba(244, 74, 167, 0.12); }
.action-hero-orb-two { top: 70px; right: -90px; width: 210px; height: 210px; background: rgba(99, 92, 255, 0.12); }

.action-hero-copy {
  max-width: 980px;
  margin: 0 auto 44px;
  text-align: center;
}

.action-hero-copy h1 {
  display: grid;
  width: 100%;
  max-width: 980px;
  justify-items: center;
  margin: 0 auto 20px;
  color: #171319;
  font: 800 var(--type-hero-title)/0.98 "Manrope", sans-serif;
  letter-spacing: 0;
  text-align: center;
  transform: translateX(-16px);
}

.action-hero-copy h1 em {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #e63d96, #8b48d8 48%, #4f6eea);
  background-clip: text;
  font-style: normal;
}

.action-hero-copy h1 .hero-title-line {
  font-size: clamp(1rem, 4.8vw, 3.35rem);
}

.action-hero-copy h1 > span,
.action-hero-copy h1 > em {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
}

.action-hero-copy > p {
  max-width: 820px;
  margin: 0 auto;
  color: #655e68;
  font-size: var(--type-hero-copy);
  line-height: 1.72;
}

.benefit-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.benefit-tags { scrollbar-width: none; }

.benefit-tags::-webkit-scrollbar { display: none; }

.benefit-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(113, 85, 111, 0.15);
  border-radius: 999px;
  color: #695564;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(47, 32, 53, 0.04);
  font-size: 0.72rem;
  font-weight: 700;
}

.action-hero-studio {
  display: grid;
  max-width: 1120px;
  min-height: 640px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 14px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(51, 41, 60, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 32px 90px rgba(55, 39, 62, 0.16);
  backdrop-filter: blur(18px);
}

.figure-input-card,
.figure-preview-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
}

.figure-input-card { background: #fff; }
.figure-preview-card { display: flex; flex-direction: column; background: linear-gradient(145deg, #201a25, #31263a); }

.figure-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #27212c;
  font-size: 0.8rem;
}

.figure-card-label > span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #211a24;
  font-size: 0.64rem;
  font-weight: 800;
}

.figure-card-label > strong { font: 750 0.83rem/1 "Manrope", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.figure-card-label > b { margin-left: auto; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.12); font-size: 0.68rem; }
.figure-preview-card .figure-card-label { color: #fff; }
.figure-preview-card .figure-card-label > span { color: #241d28; background: #fff; }

.figure-upload {
  display: flex;
  width: 100%;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1.5px dashed #c8c0cc;
  border-radius: 16px;
  color: #4b4450;
  background: linear-gradient(145deg, #fdfbfd, #f7f3f8);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.figure-upload:hover,
.figure-upload:focus-visible { border-color: var(--button-border-hover); background: var(--button-surface-hover); box-shadow: none; transform: translateY(-1px); }
.figure-upload:focus-visible { outline: 2px solid var(--button-focus); outline-offset: 2px; }
.figure-upload > svg { width: 18px; height: 18px; margin-left: auto; color: #a39ba7; }
.figure-upload-icon { display: inline-grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #ee4a9f, #8f57df); box-shadow: 0 10px 22px rgba(183, 55, 147, 0.22); }
.figure-upload-icon svg { width: 21px; height: 21px; }
.figure-upload strong,
.figure-upload small { display: block; }
.figure-upload strong { margin-bottom: 5px; color: #2e2833; font: 750 0.9rem/1.2 "Manrope", sans-serif; }
.figure-upload small { color: #8c8590; font-size: 0.7rem; line-height: 1.45; }

.figure-demo-picker { margin-top: 14px; }
.figure-demo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.figure-demo-heading strong { color: #453d48; font: 750 0.72rem/1 "Manrope", sans-serif; text-transform: uppercase; }
.figure-demo-heading span { color: #97909a; font-size: 0.66rem; }
.figure-demo-grid { display: grid; width: 100%; max-width: 360px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 auto; }
.figure-demo-option { position: relative; aspect-ratio: 3 / 4; height: auto; padding: 3px; overflow: hidden; border: 1px solid var(--button-border); border-radius: 8px; background: var(--button-surface); cursor: pointer; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.figure-demo-option:hover,
.figure-demo-option:focus-visible { border-color: var(--button-border-hover); background: var(--button-surface-hover); box-shadow: none; transform: translateY(-1px); }
.figure-demo-option:focus-visible { outline: 2px solid var(--button-focus); outline-offset: 2px; }
.figure-demo-option.is-active { border-color: var(--button-border-hover); box-shadow: none; }
.figure-demo-option img { width: 100%; height: 100%; border-radius: 5px; object-fit: cover; object-position: center 24%; }
.figure-demo-option > span { position: absolute; top: 7px; right: 7px; display: none; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: #d93491; box-shadow: 0 3px 9px rgba(68, 20, 55, 0.28); }
.figure-demo-option.is-active > span { display: grid; }
.figure-demo-option > span svg { width: 12px; height: 12px; stroke-width: 3; }

.figure-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #948c98; font-size: 0.68rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; }
.figure-divider::before,
.figure-divider::after { height: 1px; flex: 1; background: #ece8ee; content: ""; }

.figure-hero-prompt {
  width: 100%;
  min-height: 216px;
  margin: 0;
  padding: 17px;
  border: 1px solid #ded8e2;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  backdrop-filter: none;
}

.figure-hero-prompt textarea { min-height: 100px; }
.figure-hero-prompt .hero-prompt-actions { align-items: flex-end; }
.figure-hero-prompt .hero-input-tools { flex-wrap: wrap; }
.figure-hero-prompt .hero-model-picker,
.figure-hero-prompt .hero-model-trigger { min-width: 190px; }
.figure-hero-prompt .hero-model-menu { top: auto; bottom: calc(100% + 10px); width: 310px; max-height: 340px; }
.figure-hero-prompt .hero-create-button { min-width: 210px; }

.figure-credit { display: flex; align-items: flex-start; gap: 9px; margin: 16px 2px 0; color: #7b747f; font-size: 0.72rem; line-height: 1.5; }
.figure-credit svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: #d83f91; }
.figure-credit strong { color: #4f4652; }

.collector-box {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(155deg, #23232a, #343039 55%, #25252d);
  box-shadow: 0 24px 60px rgba(8, 5, 10, 0.32);
}

.collector-box-header,
.collector-box-footer { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; color: #fff; }
.collector-box-header span,
.collector-box-footer span { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }
.collector-box-header strong { font: 850 1.15rem/1 "Manrope", sans-serif; }
.collector-box-footer b { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.44); border-radius: 50%; font-size: 0.7rem; }

.collector-window {
  position: relative;
  min-height: 0;
  flex: 1;
  margin: 0 14px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: #16151a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 12px 28px rgba(53, 30, 27, 0.24);
}

.collector-window::after { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.06)); pointer-events: none; content: ""; }
.collector-window > img { width: 100%; height: 100%; object-fit: contain; transition: opacity 180ms ease, transform 300ms ease; }
.collector-window.is-changing > img { opacity: 0.25; transform: scale(1.03); }

.figure-trust { display: flex; max-width: 900px; align-items: flex-start; justify-content: center; gap: 9px; margin: 22px auto 0; color: #706873; font-size: 0.74rem; line-height: 1.5; text-align: center; }
.figure-trust svg { width: 16px; height: 16px; flex: 0 0 auto; color: #9454bb; }
.action-example-link { display: flex; width: fit-content; min-height: 38px; align-items: center; gap: 7px; margin: 14px auto 0; padding: 0 14px; border: 1px solid var(--button-border); border-radius: var(--button-radius); color: #6c2f65; background: var(--button-surface); font-size: 0.76rem; font-weight: 750; cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.action-example-link:hover { border-color: var(--button-border-hover); color: var(--pink-dark); background: var(--button-surface-hover); transform: translateY(-1px); }
.action-example-link svg { width: 14px; height: 14px; }

.action-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.figure-gallery-card { min-width: 0; overflow: hidden; border-radius: 6px; background: #fff; }
.figure-gallery-frame { overflow: hidden; aspect-ratio: 2 / 3; border-radius: 6px; background: #e8e5e9; }
.figure-gallery-frame img { width: 100%; height: 100%; object-fit: cover; }
.figure-gallery-meta { padding: 13px 2px 4px; }
.figure-gallery-meta span { display: block; margin-bottom: 5px; color: #8b818d; font-size: var(--type-gallery-meta); font-weight: 750; text-transform: uppercase; }
.figure-gallery-meta strong { display: block; color: #221d23; font: 750 var(--type-gallery-title)/1.35 "Manrope", sans-serif; }

.action-use-cases { overflow: hidden; background: radial-gradient(circle at 8% 16%, rgba(244, 91, 174, 0.08), transparent 28%), radial-gradient(circle at 92% 70%, rgba(106, 118, 255, 0.08), transparent 30%), #fbfafc; }
.character-story-list { display: grid; gap: clamp(72px, 8vw, 112px); }
.character-story { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(42px, 7vw, 96px); }
.character-story.is-reversed .character-story-media { order: 2; }
.character-story-media { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(73, 62, 78, 0.12); border-radius: 28px; background: #e9e6eb; box-shadow: 0 24px 70px rgba(45, 33, 51, 0.14); }
.character-story-media img { width: 100%; height: 100%; object-fit: cover; }
.figure-photo-media { aspect-ratio: 3 / 2; }
.character-story-copy h2 { max-width: 650px; margin: 0 0 22px; color: #171419; font: 800 var(--type-story-title)/1.08 "Manrope", sans-serif; letter-spacing: -0.045em; }
.character-story-copy p { max-width: 680px; margin: 0 0 16px; color: #625d67; font-size: var(--type-story-copy); line-height: 1.82; }
.character-story-copy p:last-child { margin-bottom: 0; }

.tools-section .tool-section-head > .eyebrow { display: flex; width: fit-content; margin-right: auto; margin-left: auto; }
.tools-section .tool-action { align-self: stretch; width: auto; margin-right: 4px; margin-left: 4px; }

.figure-story-media { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 18px; background: linear-gradient(145deg, #f0edf3, #fff); }
.figure-story-media > svg { width: 22px; color: #b73b87; }
.story-source,
.story-result { position: relative; height: 100%; min-width: 0; overflow: hidden; border-radius: 18px; background: #28222d; }
.story-source img,
.story-result img { height: 100%; object-fit: cover; }
.story-source span,
.story-result span { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(21, 16, 25, 0.6); backdrop-filter: blur(8px); font-size: 0.6rem; font-weight: 800; }
.story-result::after { position: absolute; inset: 9px; border: 4px solid rgba(255, 255, 255, 0.72); border-radius: 14px; pointer-events: none; content: ""; }
.figure-series-media img { filter: saturate(0.88) contrast(1.05); }
.figure-series-media::after { position: absolute; inset: 14px; border: 6px solid rgba(255, 255, 255, 0.76); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(35, 24, 39, 0.22); pointer-events: none; content: ""; }
.series-strip { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.series-strip span { display: grid; min-height: 34px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 7px; color: #fff; background: rgba(21, 16, 25, 0.62); backdrop-filter: blur(8px); font-size: 0.58rem; font-weight: 850; letter-spacing: 0.1em; }
.faq-list a { color: #a81765; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .action-hero-studio { grid-template-columns: 1fr 1fr; }
  .figure-hero-prompt .hero-prompt-actions { align-items: stretch; flex-direction: column; }
  .figure-hero-prompt .hero-create-button { width: 100%; }
  .action-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .action-hero { padding-top: 76px; }
  .action-hero-studio { max-width: 680px; grid-template-columns: 1fr; }
  .figure-preview-card { min-height: 600px; }
  .character-story { grid-template-columns: 1fr; gap: 28px; }
  .character-story.is-reversed .character-story-media { order: initial; }
  .character-story-media { max-width: 620px; }
  .character-story-copy h2,
  .character-story-copy p { max-width: 720px; }
}

@media (max-width: 580px) {
  .action-hero { padding: 64px 0 56px; }
  .action-hero-copy { margin-bottom: 30px; }
  .action-hero-copy h1 { font-size: var(--type-hero-title); line-height: 1.08; transform: none; }
  .action-hero-copy > p { font-size: var(--type-hero-copy); line-height: 1.62; }
  .benefit-tags { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .benefit-tags span { flex: 0 0 auto; }
  .action-hero-studio { padding: 8px; border-radius: 22px; }
  .figure-input-card,
  .figure-preview-card { padding: 18px; border-radius: 16px; }
  .figure-upload { min-height: 108px; padding: 15px; }
  .figure-upload-icon { width: 42px; height: 42px; }
  .figure-upload > svg { display: none; }
  .figure-hero-prompt { min-height: 282px; padding: 13px; }
  .figure-hero-prompt .hero-input-tools { display: grid; width: 100%; grid-template-columns: 40px minmax(0, 1fr); }
  .figure-hero-prompt .hero-model-picker { grid-column: 1 / -1; min-width: 0; }
  .figure-hero-prompt .hero-model-trigger { min-width: 0; }
  .figure-hero-prompt .hero-model-menu { width: 100%; max-height: min(350px, 48vh); }
  .figure-preview-card { min-height: 530px; }
  .figure-demo-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .figure-trust { text-align: left; }
  .action-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .figure-gallery-meta { padding-top: 10px; }
  .figure-gallery-meta span { font-size: var(--type-gallery-meta); }
  .figure-gallery-meta strong { font-size: var(--type-gallery-title); }
  .character-story-list { gap: 64px; }
  .character-story { gap: 24px; }
  .character-story-media { border-radius: 20px; }
  .character-story-copy h2 { margin-bottom: 16px; font-size: var(--type-story-title); line-height: 1.12; }
  .character-story-copy p { font-size: var(--type-story-copy); line-height: 1.72; }
  .figure-story-media { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .figure-story-media > svg { position: absolute; z-index: 3; top: calc(50% - 15px); left: calc(50% - 15px); width: 30px; height: 30px; padding: 7px; border-radius: 50%; color: #fff; background: #b73b87; transform: rotate(90deg); }
  .story-source,
  .story-result { min-height: 190px; }
}
