:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #0f1118;
  color: #eef0ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 75% 4%, rgba(59, 68, 246, 0.2), transparent 38rem),
    #0f1118;
  color: #eef0ff;
  line-height: 1.7;
}

a { color: inherit; }

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem max(1.25rem, calc((100vw - 72rem) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand span { color: #8c80ff; font-weight: 450; }

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-header nav a,
footer nav a {
  color: #c2c5d6;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover { color: #fff; }

.site-header .nav-cta {
  padding: 0.55rem 0.9rem;
  border-radius: 0.65rem;
  background: #5146e5;
  color: #fff;
}

main {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 0;
  color: #9da2b7;
  font-size: 0.85rem;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.service-hero {
  padding: clamp(3rem, 9vw, 7rem) 0;
  max-width: 56rem;
}

.eyebrow {
  color: #a49aff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 { line-height: 1.2; }

h1 {
  max-width: 54rem;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

h3 { margin: 0 0 0.75rem; font-size: 1.2rem; }

.lead,
.section-intro {
  max-width: 51rem;
  color: #c3c6d6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.75rem;
  background: linear-gradient(110deg, #5146e5, #853ad0);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.content-section { padding: 3rem 0 4.5rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.detail-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(25, 28, 41, 0.75);
}

.detail-card p,
.steps p,
.faq-section details p,
.closing-cta p { margin: 0; color: #b7bbcd; }

/* 服务页横向互链卡片里的标题本身就是链接 */
.related-section .detail-card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-section .detail-card h3 a:hover,
.related-section .detail-card h3 a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-number { color: #a49aff; font: 700 1.2rem/1.5 monospace; }
.steps h3 { margin: 0 0 0.35rem; }

.faq-section details {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.faq-section summary { cursor: pointer; font-weight: 650; }
.faq-section details p { padding-top: 0.75rem; }

.closing-cta {
  margin: 2rem 0 5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(164, 154, 255, 0.35);
  border-radius: 1.25rem;
  background: linear-gradient(125deg, rgba(81, 70, 229, 0.17), rgba(133, 58, 208, 0.12));
}

footer { border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-end; gap: 0.65rem 0.9rem; }
  .site-header nav a { font-size: 0.8rem; }
  .detail-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

/* ===== 案例赏析 / 对比表 / 标签（中文定制软件页补充区块）===== */
.case-sample {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 2rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.case-meta span {
  display: block;
  color: #9295b4;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.case-meta strong { color: #ffffff; font-size: 0.95rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.15rem; }

.chip {
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(140, 128, 255, 0.4);
  border-radius: 999px;
  background: rgba(140, 128, 255, 0.1);
  color: #cfc9ff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.case-lines p { margin: 0 0 0.75rem; color: #c3c6d6; line-height: 1.85; }
.case-lines p strong { color: #ffffff; }

.sub-head { margin: 0 0 1rem; color: #ffffff; font-size: 1.05rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.spec-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.spec-table th { color: #9ea3c8; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.spec-table td:first-child { color: #cfd2ea; font-weight: 600; white-space: nowrap; width: 6.5rem; }
.spec-table th:last-child,
.spec-table td:last-child { border-left: 1px solid rgba(140, 128, 255, 0.18); }

@media (max-width: 640px) {
  .spec-table { font-size: 0.86rem; }
  .spec-table th, .spec-table td { padding: 0.6rem 0.55rem; }
}
/* 全站 WhatsApp 浮动按钮（服务页 / 产品页 / 场景页通用，不依赖 Tailwind） */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.6);
  outline: none;
}

.wa-float svg {
  display: block;
}

@media (min-width: 768px) {
  .wa-float {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .wa-float svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .wa-float {
    right: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
}

/* 地区版本切换与本地计价说明（多语区页面页脚） */
.region-links a {
  color: rgba(226, 232, 240, 0.72);
  text-decoration: none;
  font-size: 0.8rem;
  border-bottom: 1px solid transparent;
}
.region-links a:hover,
.region-links a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(110, 231, 183, 0.7);
}
.region-links a[aria-current="page"] {
  color: #6ee7b7;
  border-bottom-color: rgba(110, 231, 183, 0.7);
}
.region-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.85);
}
footer {
  flex-wrap: wrap;
}

/* 页脚地区切换不要压在右下角的 WhatsApp 悬浮按钮下 */
.region-links {
  margin-right: 3.5rem;
}
@media (max-width: 480px) {
  .region-links {
    margin-right: 3rem;
  }
}

/* 博客文章封面（2026-12-01）：与正文同宽、圆角、暗色描边，避免图片抢内容 */
.article-cover {
  margin: 0 auto 2.5rem;
  padding: 0 max(1.25rem, calc((100vw - 72rem) / 2));
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(140, 128, 255, 0.22);
  background: #12141d;
}
/* ===== 页内询价表单（落地页 / 博客文章页自带转化入口）===== */
.quote-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(15, 17, 24, 0.55);
}

.quote-form h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.quote-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.quote-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b7bbcd;
  letter-spacing: 0.02em;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  color: #eef0ff;
  font: inherit;
  font-weight: 450;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: rgba(164, 154, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(140, 128, 255, 0.18);
}

.quote-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.quote-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quote-actions { margin: 0; }

.quote-form button.button {
  cursor: pointer;
  border: 0;
  font: inherit;
  font-weight: 700;
}

.quote-form button.button[disabled] { opacity: 0.6; cursor: progress; }

.quote-status { margin: 0; font-size: 0.88rem; }
.quote-status.is-ok { color: #6ee7b7; }
.quote-status.is-error { color: #fca5a5; }