/**
 * 公共首页（营销落地页）样式 — Hero 区、功能介绍、定价与登录引导
 */

.public-home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(199, 222, 255, 0.9), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(245, 226, 202, 0.75), transparent 26%),
    linear-gradient(180deg, #f7f4ec 0%, #eff2f6 48%, #eef4f8 100%);
  color: #17212b;
}

.public-home__ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.55;
  pointer-events: none;
}

.public-home__ambient--one {
  width: 280px;
  height: 280px;
  right: -80px;
  top: 18%;
  background: rgba(66, 114, 178, 0.18);
}

.public-home__ambient--two {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: 14%;
  background: rgba(198, 146, 92, 0.18);
}

.public-home__nav,
.public-home__main {
  position: relative;
  z-index: 1;
}

.public-home__nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-home__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.public-home__brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #1f4e85;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(24, 49, 73, 0.08);
}

.public-home__brand strong,
.public-home__brand span {
  display: block;
}

.public-home__brand strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.public-home__brand span {
  font-size: 12px;
  color: rgba(23, 33, 43, 0.62);
}

.public-home__nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.public-home__nav-link {
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #203040;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 37, 54, 0.06);
}

.public-home__main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 28px 56px;
}

.public-home__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
}

.public-home__hero-copy,
.public-home__hero-panel {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 60px rgba(17, 37, 54, 0.08);
  backdrop-filter: blur(10px);
}

.public-home__hero-copy {
  padding: 44px 46px;
}

.public-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 46, 67, 0.08);
  color: rgba(22, 46, 67, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.public-home__hero h1 {
  margin: 22px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-family: "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
}

.public-home__hero p {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(23, 33, 43, 0.78);
}

.public-home__hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.public-home__primary,
.public-home__secondary,
.public-home__panel-link {
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.public-home__primary {
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #f8fbff;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(20, 59, 105, 0.24);
}

.public-home__secondary,
.public-home__panel-link {
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(20, 59, 105, 0.08);
  color: var(--color-primary);
  font-weight: 700;
}

.public-home__primary:hover,
.public-home__secondary:hover,
.public-home__panel-link:hover,
.public-home__tool:hover,
.public-home__nav-link:hover {
  transform: translateY(-2px);
}

.public-home__hero-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.public-home__hero-meta div {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(16, 39, 58, 0.04);
}

.public-home__hero-meta strong,
.public-home__hero-meta span {
  display: block;
}

.public-home__hero-meta strong {
  font-size: 24px;
}

.public-home__hero-meta span {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(23, 33, 43, 0.66);
}

.public-home__hero-panel {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.public-home__panel-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(189, 131, 74, 0.12);
  color: #85552a;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.public-home__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.public-home__steps li {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(18, 41, 62, 0.05);
}

.public-home__steps strong,
.public-home__steps span {
  display: block;
}

.public-home__steps strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.public-home__steps span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(23, 33, 43, 0.68);
}

.public-home__section {
  margin-top: 34px;
}

.public-home__section-head span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 33, 43, 0.52);
}

.public-home__section-head h2 {
  margin: 10px 0 0;
  max-width: 820px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.public-home__tool-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-home__tool {
  text-align: left;
  border: 0;
  border-radius: 26px;
  padding: 22px;
  min-height: 196px;
  color: #17212b;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 46px rgba(17, 37, 54, 0.08);
  cursor: pointer;
}

.public-home__tool-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.public-home__tool-head strong {
  font-size: 20px;
}

.public-home__tool-head span {
  font-size: 12px;
  color: rgba(23, 33, 43, 0.48);
}

.public-home__tool p {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(23, 33, 43, 0.74);
}

.public-home__tool-action {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
}

.public-home__tool--ink { background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(235,240,247,0.98)); }
.public-home__tool--ocean { background: linear-gradient(180deg, rgba(240,248,255,0.92), rgba(225,238,249,0.98)); }
.public-home__tool--sand { background: linear-gradient(180deg, rgba(255,250,243,0.92), rgba(248,237,221,0.98)); }
.public-home__tool--forest { background: linear-gradient(180deg, rgba(244,250,246,0.92), rgba(226,239,229,0.98)); }
.public-home__tool--steel { background: linear-gradient(180deg, rgba(245,247,251,0.92), rgba(228,233,241,0.98)); }
.public-home__tool--sun { background: linear-gradient(180deg, rgba(255,249,239,0.92), rgba(245,233,205,0.98)); }

.public-home__section--band {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 52px rgba(17, 37, 54, 0.06);
}

.public-home__quota {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.public-home__quota span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 33, 43, 0.52);
}

.public-home__quota h3 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.public-home__quota p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(23, 33, 43, 0.74);
}

.public-home__quota-cards {
  display: grid;
  gap: 14px;
}

.public-home__quota-cards article {
  padding: 22px;
  border-radius: 24px;
  background: rgba(20, 59, 105, 0.06);
}

.public-home__quota-cards strong,
.public-home__quota-cards span,
.public-home__quota-cards small {
  display: block;
}

.public-home__quota-cards strong {
  font-size: 14px;
  color: rgba(20, 59, 105, 0.8);
}

.public-home__quota-cards span {
  margin-top: 8px;
  font-size: 24px;
}

.public-home__quota-cards small {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(23, 33, 43, 0.62);
}

