/* ============================================================
   服务中心页 — 互联网大厂风格
   深蓝渐变Hero + 侧边栏 + 服务内容 + FAQ + CTA
   品牌主色: #0f6ab4 | 前缀: sc- | 部署: /skin/css/service-portal.css
   ============================================================ */

/* ===== Variables ===== */
:root {
  --sc-primary: #0f6ab4;
  --sc-primary-dark: #0a4d80;
  --sc-primary-light: #e8f4fc;
  --sc-accent: #00c6ff;
  --sc-text-1: #1a1a2e;
  --sc-text-2: #555;
  --sc-text-3: #888;
  --sc-bg: #ffffff;
  --sc-bg-alt: #f7f9fc;
  --sc-border: #eef0f4;
  --sc-border-dark: #e0e3e8;
  --sc-radius: 16px;
  --sc-radius-sm: 10px;
  --sc-shadow: 0 4px 24px rgba(15, 106, 180, 0.08);
  --sc-shadow-hover: 0 12px 40px rgba(15, 106, 180, 0.15);
  --sc-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --sc-max: 1200px;
}

/* ===== Reset (scoped) ===== */
.sc-wrapper *, .sc-wrapper *::before, .sc-wrapper *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.sc-wrapper {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 15px; color: var(--sc-text-1); line-height: 1.6;
  background: var(--sc-bg); -webkit-font-smoothing: antialiased;
}
.sc-wrapper ul, .sc-wrapper ol { list-style: none; }
.sc-wrapper a { color: inherit; text-decoration: none; transition: var(--sc-transition); }
.sc-wrapper img { display: block; max-width: 100%; height: auto; }
.sc-wrapper h1, .sc-wrapper h2, .sc-wrapper h3, .sc-wrapper h4 { margin: 0; padding: 0; }

/* Hide original secondary nav */
.nav_pc, .nav_phone { display: none !important; }

/* Override original container overflow */
.sc-wrapper .container,
#bann.sc-bann .container,
.sc-cta .container { overflow: visible; }

/* ===== Hero ===== */
#bann.sc-bann {
  position: relative;
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, #0a1628 0%, #0f6ab4 50%, #0a4d80 100%) !important;
  color: #fff;
  overflow: hidden;
  height: auto !important;
}
#bann.sc-bann::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
#bann.sc-bann::after {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
#bann.sc-bann .container {
  max-width: var(--sc-max); width: 100%; margin: 0 auto;
  height: auto; display: block; transform: none;
  flex-direction: initial; justify-content: initial; align-items: initial;
  position: relative; z-index: 2; overflow: visible;
}

/* Breadcrumb */
.sc-breadcrumb.sc-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.55);
  margin-bottom: 28px; list-style: none; padding: 0; flex-wrap: wrap;
}
.sc-breadcrumb li { display: flex; align-items: center; gap: 6px; list-style: none; }
.sc-breadcrumb li::after { content: "/"; color: rgba(255,255,255,.3); font-size: 12px; }
.sc-breadcrumb li:last-child::after { display: none; }
.sc-breadcrumb a { color: rgba(255,255,255,.7); }
.sc-breadcrumb a:hover { color: #fff; }
.sc-breadcrumb li:last-child { color: rgba(255,255,255,.9); max-width: 100%; white-space: normal; }

.sc-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px; font-size: 13px; color: rgba(255,255,255,.8);
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.sc-hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sc-accent); box-shadow: 0 0 8px var(--sc-accent);
}
.sc-hero-title {
  font-size: 40px; font-weight: 700; color: #fff;
  letter-spacing: 1px; line-height: 1.3; margin-bottom: 16px;
}
.sc-hero-desc {
  font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 32px; max-width: 640px;
}
.sc-hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.sc-hero-stat .num { font-size: 32px; font-weight: 700; color: var(--sc-accent); line-height: 1; margin-bottom: 4px; }
.sc-hero-stat .label { font-size: 14px; color: rgba(255,255,255,.6); }

