/* 营销服务总览：大气叙事 + 移动 App 分段 */
.ph {
  --ph-ink: #0f141c;
  --ph-muted: #5d6775;
  --ph-line: rgba(15, 20, 28, .1);
  --ph-bg: #f3f4f7;
  --ph-card: #fff;
  --ph-signal: #d21b32;
  --ph-deep: #0a0e14;
  color: var(--ph-ink);
  background: var(--ph-bg);
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
}
.ph * { box-sizing: border-box; }
.ph a { color: inherit; text-decoration: none; }

.ph-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.ph-hero--grand {
  color: #f7fafc;
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 55% 60% at 88% 0%, rgba(210, 27, 50, .32), transparent 58%),
    radial-gradient(ellipse 40% 45% at 8% 90%, rgba(184, 137, 45, .16), transparent 50%),
    linear-gradient(150deg, #070b12 0%, #121821 48%, #1a1016 100%);
  position: relative;
  overflow: hidden;
}
.ph-hero--grand::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 40% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}

.ph-crumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  color: rgba(247, 250, 252, .48);
  font-size: 12px;
}
.ph-crumb a:hover { color: #fff; }

.ph-hero-grand { position: relative; z-index: 1; max-width: 920px; }
.ph-kicker {
  margin: 0 0 16px;
  color: #ffb4bc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.ph-hero-grand h1 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 750;
}
.ph-hero-grand h1 em {
  font-style: italic;
  color: #ffd7a8;
}
.ph-lead {
  max-width: 46rem;
  margin: 22px 0 0;
  color: rgba(247, 250, 252, .72);
  font-size: 17px;
  line-height: 1.8;
}
.ph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.ph-btn:hover { transform: translateY(-1px); }
.ph-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e0233a, #a81224);
  box-shadow: 0 14px 32px rgba(210, 27, 50, .3);
}
.ph-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
}
.ph-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 760px;
}
.ph-hero-stats dt { font-size: 30px; font-weight: 750; }
.ph-hero-stats dd { margin: 4px 0 0; color: rgba(247, 250, 252, .55); font-size: 12px; }

.ph-appbar { display: none; }

.ph-section { padding: 88px 0; }
.ph-section--dark {
  color: #f7fafc;
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(210, 27, 50, .2), transparent 55%),
    linear-gradient(160deg, #0a0e14, #151018);
}
.ph-section--soft { background: #eef0f4; }
.ph-section-head { max-width: 760px; margin-bottom: 36px; }
.ph-section-head p {
  margin: 0;
  color: var(--ph-signal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.ph-section--dark .ph-section-head p { color: #ffb4bc; }
.ph-section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.ph-section-head span {
  display: block;
  margin-top: 12px;
  color: var(--ph-muted);
  font-size: 15px;
  line-height: 1.75;
}
.ph-section--dark .ph-section-head span { color: rgba(247, 250, 252, .62); }

/* 十二项服务：左侧导航 + 右侧大板 */
.ph-service-stage {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  min-height: 460px;
  align-items: stretch;
}
.ph-service-nav {
  display: grid;
  gap: 6px;
  align-content: start;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}
.ph-service-nav button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--ph-line);
  border-radius: 14px;
  background: var(--ph-card);
  color: var(--ph-muted);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: .2s ease;
}
.ph-service-nav button small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.ph-service-nav button b { color: var(--ph-ink); font-size: 15px; }
.ph-service-nav button.is-active,
.ph-service-nav button:hover {
  border-color: color-mix(in srgb, var(--tone) 55%, var(--ph-line));
  background: color-mix(in srgb, var(--tone) 8%, #fff);
  box-shadow: 0 10px 24px rgba(15, 20, 28, .06);
}
.ph-service-nav button.is-active {
  border-left: 3px solid var(--tone);
}

.ph-service-panels { position: relative; min-height: 460px; }
.ph-service-panel {
  display: none;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
  box-shadow: 0 24px 60px rgba(15, 20, 28, .08);
  animation: ph-in .35s ease;
}
.ph-service-panel.is-active { display: grid; }
.ph-service-copy { padding: 40px 36px; }
.ph-service-en {
  margin: 0;
  color: var(--tone);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ph-service-copy h3 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.02em;
}
.ph-service-copy > p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 16px;
  line-height: 1.75;
}
.ph-service-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}
.ph-service-copy li {
  position: relative;
  padding: 12px 12px 12px 28px;
  border-radius: 12px;
  background: #f5f6f8;
  font-size: 13px;
  font-weight: 600;
}
.ph-service-copy li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tone);
  transform: translateY(-50%);
}
.ph-service-visual {
  position: relative;
  display: grid;
  place-content: end start;
  gap: 8px;
  padding: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 50%),
    linear-gradient(160deg, #121820, #1a1014 70%);
}
.ph-service-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 45%, transparent), transparent 70%);
  animation: ph-orb 8s ease-in-out infinite alternate;
}
.ph-service-visual strong {
  position: relative;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.04em;
  opacity: .9;
}
.ph-service-visual span {
  position: relative;
  font-size: 18px;
  font-weight: 650;
}

.ph-service-mobile { display: none; }

.ph-cap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.ph-cap-grid article {
  padding: 24px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: transform .25s ease, background .25s ease;
}
.ph-cap-grid article:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
}
.ph-cap-grid b {
  display: block;
  margin-bottom: 14px;
  color: #ffb4bc;
  font-size: 13px;
  letter-spacing: .08em;
}
.ph-cap-grid h3 { margin: 0 0 10px; font-size: 18px; }
.ph-cap-grid p { margin: 0; color: rgba(247,250,252,.62); font-size: 13px; line-height: 1.65; }