@media (max-width: 980px) {
  .public-home__hero,
  .public-home__quota,
  .public-home__tool-grid,
  .public-home__hero-meta {
    grid-template-columns: 1fr;
  }

  .public-home__hero-copy,
  .public-home__hero-panel,
  .public-home__section--band {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .public-home__nav,
  .public-home__main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .public-home__nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-home__nav-actions,
  .public-home__hero-actions {
    width: 100%;
  }

  .public-home__nav-link,
  .public-home__primary,
  .public-home__secondary,
  .public-home__panel-link {
    width: 100%;
    justify-content: center;
  }
}

/* ========== 未登录宣传落地页（链企式长页） ========== */

.public-home--marketing {
  min-height: 100vh;
  overflow-x: clip;
  background: #fafbfc;
  color: #0f172a;
}

.ph-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: linear-gradient(90deg, #c41e3a, #e11d48);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.ph-promo__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.95;
}

.ph-promo__btn {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.ph-promo__btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ph-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.ph-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ph-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ph-nav__logo {
  border-radius: 10px;
}

.ph-nav__title {
  font-size: 18px;
}

.ph-nav__badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--color-primary, #1e5a96);
  color: #fff;
}

.ph-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.ph-nav__links a {
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
}

.ph-nav__links a:hover {
  color: var(--color-primary, #1e5a96);
}

.ph-nav__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ph-btn {
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ph-btn:hover {
  transform: translateY(-1px);
}

.ph-btn--ghost {
  background: #fff;
  border: 1px solid #0f172a;
  color: #0f172a;
}

.ph-btn--solid {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.ph-btn--on-dark {
  background: #fff;
  color: #0f172a;
  margin-top: 8px;
}

.ph-btn--dark-border {
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
}

.ph-main {
  padding: 0;
}

.ph-hero {
  padding: 48px 24px 56px;
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

.ph-hero__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 40px;
  align-items: center;
}

.ph-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  margin: 0 0 12px;
}

.ph-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ph-hero__accent {
  color: var(--color-primary, #1e5a96);
}

.ph-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(15, 23, 42, 0.78);
  max-width: 560px;
}

.ph-cta-row {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.ph-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ph-chip:hover {
  transform: translateY(-2px);
}

.ph-chip__tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.ph-chip__arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ph-chip--danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.28);
}

.ph-chip--blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.ph-chip--violet {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28);
}

.ph-social {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 520px;
}

.ph-social__avatars {
  display: flex;
  flex-shrink: 0;
}

.ph-social__avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.ph-social__avatars span:first-child {
  margin-left: 0;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.ph-social__avatars span:nth-child(2) {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.ph-social__avatars span:nth-child(3) {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.ph-social p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.72);
}

.ph-hero__visual {
  position: relative;
}

.ph-browser {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.ph-browser__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ph-browser__chrome span:first-child,
.ph-browser__chrome span:nth-child(2),
.ph-browser__chrome span:nth-child(3) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.ph-browser__chrome span:nth-child(2) {
  background: #fde68a;
}

.ph-browser__chrome span:nth-child(3) {
  background: #86efac;
}

.ph-browser__title {
  margin-left: auto;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.ph-browser__body {
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.ph-browser__caption {
  margin: 12px 0 0;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.ph-gantt {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: #fff;
}

.ph-gantt__head {
  display: grid;
  grid-template-columns: 100px repeat(5, 1fr);
  gap: 0;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 8px 6px;
  text-align: center;
}

.ph-gantt__head span:first-child {
  text-align: left;
  padding-left: 8px;
}

.ph-gantt__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  min-height: 36px;
  border-top: 1px solid #f1f5f9;
  padding: 6px 8px;
  gap: 8px;
}

.ph-gantt__name {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.ph-gantt__bar {
  display: block;
  height: 14px;
  border-radius: 6px;
  grid-column: 2;
  margin-left: calc(var(--s, 0) * 16%);
  width: calc((var(--e, 1) - var(--s, 0)) * 16% + 8%);
  max-width: 92%;
}

.ph-gantt__bar--a {
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
}

.ph-gantt__bar--b {
  background: linear-gradient(90deg, #a7f3d0, #10b981);
}

.ph-gantt__bar--c {
  background: linear-gradient(90deg, #fcd34d, #f59e0b);
}

.ph-gantt__bar--d {
  background: linear-gradient(90deg, #c4b5fd, #7c3aed);
}

.ph-band {
  padding: 64px 24px;
}

.ph-band--blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #172554 100%);
  color: #fff;
}

.ph-band--green {
  background: linear-gradient(135deg, #047857 0%, #065f46 45%, #064e3b 100%);
  color: #fff;
}

.ph-band--violet {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 50%, #4c1d95 100%);
  color: #fff;
}

.ph-band__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.ph-band__inner--flip .ph-shot {
  order: -1;
}

/* 智能标书：与首页同系的低饱和环境色，避免高亮皇家蓝「营销贴片」感 */
.ph-band--bid-showcase {
  padding: clamp(56px, 8vw, 88px) clamp(20px, 3vw, 32px);
  background:
    radial-gradient(ellipse 88% 70% at 50% -12%, rgba(37, 99, 235, 0.085), transparent 58%),
    radial-gradient(ellipse 52% 48% at 94% 92%, rgba(var(--color-primary-rgb), 0.07), transparent 54%),
    linear-gradient(180deg, #f0f3f9 0%, #e9edf5 45%, #e3e8f1 100%);
  color: var(--color-text-primary, #17212b);
}

.ph-band__inner--bid-demo {
  max-width: min(96vw, 1100px);
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.ph-band__inner--bid-demo > * {
  min-width: 0;
}

.ph-band__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 800;
}

.ph-band__underline {
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
}

.ph-band--blue .ph-band__underline,
.ph-band--violet .ph-band__underline {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.ph-band__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.94;
}

.ph-checklist {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ph-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.95;
}

.ph-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.ph-shot {
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  color: #0f172a;
}

.ph-shot--shadow {
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.22);
}

.ph-shot__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.ph-shot__chrome--dark {
  background: #0f172a;
  border-bottom-color: #334155;
}

.ph-shot__chrome--dark span:first-child,
.ph-shot__chrome--dark span:nth-child(2),
.ph-shot__chrome--dark span:nth-child(3) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.ph-shot__chrome--dark span:nth-child(2) {
  background: #ca8a04;
}

.ph-shot__chrome--dark span:nth-child(3) {
  background: #16a34a;
}

.ph-shot__chrome span:first-child,
.ph-shot__chrome span:nth-child(2),
.ph-shot__chrome span:nth-child(3) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f56;
}

.ph-shot__chrome span:nth-child(2) {
  background: #ffbd2e;
}

.ph-shot__chrome span:nth-child(3) {
  background: #27c93f;
}

.ph-shot__title {
  margin-left: auto;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.ph-shot__chrome--dark .ph-shot__title {
  color: #94a3b8;
}

.ph-shot__img-wrap {
  position: relative;
  background: #e2e8f0;
  min-height: 220px;
}

.ph-shot__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.ph-shot__img--hidden {
  display: none;
}

.ph-shot__fallback {
  padding: 28px 22px;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  max-width: 420px;
  margin: 0 auto;
}

.ph-shot__fallback code {
  display: block;
  margin: 10px 0;
  font-size: 12px;
  word-break: break-all;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed #94a3b8;
}

.ph-more {
  padding: 56px 24px 48px;
  max-width: 1180px;
  margin: 0 auto;
}

.ph-more__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.ph-more__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
}

.ph-more__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.ph-more__head p {
  margin: 0;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.75;
}

.ph-more__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ph-tile {
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ph-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.ph-tile strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.ph-tile span {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.55;
}

.ph-pricing {
  padding: 0 24px 56px;
}

.ph-pricing__card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ph-pricing__loading {
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.ph-pricing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.ph-pricing__eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
}

.ph-pricing__title {
  margin: 8px 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.ph-pricing__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.72);
}

.ph-pricing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-pricing__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ph-pricing__facts li {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ph-pricing__facts strong {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.ph-pricing__facts span {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.ph-footer {
  padding: 32px 24px 40px;
  text-align: center;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.ph-footer__brand {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.ph-footer__copy {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
}

.ph-footer__icp {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
}

.ph-footer__icp:hover {
  text-decoration: underline;
}

.ph-footer__links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.ph-footer__link {
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--color-primary, #1e5a96);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== 首页 land-bid：与标书生成器同壳 + 可拖入 Word 招标文件演示 ========== */

/* 演示区内凡带 display:flex/grid 的子块都可能盖掉原生 [hidden]，统一保证真正隐藏 */
.ph-bid-demo-gen [hidden] {
  display: none !important;
}

.ph-bid-demo-outer {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(15, 23, 42, 0.055);
  min-width: 0;
  max-width: 100%;
}

/* 固定视口内高度，避免「仅遮罩/加载」等步骤内容少时整卡塌成扁条；各步骤共用同一高度 */
.ph-bid-demo-outer .ph-bid-demo-gen.bg-container {
  --ph-bid-demo-h: clamp(580px, 62vh, 800px);
  display: flex;
  flex-direction: column;
  height: var(--ph-bid-demo-h);
  min-height: var(--ph-bid-demo-h);
  max-height: var(--ph-bid-demo-h);
  overflow: hidden;
  box-sizing: border-box;
}

.ph-bid-demo-gen .bg-header.ph-bid-demo__header {
  flex-shrink: 0;
}

/* macOS 窗口控制点（仅装饰，演示用） */
.ph-bid-demo__header-leading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 18px);
  min-width: 0;
}

.ph-bid-demo__traffic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.ph-bid-demo__traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 0.5px rgba(0, 0, 0, 0.1);
}

.ph-bid-demo__traffic-dot:nth-child(1) {
  background: #ff5f56;
}

.ph-bid-demo__traffic-dot:nth-child(2) {
  background: #ffbd2e;
}

.ph-bid-demo__traffic-dot:nth-child(3) {
  background: #27c93f;
}

.ph-bid-demo__back-fake {
  display: inline-flex;
  opacity: 0.35;
  pointer-events: none;
}

.ph-bid-demo__demo-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary, #1e5a96);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
}

.ph-bid-demo-gen .bg-stepper.ph-bid-demo__stepper-wrap {
  flex-shrink: 0;
}

/* 演示步骤条「轨道式」视觉见 theme-overrides.css；与主工作区共用一条分隔，避免双横线 */
.ph-bid-demo-gen .ph-bid-demo__stepper-rail + .ph-bid-demo__workspace {
  border-top: none;
}

.ph-bid-demo__workspace {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.ph-bid-demo__stage {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dash-bg-paper, #faf8f5);
}

.ph-bid-demo__scroll.bg-main {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ph-bid-demo__scroll > .ph-bid-demo__panel {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* 步骤 2 内容较矮时在主工作区内垂直居中；内容过高时由外层滚动，safe center 避免顶出裁切 */
.ph-bid-demo__scroll > .ph-bid-demo__panel[data-ph-bid-panel='2'] {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  min-height: 0;
}

.ph-bid-demo__card {
  margin-bottom: 0;
}

/* 步骤 1 表单区略收紧，避免固定视口内出现内层滚条 */
.ph-bid-demo-gen .ph-bid-demo__card.bg-card {
  padding: 18px 22px;
}

.ph-bid-demo-gen .ph-bid-demo__card .bg-form-group {
  margin-bottom: 10px;
}

.ph-bid-demo-gen .ph-bid-demo__card .ph-bid-demo__card-lead.bg-desc {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.55;
}

.ph-bid-demo__card--flush {
  padding-top: 14px;
}

.ph-bid-demo__card--pad-sm {
  padding: 12px 14px;
}

.ph-bid-demo__card-lead {
  margin-top: 0;
}

.ph-bid-demo__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.ph-bid-demo__form-half {
  margin-bottom: 0;
}

.ph-bid-demo__chips--gen {
  margin-top: 4px;
}

.ph-bid-demo-gen .step2-status-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--color-border, #e2e8f0);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ph-bid-demo-gen .step2-status-card.is-success {
  border-color: rgba(22, 163, 74, 0.2);
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.98));
}

.ph-bid-demo-gen .step2-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ph-bid-demo-gen .step2-status-head h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--color-text-primary, #2c2825);
}

.ph-bid-demo-gen .step2-status-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-secondary, #6a6662);
}

.ph-bid-demo-gen .step2-status-eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary, #6a6662);
}

.ph-bid-demo-gen .step2-status-card.is-success .step2-status-eyebrow {
  color: #15803d;
}

.ph-bid-demo-gen .step2-status-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.ph-bid-demo-gen .step2-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ph-bid-demo-gen .step2-status-badge.is-success {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.ph-bid-demo-gen .step2-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ph-bid-demo-gen .step2-summary-item {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.ph-bid-demo-gen .step2-summary-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary, #6a6662);
}

.ph-bid-demo-gen .step2-summary-item strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--color-text-primary, #2c2825);
}

.ph-bid-demo-gen .step2-summary-item p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-secondary, #6a6662);
}

.ph-bid-demo__p2-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-bid-demo__s2-drop-wrap {
  padding-bottom: 4px;
}

.ph-bid-demo__upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.22fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 12px;
}

.ph-bid-demo__file-source {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-bottom: 8px;
}

.ph-bid-demo__file-source-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary, #64748b);
}

.ph-bid-demo__drag-file {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(30, 90, 150, 0.22);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  cursor: grab;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ph-bid-demo__drag-file:hover {
  box-shadow: 0 12px 28px rgba(30, 90, 150, 0.1);
}

.ph-bid-demo__drag-file:focus {
  outline: 2px solid var(--color-primary, #1e5a96);
  outline-offset: 2px;
}

.ph-bid-demo__drag-file--dragging {
  opacity: 0.85;
  cursor: grabbing;
  transform: scale(0.98);
}

.ph-bid-demo__word-icon {
  flex-shrink: 0;
  line-height: 0;
}

.ph-bid-demo__drag-file-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ph-bid-demo__drag-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.ph-bid-demo__drag-meta {
  font-size: 11px;
  color: #64748b;
}

.ph-bid-demo__file-source-hint {
  margin: 10px 0 0;
  padding: 9px 12px 9px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--color-primary, #1e5a96);
  background: rgba(var(--color-primary-rgb), 0.12);
  border: 1px solid rgba(var(--color-primary-rgb), 0.28);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.ph-bid-demo__drop-target {
  border-radius: 14px;
  border: 2px dashed rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.72);
  min-height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ph-bid-demo__drop-target:focus {
  outline: none;
  border-color: var(--color-primary, #1e5a96);
}

.ph-bid-demo__drop-target--over {
  border-color: var(--color-primary, #1e5a96);
  background: rgba(30, 90, 150, 0.06);
  box-shadow: inset 0 0 0 1px rgba(30, 90, 150, 0.12);
}

.ph-bid-demo__drop-target-inner {
  text-align: center;
  max-width: 220px;
}

.ph-bid-demo__drop-ico-big {
  display: block;
  width: 40px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  opacity: 0.65;
  position: relative;
}

.ph-bid-demo__drop-ico-big::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.ph-bid-demo__drop-target-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.ph-bid-demo__drop-target-sub {
  margin: 0 0 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.ph-bid-demo__drop-fallback {
  margin: 0;
  font-size: 11px;
  color: #64748b;
}

.ph-bid-demo__link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--color-primary, #1e5a96);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ph-bid-demo__foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.ph-bid-demo__foot-btn {
  min-width: 120px;
}

/* bid-generator.css 中 .bg-btn { display:inline-flex } 会覆盖原生 [hidden]，分析/拖入阶段需强制隐藏主按钮 */
.ph-bid-demo-gen .ph-bid-demo__foot-btn.ph-bid-demo__foot-btn--hidden {
  display: none !important;
}

.ph-bid-demo__hint {
  font-size: 12px;
  color: #64748b;
  flex: 1;
  min-width: 0;
  max-width: none;
  line-height: 1.5;
}

.ph-bid-demo__think-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
}

.ph-bid-demo__think-card {
  text-align: center;
  max-width: 280px;
  padding: 20px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 90, 150, 0.18);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.ph-bid-demo__think-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.ph-bid-demo__think-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #1e5a96);
  opacity: 0.35;
  animation: ph-bid-think-dot 1s ease-in-out infinite;
}

.ph-bid-demo__think-dots span:nth-child(2) {
  animation-delay: 0.18s;
}

.ph-bid-demo__think-dots span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes ph-bid-think-dot {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: scale(0.92);
  }
  40% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.ph-bid-demo__think-msg {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #475569;
  white-space: pre-line;
}

.ph-bid-demo__p2-drop {
  padding: 8px 0 4px;
}

.ph-bid-demo__drop-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ph-bid-demo__drop-hint {
  margin: 0 0 12px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

.ph-bid-demo__drop-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: 12px;
  border: 2px dashed rgba(30, 90, 150, 0.35);
  background: linear-gradient(180deg, rgba(30, 90, 150, 0.04), rgba(30, 90, 150, 0.08));
  color: var(--color-primary, #1e5a96);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  animation: ph-bid-drop-pulse 2.4s ease-in-out infinite;
}

.ph-bid-demo__drop-btn:hover {
  border-color: var(--color-primary, #1e5a96);
  box-shadow: 0 8px 24px rgba(30, 90, 150, 0.12);
  transform: translateY(-1px);
}

@keyframes ph-bid-drop-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 90, 150, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(30, 90, 150, 0.06);
  }
}

.ph-bid-demo__drop-ico {
  width: 36px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
  opacity: 0.9;
  position: relative;
}

.ph-bid-demo__drop-ico::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.35);
}

.ph-bid-demo__p2-result {
  padding-top: 4px;
}

.ph-bid-demo__file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ph-bid-demo__file-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid rgba(30, 90, 150, 0.2);
  color: #1e40af;
  word-break: break-all;
}

.ph-bid-demo__file-meta {
  font-size: 10px;
  color: var(--color-success, #16a34a);
  font-weight: 700;
}

.ph-bid-demo__quote {
  font-size: 11px;
  line-height: 1.55;
  color: #475569;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border-left: 3px solid var(--color-primary, #1e5a96);
  margin-bottom: 12px;
}

.ph-bid-demo__quote-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.ph-bid-demo__table-cap {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.ph-bid-demo__skeleton {
  padding: 12px 0;
}

.ph-bid-demo__sk-line {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 40%, #e2e8f0 80%);
  background-size: 200% 100%;
  animation: ph-bid-shimmer 1.2s ease-in-out infinite;
  margin-bottom: 10px;
}

.ph-bid-demo__sk-line--short {
  width: 65%;
}

@keyframes ph-bid-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.ph-bid-demo__panel-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.ph-bid-demo__panel-lead {
  margin: -6px 0 12px;
  font-size: 11px;
  line-height: 1.55;
  color: #64748b;
}

.ph-bid-demo__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ph-bid-demo__field {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  color: #64748b;
}

.ph-bid-demo__field > span {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #475569;
}

.ph-bid-demo__input {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
}

.ph-bid-demo__input--narrow {
  max-width: 120px;
}

.ph-bid-demo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ph-bid-demo__chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
}

.ph-bid-demo__chip--on {
  border-color: var(--color-success-border, rgba(22, 163, 74, 0.35));
  background: var(--color-success-ultra-light, rgba(22, 163, 74, 0.07));
  color: #166534;
  font-weight: 600;
}

.ph-bid-demo__substep {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}

.ph-bid-demo__substep--done {
  border-color: var(--color-success-border, rgba(22, 163, 74, 0.22));
  background: var(--color-success-light, rgba(22, 163, 74, 0.14));
  color: #166534;
}

.ph-bid-demo__substep--on {
  border-color: rgba(30, 90, 150, 0.25);
  background: rgba(30, 90, 150, 0.06);
  color: #0f172a;
  font-weight: 600;
}

.ph-bid-demo__substep-tag {
  display: inline-block;
  margin-right: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.ph-bid-demo__mini-table {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-top: 4px;
}

.ph-bid-demo__mt-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  font-size: 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}

.ph-bid-demo__mt-row:last-child {
  border-bottom: 0;
}

.ph-bid-demo__mt-row em {
  font-style: normal;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.ph-bid-demo__section-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ph-bid-demo__tpl-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ph-bid-demo__tpl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 11px;
  color: #64748b;
  cursor: default;
  white-space: nowrap;
}

.ph-bid-demo__tpl--on {
  border-color: var(--color-primary, #1e5a96);
  background: rgba(30, 90, 150, 0.08);
  color: var(--color-primary, #1e5a96);
  font-weight: 700;
}

.ph-bid-demo__tpl-ic {
  font-size: 12px;
  opacity: 0.9;
}

.ph-bid-demo__depth-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(30, 90, 150, 0.09);
  border: 1px solid rgba(30, 90, 150, 0.15);
  margin-bottom: 12px;
}

.ph-bid-demo__depth {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.ph-bid-demo__depth--on {
  color: var(--color-primary, #1e5a96);
}

.ph-bid-demo__depth-hint {
  font-size: 11px;
  color: #64748b;
}

.ph-bid-demo__outline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ph-bid-demo__outline-head strong {
  font-size: 13px;
  color: #0f172a;
}

.ph-bid-demo__outline-muted {
  font-size: 11px;
  color: #94a3b8;
}

.ph-bid-demo__chapter {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}

.ph-bid-demo__chapter-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.ph-bid-demo__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}

.ph-bid-demo__sec {
  padding: 10px;
  background: #fff;
}

.ph-bid-demo__sec-h {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.ph-bid-demo__sec-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: #64748b;
}

.ph-bid-demo__exec {
  font-weight: 600;
  color: var(--color-primary, #1e5a96);
}

.ph-bid-demo__limit {
  font-weight: 600;
}

.ph-bid-demo__fake-area {
  font-size: 11px;
  line-height: 1.5;
  color: #94a3b8;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  min-height: 48px;
}

.ph-bid-demo__writer {
  display: grid;
  grid-template-columns: minmax(112px, 140px) minmax(0, 1fr);
  gap: 0;
  min-height: 300px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.ph-bid-demo__toc {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 8px 6px;
  font-size: 10px;
  line-height: 1.35;
  color: #475569;
}

.ph-bid-demo__toc-item {
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ph-bid-demo__toc-item--on {
  background: rgba(30, 90, 150, 0.12);
  color: var(--color-primary, #1e5a96);
}

.ph-bid-demo__toc-sub {
  padding: 2px 6px 2px 12px;
  color: #64748b;
  margin-bottom: 2px;
}

.ph-bid-demo__toc-row {
  margin-bottom: 2px;
}

.ph-bid-demo__toc-subrow,
.ph-bid-demo__toc-row--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.ph-bid-demo__toc-row--split .ph-bid-demo__toc-item {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ph-bid-demo__toc-jump {
  display: block;
  width: 100%;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 10px;
  line-height: 1.35;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ph-bid-demo__toc-sub.ph-bid-demo__toc-jump {
  padding: 2px 6px 2px 12px;
  border-radius: 4px;
}

.ph-bid-demo__toc-jump:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.04);
}

.ph-bid-demo__toc-jump:focus-visible {
  outline: 2px solid var(--color-primary, #1e5a96);
  outline-offset: 2px;
}

.ph-bid-demo__toc-jump:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.ph-bid-demo__toc-sub--on {
  color: var(--color-primary, #1e5a96);
  font-weight: 600;
  background: rgba(30, 90, 150, 0.08);
}

.ph-bid-demo__toc-gen-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.ph-bid-demo__editor {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.ph-bid-demo__editor-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 10px;
  color: #94a3b8;
}

.ph-bid-demo__md {
  font-weight: 600;
  color: #64748b;
}

.ph-bid-demo__export {
  font-weight: 600;
  color: var(--color-primary, #1e5a96);
}

.ph-bid-demo__editor-body {
  padding: 10px 12px;
  overflow-y: auto;
}

.ph-bid-demo__h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.ph-bid-demo__editor-body .ph-bid-demo__h3 ~ .ph-bid-demo__h3 {
  margin-top: 18px;
}

.ph-bid-demo__fig--mono + .ph-bid-demo__h4 {
  margin-top: 14px;
}

.ph-bid-demo__h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.ph-bid-demo__para {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: #475569;
}

.ph-bid-demo__editor-body > .ph-bid-demo__h4 + .ph-bid-demo__para {
  margin-top: 0;
}

.ph-bid-demo__fig {
  margin: 14px 0 0;
  padding: 10px 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* 技术标常见黑白线稿：直角、白底黑字 */
.ph-bid-demo__fig--mono {
  border-radius: 0;
  border: 1px solid #000;
  background: #fff;
  padding: 0;
}

.ph-bid-demo__fig--mono .ph-bid-demo__fig-cap {
  margin: 0;
  padding: 8px 10px;
  color: #000;
  font-weight: 700;
  border-bottom: 1px solid #000;
}

.ph-bid-demo__fig--mono .ph-bid-demo__svg-wrap {
  padding: 8px;
}

.ph-bid-demo__fig-cap {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-align: center;
  line-height: 1.35;
}

.ph-bid-demo__table-wrap--mono {
  margin: 14px 0 0;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0;
}

.ph-bid-demo__table-cap {
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.35;
  border-bottom: 1px solid #000;
}

.ph-bid-demo__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.45;
  color: #000;
  background: #fff;
}

.ph-bid-demo__table th,
.ph-bid-demo__table td {
  border: 1px solid #000;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
  background: #fff;
  font-weight: 600;
}

.ph-bid-demo__table td {
  font-weight: 400;
}

.ph-bid-demo__table thead th {
  font-weight: 700;
}

.ph-bid-demo__svg-wrap {
  overflow: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.ph-bid-demo__svg-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 72px;
  max-height: 200px;
}

.ph-bid-demo__para--extra {
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
}

.ph-bid-demo__para--extra.ph-bid-demo__para--stream {
  opacity: 1;
  transform: none;
  color: #111;
}

.ph-bid-demo__stream-caret {
  display: inline-block;
  width: 2px;
  height: 12px;
  margin-left: 1px;
  vertical-align: -1px;
  background: #000;
  animation: ph-bid-caret 1s step-end infinite;
}

.ph-bid-demo__para--extra.ph-bid-demo__para--pop {
  animation: ph-bid-para-in 0.75s ease forwards;
}

@keyframes ph-bid-para-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ph-bid-demo__sec--compact {
  padding-top: 4px;
}

.ph-bid-demo__fake-area--tight {
  min-height: 40px;
  padding: 6px 8px;
}

.ph-bid-demo__cursor-line {
  margin-top: 10px;
}

.ph-bid-demo__caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--color-primary, #1e5a96);
  animation: ph-bid-caret 1s step-end infinite;
}

@keyframes ph-bid-caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ── Step 2: drag-file wobble hint ── */
@keyframes ph-bid-file-wobble {
  0%, 80%, 100% { transform: rotate(0deg) translateY(0); }
  10%           { transform: rotate(-2deg) translateY(-2px); }
  20%           { transform: rotate(2deg) translateY(-3px); }
  30%           { transform: rotate(-1.5deg) translateY(-1px); }
  40%           { transform: rotate(0deg) translateY(0); }
}

.ph-bid-demo__drag-file--hint {
  animation: ph-bid-file-wobble 3.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* Animated arrow between file and drop zone */
.ph-bid-demo__drag-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  user-select: none;
  align-self: center;
}

.ph-bid-demo__drag-arrow-track {
  display: flex;
  align-items: center;
  gap: 0;
}

.ph-bid-demo__drag-arrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary, #1e5a96);
  opacity: 0;
  animation: ph-bid-arrow-dot 1.6s ease-in-out infinite;
}
.ph-bid-demo__drag-arrow-dot:nth-child(1) { animation-delay: 0s; }
.ph-bid-demo__drag-arrow-dot:nth-child(2) { animation-delay: 0.2s; }
.ph-bid-demo__drag-arrow-dot:nth-child(3) { animation-delay: 0.4s; }
.ph-bid-demo__drag-arrow-dot:nth-child(4) { animation-delay: 0.6s; }
.ph-bid-demo__drag-arrow-dot:nth-child(5) { animation-delay: 0.8s; }

@keyframes ph-bid-arrow-dot {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%       { opacity: 1;    transform: scale(1.1); }
}

.ph-bid-demo__drag-arrow svg {
  flex-shrink: 0;
  color: var(--color-primary, #1e5a96);
  animation: ph-bid-arrow-head 1.6s ease-in-out infinite;
}

@keyframes ph-bid-arrow-head {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%       { transform: translateX(4px); opacity: 1; }
}

.ph-bid-demo__drag-arrow-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary, #1e5a96);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}


/* Panel transition */
.ph-bid-demo__panel {
  animation: ph-bid-panel-in 0.3s ease both;
}

@keyframes ph-bid-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {

  .ph-bid-demo__think-dots span {
    animation: none;
    opacity: 0.85;
  }

  .ph-bid-demo__sk-line {
    animation: none;
    background: #e2e8f0;
  }

  .ph-bid-demo__para--extra {
    opacity: 1;
    transform: none;
  }

  .ph-bid-demo__para--extra.ph-bid-demo__para--pop {
    animation: none;
  }

  .ph-bid-demo__stream-caret {
    animation: none;
    opacity: 1;
  }

  .ph-bid-demo__caret {
    animation: none;
  }

  .ph-bid-demo__drag-file--hint {
    animation: none;
  }

  .ph-bid-demo__drag-arrow-dot,
  .ph-bid-demo__drag-arrow svg {
    animation: none;
    opacity: 0.75;
  }

  .ph-bid-demo__panel {
    animation: none;
  }
}

@media (max-width: 960px) {
  .ph-nav__links {
    display: none;
  }

  .ph-hero__grid,
  .ph-band__inner,
  .ph-band__inner--flip,
  .ph-band__inner--bid-demo {
    grid-template-columns: 1fr;
  }

  .ph-band__inner--flip .ph-shot {
    order: 0;
  }

  .ph-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-pricing__layout {
    grid-template-columns: 1fr;
  }

  .ph-bid-demo-outer .ph-bid-demo-gen.bg-container {
    --ph-bid-demo-h: clamp(500px, 72vh, 720px);
  }

  .ph-bid-demo__writer {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .ph-bid-demo__upload-layout {
    grid-template-columns: 1fr;
  }

  .ph-bid-demo__drag-arrow {
    display: none;
  }

  .ph-bid-demo__form-row {
    grid-template-columns: 1fr;
  }

  .ph-bid-demo-gen .step2-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ph-more__grid {
    grid-template-columns: 1fr;
  }

  .ph-nav__inner {
    flex-wrap: wrap;
  }

  .ph-nav__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ========== 2026 Homepage Refresh ========== */

.public-home--marketing {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(148, 163, 184, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 36%, #ffffff 100%);
  color: #0f172a;
}

.ph-promo {
  gap: 14px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: #334155;
}

.ph-promo__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-promo__btn {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
}

.ph-promo__btn:hover {
  background: #f8fafc;
}

.ph-nav {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.ph-nav__inner,
.phx-hero__shell,
.phx-stage,
.phx-proof,
.phx-feature,
.phx-tools,
.phx-pricing,
.phx-final {
  max-width: 1180px;
  margin: 0 auto;
}

.ph-nav__inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.ph-nav__brand {
  gap: 12px;
}

.ph-nav__logo {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ph-nav__badge {
  background: #eff6ff;
  color: #2563eb;
}

.ph-nav__links a {
  position: relative;
}

.ph-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.ph-nav__links a:hover::after {
  transform: scaleX(1);
}

.ph-btn {
  min-height: 42px;
  padding: 11px 18px;
  box-shadow: none;
}

.ph-btn--ghost {
  border-color: rgba(15, 23, 42, 0.12);
}

.ph-btn--solid {
  background: #111827;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.ph-main {
  padding: 0 24px 72px;
}

.phx-hero {
  padding: 52px 0 18px;
}

.phx-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.72fr);
  gap: 32px;
  align-items: stretch;
}

.phx-kicker,
.phx-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(15, 23, 42, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phx-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.phx-lead {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(15, 23, 42, 0.74);
}

.phx-hero__actions,
.phx-feature__actions,
.phx-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.phx-hero__entry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.phx-entry {
  display: grid;
  gap: 8px;
  text-align: left;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.phx-entry:hover,
.phx-plan:hover,
.phx-proof-card:hover,
.phx-tools__grid .ph-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.09);
}

.phx-entry__tag {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phx-entry strong {
  font-size: 17px;
  line-height: 1.3;
}

.phx-entry span:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.66);
}

.phx-hero__mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.phx-mini-card,
.phx-signal-card,
.phx-quote-card,
.phx-proof-card,
.phx-plan,
.phx-cp-shell {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.06);
}

.phx-mini-card {
  padding: 18px;
}

.phx-mini-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.phx-mini-card span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.66);
}

.phx-hero__rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.phx-rail-list {
  flex: 1;
}

.phx-signal-card,
.phx-quote-card {
  padding: 22px;
}

.phx-signal-card__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phx-signal-card strong,
.phx-quote-card p {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.phx-signal-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.68);
}

.phx-rail-list {
  margin: 0;
  padding: 20px 22px;
  list-style: none;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.92);
}

.phx-rail-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.68);
}

.phx-rail-list li + li {
  margin-top: 10px;
}

.phx-rail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.phx-stage,
.phx-proof,
.phx-feature,
.phx-tools,
.phx-pricing,
.phx-final {
  margin-top: 28px;
}

.phx-stage {
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.98));
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
}

.phx-stage__mast,
.phx-pricing__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.phx-stage__mast h2,
.phx-feature__copy h2,
.phx-tools__head h2,
.phx-pricing__intro h2,
.phx-final__copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.phx-stage__mast p,
.phx-tools__head p,
.phx-pricing__intro p,
.phx-final__copy p {
  margin: 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.66);
}

.phx-stage__demo .ph-bid-demo-outer {
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12);
}

.phx-proof__grid,
.phx-tools__grid,
.phx-pricing-grid {
  display: grid;
  gap: 16px;
}

.phx-proof__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phx-proof-card {
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.phx-proof-card span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.08em;
}

.phx-proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.phx-proof-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.66);
}

.phx-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 34px;
  align-items: center;
  padding: 18px 0;
}

.phx-feature--reverse {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.phx-feature__copy p:not(.phx-section-tag) {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(15, 23, 42, 0.7);
}

.phx-feature__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.phx-feature__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.7);
}

.phx-feature__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
}

