/* ===== SPTIT Custom — 仅覆盖 Bootstrap 不自带的部分 ===== */

/* 1. 品牌色覆盖 Bootstrap 变量 */
:root {
  --bs-primary: #0f4c75;
  --bs-accent: #00b4d8;
  --bs-primary-rgb: 15, 76, 117;
  --bs-accent-rgb: 0, 180, 216;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover {
  background-color: #0a3658;
  border-color: #0a3658;
}
.btn-secondary {
  background-color: var(--bs-accent);
  border-color: var(--bs-accent);
}
.btn-secondary:hover {
  background-color: #0097b5;
  border-color: #0097b5;
}

/* 2. Hero 深色背景 */
.hero-section {
  background: linear-gradient(135deg, #0a3658 0%, #0f4c75 100%);
  color: #fff;
  padding: 96px 0;
}
.hero-section h1 { color: #fff; font-weight: 800; }
.hero-section h1 .highlight {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-section p { color: rgba(255,255,255,0.9); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-size: 0.8rem; padding: 6px 14px; border-radius: 100px;
}

/* 3. 业务主题变体（运维=绿 / 硬件=橙 / 软件=蓝 / 企微托管=紫） */
.theme-it   { --theme: #16a34a; --theme-light: rgba(34,197,94,.1);  --theme-dark: #15803d; }
.theme-shop { --theme: #ea8c2c; --theme-light: rgba(251,146,60,.1); --theme-dark: #c2410c; }
.theme-soft { --theme: #2563eb; --theme-light: rgba(59,130,246,.1);--theme-dark: #1d4ed8; }
.theme-wecom { --theme: #7c3aed; --theme-light: rgba(139,92,246,.12); --theme-dark: #5b21b6; }

.card.theme-card {
  border-top: 4px solid var(--theme);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.card.theme-card .theme-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  background: var(--theme-light); color: var(--theme-dark);
  padding: 3px 10px; border-radius: 100px; margin-left: 8px; vertical-align: middle;
}
.card.theme-card .theme-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--theme-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
}
.card.theme-card .theme-price {
  font-size: 1.4rem; font-weight: 800; color: var(--theme);
}
.card.theme-card .theme-pill {
  font-size: 0.78rem; font-weight: 600; color: var(--theme-dark);
  background: var(--theme-light); padding: 4px 12px; border-radius: 100px;
}
.card.theme-card .btn-theme {
  background: var(--theme); color: #fff; border: none;
}
.card.theme-card .btn-theme:hover { background: var(--theme-dark); color: #fff; }

/* 4. 无盘系统全宽卡 · 深蓝 feature 卡 */
.card.feature-dark {
  background: linear-gradient(160deg, #0f4c75 0%, #1b6ca8 100%);
  border: none; color: #fff; border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15,76,117,0.25);
}
.card.feature-dark .card-title { color: #fff; }
.card.feature-dark .card-text,
.card.feature-dark ul { color: rgba(255,255,255,0.9); }
.card.feature-dark .feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.15); color: #7dd3fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
}
.card.feature-dark ul li::before { color: #7dd3fc; margin-right: 6px; }
.card.feature-dark .extra-pill {
  font-size: 0.78rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.15); padding: 4px 12px; border-radius: 100px;
}

/* 5. Section 工具类 */
.section-dark {
  background: linear-gradient(135deg, #0f4c75 0%, #0a3658 100%);
  color: #fff;
}
.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-soft { background: #f8fafc; }

/* 6. 导航栏 */
.navbar-logo-img {
  height: 28px; margin-right: 8px; vertical-align: middle;
}
.navbar.navbar-shrink {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 7. 二维码图片 */
.qr-img {
  width: 180px; max-width: 100%; border-radius: 12px;
}

/* 8. 微信客服浮动按钮 */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%;
  background: #2aae67; color: #fff; border: none;
  font-size: 1.4rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.fab:hover { background: #239155; color: #fff; }

/* 9. Hero 右侧玻璃卡片 */
.hero-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px; padding: 28px; color: #fff;
}
.hero-glass h3 { color: #fff; font-weight: 700; }
.hero-glass .stat-num {
  font-size: 1.8rem; font-weight: 800; color: #fff;
}
.hero-glass .stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
}

/* 10. 业务概览子卡 */
.hero-overview-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 16px;
  text-decoration: none; color: #fff; transition: all .2s ease;
}
.hero-overview-card:hover {
  background: rgba(255,255,255,0.2); transform: translateX(4px);
}
.hero-overview-card h5 { color: #fff; font-weight: 700; margin: 0; font-size: 0.92rem; }
.hero-overview-card p { color: rgba(255,255,255,0.85); margin: 2px 0 0; font-size: 0.78rem; }
.hero-overview-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}

/* 11. Hero 统计数字 */
.hero-stat-num {
  font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat-num span {
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-left: 4px;
}
.hero-stat-label {
  font-size: 0.82rem; color: rgba(255,255,255,0.9); margin-top: 6px;
}

/* 12. Feature list */
.feature-list li { padding: 4px 0; }
.feature-list li::before { content: "✓"; color: #7dd3fc; font-weight: 700; margin-right: 8px; }

/* 13. 关于我们 logo 网格 */
.about-logo-cell {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 20px; text-align: center; font-size: 0.8rem; color: #64748b;
}

/* 14. Section header */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  color: var(--bs-primary); text-transform: uppercase;
}
.section-header h2 { font-weight: 800; color: var(--bs-primary); margin-bottom: 12px; }
.section-dark .section-header .section-tag,
.section-dark .section-header h2 { color: #fff; }
.section-header .section-desc { color: #64748b; margin: 0 auto; }
.section-dark .section-header .section-desc { color: rgba(255,255,255,0.8); }

/* 深色区表单容器 + 控件（统一接管，不允许多重边框） */
.section-dark label { color: #fff; }
.section-dark .form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}
.section-dark .form-control,
.section-dark .form-select {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: none;
}
.section-dark .form-control::placeholder { color: rgba(255,255,255,0.55); }
.section-dark .form-control:focus,
.section-dark .form-select:focus {
  background-color: rgba(255,255,255,0.14);
  border-color: var(--bs-accent);
  color: #fff;
  box-shadow: 0 0 0 .25rem rgba(0,180,216,.25);
}
.section-dark .form-select { color: #fff; }
.section-dark .form-select option { color: #212529; }

/* 15. 服务流程步骤 */
.process-step {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 28px 16px; text-align: center; transition: all .2s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.process-step .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bs-primary); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; box-shadow: 0 4px 12px rgba(15,76,117,0.25);
}

/* 16. 联系信息（深色 section 下通用） */
.section-dark .contact-info .contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.section-dark .contact-info .contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.section-dark .contact-info h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.section-dark .contact-info a,
.section-dark .contact-info p  { color: rgba(255,255,255,0.85); margin: 0; text-decoration: none; }
.section-dark .contact-info a:hover { color: #7dd3fc; }

/* 17. Footer */
.site-footer {
  background: #0a3658; color: rgba(255,255,255,0.8);
  padding: 32px 0; font-size: 0.88rem;
}
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
