/* ============================================================
   微加网络 MICROPLUS · 静态官网设计系统
   色板：科技蓝 #2563EB / 墨蓝 #1A2233 / 青绿 #10B981
   底色：#FFFFFF 与 #F7F8FA 交替，深色区块 #0F172A
   容器：1200px；卡片圆角 12px；1px 浅灰描边；极轻阴影
   ============================================================ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-bg: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --ink: #1A2233;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --line: #E5E7EB;
  --line-light: #F3F4F6;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --green: #10B981;
  --green-bg: #F0FDF4;
  --violet: #7C3AED;
  --violet-bg: #F5F3FF;
  --amber: #FEBC2E;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #9CA3AF;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    "Segoe UI", sans-serif;
  --font-num: "Inter", "SF Pro Display", -apple-system, "Segoe UI",
    "PingFang SC", sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  padding-top: 64px; /* 固定头部高度 */
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

ul,
ol {
  list-style: none;
}

[id] {
  scroll-margin-top: 80px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.num {
  font-family: var(--font-num);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-bg);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--blue-bg);
}

.btn-ghost-white {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  font-size: 14px;
  padding: 8px 20px;
}

/* ---------- 头部导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.brand-text small {
  display: block;
  font-family: var(--font-num);
  font-size: 9px;
  color: var(--gray-400);
  letter-spacing: 0.18em;
  line-height: 1.25;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav > a:not(.btn) {
  font-size: 14px;
  color: var(--gray-600);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn)[aria-current="page"] {
  color: var(--blue);
}

.nav > a:not(.btn)[aria-current="page"] {
  font-weight: 600;
}

.nav .nav-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
}

/* ---------- Hero（首页） ---------- */

.hero {
  padding: 64px 0 96px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-title {
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-title .accent {
  color: var(--blue);
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-sub strong {
  font-family: var(--font-num);
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 32px;
}

.stat-num {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---------- AI 对话 Mockup ---------- */

.chat-mockup {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-light);
}

.chat-dots {
  display: flex;
  gap: 6px;
}

.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chat-dot.r { background: #FF5F57; }
.chat-dot.y { background: #FEBC2E; }
.chat-dot.g { background: #28C840; }

.chat-status {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.chat-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.chat-body {
  padding: 16px 20px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
}

.msg-user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  line-height: 1.65;
  padding: 10px 16px;
  border-radius: 12px 12px 4px 12px;
  max-width: 260px;
}

.msg-ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ai-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-ai .bubble {
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  padding: 10px 16px;
  border-radius: 12px 12px 12px 4px;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  max-width: 260px;
}

.chat-result {
  margin-left: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-result-label {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
}

.result-row strong {
  font-family: var(--font-num);
}

.check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-dot svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-light);
}

.chat-fake-input {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--gray-400);
}

.chat-send {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-send svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ---------- 信任条 ---------- */

.trustbar {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 16px 0;
}

.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
}

.trust-item {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- 区块通用 ---------- */

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--dark);
}

.section-head {
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-head .section-sub {
  font-size: 17px;
  color: var(--gray-500);
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-dark .section-head .section-sub {
  color: var(--dark-text);
}

.eyebrow {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 + .section-sub {
  margin-top: 0;
}

/* ---------- 栅格 ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片（服务/案例/保障） ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tag-green { background: var(--green-bg); color: var(--green); }
.tag-blue  { background: var(--blue-bg);  color: var(--blue); }
.tag-violet{ background: var(--violet-bg); color: var(--violet); }
.tag-gray  { background: var(--gray-400);  color: #fff; }
.tag-plain { background: var(--line-light); color: var(--gray-500); }

.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.5;
}

.card .card-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.card .card-desc:last-child {
  margin-bottom: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-top: auto;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* 案例卡结果行 */
.case-result {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
}

.case-result svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.case-tags .tag {
  margin-bottom: 0;
}

/* 案例「做法」小段 */
.case-how {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-how strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 深色产品区块 ---------- */

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  padding: 28px;
  transition: background 0.2s ease;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.product-sub {
  font-size: 13px;
  color: var(--green);
  margin-top: 2px;
}

.product-desc {
  font-size: 15px;
  color: var(--dark-text);
  line-height: 1.8;
  margin: 20px 0 24px;
}

/* 深色 UI 示意图 */
.product-ui {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 12px;
  font-weight: 500;
  color: #D1D5DB;
}

.pui-live {
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--green);
}

.pui-chip {
  font-family: var(--font-num);
  font-size: 11px;
  color: #6B7280;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 1px 10px;
}

.pui-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pui-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pui-stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.pui-stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.pui-stat span {
  display: block;
  font-size: 10px;
  color: var(--dark-text);
  margin-top: 2px;
}

.pui-note {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pui-note p {
  font-size: 11px;
  color: #D1D5DB;
  line-height: 1.7;
}

.pui-ai-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pui-progress-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dark-text);
}

.pui-progress-row b {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.pui-progress-row b span {
  font-size: 12px;
  font-weight: 400;
  color: var(--dark-text);
}

.pui-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.pui-bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--green);
  border-radius: 999px;
}

.pui-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
}

.pui-file span {
  font-size: 11px;
  color: #D1D5DB;
  line-height: 1.7;
}

.pui-file b {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 8px;
}

.pui-file b.ok   { color: var(--green); }
.pui-file b.busy { color: var(--amber); }

.product-stats {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-line);
}

.product-stats b {
  display: block;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.product-stats span {
  display: block;
  font-size: 12px;
  color: var(--dark-text);
  margin-top: 2px;
}

/* ---------- FAQ 手风琴（原生 details，无 JS） ---------- */

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-500);
  margin: 40px 0 8px;
  letter-spacing: 0.05em;
}

.faq-group-title:first-child {
  margin-top: 0;
}

details.faq-item {
  border-bottom: 1px solid var(--line-light);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chev {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-chev svg {
  width: 14px;
  height: 14px;
}

details[open] > summary .faq-chev {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 40px 20px 0;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.9;
  margin-top: -6px;
}

/* FAQ 区块左右布局 */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.faq-aside .section-sub {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin: 12px 0 24px;
}

/* ---------- 底部 CTA ---------- */

.cta-box {
  background: var(--blue);
  border-radius: 16px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
}

.cta-eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-bottom: 16px;
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: var(--blue-100);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.cta-note {
  font-size: 13px;
  color: var(--blue-200);
  margin-top: 24px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 260px;
  margin-top: 16px;
}

.footer-meta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer-meta span {
  color: #6B7280;
}

.footer-meta a {
  color: var(--dark-text);
}

.footer-meta a:hover {
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* ---------- 内页 Hero / 面包屑 ---------- */

.page-hero {
  padding: 64px 0 56px;
  background: var(--bg);
}

.page-hero-soft {
  background: var(--bg-soft);
}

.breadcrumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--gray-500);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--gray-400);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-hero .page-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 28px;
}

.page-hero .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--gray-600);
  padding: 6px 14px;
}