.phx-feature__visual {
  position: relative;
}

.phx-floating-note {
  position: absolute;
  right: -24px;
  bottom: 20px;
  width: min(280px, 80%);
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.phx-floating-note strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.phx-floating-note span {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.64);
}

.phx-cp-shell {
  overflow: hidden;
}

/* ── Editor variant (施工方案编辑器预览) ── */
.phx-cp-shell--editor {
  display: flex;
  flex-direction: column;
  height: 420px;
  font-size: 12px;
}

.phx-cpe-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  flex-shrink: 0;
}

.phx-cpe-header__title strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111;
  margin-bottom: 2px;
}

.phx-cpe-header__title span {
  font-size: 10px;
  color: #888;
  line-height: 1.5;
}

.phx-cpe-header__actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.phx-cpe-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #374151;
  cursor: default;
  white-space: nowrap;
}

.phx-cpe-btn--export {
  background: #111;
  border-color: #111;
  color: #fff;
}

.phx-cpe-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Left TOC */
.phx-cpe-toc {
  width: 185px;
  flex-shrink: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.07);
  overflow-y: auto;
  padding: 8px 0;
}

.phx-cpe-toc::-webkit-scrollbar { display: none; }

.phx-cpe-toc__head {
  padding: 0 10px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

.phx-cpe-toc__head strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}

