/* ============================================================
   h5-page.html 专属样式
   布局：左文右手机长页滚动感 → 传播四步 → H5用途六宫格 →
        左图右文 → 左文右图多端 → 制作四步 → CTA
   ============================================================ */

.h5-hero {
  padding: calc(var(--header-h) + 46px) 0 70px;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 94% 8%, rgba(239,220,166,.6), transparent 60%),
    radial-gradient(700px 400px at 4% 92%, rgba(220,232,210,.65), transparent 60%),
    var(--cream);
}
.h5-hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.h5-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: h5Fade .7s ease .1s both;
}
.h5-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
  animation: h5Fade .8s ease .25s both;
}
.h5-amber { color: var(--amber); white-space: nowrap; }
.h5-sub { color: var(--ink-2); margin-bottom: 26px; animation: h5Fade .8s ease .4s both; }
.h5-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; animation: h5Fade .8s ease .55s both; }
.h5-note { font-size: 13px; color: var(--ink-3); }
.h5-note b { color: var(--amber-deep); }

/* 手机长页 */
.h5-hero-visual { display: flex; justify-content: center; }
.h5-phone {
  width: 230px;
  background: var(--ink);
  border-radius: 28px;
  padding: 12px 10px;
  box-shadow: var(--shadow-lift);
  position: relative;
  animation: h5Float 6s ease-in-out infinite alternate;
}
.h5-notch {
  width: 70px; height: 8px;
  background: var(--cream-3);
  border-radius: 999px;
  margin: 0 auto 10px;
}
.h5-scroll {
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}
.h5-scroll img {
  width: 100%;
  animation: h5Scroll 7s ease-in-out infinite alternate;
}
.h5-scroll-hint {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  background: rgba(65,74,60,.8);
  color: #fff;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

@keyframes h5Fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes h5Float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes h5Scroll { from { transform: translateY(0); } to { transform: translateY(-46%); } }

/* 传播四步 */
.h5-spread { background: var(--cream-2); }
.h5-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.h5-path-step {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 22px;
  text-align: center;
  border-bottom: 4px solid var(--green-3);
  transition: all .3s ease;
}
.h5-path-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.h5-path-no {
  display: inline-flex;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.h5-path-step h3 { font-size: 17px; margin-bottom: 8px; }
.h5-path-step p { font-size: 13px; color: var(--ink-2); }

/* 用途六宫格 */
.h5-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.h5-use-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all .3s ease;
}
.h5-use-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--green-2); }
.h5-use-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--green-deep); }
.h5-use-card p { font-size: 14px; color: var(--ink-2); }
.h5-use-note { margin-top: 24px; font-size: 14px; color: var(--ink-2); max-width: 860px; }

/* 团队 */
.h5-team { background: var(--cream-2); }
.h5-team-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.h5-team-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.h5-team-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; line-height: 1.3; }
.h5-team-copy p { color: var(--ink-2); margin-bottom: 14px; }

/* 多端 */
.h5-device-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.h5-device-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; }
.h5-device-copy p { color: var(--ink-2); margin-bottom: 18px; }
.h5-device-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }

/* 制作流程 */
.h5-flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.h5-flow-s {
  background: var(--yellow-1);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
}
.h5-flow-s strong {
  display: block;
  font-size: 18px;
  color: var(--amber-deep);
  margin-bottom: 10px;
}
.h5-flow-s p { font-size: 13px; color: var(--ink-2); }
.h5-flow-note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-2); }

/* 响应式 */
@media (max-width: 1080px) {
  .h5-use-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .h5-hero-in { grid-template-columns: 1fr; gap: 44px; }
  .h5-team-in, .h5-device-in { grid-template-columns: 1fr; gap: 30px; }
  .h5-path, .h5-flow-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .h5-use-grid, .h5-path, .h5-flow-row { grid-template-columns: 1fr; }
  .h5-actions .btn { width: 100%; }
}
