/**
 * 着陆页留存 P1–P3 可见组件
 */
.news-read-path-bar--top {
  margin: 0 auto 1.25rem;
  max-width: 56rem;
  position: sticky;
  top: calc(var(--platform-navbar-h, 55px) + var(--platform-subnav-h, 0px) + 4px);
  z-index: 25;
}

.platform-read-path.fec-step-bar {
  position: sticky;
  top: calc(var(--platform-navbar-h, 55px) + var(--platform-subnav-h, 40px));
  z-index: 27;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
  background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
  border-bottom: 1px solid #a7f3d0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.platform-read-path.fec-step-bar > .container {
  width: 100%;
  max-width: var(--shell-max, 1440px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.platform-read-path .fec-step-bar__inner {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

@media (min-width: 1024px) {
  .platform-read-path .fec-step-bar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.25rem;
  }

  .platform-read-path .fec-step-bar__steps {
    justify-content: flex-end;
  }
}

.platform-read-path .fec-step-bar__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
}

.platform-read-path .fec-step-bar__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.platform-read-path .fec-step-bar__step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d1fae5;
  background: #fff;
  color: #065f46;
  transition: border-color 0.15s, box-shadow 0.15s;
  max-width: 100%;
  box-sizing: border-box;
}

.platform-read-path .fec-step-bar__step:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.platform-read-path .fec-step-bar__step--active {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.platform-read-path .fec-step-bar__step--cta {
  background: #1d2129;
  color: #fff;
  border-color: #1d2129;
}

.landing-shallow-nudge {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.5rem 0.65rem;
  width: min(92vw, 420px);
  max-width: min(92vw, 420px);
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #1d2129;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.landing-shallow-nudge p {
  margin: 0;
  grid-column: 1 / -1;
  word-break: break-word;
}

@media (min-width: 480px) {
  .landing-shallow-nudge {
    grid-template-columns: 1fr auto auto;
  }
  .landing-shallow-nudge p {
    grid-column: 1;
  }
}

.landing-shallow-nudge__cta {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: #10b981;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.landing-shallow-nudge__close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

@media (max-width: 640px) {
  .news-read-path-bar--top {
    position: relative;
    top: auto;
  }
  .platform-read-path.fec-step-bar {
    top: calc(var(--platform-navbar-h, 55px) + 36px);
  }
}

/* AI 能力页：滚动后底部粘性下一步 */
.landing-ai-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #a7f3d0;
  box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(8px);
}

.landing-ai-sticky__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  margin-right: 0.25rem;
}

.landing-ai-sticky a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d1fae5;
  background: #fff;
  color: #065f46;
  min-height: 36px;
  box-sizing: border-box;
}

.landing-ai-sticky__cta {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}

@media (min-width: 768px) {
  .landing-ai-sticky {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1rem;
    width: min(520px, 92vw);
    border-radius: 12px;
    border: 1px solid #a7f3d0;
  }
}

.cont-ai-return-bar {
  margin: 0 auto 1rem;
  max-width: var(--shell-max, 1200px);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(90deg, #eff6ff, #f0fdf4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.cont-ai-return-bar__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e40af;
  white-space: nowrap;
}

.cont-ai-return-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.cont-ai-return-bar__actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #1d4ed8;
}

.cont-ai-return-bar__actions a.cont-ai-return-bar__primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

@media (max-width: 640px) {
  .cont-ai-return-bar {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}