.phx-cpe-toc__head span {
  font-size: 9px;
  color: #9ca3af;
  line-height: 1.5;
  display: block;
}

.phx-cpe-chapter {
  padding: 5px 10px 2px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  margin-top: 4px;
}

.phx-cpe-section {
  padding: 2px 10px 2px 14px;
  font-size: 10px;
  color: #6b7280;
  font-weight: 600;
}

.phx-cpe-item {
  margin: 2px 6px;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: default;
}

.phx-cpe-item--active {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.phx-cpe-item__name {
  font-size: 10px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  margin-bottom: 4px;
}

.phx-cpe-item__bar {
  height: 3px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3px;
}

.phx-cpe-item__bar div {
  height: 100%;
  background: #22c55e;
  border-radius: 3px;
}

.phx-cpe-item__meta {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 9px;
}

.phx-cpe-item__meta span { color: #9ca3af; }
.phx-cpe-item__meta em { color: #6b7280; font-style: normal; }
.phx-cpe-item__meta b {
  margin-left: auto;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 3px;
  padding: 0 4px;
}

/* Right panel */
.phx-cpe-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 10px 12px;
  gap: 8px;
  min-width: 0;
}

.phx-cpe-panel::-webkit-scrollbar { display: none; }

.phx-cpe-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.phx-cpe-panel__title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.phx-cpe-panel__title h4 {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.phx-cpe-tag-done {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 9px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
}

.phx-cpe-genbtn {
  flex-shrink: 0;
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  cursor: default;
  white-space: nowrap;
}

.phx-cpe-panel__path {
  font-size: 9.5px;
  color: #9ca3af;
}

.phx-cpe-panel__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.phx-cpe-panel__meta > div {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 5px;
  padding: 5px 7px;
}

.phx-cpe-panel__meta span {
  display: block;
  font-size: 9px;
  color: #9ca3af;
  margin-bottom: 2px;
}

.phx-cpe-panel__meta strong {
  font-size: 10.5px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.phx-cpe-panel__progress {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phx-cpe-panel__progress span {
  font-size: 9px;
  color: #6b7280;
}

.phx-cpe-panel__progress-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.phx-cpe-panel__progress-bar div {
  height: 100%;
  background: #22c55e;
  border-radius: 4px;
}

.phx-cpe-panel__text p {
  font-size: 11px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 6px;
}

.phx-cpe-panel__text p strong {
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

.phx-cp-shell__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #f8fafc;
}

.phx-cp-shell__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.phx-cp-shell__chrome span:nth-child(1) {
  background: #ff5f57;
}

.phx-cp-shell__chrome span:nth-child(2) {
  background: #febc2e;
}

.phx-cp-shell__chrome span:nth-child(3) {
  background: #28c840;
}

.phx-cp-shell__chrome strong {
  margin-left: auto;
  font-size: 12px;
  color: #64748b;
}

.phx-cp-shell__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.phx-cp-shell__field {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.phx-cp-shell__field span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #999;
}

.phx-pricing__facts span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.phx-cp-shell__field strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  color: #000;
}

.phx-tools {
  padding: 28px 0 8px;
}

.phx-tools__head {
  max-width: 760px;
  margin-bottom: 20px;
}

.phx-tools__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phx-tools__grid .ph-tile {
  min-height: 180px;
  border-radius: 24px;
  padding: 22px;
}

.phx-pricing {
  padding-top: 22px;
}

.phx-pricing__facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phx-pricing__facts span {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.8);
}

.ph-pricing__card {
  max-width: none;
  margin: 0;
  padding: 24px;
  border-radius: 30px;
}

.phx-pricing__display-title {
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.22;
  color: #0f172a;
}

.phx-pricing-elegant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.phx-pricing-seg {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: #ececef;
  border: 1px solid #e4e4e7;
}

.phx-pricing-seg__btn {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #52525b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.phx-pricing-seg__btn:hover {
  color: #18181b;
}

.phx-pricing-seg__btn[aria-selected="true"] {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.phx-pricing-elegant__hint {
  max-width: 52rem;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.68);
}

.phx-pricing-elegant__hint-green {
  color: #16a34a;
  font-weight: 600;
}

.phx-pricing-panels {
  width: 100%;
}

.phx-pricing-panel[hidden] {
  display: none !important;
}

.phx-eplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  width: 100%;
  text-align: left;
}

.phx-eplan-grid--solo {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}

.phx-eplan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 26px 22px 24px;
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fff;
  min-height: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phx-eplan:hover {
  border-color: #c4c4cc;
}

.phx-eplan--featured {
  border-color: #0a0a0a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.phx-eplan--featured:hover {
  border-color: #0a0a0a;
}

.phx-eplan--ghost {
  background: #fafafa;
  border-style: dashed;
  border-color: #d4d4d8;
}

.phx-eplan--ghost .phx-eplan__mark {
  color: #a1a1aa;
}

.phx-eplan__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin-bottom: 8px;
  color: #0a0a0a;
}

.phx-eplan__svg {
  width: 56px;
  height: auto;
  display: block;
}

.phx-eplan__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}

