/* ============================================================
   产品列表页 — 互联网大厂风格（重新设计版）
   产品矩阵概览 + 横向分类筛选 + 增强卡片 + CTA
   品牌主色: #0f6ab4 | 前缀: pl- | 部署: /skin/css/productlist-portal.css
   ============================================================ */

/* ===== Variables ===== */
:root {
  --pl-primary: #0f6ab4;
  --pl-primary-dark: #0a4d80;
  --pl-primary-light: #e8f4fc;
  --pl-accent: #00c6ff;
  --pl-text-1: #1a1a2e;
  --pl-text-2: #555;
  --pl-text-3: #888;
  --pl-bg: #ffffff;
  --pl-bg-alt: #f7f9fc;
  --pl-border: #eef0f4;
  --pl-border-dark: #e0e3e8;
  --pl-radius: 16px;
  --pl-radius-sm: 10px;
  --pl-shadow: 0 4px 24px rgba(15, 106, 180, 0.08);
  --pl-shadow-hover: 0 12px 40px rgba(15, 106, 180, 0.15);
  --pl-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --pl-max: 1200px;
  /* Matrix layer colors */
  --pl-mkt: #00b894;
  --pl-mkt-light: #e6faf5;
  --pl-ai: #0f6ab4;
  --pl-ai-light: #e8f4fc;
  --pl-tool: #6c5ce7;
  --pl-tool-light: #f0edfc;
}

/* ===== Reset (scoped) ===== */
.pl-wrapper *, .pl-wrapper *::before, .pl-wrapper *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.pl-wrapper {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 15px; color: var(--pl-text-1); line-height: 1.6;
  background: var(--pl-bg); -webkit-font-smoothing: antialiased;
}
.pl-wrapper ul, .pl-wrapper ol { list-style: none; }
.pl-wrapper a { color: inherit; text-decoration: none; transition: var(--pl-transition); }
.pl-wrapper img { display: block; max-width: 100%; height: auto; }
.pl-wrapper h1, .pl-wrapper h2, .pl-wrapper h3, .pl-wrapper h4 { margin: 0; padding: 0; }

/* Hide original secondary nav */
.nav_pc, .nav_phone { display: none !important; }

/* ===== Override original container overflow ===== */
.pl-wrapper .container,
#bann.pl-bann .container,
.pl-matrix .container,
.pl-main .container,
.pl-cta .container { overflow: visible; }

/* ===== Hero / Banner ===== */
#bann.pl-bann {
  position: relative;
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, #0a1628 0%, #0f6ab4 50%, #0a4d80 100%) !important;
  color: #fff;
  overflow: hidden;
  height: auto !important;
}
#bann.pl-bann::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  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: 40px 40px;
  pointer-events: none;
}
#bann.pl-bann::after {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
#bann.pl-bann .container {
  max-width: var(--pl-max); width: 100%; margin: 0 auto;
  height: auto; display: block; transform: none;
  flex-direction: initial; justify-content: initial; align-items: initial;
  position: relative; z-index: 2; overflow: visible;
}

/* Breadcrumb */
.pl-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.55);
  margin-bottom: 28px; list-style: none; padding: 0; flex-wrap: wrap;
}
.pl-breadcrumb li { display: flex; align-items: center; gap: 6px; list-style: none; }
.pl-breadcrumb li::after { content: "/"; color: rgba(255,255,255,.3); font-size: 12px; }
.pl-breadcrumb li:last-child::after { display: none; }
.pl-breadcrumb a { color: rgba(255,255,255,.7); }
.pl-breadcrumb a:hover { color: #fff; }
.pl-breadcrumb li:last-child { color: rgba(255,255,255,.9); }

/* Hero content */
.pl-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px; font-size: 13px; color: rgba(255,255,255,.8);
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.pl-hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pl-accent); box-shadow: 0 0 8px var(--pl-accent);
}
.pl-hero-title {
  font-size: 40px; font-weight: 700; color: #fff;
  letter-spacing: 1px; line-height: 1.3; margin-bottom: 16px;
}
.pl-hero-desc {
  font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 32px; max-width: 640px;
}
.pl-hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
}
.pl-hero-stat .num {
  font-size: 32px; font-weight: 700; color: var(--pl-accent); line-height: 1; margin-bottom: 4px;
}
.pl-hero-stat .label {
  font-size: 14px; color: rgba(255,255,255,.6);
}

