/* ===== 网站配色案例预览 ===== */

.detail-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 16px;
}
.detail-divider::before,
.detail-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.detail-divider-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.site-preview-section {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.site-preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color var(--transition-slow);
}

/* 导航栏 */
.sp-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.sp-nav-logo {
  font-weight: 750;
  font-size: 15px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.sp-nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.sp-nav-links li {
  width: 40px;
  height: 8px;
  border-radius: 4px;
  opacity: 0.6;
}
.sp-nav-links li.active {
  opacity: 1;
  width: 50px;
}

/* Hero */
.sp-hero {
  padding: 40px 24px;
  text-align: center;
}
.sp-hero h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.sp-hero p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.sp-hero-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.2px;
  border: none;
  cursor: default;
  transition: transform var(--transition-fast);
}

/* 卡片区 */
.sp-section-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px 0;
  opacity: 0.7;
}
.sp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 24px 28px;
}
.sp-card {
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  transition: transform var(--transition-fast);
}
.sp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}
.sp-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}
.sp-card p {
  font-size: 11px;
  opacity: 0.7;
  line-height: 1.5;
  margin: 0;
}

/* 数据统计 */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sp-stat {
  text-align: center;
  padding: 24px 12px;
}
.sp-stat-num {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.sp-stat-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.65;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* 客户引语 */
.sp-quote {
  text-align: center;
  padding: 32px 24px;
}
.sp-quote-text {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 12px;
  opacity: 0.9;
}
.sp-quote-author {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
}

/* CTA 横幅 */
.sp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.sp-cta-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.sp-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 650;
  border: none;
  cursor: default;
  white-space: nowrap;
}

/* 底部 */
.sp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 500;
  gap: 16px;
}
.sp-footer-dots {
  display: flex;
  gap: 6px;
}
.sp-footer-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.5;
}

/* 响应式 */
@media (max-width: 600px) {
  .sp-navbar { padding: 12px 16px; }
  .sp-nav-links { gap: 12px; }
  .sp-nav-links li { width: 28px; height: 6px; }
  .sp-hero { padding: 28px 16px; }
  .sp-hero h3 { font-size: 19px; }
  .sp-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px 20px;
  }
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-stat { padding: 16px 8px; }
  .sp-stat-num { font-size: 22px; }
  .sp-cta { flex-direction: column; text-align: center; padding: 20px 16px; }
  .sp-footer { padding: 12px 16px; }
}