.phx-eplan__title {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #0a0a0a;
}

.phx-eplan__lede {
  margin: 0 0 14px;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: #52525b;
}

.phx-eplan__price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.phx-eplan__price-note {
  font-size: 15px;
  font-weight: 600;
  color: #71717a;
}

.phx-eplan__meta {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: #a1a1aa;
}

.phx-eplan__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}

.phx-eplan__rule {
  height: 1px;
  background: #f4f4f5;
  margin: 18px 0 14px;
  border: 0;
  padding: 0;
}

.phx-eplan__checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.phx-eplan__checks li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: #3f3f46;
}

.phx-eplan__checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: no-repeat center / 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-8'/%3E%3C/svg%3E");
}

.phx-eplan__checks--muted li {
  color: #71717a;
}

.phx-pricing-elegant__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.phx-pricing-elegant__facts li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
}

.phx-pricing-elegant__facts strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 4px;
}

.phx-pricing-elegant__facts span {
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
}

.phx-pricing-elegant__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 980px) {
  .phx-eplan-grid {
    grid-template-columns: 1fr;
  }

  .phx-pricing-elegant__facts {
    grid-template-columns: 1fr;
  }
}

.phx-pricing-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.phx-pricing-copy {
  position: sticky;
  top: 96px;
}

