/* ===== 产品详情页公共样式 ===== */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #e5e6eb;
}
.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.site-logo img {
  width: 40px;
  height: 40px;
}
.site-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #1d2129;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 20px;
  font-size: 14px;
  color: #1d2129;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.site-nav-item:hover {
  color: #0363e9;
}
.site-nav-item.active {
  color: #0363e9;
}
.site-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #0363e9;
}
/* 产品中心下拉菜单 */
.site-nav-dropdown {
  position: relative;
}
.site-nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 1001;
}
.site-nav-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-item {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: #1d2129;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover {
  background: #f2f3f5;
  color: #0363e9;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1d2129;
}
.site-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 32px;
  background: #0363e9;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-header-btn:hover { opacity: 0.9; }

/* Banner */
.detail-banner {
  position: relative;
  width: 100%;
  height: 480px;
  margin-top: 64px;
  overflow: hidden;
}
.detail-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-banner-overlay {
  display: none;
}
.detail-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.detail-banner h1 {
  font-size: 36px;
  font-weight: 400;
  color: #1d2129;
  margin-bottom: 16px;
}
.detail-banner p {
  font-size: 20px;
  font-weight: 400;
  color: #4e5969;
  max-width: 880px;
}

/* 视频+优势区 */
.video-advantages {
  padding: 80px 0 60px;
  background: #fff;
}
.video-block {
  max-width: 1066px;
  margin: 0 auto 64px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #3D2B1F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.video-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 400;
  color: #1d2129;
  margin-bottom: 8px;
}
.section-title-line {
  width: 128px;
  height: 4px;
  background: var(--primary, #0363e9);
  margin: 12px auto 16px;
  border-radius: 2px;
}
.section-title p {
  font-size: 16px;
  font-weight: 400;
  color: #86909c;
  max-width: 600px;
  margin: 0 auto;
}

/* 优势卡片 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.advantage-card {
  padding: 24px;
}
.advantage-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.advantage-card h4 {
  font-size: 20px;
  font-weight: 400;
  color: #1d2129;
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 16px;
  font-weight: 400;
  color: #86909c;
  line-height: 1.7;
}

/* 产品功能区 */
.features-section {
  padding: 80px 0 0;
}

/* 功能模块 - 白底 */
.feature-block {
  padding: 80px 0;
}
.feature-block .container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1440px;
}
.feature-text {
  flex: 1;
  min-width: 0;
}
.feature-text h3 {
  font-size: 24px;
  font-weight: 400;
  color: #1d2129;
  margin-bottom: 20px;
}
.feature-text p {
  font-size: 16px;
  font-weight: 400;
  color: #4e5969;
  line-height: 1.8;
  margin-bottom: 12px;
}
.feature-btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.feature-btns .btn-primary {
  background: var(--primary, #0363e9);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--primary, #0363e9);
  cursor: pointer;
  transition: opacity 0.2s;
}
.feature-btns .btn-primary:hover { opacity: 0.9; }
.feature-btns .btn-outline-blue {
  background: transparent;
  color: var(--primary, #0363e9);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--primary, #0363e9);
  cursor: pointer;
  transition: background 0.2s;
}
.feature-btns .btn-outline-blue:hover { background: rgba(3,99,233,0.05); }

.feature-image {
  flex: 1;
  min-width: 0;
}
.feature-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* 功能模块 - 蓝底 */
.feature-block.dark-blue {
  background: #0a1e5e;
}
.feature-block.dark-blue .feature-text h3 {
  color: #fff;
}
.feature-block.dark-blue .feature-text p {
  color: rgba(255,255,255,0.85);
}
.feature-block.dark-blue .btn-primary {
  background: #fff;
  color: var(--primary, #0363e9);
  border-color: #fff;
}
.feature-block.dark-blue .btn-outline-blue {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.feature-block.dark-blue .btn-outline-blue:hover {
  background: rgba(255,255,255,0.1);
}

/* 左图右文 */
.feature-block.reversed .container {
  flex-direction: row-reverse;
}

/* 数据统计引导区 — CTA背景图 + 统计数字 */
.stats-section {
  position: relative;
  overflow: hidden;
}
.stats-section-bg {
  width: 100%;
  display: block;
  min-height: 200px;
  object-fit: cover;
}
.stats-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
}
.stats-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 240px;
  box-sizing: border-box;
}
.stats-item {
  text-align: center;
}
.stats-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.stats-num {
  font-size: 48px;
  font-weight: 400;
  color: #1d2129;
}
.stats-pct {
  font-size: 36px;
  font-weight: 400;
  color: #1d2129;
}
.stats-arrow {
  width: 24px;
  height: 24px;
  margin: 6px auto;
}
.stats-arrow img {
  width: 100%;
  height: 100%;
}
.stats-label {
  font-size: 20px;
  font-weight: 400;
  color: #1d2129;
}

/* Footer 服务保障条 */
.footer-guarantees {
  padding: 32px 0;
  background: #fff;
  border-bottom: 1px solid #e5e6eb;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.footer-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-guarantee-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.footer-guarantee h5 {
  font-size: 16px;
  font-weight: 400;
  color: #1d2129;
  margin-bottom: 4px;
}
.footer-guarantee p {
  font-size: 14px;
  font-weight: 400;
  color: #4e5969;
}

/* Footer 主体 */
.footer-main-section {
  padding: 40px 0 32px;
  background: #fff;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-logo-row .logo {
  font-size: 18px;
}
.footer-nav-links {
  display: flex;
  gap: 24px;
}
.footer-nav-links a {
  font-size: 14px;
  color: #1d2129;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--primary, #0363e9); }
.footer-legal-text {
  margin-top: 16px;
}
.footer-legal-text p {
  font-size: 12px;
  font-weight: 400;
  color: #86909c;
  line-height: 1.6;
}
.footer-right {
  text-align: right;
}
.footer-right p {
  font-size: 14px;
  color: #1d2129;
  line-height: 1.8;
}
.footer-divider-bottom {
  border: none;
  border-top: 1px solid #e5e6eb;
  max-width: 1440px;
  margin: 0 auto;
}

/* 响应式 */
@media (max-width: 768px) {
  .detail-banner { height: 320px; }
  .detail-banner h1 { font-size: 28px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-block .container { flex-direction: column; gap: 32px; }
  .feature-block.reversed .container { flex-direction: column; }
  .stats-section { height: auto; }
  .stats-section-bg { position: relative; }
  .footer-guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 产品/解决方案页公共Footer ========== */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e6eb;
}
.site-footer > .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 40px;
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-top: none;
  padding: 0;
  font-size: 14px;
  color: #1d2129;
}
.site-footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.site-footer .footer-nav-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-footer .footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: #1d2129;
  text-decoration: none;
  white-space: nowrap;
}
.site-footer .footer-nav {
  display: flex;
  gap: 24px;
}
.site-footer .footer-nav a {
  font-size: 14px;
  color: #1d2129;
  text-decoration: none;
}
.site-footer .footer-nav a:hover { color: #0363e9; }
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer .footer-contact-row {
  font-size: 14px;
  color: #1d2129;
  display: flex;
}
.site-footer .footer-copyright {
  padding: 16px 0 8px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}
.site-footer .footer-copyright p {
  font-size: 12px;
  color: #86909c;
  line-height: 1.8;
}

/* 去掉保障条和footer之间的多余分割线 */
.site-footer {
  border-top: none !important;
}
.footer-guarantees {
  border-bottom: none !important;
}
