/* Partner / 行业合作页（partner/index.html）
   依赖 critical-reset + header-nav + footer-component，复用主站配色。 */

.pt-main {
  --pt-ink: #0f172a;
  --pt-muted: #64748b;
  --pt-line: #e2e8f0;
  --pt-bg: #f8fafc;
  --pt-brand: #10b981;
  --pt-brand-dark: #065f46;
  --pt-blue: #1e3a8a;
  display: block;
}

.pt-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero ===== */
.pt-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #065f46 100%);
}
.pt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 28%, rgba(59, 130, 246, 0.34), transparent 60%),
    radial-gradient(circle at 74% 72%, rgba(16, 185, 129, 0.3), transparent 56%);
  pointer-events: none;
}
.pt-hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 20px; }
.pt-chip {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pt-hero h1 {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
}
.pt-hero p {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}
.pt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn--primary { color: #052e22; background: #6ee7b7; }
.pt-btn--primary:hover { background: #a7f3d0; }
.pt-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.pt-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.pt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin-top: 34px;
}
.pt-stat { text-align: center; }
.pt-stat b { display: block; font-size: 30px; font-weight: 800; color: #6ee7b7; }
.pt-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.8); }

/* ===== 通用 section ===== */
.pt-section { padding: 68px 0; }
.pt-section--alt { background: var(--pt-bg); }
.pt-head { margin-bottom: 40px; text-align: center; }
.pt-tag {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #1e40af;
  background: #dbeafe;
  border-radius: 999px;
}
.pt-title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--pt-ink);
}
.pt-sub {
  max-width: 660px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pt-muted);
}

/* ===== 伙伴身份 ===== */
.pt-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pt-role {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.pt-role:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.pt-role__ico { font-size: 30px; margin-bottom: 12px; }
.pt-role__en { font-size: 11px; letter-spacing: 0.8px; color: var(--pt-brand); text-transform: uppercase; }
.pt-role h3 { margin: 4px 0 10px; font-size: 19px; color: var(--pt-ink); }
.pt-role p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--pt-muted); }
.pt-role ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; color: var(--pt-muted); }
.pt-note-line {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--pt-muted);
}

/* ===== 行业地图 ===== */
.pt-industries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pt-ind {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pt-ind:hover { border-color: var(--pt-brand); transform: translateY(-3px); }
.pt-ind__ico { font-size: 24px; }
.pt-ind__body { min-width: 0; }
.pt-ind__name { font-size: 15px; font-weight: 700; color: var(--pt-ink); }
.pt-ind__meta { font-size: 12px; color: var(--pt-muted); margin-top: 2px; }
.pt-ind__n { color: var(--pt-brand-dark); font-weight: 700; }

/* ===== 步骤 ===== */
.pt-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: ptstep;
}
.pt-step {
  position: relative;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
}
.pt-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 800;
  color: #052e22;
  background: #d1fae5;
  border-radius: 50%;
}
.pt-step h3 { margin: 0 0 8px; font-size: 17px; color: var(--pt-ink); }
.pt-step p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--pt-muted); }

/* ===== 能拿到什么 ===== */
.pt-gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pt-gain {
  display: flex;
  gap: 14px;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
}
.pt-gain__ico { font-size: 24px; line-height: 1; }
.pt-gain h3 { margin: 0 0 6px; font-size: 16px; color: var(--pt-ink); }
.pt-gain p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--pt-muted); }

/* ===== 背书 ===== */
.pt-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 16px;
}
.pt-proof__text { flex: 1 1 420px; }
.pt-proof__text h3 { margin: 0 0 10px; font-size: 20px; color: var(--pt-ink); }
.pt-proof__text p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--pt-muted); }
.pt-proof__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-badge {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--pt-brand-dark);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
}

/* ===== FAQ ===== */
.pt-faq { max-width: 860px; margin: 0 auto; }
.pt-faq details {
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
}
.pt-faq summary {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--pt-ink);
  cursor: pointer;
  list-style: none;
}
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::before { content: '＋ '; color: var(--pt-brand); font-weight: 700; }
.pt-faq details[open] summary::before { content: '－ '; }
.pt-faq p { margin: 12px 0 0; font-size: 14px; line-height: 1.8; color: var(--pt-muted); }

/* ===== CTA ===== */
.pt-cta {
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #065f46 0%, #0f172a 100%);
}
.pt-cta h2 { margin: 0 0 12px; font-size: 30px; font-weight: 800; }
.pt-cta p { max-width: 620px; margin: 0 auto 26px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.88); }
.pt-cta__qr {
  width: 176px;
  height: 176px;
  margin: 0 auto 20px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
}
.pt-cta__qr img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.pt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== 合规提示 ===== */
.pt-disclaim {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 16px 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--pt-muted);
  background: var(--pt-bg);
  border: 1px solid var(--pt-line);
  border-radius: 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .pt-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .pt-hero { padding: 54px 0 60px; }
  .pt-hero h1 { font-size: 27px; }
  .pt-section { padding: 48px 0; }
  .pt-title { font-size: 25px; }
  .pt-roles,
  .pt-industries,
  .pt-steps,
  .pt-gains { grid-template-columns: 1fr; }
  .pt-stats { gap: 22px; }
}