/* ===== Service Features Grid ===== */
.sc-features { padding: 80px 0; background: var(--sc-bg); }
.sc-features .container { max-width: var(--sc-max); width: 100%; margin: 0 auto; overflow: visible; }
.sc-section-head { text-align: center; margin-bottom: 48px; }
.sc-section-head .sc-eyebrow {
  display: inline-block; font-size: 14px; color: var(--sc-primary);
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.sc-section-head h2 { font-size: 32px; font-weight: 700; color: var(--sc-text-1); margin-bottom: 16px; }
.sc-section-head p { font-size: 16px; color: var(--sc-text-2); max-width: 600px; margin: 0 auto; }

.sc-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sc-feature-card {
  padding: 32px 28px; background: var(--sc-bg);
  border: 1px solid var(--sc-border); border-radius: var(--sc-radius);
  transition: var(--sc-transition); position: relative; overflow: hidden;
}
.sc-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.sc-feature-card:hover { transform: translateY(-6px); box-shadow: var(--sc-shadow-hover); border-color: var(--sc-primary); }
.sc-feature-card:hover::before { transform: scaleX(1); }
.sc-feature-card .sc-feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--sc-primary-light), #d1e9f9); color: var(--sc-primary);
}
.sc-feature-card h3 { font-size: 18px; font-weight: 700; color: var(--sc-text-1); margin-bottom: 8px; }
.sc-feature-card p { font-size: 14px; color: var(--sc-text-2); line-height: 1.8; }

/* ===== Main Layout ===== */
.sc-main { padding: 64px 0 80px; background: var(--sc-bg-alt); }
.sc-main .container { max-width: var(--sc-max); width: 100%; margin: 0 auto; overflow: visible; }
.sc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

/* ===== Sidebar ===== */
.sc-sidebar { position: sticky; top: 90px; }
.sc-sidebar-block { margin-bottom: 24px; }
.sc-sidebar-title {
  font-size: 15px; font-weight: 700; color: var(--sc-text-1);
  padding: 0 0 14px; margin-bottom: 14px;
  border-bottom: 2px solid var(--sc-primary);
  display: flex; align-items: center; gap: 8px;
}
.sc-sidebar-title::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--sc-primary), var(--sc-accent));
}
.sc-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sc-sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: var(--sc-radius-sm);
  font-size: 14px; color: var(--sc-text-2); transition: var(--sc-transition);
  border-left: 3px solid transparent;
}
.sc-sidebar-nav a:hover { background: var(--sc-primary-light); color: var(--sc-primary); border-left-color: var(--sc-primary); }
.sc-sidebar-nav a.active { background: var(--sc-primary-light); color: var(--sc-primary); font-weight: 600; border-left-color: var(--sc-primary); }
.sc-sidebar-nav a .sc-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sc-border-dark); transition: var(--sc-transition); }
.sc-sidebar-nav a:hover .sc-nav-dot, .sc-sidebar-nav a.active .sc-nav-dot { background: var(--sc-primary); }

/* Sidebar quick links */
.sc-sidebar-quick { display: flex; flex-direction: column; gap: 8px; }
.sc-quick-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--sc-radius-sm);
  background: var(--sc-bg); border: 1px solid var(--sc-border);
  font-size: 14px; color: var(--sc-text-2); transition: var(--sc-transition);
}
.sc-quick-link:hover { border-color: var(--sc-primary); color: var(--sc-primary); transform: translateX(4px); }
.sc-quick-link svg { flex-shrink: 0; }

