.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.hero-intro {
  height: calc(100vw * 3 / 7);
  display: grid;
  align-items: start;
  padding-top: 13vw;
  background-color: var(--color-white);
  background-image: url("https://xiangdanzz-barcode.oss-cn-shenzhen.aliyuncs.com/yinma/website/hero/hero-bg-2400-20260730.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--color-blue);
}

.hero-desc {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--color-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-stage {
  position: relative;
  min-height: 570px;
  border-top: 1px solid var(--color-border);
  background: var(--color-page);
  overflow: hidden;
}

.hero-stage-inner {
  position: relative;
  width: min(calc(100% - 48px), 980px);
  height: 570px;
  margin-inline: auto;
}

.hero-phone-primary,
.hero-phone-secondary {
  position: absolute;
  bottom: -160px;
}

.hero-phone-primary {
  z-index: 2;
  left: 50%;
  width: 326px;
  transform: translateX(-50%);
}

.hero-phone-secondary {
  right: 0;
  width: 260px;
  opacity: 0.96;
}

.hero-proof {
  position: absolute;
  z-index: 3;
  bottom: 46px;
  left: 0;
  width: 250px;
  padding: 22px;
  border-left: 3px solid var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 12px 36px rgba(20, 40, 70, 0.12);
}

.hero-proof strong {
  display: block;
  color: var(--color-blue-dark);
  font-size: 18px;
}

.hero-proof p {
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 13px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 74px;
}

.prompt-box {
  padding: 26px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  background: var(--color-white);
}

.prompt-box-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.prompt-box blockquote {
  margin-top: 16px;
  color: var(--color-ink);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.55;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}

.workflow-step {
  padding: 22px 18px 0 0;
}

.workflow-step + .workflow-step {
  padding-left: 18px;
  border-left: 1px solid var(--color-border);
}

.workflow-step strong {
  display: block;
  margin-top: 9px;
  font-size: 15px;
}

.workflow-step p {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.workflow-visual {
  display: flex;
  justify-content: center;
  min-height: 620px;
  padding-top: 20px;
  overflow: hidden;
}

.workflow-visual .phone-shot {
  width: 330px;
}

.edit-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 74px;
}

.edit-visual {
  display: flex;
  justify-content: center;
  max-height: 690px;
  overflow: hidden;
}

.edit-visual .phone-shot {
  width: 334px;
}

.scope-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--color-orange);
  color: var(--color-ink-soft);
  background: var(--color-orange-light);
  font-size: 14px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.entry-item {
  min-height: 250px;
  padding: 32px;
  background: var(--color-white);
}

.entry-item + .entry-item {
  border-left: 1px solid var(--color-border);
}

.entry-icon,
.scenario-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--color-blue-light);
}

.entry-icon.orange {
  background: var(--color-orange-light);
}

.entry-icon.green {
  background: var(--color-green-light);
}

.entry-item h3 {
  margin-top: 24px;
  font-size: 22px;
}

.entry-item p {
  margin-top: 10px;
  color: var(--color-muted);
}

.entry-item .text-link {
  margin-top: 20px;
}

.template-showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.template-shots {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.template-shots .phone-shot {
  position: absolute;
  width: 280px;
}

.template-shots .phone-shot:first-child {
  z-index: 2;
  top: 0;
  left: 0;
}

.template-shots .phone-shot:last-child {
  right: 0;
  bottom: -90px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.category-chips li {
  padding: 7px 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-ink-soft);
  background: var(--color-white);
  font-size: 13px;
}

.editor-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.editor-visuals {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  max-height: 660px;
  overflow: hidden;
}

.editor-visuals .phone-shot {
  width: 270px;
}

.editor-visuals .phone-shot:last-child {
  margin-top: 50px;
}

.output-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.output-preview {
  padding: 32px;
  background: var(--color-panel);
}

.output-preview .phone-shot {
  width: 300px;
  margin-inline: auto;
}

.output-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.output-option {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.output-option strong {
  display: block;
  margin-top: 10px;
}

.output-option span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

.scenario-item {
  min-height: 210px;
  padding: 28px;
  background: var(--color-white);
}

.scenario-item h3 {
  margin-top: 20px;
  font-size: 18px;
}

.scenario-item p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 48px;
  }

  .workflow-grid,
  .edit-story,
  .template-showcase,
  .editor-showcase,
  .output-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .workflow-visual {
    min-height: 560px;
  }

  .template-shots {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-item + .entry-item {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .hero-intro {
    height: auto;
    padding: 54px 0;
    background-size: contain;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stage,
  .hero-stage-inner {
    height: 515px;
    min-height: 515px;
  }

  .hero-stage-inner {
    width: calc(100% - 24px);
  }

  .hero-phone-primary {
    width: min(80vw, 310px);
    bottom: -118px;
  }

  .hero-phone-secondary,
  .hero-proof {
    display: none;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-step + .workflow-step {
    margin-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .workflow-visual {
    min-height: 500px;
    max-height: 580px;
  }

  .workflow-visual .phone-shot,
  .edit-visual .phone-shot {
    width: min(84vw, 320px);
  }

  .template-shots {
    min-height: 540px;
  }

  .template-shots .phone-shot {
    width: 230px;
  }

  .template-shots .phone-shot:last-child {
    right: -36px;
  }

  .editor-visuals {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .editor-visuals .phone-shot {
    width: 250px;
    min-width: 250px;
  }

  .output-options,
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}