.ph-pricing__facts--inline {
  margin-top: 18px;
}

.ph-pricing__facts--inline li {
  border-radius: 16px;
}

.phx-pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phx-plan {
  display: grid;
  gap: 14px;
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.phx-plan--featured {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.08);
}

.phx-plan__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.phx-plan__name {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.52);
}

.phx-plan__head h4 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.phx-plan__badge {
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
}

.phx-plan__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.68);
}

.phx-plan__meta {
  display: grid;
  gap: 8px;
}

.phx-plan__meta span {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.56);
}

.phx-plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.phx-plan__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.7);
}

.phx-plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f172a;
}

.phx-plan__btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.phx-final {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 0;
}

.ph-footer {
  margin-top: 32px;
  border-radius: 30px;
  background: rgba(241, 245, 249, 0.72);
}

@media (max-width: 1120px) {
  .phx-hero__shell,
  .phx-feature,
  .phx-pricing-shell {
    grid-template-columns: 1fr;
  }

  .phx-hero__rail,
  .phx-pricing-copy {
    position: static;
  }

  .phx-proof__grid,
  .phx-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ph-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ph-footer {
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -72px;
  }

  .phx-hero {
    padding-top: 34px;
  }

  .phx-hero h1 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .phx-hero__entry-row,
  .phx-hero__mini,
  .phx-pricing__facts,
  .phx-pricing-grid {
    grid-template-columns: 1fr;
  }

  .phx-stage,
  .ph-pricing__card {
    padding: 18px;
  }

  .phx-stage__mast,
  .phx-pricing__intro,
  .phx-final {
    flex-direction: column;
    align-items: flex-start;
  }

  .phx-floating-note {
    position: static;
    width: auto;
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .phx-proof__grid,
  .phx-tools__grid {
    grid-template-columns: 1fr;
  }

  .ph-nav__actions {
    justify-content: stretch;
  }

  .ph-nav__actions .ph-btn,
  .phx-hero__actions .ph-btn,
  .phx-feature__actions .ph-btn,
  .phx-final__actions .ph-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   White Edition — Visual Polish Layer
   Cursor-inspired: pure white, bold type,
   restrained space, sharp focus on demo.
   ======================================== */

/* ── Base page reset ── */
.public-home--marketing {
  background: #ffffff;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Promo bar — minimal announcement strip ── */
.ph-promo {
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
  color: #3f3f46;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
}

.ph-promo__pill {
  background: #111827;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 999px;
}

.ph-promo__btn {
  background: transparent;
  border: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
}

.ph-promo__btn:hover {
  background: transparent;
  text-decoration: underline;
}

/* ── Nav — clean glass bar ── */
.ph-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e4e4e7;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ph-nav__inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.ph-nav__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ph-nav__badge {
  background: #f4f4f5;
  color: #3f3f46;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid #e4e4e7;
}

.ph-nav__links a {
  font-size: 13.5px;
  color: #52525b;
  font-weight: 500;
}

.ph-nav__links a:hover {
  color: #0a0a0a;
}

.ph-nav__links a::after {
  background: #0a0a0a;
}

.ph-btn {
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  min-height: 38px;
  padding: 9px 16px;
  letter-spacing: -0.01em;
}

.ph-btn--ghost {
  background: #fff;
  border: 1px solid #e4e4e7;
  color: #3f3f46;
}

.ph-btn--ghost:hover {
  border-color: #a1a1aa;
  color: #0a0a0a;
  transform: none;
}

.ph-btn--solid {
  background: #0a0a0a;
  color: #fff;
  box-shadow: none;
}

.ph-btn--solid:hover {
  background: #27272a;
  transform: none;
}

/* ── Hero section ── */
.phx-hero {
  padding: 64px 0 24px;
}

.phx-hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.055em;
  color: #0a0a0a;
  font-family: var(--font-ui);
}

.phx-kicker {
  background: transparent;
  border: 1px solid #e4e4e7;
  color: #52525b;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 5px 11px;
  gap: 6px;
}

.phx-lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: #52525b;
  margin-top: 18px;
}

.phx-hero__actions .ph-btn--solid {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
}

/* Entry cards */
.phx-entry {
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: none;
  border-radius: 14px;
  padding: 16px;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phx-entry:hover {
  border-color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: none;
}

.phx-entry__tag {
  color: #2563eb;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.phx-entry strong {
  font-size: 15.5px;
  font-weight: 700;
  color: #0a0a0a;
}

.phx-entry span:last-child {
  font-size: 12.5px;
  color: #71717a;
}

/* Mini cards */
.phx-mini-card {
  border: 1px solid #e4e4e7;
  background: #fafafa;
  box-shadow: none;
  border-radius: 14px;
  padding: 16px;
}

.phx-mini-card strong {
  font-size: 14px;
  color: #0a0a0a;
  margin-bottom: 4px;
}

.phx-mini-card span {
  font-size: 12.5px;
  color: #71717a;
}

/* Rail cards */
.phx-signal-card,
.phx-quote-card,
.phx-rail-list {
  border: 1px solid #e4e4e7;
  background: #fafafa;
  box-shadow: none;
  border-radius: 16px;
}

.phx-signal-card__eyebrow {
  color: #2563eb;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.phx-signal-card strong {
  font-size: 15.5px;
  color: #0a0a0a;
  line-height: 1.45;
}

.phx-signal-card p,
.phx-quote-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #52525b;
}

.phx-rail-list li::before {
  background: #0a0a0a;
  width: 5px;
  height: 5px;
}

.phx-rail-list li {
  font-size: 13.5px;
  color: #52525b;
}

/* ── Demo stage — the centrepiece ── */
.phx-stage {
  margin-top: 32px;
  padding: 28px 28px 32px;
  border-radius: 24px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  box-shadow: none;
}

.phx-stage__mast {
  margin-bottom: 22px;
}

.phx-stage__mast h2,
.phx-feature__copy h2,
.phx-tools__head h2,
.phx-pricing__intro h2,
.phx-final__copy h2 {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0a0a0a;
}

.phx-stage__mast p,
.phx-tools__head p,
.phx-pricing__intro p,
.phx-final__copy p {
  color: #71717a;
}

.phx-section-tag {
  background: transparent;
  border: 1px solid #e4e4e7;
  color: #71717a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 11px;
  gap: 6px;
  margin-bottom: 14px;
}

/* Improve the demo outer shell */
.phx-stage__demo .ph-bid-demo-outer {
  border-radius: 16px;
  box-shadow: 0 0 0 1px #e4e4e7, 0 24px 64px rgba(0, 0, 0, 0.08);
}

/* ── Proof grid ── */
.phx-proof {
  padding: 16px 0 8px;
}

.phx-proof-card {
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: none;
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phx-proof-card:hover {
  border-color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: none;
}

.phx-proof-card span {
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.phx-proof-card strong {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}

.phx-proof-card p {
  color: #71717a;
  font-size: 13.5px;
}

/* ── Feature sections — alternating ── */
.phx-feature {
  padding: 28px 0;
  border-top: 1px solid #f4f4f5;
}

.phx-feature__copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
}

.phx-feature__copy p:not(.phx-section-tag) {
  font-size: 15px;
  color: #52525b;
  line-height: 1.8;
}

.phx-feature__list li {
  color: #52525b;
  font-size: 14px;
}

.phx-feature__list li::before {
  background: #0a0a0a;
  width: 5px;
  height: 5px;
}

/* Screenshot card */
.ph-shot {
  border-radius: 12px;
  border: 1px solid #e4e4e7;
  box-shadow: none;
}

.ph-shot--shadow {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px #e4e4e7;
}

.ph-shot__chrome {
  background: #fafafa;
  border-bottom-color: #e4e4e7;
}

/* Floating note */
.phx-floating-note {
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}

.phx-floating-note strong {
  font-size: 13px;
  color: #0a0a0a;
}

.phx-floating-note span {
  font-size: 12px;
  color: #71717a;
}

/* Construction plan preview shell */
.phx-cp-shell {
  border: 1px solid #e4e4e7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
}

.phx-cp-shell--editor {
  border-color: #d1d5db;
}

.phx-cp-shell__chrome {
  background: #fff;
  border-bottom: 1px solid rgba(52, 152, 219, 0.22);
  padding: 11px 16px;
}

.phx-cp-shell__chrome strong {
  color: #7f8c8d;
  font-size: 13px;
  font-weight: 500;
}

.phx-cp-shell__body {
  gap: 10px;
  padding: 16px 18px 18px;
}

.phx-cp-shell__field {
  border-radius: 10px;
  background: #f1f4f6;
  border: 0;
  padding: 14px 16px;
}

.phx-cp-shell__field span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #999;
  text-transform: none;
}

.phx-cp-shell__field strong {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  line-height: 1.6;
}

/* ── Tools grid ── */
.phx-tools {
  padding: 32px 0 12px;
  border-top: 1px solid #f4f4f5;
}

.phx-tools__grid .ph-tile {
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: none;
  border-radius: 16px;
  min-height: 160px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phx-tools__grid .ph-tile:hover {
  border-color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: none;
}

.ph-tile strong {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
}

.ph-tile span {
  font-size: 12.5px;
  color: #71717a;
}

/* ── Pricing ── */
.phx-pricing {
  border-top: 1px solid #f4f4f5;
  padding-top: 32px;
}

.ph-pricing__card {
  border: 1px solid #e4e4e7;
  box-shadow: none;
  border-radius: 20px;
}

.phx-pricing__display-title {
  color: #0a0a0a;
}

.phx-pricing-elegant__hint {
  color: #71717a;
}

.phx-plan {
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: none;
  border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phx-plan:hover {
  border-color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: none;
}

.phx-plan--featured {
  border-color: #0a0a0a;
  box-shadow: none;
}

.phx-plan--featured:hover {
  border-color: #0a0a0a;
}

.phx-plan__badge {
  background: #0a0a0a;
  color: #fff;
}

.phx-plan__name {
  color: #a1a1aa;
  font-size: 12px;
}

.phx-plan__head h4 {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0a0a0a;
}

.phx-plan__desc {
  color: #71717a;
  font-size: 13.5px;
}

.phx-plan__list li {
  color: #52525b;
  font-size: 13px;
}

.phx-plan__list li::before {
  background: #0a0a0a;
  width: 5px;
  height: 5px;
}

.phx-plan__btn.ph-btn--solid {
  background: #0a0a0a;
}

.phx-plan__btn.ph-btn--ghost {
  border-color: #e4e4e7;
}

.phx-pricing__facts span {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  font-size: 13px;
  color: #52525b;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Final CTA + Footer ── */
.phx-final {
  border-top: 1px solid #f4f4f5;
  padding-top: 32px;
  padding-bottom: 8px;
}

.phx-final__copy h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.ph-footer {
  margin-top: 0;
  margin-left: -24px;
  margin-right: -24px;
  margin-bottom: -72px;
  background: #0a0a0a;
  border: none;
  border-radius: 0;
  padding: 36px 24px 48px;
  box-sizing: border-box;
}

.ph-footer__brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.ph-footer__copy,
.ph-footer__icp {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.ph-footer__icp:hover {
  color: #ffffff;
}

.ph-footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  font-weight: 500;
}

.ph-footer__link:hover {
  color: #ffffff;
}

/* ── Section dividers (light separator lines between major sections) ── */
.phx-proof {
  border-top: 1px solid #f4f4f5;
  padding-top: 20px;
}

/* ── Demo header improvements ── */
.ph-bid-demo__demo-pill {
  background: #f4f4f5;
  color: #3f3f46;
  border: 1px solid #e4e4e7;
  font-size: 11px;
}

/* Ensure no colored gradients bleed into marketing page */
.public-home--marketing .ph-band--blue,
.public-home--marketing .ph-band--green,
.public-home--marketing .ph-band--violet {
  background: #f4f4f5 !important;
  color: #0a0a0a !important;
}

/* ========================================
   Color Refresh — 色彩层次补丁
   在 White Edition 的极简底子上，注入品牌蓝色系
   每个区域各有层次，整体仍克制专业
   ======================================== */

/* ── 页面底色：纯白 + 顶部极淡蓝光晕 ── */
.public-home--marketing {
  background:
    radial-gradient(ellipse 100% 55% at 40% -8%, rgba(37, 99, 235, 0.055), transparent 56%),
    radial-gradient(ellipse 60% 40% at 85% 12%, rgba(99, 102, 241, 0.04), transparent 50%),
    #ffffff;
}

/* ── Promo 公告条：蓝紫渐变，告别灰色 ── */
.ph-promo {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 55%, #4f46e5 100%);
  border-bottom: none;
  color: rgba(255, 255, 255, 0.95);
  gap: 14px;
  padding: 10px 22px;
}

.ph-promo__text {
  color: rgba(255, 255, 255, 0.92);
}

.ph-promo__pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ph-promo__btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.ph-promo__btn:hover {
  background: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

/* ── Nav：AI 徽章蓝色，链接 hover 蓝色下划线 ── */
.ph-nav__badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 10px;
  font-weight: 800;
}

.ph-nav__links a:hover {
  color: #2563eb;
}

.ph-nav__links a::after {
  background: #2563eb;
}

/* ── 主 CTA 按钮：品牌蓝（不再纯黑）── */
.ph-btn--solid {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.ph-btn--solid:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.36);
  transform: translateY(-1px);
}

.ph-btn--ghost:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
  transform: translateY(-1px);
}

/* ── Kicker & Section Tag：蓝色调 pill ── */
.phx-kicker,
.phx-section-tag {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* ── Entry 卡片：hover 蓝色边框 + 轻微上浮 ── */
.phx-entry:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.09);
  transform: translateY(-2px);
}

/* ── Rail list：蓝色 bullet ── */
.phx-rail-list li::before {
  background: #2563eb;
  width: 6px;
  height: 6px;
}

/* ── Signal card eyebrow：蓝色 ── */
.phx-signal-card__eyebrow {
  color: #2563eb;
  font-size: 11px;
}

/* ── Demo Stage：淡蓝渐变背景，让演示区从页面中浮出来 ── */
.phx-stage {
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(37, 99, 235, 0.09), transparent 58%),
    linear-gradient(180deg, #eef4ff 0%, #f5f8ff 45%, #fafafa 100%);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 24px 64px rgba(37, 99, 235, 0.05);
}

/* ── Proof 卡片：数字蓝色 + hover 顶边蓝条 ── */
.phx-proof-card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.phx-proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.phx-proof-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.phx-proof-card:hover::before {
  opacity: 1;
}

.phx-proof-card span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.phx-proof-card strong {
  color: #111827;
}

/* ── Feature 区域：蓝色 bullet，标题更深 ── */
.phx-feature__list li::before {
  background: #2563eb;
  width: 6px;
  height: 6px;
}

/* ── Screenshot 浮动 note：加蓝色左边框 ── */
.phx-floating-note {
  border-left: 3px solid #2563eb;
}

/* ── Tools 格子：每格带不同浅色渐变底色 ── */
.phx-tools__grid .ph-tile:nth-child(1) {
  background: linear-gradient(150deg, #eff6ff 0%, #fff 55%);
}

.phx-tools__grid .ph-tile:nth-child(2) {
  background: linear-gradient(150deg, #f0fdf4 0%, #fff 55%);
}

.phx-tools__grid .ph-tile:nth-child(3) {
  background: linear-gradient(150deg, #faf5ff 0%, #fff 55%);
}

.phx-tools__grid .ph-tile:nth-child(4) {
  background: linear-gradient(150deg, #fffbeb 0%, #fff 55%);
}

.phx-tools__grid .ph-tile:nth-child(1) strong { color: #1d4ed8; }
.phx-tools__grid .ph-tile:nth-child(2) strong { color: #15803d; }
.phx-tools__grid .ph-tile:nth-child(3) strong { color: #7c3aed; }
.phx-tools__grid .ph-tile:nth-child(4) strong { color: #b45309; }

.phx-tools__grid .ph-tile:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* ── Pricing：featured 卡片蓝色强调边框 ── */
.phx-eplan--featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb, 0 16px 40px rgba(37, 99, 235, 0.1);
}

.phx-eplan--featured:hover {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 1px #1d4ed8, 0 20px 48px rgba(37, 99, 235, 0.14);
}

.phx-eplan--featured .ph-btn--solid {
  background: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.phx-eplan--featured .ph-btn--solid:hover {
  background: #1d4ed8;
}

/* ── 定价事实格子：淡蓝底色 ── */
.phx-pricing__facts span {
  background: #f0f7ff;
  border-color: #bfdbfe;
  color: #1e40af;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

/* ── Demo pill：恢复品牌色 ── */
.ph-bid-demo__demo-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* ── Footer：深蓝黑，区别于纯黑 ── */
.ph-footer {
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 100%);
  border: none;
}

.ph-footer__brand {
  color: #f1f5f9;
}

.ph-footer__copy,
.ph-footer__icp {
  color: rgba(255, 255, 255, 0.45);
}

.ph-footer__icp:hover {
  color: rgba(255, 255, 255, 0.85);
}

.ph-footer__link {
  color: rgba(255, 255, 255, 0.55);
}

.ph-footer__link:hover {
  color: #93c5fd;
}