/* Sidebar contact */
.sc-sidebar-contact {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  border-radius: var(--sc-radius); padding: 24px 20px; color: #fff;
  position: relative; overflow: hidden;
}
.sc-sidebar-contact::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.1);
}
.sc-sidebar-contact h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; position: relative; }
.sc-sidebar-contact .sc-contact-phone { font-size: 20px; font-weight: 700; color: var(--sc-accent); margin-bottom: 12px; position: relative; }
.sc-sidebar-contact p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 16px; position: relative; }
.sc-sidebar-contact .sc-contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 8px;
  background: var(--sc-accent); color: #0a1628;
  font-size: 13px; font-weight: 600; position: relative;
}
.sc-sidebar-contact .sc-contact-btn:hover { background: #00b4e6; transform: translateY(-2px); }

/* ===== Content Area ===== */
.sc-content-card {
  background: var(--sc-bg); border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius); padding: 40px; box-shadow: var(--sc-shadow);
}
.sc-content-card h2 { font-size: 24px; font-weight: 700; color: var(--sc-text-1); margin-bottom: 16px; margin-top: 28px; }
.sc-content-card h2:first-child { margin-top: 0; }
.sc-content-card h3 { font-size: 18px; font-weight: 700; color: var(--sc-text-1); margin-bottom: 12px; margin-top: 24px; }
.sc-content-card p { font-size: 15px; line-height: 1.9; color: var(--sc-text-2); margin-bottom: 16px; }
.sc-content-card ul, .sc-content-card ol { margin: 16px 0; padding-left: 24px; }
.sc-content-card li { margin-bottom: 8px; font-size: 15px; color: var(--sc-text-2); line-height: 1.8; }
.sc-content-card ul li { list-style: disc; }
.sc-content-card ol li { list-style: decimal; }
.sc-content-card img { max-width: 100%; height: auto; border-radius: var(--sc-radius-sm); margin: 20px 0; }
.sc-content-card strong { color: var(--sc-text-1); }
.sc-content-card a { color: var(--sc-primary); }
.sc-content-card table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.sc-content-card th, .sc-content-card td { padding: 12px 16px; border: 1px solid var(--sc-border); font-size: 14px; text-align: left; }
.sc-content-card th { background: var(--sc-bg-alt); font-weight: 600; color: var(--sc-text-1); }

/* ===== Process Steps ===== */
.sc-process { padding: 80px 0; background: var(--sc-bg); }
.sc-process .container { max-width: var(--sc-max); width: 100%; margin: 0 auto; overflow: visible; }
.sc-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.sc-process-step {
  text-align: center; padding: 32px 20px;
  background: var(--sc-bg-alt); border-radius: var(--sc-radius);
  transition: var(--sc-transition); position: relative;
}
.sc-process-step:hover { transform: translateY(-6px); box-shadow: var(--sc-shadow-hover); }
.sc-process-step .sc-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
}
.sc-process-step h3 { font-size: 17px; font-weight: 700; color: var(--sc-text-1); margin-bottom: 8px; }
.sc-process-step p { font-size: 13px; color: var(--sc-text-2); line-height: 1.7; }

/* ===== FAQ ===== */
.sc-faq { padding: 80px 0; background: var(--sc-bg-alt); }
.sc-faq .container { max-width: 800px; width: 100%; margin: 0 auto; overflow: visible; }
.sc-faq-list { display: flex; flex-direction: column; gap: 12px; }
.sc-faq-item {
  background: var(--sc-bg); border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm); overflow: hidden; transition: var(--sc-transition);
}
.sc-faq-item:hover { border-color: var(--sc-primary); }
.sc-faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--sc-text-1);
  transition: var(--sc-transition);
}
.sc-faq-question:hover { color: var(--sc-primary); }
.sc-faq-question .sc-faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sc-primary-light); color: var(--sc-primary);
  flex-shrink: 0; transition: var(--sc-transition);
}
.sc-faq-item.active .sc-faq-question .sc-faq-icon { transform: rotate(180deg); background: var(--sc-primary); color: #fff; }
.sc-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.sc-faq-item.active .sc-faq-answer { max-height: 500px; }
.sc-faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--sc-text-2); line-height: 1.8; }

