/*
 * ============================================
 * 模板随机参数标注
 * 风格: G-玻璃拟态(毛玻璃+半透明+模糊背景+柔和光感)
 * 布局: B-侧边栏布局(左侧固定30% + 右侧滚动70%)
 * 色彩: 10-霓虹渐变(紫→蓝→粉渐变+发光效果)
 * 字号: 16px正文 / 3rem标题
 * 装饰: 线性图标 / 填充按钮 / 圆角图片 / 居中导航
 * ============================================
 */

/* ===== 基础重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #e94560;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== 容器布局 ===== */
.pb-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.pb-main-layout {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.pb-sidebar {
  flex: 0 0 300px;
  position: sticky;
  top: 20px;
  height: fit-content;
}

.pb-content {
  flex: 1;
  min-width: 0;
}

/* ===== 玻璃拟态卡片 ===== */
.pb-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pb-glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(233, 69, 96, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== 头部导航 ===== */
.pb-header {
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}

.pb-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.pb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.pb-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.5));
}

.pb-nav ul {
  display: flex;
  gap: 8px;
}

.pb-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  color: #b0b0b0;
  transition: all 0.3s ease;
}

.pb-nav a i {
  font-size: 14px;
  opacity: 0.7;
}

.pb-nav a:hover,
.pb-nav li.active a {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.3), rgba(233, 69, 96, 0.1));
  color: #fff;
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.pb-nav a:hover i,
.pb-nav li.active a i {
  opacity: 1;
  color: #e94560;
}

/* 移动端菜单按钮 */
.pb-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}

.pb-menu-toggle span {
  width: 25px;
  height: 2px;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

/* ===== 轮播区域 ===== */
.pb-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

.pb-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.pb-hero-slide.active {
  opacity: 1;
}

.pb-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26, 26, 46, 0.8) 100%);
  pointer-events: none;
}

.pb-hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.pb-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pb-hero-dot.active {
  background: #e94560;
  box-shadow: 0 0 15px #e94560;
}

/* ===== 区块标题 ===== */
.pb-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.pb-section-title h2 {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
}

.pb-section-title p {
  font-size: 16px;
  color: #888;
  letter-spacing: 2px;
}

.pb-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e94560, #0f3460);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ===== 优势区块 ===== */
.pb-features {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.pb-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pb-feature-item {
  text-align: center;
  padding: 40px 30px;
}

.pb-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(15, 52, 96, 0.2));
  border-radius: 50%;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.pb-feature-icon i {
  font-size: 32px;
  color: #e94560;
}

.pb-feature-item h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 500;
}

.pb-feature-item p {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
}

/* ===== 产品/案例卡片 ===== */
.pb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pb-card {
  overflow: hidden;
  padding: 0;
}

.pb-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pb-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pb-card:hover .pb-card-image img {
  transform: scale(1.1);
}

.pb-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.pb-card:hover .pb-card-overlay {
  opacity: 1;
}

.pb-card-body {
  padding: 25px;
}

.pb-card-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 500;
}

.pb-card-title a:hover {
  color: #e94560;
}

.pb-card-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pb-card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #666;
}

.pb-card-more {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #e94560, #0f3460);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.pb-card-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
  color: #fff;
}

/* ===== 新闻列表 ===== */
.pb-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pb-news-item {
  display: flex;
  gap: 25px;
  padding: 25px;
}

.pb-news-image {
  flex: 0 0 280px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.pb-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pb-news-item:hover .pb-news-image img {
  transform: scale(1.1);
}

.pb-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pb-news-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.pb-news-title a:hover {
  color: #e94560;
}

.pb-news-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pb-news-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #666;
}

.pb-news-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pb-news-meta i {
  color: #e94560;
}

/* ===== 列表页文章列表 ===== */
.pb-article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.pb-article-item {
  display: flex;
  gap: 25px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pb-article-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 69, 96, 0.3);
  transform: translateY(-2px);
}

.pb-article-thumb {
  flex: 0 0 260px;
  height: 170px;
  border-radius: 10px;
  overflow: hidden;
}

.pb-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pb-article-item:hover .pb-article-thumb img {
  transform: scale(1.05);
}

.pb-article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.pb-article-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pb-article-title a {
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.pb-article-title a:hover {
  color: #e94560;
}

.pb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #777;
}

.pb-article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pb-article-meta i {
  color: #e94560;
  font-size: 12px;
}

.pb-article-meta a {
  color: #999;
}

.pb-article-meta a:hover {
  color: #e94560;
}

.pb-article-summary {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pb-article-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(233, 69, 96, 0.15);
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 6px;
  color: #e94560;
  font-size: 13px;
  transition: all 0.3s ease;
  width: fit-content;
}