/* ===== Section Head ===== */
.pl-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.pl-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--pl-primary); background: var(--pl-primary-light);
  padding: 6px 20px; border-radius: 30px;
  margin-bottom: 16px;
}
.pl-section-head h2 {
  font-size: 32px; font-weight: 700; color: var(--pl-text-1);
  margin-bottom: 12px; line-height: 1.3;
}
.pl-section-head p {
  font-size: 16px; color: var(--pl-text-2); line-height: 1.8; max-width: 600px; margin: 0 auto;
}

/* ===== Product Matrix ===== */
.pl-matrix {
  padding: 64px 0 80px;
  background: var(--pl-bg-alt);
  position: relative;
}
.pl-matrix::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(0,198,255,.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(15,106,180,.05) 0%, transparent 50%);
  pointer-events: none;
}
.pl-matrix .container {
  max-width: var(--pl-max); width: 100%; margin: 0 auto;
  position: relative; z-index: 2; overflow: visible;
}
.pl-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pl-matrix-card {
  background: var(--pl-bg);
  border-radius: var(--pl-radius);
  padding: 32px 28px 24px;
  border: 1px solid var(--pl-border);
  position: relative;
  overflow: hidden;
  transition: var(--pl-transition);
}
.pl-matrix-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  transition: height 0.3s ease;
}
.pl-matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-hover);
}
.pl-matrix-card:hover::before {
  height: 6px;
}
/* Marketing layer */
.pl-matrix-card--marketing::before {
  background: linear-gradient(90deg, var(--pl-mkt), #55efc4);
}
.pl-matrix-card--marketing .pl-matrix-icon {
  color: var(--pl-mkt);
  background: var(--pl-mkt-light);
}
.pl-matrix-card--marketing .pl-matrix-dot {
  background: var(--pl-mkt);
}
.pl-matrix-card--marketing .pl-matrix-more:hover {
  color: var(--pl-mkt);
}
/* AI layer */
.pl-matrix-card--ai::before {
  background: linear-gradient(90deg, var(--pl-ai), var(--pl-accent));
}
.pl-matrix-card--ai .pl-matrix-icon {
  color: var(--pl-ai);
  background: var(--pl-ai-light);
}
.pl-matrix-card--ai .pl-matrix-dot {
  background: var(--pl-ai);
}
.pl-matrix-card--ai .pl-matrix-more:hover {
  color: var(--pl-ai);
}
/* Content tool layer */
.pl-matrix-card--content::before {
  background: linear-gradient(90deg, var(--pl-tool), #a29bfe);
}
.pl-matrix-card--content .pl-matrix-icon {
  color: var(--pl-tool);
  background: var(--pl-tool-light);
}
.pl-matrix-card--content .pl-matrix-dot {
  background: var(--pl-tool);
}
.pl-matrix-card--content .pl-matrix-more:hover {
  color: var(--pl-tool);
}

.pl-matrix-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--pl-transition);
}
.pl-matrix-card:hover .pl-matrix-icon {
  transform: scale(1.05);
}
.pl-matrix-card h3 {
  font-size: 20px; font-weight: 700; color: var(--pl-text-1);
  margin-bottom: 8px;
}
.pl-matrix-card > p {
  font-size: 14px; color: var(--pl-text-2); line-height: 1.7;
  margin-bottom: 20px;
}
.pl-matrix-list {
  list-style: none; padding: 0; margin: 0;
}
.pl-matrix-list li {
  margin-bottom: 10px;
}
.pl-matrix-list a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--pl-text-2);
  padding: 10px 14px;
  border-radius: var(--pl-radius-sm);
  background: var(--pl-bg-alt);
  transition: var(--pl-transition);
}
.pl-matrix-list a:hover {
  background: var(--pl-primary-light);
  color: var(--pl-primary);
  transform: translateX(4px);
}
.pl-matrix-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  transition: var(--pl-transition);
}
.pl-matrix-list a:hover .pl-matrix-dot {
  transform: scale(1.3);
}
.pl-matrix-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pl-border);
}
.pl-matrix-count {
  font-size: 13px; color: var(--pl-text-3);
}
.pl-matrix-more {
  font-size: 13px; color: var(--pl-text-2); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  transition: var(--pl-transition);
}