/* ===== CTA ===== */
.sc-cta {
  position: relative; padding: 80px 0; overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0f6ab4 50%, #0a4d80 100%);
}
.sc-cta::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.sc-cta::after {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.sc-cta .container { max-width: 760px; width: 100%; margin: 0 auto; text-align: center; position: relative; z-index: 2; overflow: visible; }
.sc-cta h2 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.sc-cta p { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 36px; }
.sc-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sc-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: var(--sc-transition);
}
.sc-cta-btn--light { background: var(--sc-accent); color: #0a1628; }
.sc-cta-btn--light:hover { background: #00b4e6; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 198, 255, 0.3); }
.sc-cta-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.sc-cta-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .sc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-process-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-layout { grid-template-columns: 220px 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  #bann.sc-bann { padding: 130px 16px 56px; height: auto !important; }
  #bann.sc-bann .container { height: auto !important; }
  .sc-hero-title { font-size: 26px; }
  .sc-hero-desc { font-size: 15px; margin-bottom: 24px; }
  .sc-hero-stats { gap: 24px; }
  .sc-hero-stat .num { font-size: 26px; }
  .sc-hero-stat .label { font-size: 13px; }

  .sc-features { padding: 48px 0; }
  .sc-section-head h2 { font-size: 22px; }
  .sc-section-head p { font-size: 14px; }
  .sc-features-grid { grid-template-columns: 1fr; gap: 12px; }
  .sc-feature-card { padding: 20px 16px; border-radius: 12px; }
  .sc-feature-card .sc-feature-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
  .sc-feature-card .sc-feature-icon svg { width: 22px; height: 22px; }
  .sc-feature-card h3 { font-size: 16px; }
  .sc-feature-card p { font-size: 13px; }

  .sc-main { padding: 40px 0 56px; }
  .sc-layout { grid-template-columns: 1fr; gap: 28px; }
  .sc-sidebar { position: static; }
  .sc-sidebar-block { margin-bottom: 20px; }
  .sc-sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sc-sidebar-nav a { padding: 8px 14px; border-left: none; border: 1px solid var(--sc-border); border-radius: 20px; font-size: 13px; }
  .sc-sidebar-nav a.active { border-color: var(--sc-primary); }
  .sc-sidebar-nav a .sc-nav-dot { display: none; }
  .sc-content-card { padding: 24px 18px; border-radius: 12px; }
  .sc-content-card h2 { font-size: 20px; }
  .sc-content-card h3 { font-size: 17px; }
  .sc-content-card p { font-size: 14px; }
  .sc-content-card li { font-size: 14px; }
  .sc-content-card table { display: block; overflow-x: auto; white-space: nowrap; border: 0; }
  .sc-content-card th, .sc-content-card td { white-space: nowrap; font-size: 13px; padding: 10px 12px; }

  .sc-process { padding: 48px 0; }
  .sc-process-grid { grid-template-columns: 1fr; gap: 12px; }
  .sc-process-step { padding: 24px 16px; }
  .sc-process-step .sc-step-num { width: 42px; height: 42px; font-size: 18px; }
  .sc-process-step h3 { font-size: 16px; }
  .sc-process-step p { font-size: 12px; }

  .sc-faq { padding: 48px 0; }
  .sc-faq-list { gap: 10px; }
  .sc-faq-question { padding: 16px 18px; font-size: 14px; }
  .sc-faq-answer-inner { padding: 0 18px 16px; font-size: 13px; }

  .sc-cta { padding: 48px 0; }
  .sc-cta h2 { font-size: 24px; }
  .sc-cta p { font-size: 15px; }
}

@media (max-width: 480px) {
  #bann.sc-bann { padding: 120px 12px 44px; }
  .sc-hero-title { font-size: 22px; }
  .sc-hero-stats { gap: 20px; }
  .sc-hero-stat .num { font-size: 22px; }
  .sc-cta-actions { flex-direction: column; }
  .sc-cta-btn { width: 100%; justify-content: center; }
}