.pb-article-read:hover {
  background: rgba(233, 69, 96, 0.25);
  color: #fff;
  border-color: #e94560;
}

.pb-empty {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.pb-empty i {
  display: block;
  margin-bottom: 15px;
  color: #444;
}

/* ===== 分页 ===== */
.pb-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0 20px;
}

.pb-pagination a,
.pb-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 14px;
  color: #999;
  transition: all 0.3s ease;
}

.pb-pagination a:hover {
  background: rgba(233, 69, 96, 0.2);
  border-color: rgba(233, 69, 96, 0.4);
  color: #fff;
}

.pb-pagination .current {
  background: linear-gradient(135deg, #e94560, #0f3460);
  border-color: #e94560;
  color: #fff;
}

/* ===== 侧边栏 ===== */
.pb-widget {
  margin-bottom: 30px;
}

.pb-widget-title {
  font-size: 18px;
  color: #fff;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(233, 69, 96, 0.5);
  position: relative;
}

.pb-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #e94560, transparent);
}

.pb-widget-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-widget-list li:last-child {
  border-bottom: none;
}

.pb-widget-list a {
  color: #999;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.pb-widget-list a:hover {
  color: #e94560;
  padding-left: 5px;
}

.pb-widget-list .rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 69, 96, 0.2);
  border-radius: 4px;
  font-size: 12px;
  color: #e94560;
  flex-shrink: 0;
}

.pb-widget-list .rank.top {
  background: linear-gradient(135deg, #e94560, #0f3460);
  color: #fff;
}

/* ===== 详情页 ===== */
.pb-article-header {
  text-align: center;
  padding: 60px 0 40px;
}

.pb-article-title {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.3;
}

.pb-article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #666;
  font-size: 14px;
}

.pb-article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pb-article-content {
  padding: 40px 0;
  line-height: 2;
  font-size: 16px;
  color: #ccc;
}

.pb-article-content p {
  margin-bottom: 1.5em;
}

.pb-article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pb-article-nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-article-nav a {
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  color: #999;
  transition: all 0.3s ease;
}

.pb-article-nav a:hover {
  background: rgba(233, 69, 96, 0.2);
  border-color: rgba(233, 69, 96, 0.3);
  color: #fff;
}

/* ===== 分页 ===== */
.pb-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 40px 0;
}

.pb-pagination a,
.pb-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  color: #999;
  transition: all 0.3s ease;
}

.pb-pagination a:hover {
  background: rgba(233, 69, 96, 0.2);
  border-color: rgba(233, 69, 96, 0.3);
  color: #fff;
}

.pb-pagination .current {
  background: linear-gradient(135deg, #e94560, #0f3460);
  border-color: #e94560;
  color: #fff;
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

/* ===== 底部 ===== */
.pb-footer {
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 20px;
  margin-top: 80px;
}

.pb-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.pb-footer-copy {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.pb-footer-copy a {
  color: #e94560;
  margin: 0 10px;
}

.pb-footer-copy a:hover {
  text-decoration: underline;
}

/* ===== 面包屑 ===== */
.pb-breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #666;
}

.pb-breadcrumb a {
  color: #999;
  margin: 0 8px;
}

.pb-breadcrumb a:first-child {
  margin-left: 0;
}

.pb-breadcrumb span {
  margin: 0 8px;
  color: #e94560;
}

/* ===== 响应式 ===== */
@media (max-width: 1199px) {
  .pb-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .pb-main-layout {
    flex-direction: column;
  }

  .pb-sidebar {
    flex: none;
    position: static;
    order: -1;
  }

  .pb-nav ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .pb-header-inner {
    height: 70px;
  }

  .pb-menu-toggle {
    display: flex;
  }

  .pb-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
  }

  .pb-nav.active {
    display: block;
  }

  .pb-nav ul {
    flex-direction: column;
  }

  .pb-nav a {
    padding: 15px 20px;
    border-radius: 8px;
  }

  .pb-hero {
    height: 350px;
  }

  .pb-section-title h2 {
    font-size: 2.2rem;
  }

  .pb-card-grid {
    grid-template-columns: 1fr;
  }

  .pb-news-item {
    flex-direction: column;
  }

  .pb-news-image {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .pb-article-title {
    font-size: 2rem;
  }

  .pb-article-meta {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pb-animate {
  animation: fadeInUp 0.6s ease forwards;
}

.pb-delay-1 { animation-delay: 0.1s; }
.pb-delay-2 { animation-delay: 0.2s; }
.pb-delay-3 { animation-delay: 0.3s; }
.pb-delay-4 { animation-delay: 0.4s; }


/* 公司名称 */
.pb-company-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-left: 16px;
  text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
  white-space: nowrap;
}
