/* 数智物联安全网关 single-post8 — 主色参考稿 #00A0E9，素材 static/picture/sz */

:root {
  --sp8-primary: #00a0e9;
  --sp8-primary-dark: #0088c6;
  --sp8-accent-red: #e60012;
  --sp8-text: #1a1a1a;
  --sp8-muted: #555;
  --sp8-section-bg: #f0f4f8;
}

.sp8-landing {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  scroll-behavior: smooth;
}

/* 页面目录导航 */
.sp8-page-nav {
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 160, 233, 0.15);
  box-shadow: 0 4px 16px rgba(0, 56, 96, 0.06);
  backdrop-filter: blur(8px);
}

.sp8-page-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}

.sp8-page-nav-list a {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.sp8-page-nav-list a:hover {
  color: var(--sp8-primary);
}

.sp8-page-nav-list a.is-active {
  color: var(--sp8-primary);
  font-weight: 700;
  border-bottom-color: var(--sp8-primary);
}

.sp8-landing section[id] {
  scroll-margin-top: 56px;
}

.sp8-landing * {
  box-sizing: border-box;
}

/* Hero：默认渐变；带 .sp8-hero--has-bg 时用 .sp8-hero-bg-img 铺背景 */
.sp8-hero {
  position: relative;
  padding: 44px 0 52px;
  overflow: hidden;
  background: linear-gradient(105deg, #f8fbff 0%, #eef5fb 38%, #e2f0f9 72%, #d9ebf7 100%);
}

/* 切图：各产品 {产品名}@2x.png 作 Hero 全宽背景（含右侧 3D）；数智等无专属横幅时用背景+独立插图 */
.sp8-hero.sp8-hero--has-bg {
  position: relative;
  background: #e8f4fc;
  padding: clamp(36px, 4.5vw, 52px) 0 clamp(40px, 5vw, 56px);
  /* min-height: max(calc(100vw * 620 / 2880), 260px); */
  height: 450px;
  overflow: hidden;
}

.sp8-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.sp8-hero--has-bg:not(.sp8-hero--split) .sp8-hero-text-col {
  max-width: min(640px, 52%);
}

.sp8-hero--has-bg::after {
  content: none;
  display: none;
}

.sp8-hero-text-col {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.sp8-hero-inner {
  position: relative;
  z-index: 2;
}

/* 独立 3D 插图容器（透明底 PNG，如 sz/4.png） */
.sp8-hero-visual-wrap--illustration {
  height: auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(200px, 21.53vw, 300px);
}

.sp8-hero-visual-wrap--illustration .sp8-hero-illustration {
  max-width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 20px 48px rgba(0, 100, 160, 0.14));
}

.sp8-hero:not(.sp8-hero--has-bg)::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0, 130, 190, 0.045) 4px,
    rgba(0, 130, 190, 0.045) 5px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 55%);
}

.sp8-hero:not(.sp8-hero--has-bg)::after {
  content: "";
  position: absolute;
  top: 8%;
  right: 2%;
  width: 48%;
  height: 84%;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 54%, rgba(0, 170, 230, 0.07) 54.2%, rgba(0, 170, 230, 0.07) 54.8%, transparent 55%),
    linear-gradient(118deg, transparent 68%, rgba(0, 170, 230, 0.06) 68.2%, rgba(0, 170, 230, 0.06) 68.8%, transparent 69%),
    linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, 0.35) 40.5%, rgba(255, 255, 255, 0.35) 41%, transparent 41.5%);
  opacity: 0.85;
}

.sp8-hero-visual-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.sp8-hero-illustration {
  max-width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 20px 48px rgba(0, 100, 160, 0.14));
}

/* 标题区短蓝分隔线 */
.sp8-hero-accent {
  display: block;
  width: 56px;
  height: 5px;
  margin: 0 0 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sp8-primary), #4dc8ff);
}

.sp8-breadcrumb {
  margin-bottom: 16px;
}

