/* V3: storefront-led AI growth system */
.hero {
  min-height: calc(100vh - 76px);
  background-image:
    linear-gradient(90deg, rgba(4, 14, 11, 0.98) 0%, rgba(4, 14, 11, 0.9) 36%, rgba(4, 14, 11, 0.24) 70%, rgba(4, 14, 11, 0.08) 100%),
    url('/hero-store-ai-v3.png');
  background-size: cover;
  background-position: center;
}

.hero::before {
  opacity: 0.18;
  mask-image: linear-gradient(90deg, #000 0%, transparent 56%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -6vw;
  top: -86px;
  bottom: -70px;
  width: calc(100% + 9vw);
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 14, 11, 0.78), transparent);
}

.hero h1 {
  margin-top: 22px;
  max-width: 680px;
  text-wrap: balance;
}

.hero-scene {
  align-self: end;
  margin-bottom: 36px;
  padding: 18px;
  background: rgba(6, 20, 16, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.scene-grid {
  margin: 13px 0;
}

.scene-main,
.metric {
  padding: 15px;
}

.scene-main strong,
.metric strong {
  font-size: 30px;
}

.workflow div {
  padding: 11px 13px;
}

.scene-note {
  padding: 14px;
  font-size: 13px;
}

.proof {
  margin-top: 30px;
  padding-top: 18px;
}

.proof div:first-child strong {
  color: var(--tech-lime);
}

.proof div:nth-child(2) strong {
  color: var(--tech-cyan);
}

.proof div:nth-child(3) strong {
  color: #fff;
}

.pain-band {
  position: relative;
}

.pain-band::before {
  content: "实体门店获客的四个真实卡点";
  position: absolute;
  left: 6vw;
  top: -12px;
  padding: 5px 10px;
  background: var(--tech-lime);
  color: #07120f;
  font-size: 10px;
  font-weight: 900;
}

.method {
  position: relative;
  overflow: hidden;
}

.method::after {
  content: "门店现场  →  专业表达  →  AI内容  →  客户线索";
  position: absolute;
  right: 5vw;
  top: 42px;
  color: rgba(17, 97, 73, 0.12);
  font-size: 18px;
  font-weight: 900;
}

.method-grid {
  border: 0;
  box-shadow: none;
  background: linear-gradient(90deg, #0b211a 0 33.333%, #123027 33.333% 66.666%, #163d31 66.666%);
  color: #fff;
}

.method-grid article {
  min-height: 310px;
  border-color: rgba(255, 255, 255, 0.09);
}

.method-grid article:nth-child(1)::before,
.method-grid article:nth-child(2)::before,
.method-grid article:nth-child(3)::before {
  display: block;
  margin-bottom: 28px;
  color: var(--tech-lime);
  font-size: 26px;
  font-weight: 900;
}

.method-grid article:nth-child(1)::before { content: "● REC"; }
.method-grid article:nth-child(2)::before { content: "▣ EXECUTE"; }
.method-grid article:nth-child(3)::before { content: "⌁ AI LOOP"; }

.method-grid h3 {
  margin-top: 24px;
}

.method-grid p {
  color: rgba(255, 255, 255, 0.6);
}

.tools {
  background:
    linear-gradient(rgba(17, 97, 73, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 97, 73, 0.035) 1px, transparent 1px),
    #f4f8f6;
  background-size: 34px 34px;
}

.tool-card {
  border-radius: 0;
  border-top: 3px solid #c7d4ce;
}

.tool-card:nth-child(1) { border-top-color: var(--tech-lime); }
.tool-card:nth-child(2) { border-top-color: #39c7b2; }
.tool-card:nth-child(3) { border-top-color: #f0b35a; }
.tool-card:nth-child(4) { border-top-color: #d96c58; }

.about {
  align-items: center;
}

.about-portrait {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: transparent;
}

.about-portrait::after {
  display: none;
}

.about-portrait img {
  object-fit: contain;
  object-position: center;
  background: #111a17;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background-position: 62% center;
  }

  .hero-copy::before {
    right: -30px;
    width: auto;
  }

  .hero-scene {
    max-width: 520px;
    margin-top: 10px;
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 54px;
    background-image:
      linear-gradient(180deg, rgba(4, 14, 11, 0.98) 0%, rgba(4, 14, 11, 0.9) 50%, rgba(4, 14, 11, 0.38) 76%, rgba(4, 14, 11, 0.92) 100%),
      url('/hero-store-ai-v3.png');
    background-size: auto 100%;
    background-position: 67% center;
  }

  .hero-copy::before {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.16;
  }

  .proof strong {
    font-size: 21px;
  }

  .proof span {
    font-size: 13px;
  }

  .method::after {
    display: none;
  }

  .method-grid {
    grid-template-columns: 1fr;
    background: #0b211a;
  }

  .method-grid article {
    min-height: 240px;
  }

  .about-portrait {
    width: min(100%, 430px);
    margin: 0 auto;
  }
}

/* V4: Bee Colony identity and image assistant */
.logo-frame {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.topbar .logo-frame img,
.app-sidebar .logo-frame img {
  width: 150%;
  height: 150%;
  transform: translateY(-10%);
}

.tool-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tool-card.poster-card {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(28, 50, 84, 0.94), rgba(11, 30, 48, 0.98)),
    #102a40;
  border-color: rgba(76, 192, 230, 0.35);
  border-top-color: #45bfe7;
}

.tool-card.poster-card small,
.tool-card.poster-card button {
  color: #66d7fa;
}

.tool-card.poster-card p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 14px !important;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.poster-workspace {
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
}

.poster-output {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(rgba(17, 97, 73, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 97, 73, 0.05) 1px, transparent 1px),
    #f7faf8;
  background-size: 24px 24px;
}

.poster-output img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  box-shadow: 0 20px 55px rgba(8, 31, 24, 0.18);
}

.poster-empty {
  color: var(--muted);
  text-align: center;
}

.poster-download {
  display: inline-flex;
}

.poster-output small {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .topbar .logo-frame {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

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

  .poster-output {
    min-height: 360px;
  }
}