/* ===== Main Content ===== */
.pl-main {
  padding: 64px 0 80px;
  background: var(--pl-bg);
}
.pl-main .container {
  max-width: var(--pl-max); width: 100%; margin: 0 auto; overflow: visible;
}

/* ===== Horizontal Filter Tabs ===== */
.pl-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pl-filter-tab {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px; font-weight: 500;
  color: var(--pl-text-2);
  background: var(--pl-bg-alt);
  border: 1px solid var(--pl-border);
  transition: var(--pl-transition);
  white-space: nowrap;
}
.pl-filter-tab:hover {
  color: var(--pl-primary);
  background: var(--pl-primary-light);
  border-color: var(--pl-primary);
}
.pl-filter-tab.active {
  color: #fff;
  background: var(--pl-primary);
  border-color: var(--pl-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 106, 180, 0.2);
}

/* ===== Product Grid ===== */
.pl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pl-card {
  display: flex; flex-direction: column;
  background: var(--pl-bg); border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius); overflow: hidden;
  transition: var(--pl-transition); position: relative;
}
.pl-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--pl-primary), var(--pl-accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.pl-card:hover {
  transform: translateY(-6px); box-shadow: var(--pl-shadow-hover);
  border-color: var(--pl-primary);
}
.pl-card:hover::before { transform: scaleX(1); }

/* First card: featured, spans 2 columns */
.pl-card:first-child {
  grid-column: span 2;
}
.pl-card:first-child .pl-card-image {
  height: 280px;
}
.pl-card:first-child .pl-card-body {
  padding: 28px 24px;
}
.pl-card:first-child .pl-card-title {
  font-size: 22px;
}
.pl-card:first-child .pl-card-desc {
  -webkit-line-clamp: 3;
}

/* Card image with overlay */
.pl-card-image {
  width: 100%; height: 200px; overflow: hidden;
  background: var(--pl-bg-alt);
  position: relative;
}
.pl-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.pl-card:hover .pl-card-image img { transform: scale(1.05); }
.pl-card-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(0deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.4) 60%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 14px; color: #fff; font-weight: 600;
  opacity: 0; transition: opacity 0.3s ease;
}
.pl-card:hover .pl-card-overlay { opacity: 1; }

.pl-card-body {
  padding: 24px 20px; flex: 1; display: flex; flex-direction: column;
}
.pl-card-tag {
  display: inline-block; font-size: 12px; color: var(--pl-primary);
  font-weight: 600; margin-bottom: 10px; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 4px;
  background: var(--pl-primary-light);
}
.pl-card-title {
  font-size: 18px; font-weight: 700; color: var(--pl-text-1); margin-bottom: 10px;
  line-height: 1.4;
}
.pl-card-desc {
  font-size: 14px; color: var(--pl-text-2); line-height: 1.7; margin-bottom: 16px;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-card-link {
  font-size: 14px; color: var(--pl-primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--pl-transition);
}
.pl-card:hover .pl-card-link { gap: 10px; }

/* ===== Pagination ===== */
.pl-pagination {
  margin-top: 48px; display: flex; justify-content: center;
}
.pl-pagination .pagebar { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pl-pagination .pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; }
.pl-pagination a,
.pl-pagination .page-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--pl-border-dark); border-radius: 8px;
  font-size: 14px; color: var(--pl-text-2); transition: var(--pl-transition);
  list-style: none; text-decoration: none;
}
.pl-pagination a:hover {
  border-color: var(--pl-primary); color: var(--pl-primary); background: var(--pl-primary-light);
}
.pl-pagination .st { font-weight: 600; }
.pl-no-data {
  text-align: center; padding: 60px 20px; color: var(--pl-text-3); font-size: 15px;
}