.ph-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ph-resource-grid article {
  padding: 28px 22px;
  border-radius: 20px;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ph-resource-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 20, 28, .08);
}
.ph-resource-grid small {
  color: var(--ph-signal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.ph-resource-grid b {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.02em;
}
.ph-resource-grid p { margin: 0; color: var(--ph-muted); font-size: 14px; }

.ph-plat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.ph-plat-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
  color: var(--ph-muted);
  font: 650 13px/1 inherit;
  cursor: pointer;
}
.ph-plat-tabs button.is-active {
  color: #fff;
  border-color: var(--ph-signal);
  background: var(--ph-signal);
}
.ph-plat-panel { display: none; }
.ph-plat-panel.is-active { display: block; animation: ph-in .28s ease; }
.ph-plat-desc { margin: 0 0 18px; color: var(--ph-muted); }

.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ph-list { display: none; }
.ph-card {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ph-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pc) 45%, var(--ph-line));
  box-shadow: 0 18px 40px rgba(15, 20, 28, .08);
}
.ph-card-top { display: flex; align-items: center; justify-content: space-between; }
.ph-card-top img {
  width: 48px; height: 48px; border-radius: 14px; object-fit: contain; background: #f3f5f8;
}
.ph-card-top em { color: #9aa3ae; font: 700 12px ui-monospace, Menlo, monospace; }
.ph-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.ph-card-biz { margin: 0; color: var(--pc); font-size: 12px; font-weight: 650; }
.ph-card-desc { margin: 0; color: var(--ph-muted); font-size: 13px; line-height: 1.6; min-height: 40px; }
.ph-card-go { margin-top: auto; padding-top: 8px; color: var(--pc); font-size: 13px; font-weight: 700; }

.ph-row {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--ph-line);
  background: var(--ph-card);
}
.ph-row + .ph-row { margin-top: 8px; }
.ph-row img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #f3f5f8; }
.ph-row span { display: grid; gap: 3px; min-width: 0; }
.ph-row b { font-size: 15px; }
.ph-row small { color: var(--ph-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row i { color: #9aa3ae; }

.ph-cta {
  padding: 48px 0 72px;
  background: var(--ph-deep);
  color: #f7fafc;
}
.ph-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ph-cta p { margin: 0 0 8px; color: #ffb4bc; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ph-cta h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.ph-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@keyframes ph-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes ph-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-20px, 16px) scale(1.08); }
}

@media (max-width: 1100px) {
  .ph-service-stage { grid-template-columns: 1fr; }
  .ph-service-nav {
    display: flex;
    max-height: none;
    overflow-x: auto;
    gap: 8px;
  }
  .ph-service-nav button { flex: 0 0 auto; min-width: 140px; }
  .ph-service-panel,
  .ph-service-panel.is-active { grid-template-columns: 1fr; min-height: 0; }
  .ph-service-visual { min-height: 180px; }
  .ph-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .ph-wrap { width: min(100% - 28px, 1180px); }
  .ph-hero--grand { padding: 32px 0 28px; }
  .ph-hero-grand h1 { font-size: 32px; }
  .ph-lead { font-size: 14px; }
  .ph-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ph-hero-stats dt { font-size: 22px; }
  .ph-section { padding: 48px 0; }

  .ph-appbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 10px 0;
    background: rgba(243, 244, 247, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ph-line);
  }
  .ph-appbar-scroll {
    display: flex;
    gap: 8px;
    width: min(100% - 28px, 1180px);
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ph-appbar-scroll::-webkit-scrollbar { display: none; }
  .ph-seg {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #e4e6eb;
    color: var(--ph-muted);
    font: 650 13px/1 inherit;
    cursor: pointer;
  }
  .ph-seg.is-active {
    color: #fff;
    background: var(--ph-signal);
    box-shadow: 0 8px 18px rgba(210, 27, 50, .25);
  }

  /* 手机：隐藏 PC 服务舞台，显示完整列表 */
  .ph-service-stage { display: none; }
  .ph-service-mobile { display: grid; gap: 10px; }
  .ph-service-mcard {
    display: grid;
    grid-template-columns: 36px 1fr 18px;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--ph-line);
    background: var(--ph-card);
    box-shadow: 0 6px 18px rgba(15, 20, 28, .04);
  }
  .ph-service-mcard em {
    color: var(--tone);
    font: 750 14px ui-monospace, Menlo, monospace;
  }
  .ph-service-mcard small {
    display: block;
    color: var(--tone);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .ph-service-mcard b { display: block; margin: 4px 0 6px; font-size: 16px; }
  .ph-service-mcard p { margin: 0; color: var(--ph-muted); font-size: 13px; line-height: 1.55; }
  .ph-service-mcard i { color: #9aa3ae; margin-top: 4px; }

  .ph-cap-grid { grid-template-columns: 1fr; }
  .ph-resource-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ph-resource-grid article { padding: 18px 14px; }
  .ph-resource-grid b { font-size: 24px; }

  .ph-plat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ph-plat-tabs::-webkit-scrollbar { display: none; }
  .ph-plat-tabs button { flex: 0 0 auto; }

  .ph-grid { display: none; }
  .ph-list { display: block; }

  .ph-cta-inner { flex-direction: column; align-items: stretch; }
  .ph-cta-actions .ph-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-service-panel.is-active,
  .ph-plat-panel.is-active { animation: none; }
  .ph-service-orb { animation: none; }
  .ph-btn:hover,
  .ph-card:hover,
  .ph-cap-grid article:hover,
  .ph-resource-grid article:hover { transform: none; }
}
