
/* ===== 子页面通用样式 ===== */

/* 页面横幅 */
.page-banner {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}
.page-banner-icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.page-banner .product-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* 详情区域 */
.detail-section {
  padding: 60px 0 80px;
  background: #fff;
}
.detail-section .section-title {
  margin-bottom: 32px;
}

/* 产品详情页 - 头图 */
.detail-hero {
  text-align: center;
  margin-bottom: 48px;
}
.detail-hero-image {
  display: inline-block;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.detail-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* 核心功能列表 */
.detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.detail-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  transition: box-shadow 0.3s;
}
.detail-feature:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.detail-feature-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.detail-feature-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 6px;
}
.detail-feature-info p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* 适用场景标签 */
.detail-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.detail-scenarios .tag {
  display: inline-block;
  padding: 10px 24px;
  background: #f0f4ff;
  color: #4f46e5;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e0e7ff;
  transition: all 0.3s;
}
.detail-scenarios .tag:hover {
  background: #4f46e5;
  color: #fff;
}

/* CTA区块 */
.detail-cta {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 16px;
  margin-top: 32px;
}
.detail-cta h3 {
  font-size: 22px;
  color: #1a202c;
  margin-bottom: 8px;
}
.detail-cta p {
  color: #64748b;
  margin-bottom: 24px;
}

/* ===== 解决方案 - 痛点/方案 ===== */
.pain-grid, .sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.pain-item, .sol-item {
  padding: 24px;
  border-radius: 12px;
}
.pain-item {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.sol-item {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.pain-item h4, .sol-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pain-item h4 { color: #991b1b; }
.sol-item h4 { color: #166534; }
.pain-item p, .sol-item p {
  font-size: 14px;
  line-height: 1.6;
}
.pain-item p { color: #b91c1c; }
.sol-item p { color: #15803d; }

/* 客户案例 */
.case-study {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 32px;
}
.case-study h3 {
  font-size: 16px;
  color: #92400e;
  margin-bottom: 8px;
}
.case-study p {
  font-size: 14px;
  color: #a16207;
  line-height: 1.8;
}

/* ===== 渠道合作 - 优势网格 ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.adv-item {
  padding: 24px;
  border-radius: 12px;
  background: #f0f4ff;
  border: 1px solid #e0e7ff;
}
.adv-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #3730a3;
  margin-bottom: 8px;
}
.adv-item p {
  font-size: 14px;
  color: #6366f1;
  line-height: 1.6;
}

/* ===== 关于我们 ===== */
.about-detail h3 {
  font-size: 20px;
  color: #1a202c;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #4f46e5;
}
.about-detail p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* 发展历程 - 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #4f46e5, #7c3aed);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #4f46e5;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #4f46e5;
}
.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-content h3 {
  font-size: 18px;
  color: #1a202c;
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* 联系我们 */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  transition: box-shadow 0.3s;
}
.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 16px;
  color: #1a202c;
  margin-bottom: 8px;
}
.contact-value {
  font-size: 18px;
  font-weight: 600;
  color: #4f46e5 !important;
  margin-bottom: 4px !important;
}
.contact-card p {
  font-size: 13px;
  color: #94a3b8;
}

/* 联系表单 */
.contact-form-section {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form-section h3 {
  font-size: 22px;
  color: #1a202c;
  text-align: center;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1a202c;
  background: #fff;
  transition: border-color 0.3s;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.contact-form textarea {
  margin-bottom: 16px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
}

/* 加入我们 */
.join-intro {
  text-align: center;
  margin-bottom: 48px;
}
.join-intro p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 12px;
}
.job-list {
  max-width: 720px;
  margin: 0 auto;
}
.job-item {
  padding: 24px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  margin-bottom: 16px;
  transition: box-shadow 0.3s;
}
.job-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.job-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.job-header h3 {
  font-size: 17px;
  color: #1a202c;
  font-weight: 600;
}
.job-header .tag {
  padding: 4px 12px;
  background: #f0f4ff;
  color: #4f46e5;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.job-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ===== 产品详情独立区块（5款设备） ===== */
.product-detail-block {
  margin-bottom: 0;
}
.product-detail-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 36px;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.product-detail-image {
  flex-shrink: 0;
  width: 280px;
}
.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.product-detail-info {
  flex: 1;
}
.product-detail-info .product-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  border: none;
}
.product-detail-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}
.product-desc {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.7 !important;
}

.sub-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin: 32px 0 20px;
  padding-left: 14px;
  border-left: 4px solid #4f46e5;
}

.product-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  margin: 48px 0;
}

/* ===== 设备卡片网格（保留兼容） ===== */
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.device-card {
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8ecf2;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.device-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  opacity: 0;
  transition: opacity 0.3s;
}
.device-card:hover {
  box-shadow: 0 8px 32px rgba(79,70,229,0.12);
  transform: translateY(-4px);
  border-color: #c7d2fe;
}
.device-card:hover::before {
  opacity: 1;
}
.device-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.device-card-icon svg {
  display: block;
}
.device-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}
.device-card > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
}
.device-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.device-specs li {
  font-size: 13px;
  color: #475569;
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}
.device-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f46e5;
  opacity: 0.6;
}

/* ===== 子页面响应式 ===== */
@media (max-width: 768px) {
  .page-banner { padding: 80px 0 40px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner p { font-size: 14px; }
  .page-banner-icon { font-size: 40px; }

  .detail-features,
  .pain-grid,
  .sol-grid,
  .adv-grid,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .device-specs {
    grid-template-columns: 1fr;
  }

  /* 产品详情区块响应式 */
  .product-detail-hero {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 24px;
  }
  .product-detail-image { width: 220px; }
  .sub-section-title { font-size: 18px; margin-top: 24px; }
  .product-divider { margin: 32px 0; }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .detail-cta { padding: 32px 20px; }

  .timeline { padding-left: 30px; }
  .timeline-item::before { left: -23px; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 22px; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .detail-feature { padding: 16px; }
}

/* ===== 产品多图展示（停车场系统等） ===== */
.product-detail-images {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
}
.product-detail-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 12px;
}
.product-detail-images img:last-child {
  margin-bottom: 0;
}

/* 当产品详情hero使用多图时，切换为竖向布局 */
.product-detail-hero.hero-multi-image {
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .product-detail-images {
    max-width: 100%;
  }
  .product-detail-hero.hero-multi-image {
    align-items: center;
  }
}

/* 公司资质展示 */
.qualification-section {
  background: #f8f9fa;
  padding: 80px 0;
}
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
}
.qualification-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.qualification-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.qualification-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  background: #f5f5f5;
}
.qualification-name {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}

@media (max-width: 768px) {
  .qualification-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  .qualification-section {
    padding: 48px 0;
  }
}