.sp8-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.sp8-breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #aaa;
  font-weight: 400;
}

.sp8-breadcrumb-list a {
  color: #666;
  text-decoration: none;
}

.sp8-breadcrumb-list a:hover {
  color: var(--sp8-primary);
}

.sp8-breadcrumb-list li[aria-current="page"] {
  color: var(--sp8-primary);
  font-weight: 600;
}

.sp8-hero-product-title {
  font-size: 2.125rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.sp8-hero .sp8-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #3a3a3a;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.sp8-hero .sp8-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4a4a;
  max-width: none;
  margin-bottom: 0;
}

/* PDF 条 */
.sp8-pdf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 22px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid rgba(0, 100, 140, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 60, 100, 0.07);
}

.sp8-pdf-bar-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 0;
}

.sp8-pdf-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.sp8-pdf-icon-svg {
  display: block;
  width: 28px;
  height: 35px;
}

.sp8-pdf-text {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
}

a.sp8-pdf-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--sp8-primary);
  color: #fff !important;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

a.sp8-pdf-btn:hover {
  background: var(--sp8-primary-dark);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 160, 233, 0.35);
}

/* 章节标题 */
.sp8-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.sp8-section-title h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sp8-text);
  margin-bottom: 12px;
}

.sp8-section-title .sp8-ribbon {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--sp8-primary), #4dc8ff);
  border-radius: 2px;
}

/* 系统架构 */
.sp8-arch {
  padding: 44px 0 48px;
  background: #fff;
}

.sp8-arch-figure {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
  background: #fafbfd;
  border: 1px solid #e8eef5;
  box-shadow: 0 8px 32px rgba(0, 40, 100, 0.06);
}

.sp8-arch-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* 场景痛点：整图 7.png */
.sp8-pain-sol {
  padding: 48px 0 56px;
  background: var(--sp8-section-bg);
}

.sp8-pain-sol-figure {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 30, 80, 0.08);
  background: #fff;
}

.sp8-pain-sol-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* 核心能力 */
.sp8-core {
  padding: 48px 0 72px;
  background: #fff;
}

.sp8-section-title--divider {
  margin-bottom: 40px;
}

.sp8-section-title--divider h2 {
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.sp8-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.sp8-title-divider-line {
  flex: 1;
  height: 1px;
  background: #d8dee6;
}

.sp8-title-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #b8c0cc;
  flex-shrink: 0;
}

.sp8-core-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.sp8-core-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0 8px;
  margin: 0;
  padding: 0 8px;
}

.sp8-core-tabs button {
  border: none;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 14px 14px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.4;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
}

.sp8-core-tabs button:hover,
.sp8-core-tabs button:focus {
  color: var(--sp8-primary);
  outline: none;
}

.sp8-core-tabs button.is-active {
  color: #1a1a1a;
  font-weight: 700;
  background: transparent;
  border-bottom-color: var(--sp8-primary);
}

.sp8-core-panels {
  border: 1px solid #c5d0dc;
  background: #fff;
  margin-top: 0;
}

.sp8-core-panel {
  display: none;
  margin: 0;
  padding: 28px 32px 32px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

.sp8-core-panel.is-active {
  display: block;
}

.sp8-core-panel-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .sp8-hero:not(.sp8-hero--has-bg)::after {
    opacity: 0.5;
    width: 70%;
  }

  .sp8-hero--has-bg:not(.sp8-hero--split) .sp8-hero-text-col {
    max-width: 100%;
  }

  .sp8-hero--has-bg {
    min-height: max(calc(100vw * 620 / 2880), 280px);
    padding: 32px 0 36px;
  }

  .sp8-hero-visual-wrap--illustration {
    min-height: 180px;
    margin-top: 20px;
    justify-content: center;
  }

  .sp8-hero-text-col {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .sp8-pdf-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .sp8-pdf-btn {
    text-align: center;
    width: 100%;
  }
}

/* 产品详情通用内容区块（切图整段） */
.sp8-content-section {
  padding: 44px 0 48px;
  background: #fff;
}

.sp8-content-section.is-alt {
  background: var(--sp8-section-bg);
}

.sp8-section-figure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 40, 100, 0.06);
  background: #fff;
}