.fact-chip svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* ---------- 服务页：痛点卡 ---------- */

.pain-fix {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: auto;
}

.pain-fix strong {
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
}

/* ---------- 服务页：流程时间轴 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--line);
  padding-top: 24px;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.step-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ---------- 服务页：交付清单 ---------- */

.deliver-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 28px;
}

.deliver-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

.deliver-list li:last-child {
  border-bottom: 0;
}

.deliver-list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ---------- 关于页：公司信息卡（身份证式） ---------- */

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 28px;
  margin-top: 40px;
}

.info-card dl {
  display: grid;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  color: var(--gray-500);
}

.info-row dd {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 关于页：时间线 ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}

.tl-item {
  position: relative;
  padding-top: 28px;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-bg);
}

.tl-year {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.tl-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 6px;
}

.tl-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ---------- 关于页：正文段落 ---------- */

.prose {
  max-width: 760px;
}

.prose p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 20px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
}

/* ---------- 内容页/文章 ---------- */

.article {
  max-width: 760px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.article-meta time {
  font-family: var(--font-num);
}

.article h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}

.article .lede {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 32px;
}

.article h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 44px 0 16px;
  line-height: 1.4;
}

.article p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 16px;
}

.article ul.list {
  margin: 0 0 16px;
  padding: 0;
}

.article ul.list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

.article ul.list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article th,
.article td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.article th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.article td b {
  font-family: var(--font-num);
  color: var(--ink);
  white-space: nowrap;
}

.article .note {
  background: var(--blue-bg);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 24px 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
}

.article-nav a {
  color: var(--blue);
  font-weight: 500;
}

/* 文章底部 CTA 卡 */
.article-cta {
  margin-top: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.article-cta p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

/* ---------- 内容列表页 ---------- */

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.post-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.post-card time {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--gray-500);
}

.post-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0;
  line-height: 1.6;
}

.post-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.post-card .link-arrow {
  margin-top: 0;
}

.planned-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--gray-600);
}

.planned-list .tag {
  margin-bottom: 0;
}

/* ---------- 联系页 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-card:hover {
  border-color: var(--blue);
}

.contact-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-card .cc-label {
  font-size: 12px;
  color: var(--gray-500);
}

.contact-card .cc-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.contact-card .cc-value small {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  display: block;
}

.copy-btn {
  margin-left: auto;
  background: var(--blue-bg);
  color: var(--blue);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.copy-btn:hover {
  background: var(--blue-100);
}

.prep-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.prep-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.prep-box ol {
  counter-reset: prep;
}

.prep-box ol li {
  counter-increment: prep;
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  border-bottom: 1px solid var(--line-light);
}

.prep-box ol li:last-child {
  border-bottom: 0;
}

.prep-box ol li::before {
  content: counter(prep);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prep-box ol li strong {
  color: var(--ink);
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}

.notfound h1 {
  font-family: var(--font-num);
  font-size: 72px;
  font-weight: 700;
  color: var(--blue);
}

.notfound p {
  color: var(--gray-500);
  margin: 12px 0 28px;
}

/* ---------- 通用工具 ---------- */

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-light);
    padding: 20px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .nav > a:not(.btn) {
    font-size: 15px;
    color: var(--ink);
    padding: 10px 0;
  }

  .nav > a:not(.btn):hover {
    color: var(--blue);
  }

  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    justify-content: center;
  }

  .site-header.open .nav {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .page-hero {
    padding: 40px 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-row {
    grid-template-columns: 110px 1fr;
    font-size: 14px;
  }

  .hero-stats {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .grid-4,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .faq-a {
    padding-right: 0;
  }
}

/* 尊重系统减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