/* ===== CTA ===== */
.pl-cta {
  position: relative; padding: 80px 0; overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0f6ab4 50%, #0a4d80 100%);
}
.pl-cta::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  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: 40px 40px; pointer-events: none;
}
.pl-cta::after {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.pl-cta .container { max-width: 760px; width: 100%; margin: 0 auto; text-align: center; position: relative; z-index: 2; overflow: visible; }
.pl-cta h2 {
  font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.pl-cta p {
  font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 36px;
}
.pl-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pl-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: var(--pl-transition);
}
.pl-cta-btn--light {
  background: var(--pl-accent); color: #fff !important;
}
.pl-cta-btn--light:hover {
  background: #fff; color: var(--pl-primary) !important; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 198, 255, 0.3);
}
.pl-cta-btn--outline {
  background: transparent; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.3);
}
.pl-cta-btn--outline:hover {
  border-color: #fff; background: rgba(255,255,255,.1);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pl-matrix-grid { gap: 16px; }
  .pl-matrix-card { padding: 24px 20px 20px; }
  .pl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  /* First card spans full width on 2-col grid */
  .pl-card:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  #bann.pl-bann { padding: 130px 16px 56px; height: auto !important; }
  #bann.pl-bann .container { height: auto !important; }
  .pl-hero-title { font-size: 26px; }
  .pl-hero-desc { font-size: 15px; margin-bottom: 24px; }
  .pl-hero-stats { gap: 24px; }
  .pl-hero-stat .num { font-size: 26px; }
  .pl-hero-stat .label { font-size: 13px; }

  /* Matrix: stack vertically */
  .pl-matrix { padding: 40px 0; }
  .pl-section-head { margin-bottom: 28px; }
  .pl-section-head h2 { font-size: 22px; }
  .pl-section-head p { font-size: 14px; }
  .pl-matrix-grid { grid-template-columns: 1fr; gap: 16px; }
  .pl-matrix-card { padding: 20px 18px 16px; }
  .pl-matrix-card h3 { font-size: 18px; }
  .pl-matrix-card > p { font-size: 13px; }
  .pl-matrix-list a { font-size: 13px; padding: 8px 12px; }

  /* Filter tabs: wrap on mobile, no horizontal scroll */
  .pl-filter-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
    padding-bottom: 0;
    margin-bottom: 20px;
    gap: 8px;
  }
  .pl-filter-tab { padding: 8px 16px; font-size: 13px; }

  /* Grid: 1 column, first card full width */
  .pl-main { padding: 40px 0 56px; }
  .pl-grid { grid-template-columns: 1fr; gap: 16px; }
  .pl-card:first-child { grid-column: span 1; }
  .pl-card:first-child .pl-card-image { height: 200px; }
  .pl-card:first-child .pl-card-title { font-size: 18px; }
  .pl-card:first-child .pl-card-body { padding: 20px 16px; }
  .pl-card-image { height: 180px; }
  .pl-card-body { padding: 18px 16px; }
  .pl-card-title { font-size: 16px; }
  .pl-card-desc { font-size: 13px; -webkit-line-clamp: 2; }
  .pl-card-overlay { font-size: 13px; }

  .pl-pagination { margin-top: 32px; }
  .pl-pagination a, .pl-pagination .page-item { min-width: 36px; height: 36px; font-size: 13px; }
  .pl-cta { padding: 48px 0; }
  .pl-cta h2 { font-size: 24px; }
  .pl-cta p { font-size: 15px; }
  /* CTA buttons: match about-geo style (pill, stacked, full-width) */
  .pl-cta-actions { flex-direction: column; gap: 12px; }
  .pl-cta-btn {
    width: 100%;
    justify-content: center;
    border-radius: 30px;
    padding: 14px 24px;
  }
  .pl-cta-btn--light {
    background: var(--pl-accent);
    color: #fff !important;
  }
  .pl-cta-btn--light:hover {
    background: #fff;
    color: var(--pl-primary) !important;
  }
  .pl-cta-btn--outline {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff !important;
  }
  /* 移动端触摸反馈（:active） */
  .pl-cta-btn--light:active {
    background: #fff;
    color: var(--pl-primary) !important;
  }
  .pl-cta-btn--outline:active {
    border-color: #fff;
    background: rgba(255,255,255,.2);
    color: #fff !important;
  }
}

@media (max-width: 480px) {
  #bann.pl-bann { padding: 120px 12px 44px; }
  .pl-hero-title { font-size: 22px; }
  .pl-hero-stats { gap: 20px; }
  .pl-hero-stat .num { font-size: 22px; }
  .pl-eyebrow { font-size: 11px; padding: 4px 14px; }
  .pl-section-head h2 { font-size: 20px; }
  .pl-matrix-card { padding: 16px 14px 12px; }
  .pl-matrix-card h3 { font-size: 16px; }
  .pl-cta-actions { flex-direction: column; }
  .pl-cta-btn { width: 100%; justify-content: center; }
}