.sp8-section-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

@media (max-width: 767px) {
  .sp8-page-nav-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px;
  }

  .sp8-page-nav-list a {
    font-size: 14px;
    padding: 12px 14px;
    flex-shrink: 0;
  }

  .sp8-hero-product-title {
    font-size: 1.65rem;
  }

  .sp8-hero-visual-col {
    padding-top: 8px;
  }

  .sp8-core-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .sp8-core-tabs button {
    font-size: 13px;
    padding: 10px 12px 12px;
    flex-shrink: 0;
  }

  .sp8-core-panel {
    padding: 16px 12px 20px;
  }

  .sp8-content-section {
    padding: 32px 0 36px;
  }
}

.sp9-scene-tabs {
  justify-content: center;
  gap: 0 24px;
}

.sp9-scene-tabs button {
  min-width: 140px;
  font-size: 15px;
}

@media (max-width: 767px) {
  .sp9-scene-tabs {
    gap: 0 8px;
  }

  .sp9-scene-tabs button {
    min-width: 0;
    font-size: 14px;
    padding: 10px 16px 12px;
  }
}

.sp12-feature-tabs {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px 8px;
  overflow-x: visible;
  padding-bottom: 4px;
}

.sp12-feature-tabs button {
  min-width: 0;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  padding: 12px 16px 14px;
}

@media (max-width: 767px) {
  .sp12-feature-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0 8px;
  }

  .sp12-feature-tabs button {
    padding: 10px 14px 12px;
  }
}

#sp8-s2 .sp8-core-panels {
  background: #fff;
  border-color: rgba(0, 160, 233, 0.14);
}

#sp8-s2 .sp8-core-panel {
  background: #fff;
}

.sp12-arch-panel {
  background: #fff;
  border: 1px solid rgba(0, 160, 233, 0.14);
  box-shadow: 0 8px 32px rgba(0, 40, 100, 0.06);
  padding: clamp(12px, 2vw, 20px);
}

.sp8-core-panel.is-dark {
  background: linear-gradient(180deg, #0a1420 0%, #101c2e 100%);
  border: none;
  padding: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px);
}

.sp8-core-panel.is-dark .sp8-core-panel-img {
  border-radius: 6px;
}

.sp12-arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
}

.sp12-arch-panel {
  margin: 0;
}

.sp8-section-figure.is-dark {
  background: linear-gradient(180deg, #0a1420 0%, #101c2e 100%);
  border: 1px solid rgba(0, 160, 233, 0.22);
  box-shadow: 0 12px 40px rgba(0, 30, 80, 0.12);
  padding: clamp(12px, 2vw, 20px);
}

.sp8-section-figure.is-dark img {
  border-radius: 6px;
}

.sp12-arch-panel.is-dark {
  position: relative;
}

.sp12-arch-panel.is-dark::before,
.sp12-arch-panel.is-dark::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(0, 160, 233, 0.5);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.sp12-arch-panel.is-dark::before {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}

.sp12-arch-panel.is-dark::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

@media (max-width: 767px) {
  .sp12-arch-grid {
    grid-template-columns: 1fr;
  }
}

.sp-vpn-tech-tabs {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px 8px;
  overflow-x: visible;
  padding-bottom: 4px;
}

.sp-vpn-tech-tabs button {
  min-width: 0;
  flex-shrink: 0;
  font-size: 14px;
  padding: 12px 16px 14px;
}

@media (max-width: 767px) {
  .sp-vpn-tech-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0 8px;
  }

  .sp-vpn-tech-tabs button {
    white-space: nowrap;
    padding: 10px 14px 12px;
  }
}
