/* ============================================================
   product-qipei.css — 汽配通 · 外贸拓客系统产品页
   定位：前沿产品预热页，勾子 = 平衡轴市场调研报告（留资领取）
   主题：沿用全站黑底 + 品牌红 #e60012，qp- 前缀避免污染
   依赖：css/style.css 的设计变量与通用类
   ============================================================ */

:root {
  --qp-red: var(--accent-primary);
  --qp-red-bright: #ff4d5a;
  --qp-red-deep: #a3000e;
  --qp-red-glow: rgba(230, 0, 18, 0.3);
  --qp-red-bg: rgba(230, 0, 18, 0.07);
}

/* ---------- Hero ---------- */
.qp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: radial-gradient(120% 90% at 80% 0%, rgba(230, 0, 18, 0.12) 0%, transparent 60%),
              radial-gradient(80% 60% at 10% 100%, rgba(230, 0, 18, 0.06) 0%, transparent 55%);
}

.qp-hero .particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.qp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.qp-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--qp-red-glow);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--qp-red-bright);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  background: var(--qp-red-bg);
}

.qp-hero-title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.qp-hero-slogan {
  font-size: clamp(1.375rem, 1rem + 1.8vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--qp-red-bright), var(--qp-red-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qp-hero-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.qp-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(230, 0, 18, 0.12);
  transform: perspective(1200px) rotateY(-5deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.qp-hero-visual:hover {
  transform: perspective(1200px) rotateY(0deg);
}

.qp-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.qp-hero-visual-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(2, 2, 2, 0.72);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(6px);
}

/* ---------- 数据带（本页 4 项） ---------- */
.qp-stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- 通用图文分栏 ---------- */
.qp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.qp-split > * {
  min-width: 0;
}

.qp-split.reverse > .qp-split-visual {
  order: 2;
}

.qp-split-visual {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}

.qp-split.reverse .qp-split-visual {
  margin-left: auto;
}

.qp-split-visual img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.qp-split-visual:hover img {
  transform: scale(1.03);
}

.qp-split-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.qp-split-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ---------- 痛点卡片 ---------- */
.qp-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.qp-pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.qp-pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--qp-red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.qp-pain-card:hover {
  border-color: var(--qp-red-glow);
  transform: translateY(-4px);
}

.qp-pain-card:hover::before {
  opacity: 1;
}

.qp-pain-num {
  font-size: 0.8125rem;
  color: var(--qp-red-bright);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.qp-pain-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.qp-pain-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---------- 报告模块 chips ---------- */
.qp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.qp-chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.qp-chip:hover {
  border-color: var(--qp-red-glow);
  color: var(--qp-red-bright);
  background: var(--qp-red-bg);
}

/* ---------- OE 工具浏览器 mockup ---------- */
.qp-mock-wrap {
  max-width: 520px;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.qp-mock {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0d0d10;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(230, 0, 18, 0.08);
}

.qp-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.qp-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.qp-mock-dot:first-child {
  background: var(--qp-red);
}

.qp-mock-url {
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qp-mock-body {
  padding: 28px 24px 24px;
}

.qp-mock-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.qp-mock-sub {
  font-size: 0.8125rem;
  color: var(--qp-red-bright);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.qp-mock-oe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.qp-mock-oe {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875rem;
  color: #fff;
  border: 1px solid var(--border-glow);
  background: var(--qp-red-bg);
}

.qp-mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 16px;
}

.qp-mock-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #0c2b16;
  background: #4ade80;
  flex-shrink: 0;
}

/* ---------- 留资领报告 ---------- */
.qp-lead {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.qp-lead-info img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.qp-lead-info h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 18px;
}

.qp-lead-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.qp-lead-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.qp-lead-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--qp-red);
}

.qp-lead-honest {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  border-left: 2px solid var(--border-subtle);
  padding-left: 14px;
}

.qp-lead-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 40px 36px;
  position: sticky;
  top: 100px;
}

.qp-lead-form-wrap h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.qp-lead-form-sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.qp-field {
  margin-bottom: 18px;
}

.qp-field label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.qp-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.qp-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.qp-field input:focus {
  outline: none;
  border-color: var(--qp-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.15);
}

.qp-lead-submit {
  width: 100%;
  margin-top: 6px;
}

.qp-lead-msg {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.7;
  min-height: 1.4em;
}

.qp-lead-msg.error {
  color: #ff8a8a;
}

.qp-lead-msg.success {
  color: #4ade80;
}

.qp-lead-direct {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.qp-lead-direct a {
  color: var(--qp-red-bright);
  text-decoration: none;
}

.qp-lead-direct a:hover {
  text-decoration: underline;
}

/* ---------- 合作路径 ---------- */
.qp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qp-step {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: var(--transition);
}

.qp-step:hover {
  border-color: var(--qp-red-glow);
  transform: translateY(-4px);
}

.qp-step-node {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--qp-red-bright);
  border: 1.5px solid var(--qp-red-glow);
  background: var(--qp-red-bg);
}

.qp-step h3 {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.qp-step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---------- CTA 收尾 ---------- */
.qp-cta {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: linear-gradient(130deg, #12060a 0%, #2b0810 60%, #3d0a14 100%);
}

.qp-cta::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.qp-cta-inner {
  position: relative;
  z-index: 1;
  padding: 96px 64px;
  max-width: 640px;
}

.qp-cta-inner h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.qp-cta-inner > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  margin-bottom: 36px;
}

.qp-cta-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.qp-cta-cross {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.qp-cta-cross a {
  color: var(--qp-red-bright);
  font-weight: 600;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .qp-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qp-steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .qp-lead {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .qp-lead-form-wrap {
    position: static;
  }
}

@media (max-width: 900px) {
  .qp-hero-grid,
  .qp-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .qp-hero-visual {
    transform: none;
  }
  .qp-split.reverse > .qp-split-visual {
    order: 0;
    margin-left: 0;
  }
  .qp-mock-wrap {
    margin: 0 auto;
  }
  .qp-cta-inner {
    padding: 64px 32px;
  }
}

@media (max-width: 640px) {
  .qp-pain-grid,
  .qp-stats-grid {
    grid-template-columns: 1fr;
  }
  .qp-lead-list {
    grid-template-columns: 1fr;
  }
  .qp-hero {
    padding-top: 104px;
  }
  .qp-lead-form-wrap {
    padding: 32px 24px;
  }
}
