/* NovaX — 设计系统 */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.12);
  --accent: #06b6d4;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 48px rgba(79, 70, 229, 0.12);
  --max-width: 1120px;
  --header-h: 68px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* 间距体系 */
  --section-y: 5rem;
  --section-y-sm: 3.25rem;
  --block-gap: 2.5rem;
  --grid-gap: 1.25rem;
  --card-pad: 1.5rem;

  /* 字体体系 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --leading-tight: 1.3;
  --leading-normal: 1.65;
  --leading-relaxed: 1.75;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: var(--leading-tight);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

h1 { font-size: clamp(1.875rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: var(--text-md); font-weight: 600; }
h4 { font-size: var(--text-sm); font-weight: 600; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}

section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-header {
  max-width: 34rem;
  margin-bottom: var(--block-gap);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .header-inner { padding: 0 1.5rem; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo:hover { color: var(--text); }

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.nav { display: flex; align-items: center; gap: 0.125rem; }
.nav a:not(.btn) {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:not(.btn):hover { color: var(--text); background: var(--bg-muted); }

.nav a.nav-active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

@media (min-width: 901px) {
  .nav { gap: 0.375rem; }
  .nav a:not(.btn) { padding: 0.5rem 0.875rem; }
  .nav .btn { margin-left: 0.75rem; }
}

body.nav-open { overflow: hidden; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

.service-guide {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-guide:hover { color: var(--primary-dark); }

.service-card-body .btn { margin-top: 0.25rem; }

.nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.625rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); margin: 4px 0; border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.btn-icon::before {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--section-y) - 0.5rem) 0 var(--section-y);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 70%; height: 100%;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--block-gap);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-label::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero h1 { margin-bottom: 1rem; }
.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: var(--leading-relaxed);
  max-width: 32rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
  padding: 0; margin: 0;
}

.hero-tags li {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.service-card-media {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-muted);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card-media img { transform: scale(1.04); }

.service-card-body { padding: var(--card-pad); flex: 1; display: flex; flex-direction: column; }

.service-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin-bottom: 1rem;
  flex: 1;
}

.service-card .btn {
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}
.service-card .btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Why */
.why-section {
  background: var(--bg-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.why-card:hover {
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}

.why-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--primary);
}

.why-icon svg { flex-shrink: 0; width: 22px; height: 22px; }

.why-card h3 { margin-bottom: 0.375rem; }
.why-card p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; line-height: var(--leading-normal); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pricing-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.pricing-card.pricing-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.pricing-card h3 { margin-bottom: 0.625rem; }

.pricing-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
}

.pricing-detail { flex: 1; margin-bottom: 1rem; }

.pricing-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin: 0 0 0.375rem;
}

.pricing-detail-label:not(:first-child) { margin-top: 0.875rem; }

.pricing-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-detail li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 0.25rem 0 0.25rem 1rem;
  position: relative;
  line-height: var(--leading-normal);
}

.pricing-detail li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.75rem;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: var(--block-gap) 0 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-normal);
}

/* Delivery */
.delivery-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 768px) { .delivery-steps { grid-template-columns: repeat(3, 1fr); } }

.delivery-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  text-align: center;
}

.delivery-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 0.875rem;
}

.delivery-step h3 { margin-bottom: 0.375rem; }
.delivery-step p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; line-height: var(--leading-normal); }

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: border-color 0.2s var(--ease);
}

.faq-item:hover { border-color: #c7d2fe; }
.faq-item h3 { margin-bottom: 0.375rem; font-size: var(--text-base); font-weight: 600; }
.faq-item p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; line-height: var(--leading-relaxed); }

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 768px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.article-card-media {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-muted);
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.article-card:hover .article-card-media img { transform: scale(1.05); }

.article-card-body { padding: var(--card-pad); flex: 1; display: flex; flex-direction: column; }
.article-card time { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; }
.article-card h2, .article-card h3 { font-size: var(--text-md); margin: 0.5rem 0 0.375rem; line-height: var(--leading-tight); }
.article-card h2 a, .article-card h3 a { color: var(--text); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--primary); }
.article-card p { color: var(--text-muted); font-size: var(--text-sm); flex: 1; margin-bottom: 0.875rem; line-height: var(--leading-normal); }
.read-more { font-weight: 600; font-size: var(--text-sm); color: var(--primary); }

/* Article page */
.article-page {
  padding: var(--section-y-sm) 0 var(--section-y);
  background: var(--bg-soft);
}

.article-header { max-width: 40rem; margin: 0 auto var(--block-gap); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 0.875rem; }
.article-meta time { font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; }
.article-category {
  font-size: 0.75rem; font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.article-featured {
  max-width: 40rem;
  margin: 0 auto var(--block-gap);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.article-featured img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-featured figcaption {
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.article-content { max-width: 40rem; margin: 0 auto; }
.article-content h2 { font-size: var(--text-xl); margin: 2rem 0 0.625rem; color: var(--text); }
.article-content h3 { font-size: var(--text-md); margin: 1.25rem 0 0.375rem; }
.article-content p, .article-content li { font-size: var(--text-base); line-height: var(--leading-relaxed); }
.article-content ul, .article-content ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.article-cta-inline {
  max-width: 40rem;
  margin: var(--block-gap) auto;
  padding: var(--card-pad);
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid #c7d2fe;
}

.article-cta-inline p { margin-bottom: 1rem; font-weight: 600; font-size: var(--text-base); color: var(--text); }

.breadcrumb {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--block-gap);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.4; }

/* Related articles */
.related-articles {
  max-width: 40rem;
  margin: var(--block-gap) auto 0;
  padding-top: var(--block-gap);
  border-top: 1px solid var(--border);
}

.related-articles h2 { font-size: var(--text-lg); margin-bottom: 1rem; }

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 480px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: all 0.25s var(--ease);
}

.related-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  color: var(--primary);
}

.related-card picture,
.related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.related-card span {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, var(--primary) 50%, #6366f1 100%);
  color: #fff;
  padding: var(--section-y) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 0.625rem; }
.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  line-height: var(--leading-relaxed);
}
.cta-banner .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-banner .btn-primary:hover { background: #f8fafc; color: var(--primary-dark); }

/* Footer */
.site-footer {
  background: var(--text);
  color: #94a3b8;
  padding: var(--section-y) 0 0;
}

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

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo-mark { background: linear-gradient(135deg, var(--primary), #7c3aed); }
.footer-brand p { font-size: var(--text-sm); max-width: 18rem; line-height: var(--leading-relaxed); margin-bottom: 1rem; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badge {
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: #cbd5e1;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; font-size: var(--text-sm); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  text-align: center;
  color: #64748b;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #475569;
  max-width: 640px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
}

/* Error page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: var(--bg-soft);
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary-light);
  margin: 0 0 0.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.error-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Page header */
.page-header {
  padding: var(--section-y) 0 var(--section-y-sm);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.page-header h1 { margin-bottom: 0.625rem; }
.page-header p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.lead {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.section-action {
  margin-top: var(--block-gap);
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  :root {
    --header-h: 56px;
    --section-y: 3.75rem;
    --section-y-sm: 2.75rem;
    --block-gap: 2rem;
  }

  .container { padding: 0 1rem; }

  .logo { font-size: 1.125rem; }
  .logo-mark { width: 34px; height: 34px; font-size: 0.9375rem; }

  .nav-toggle { display: block; min-width: 44px; min-height: 44px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open { display: flex; }
  .header-inner { position: relative; }

  .nav a:not(.btn) {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
  }

  .nav .btn {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
    min-height: 48px;
  }

  .section-header { margin-bottom: var(--block-gap); }
  .section-header p { font-size: var(--text-base); }

  .hero-desc { font-size: var(--text-base); max-width: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .service-card-body .btn,
  .pricing-card .btn { width: 100%; justify-content: center; }

  .cta-banner { padding: var(--section-y-sm) 0; }
  .cta-banner .btn-primary { width: 100%; max-width: 360px; }

  .article-cta-inline { padding: 1.5rem 1.25rem; }
  .article-cta-inline .btn { width: 100%; }

  .page-header { padding: var(--section-y-sm) 0 2rem; }
  .page-header .btn { width: 100%; max-width: 360px; }

  .breadcrumb {
    font-size: 0.8125rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .footer-grid { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-badges { justify-content: center; }
}

/* 手机底部固定咨询栏 */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.1);
}

.mobile-cta-bar .btn {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .mobile-cta-bar { display: block; }
  body.has-mobile-cta {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 3rem;
    --section-y-sm: 2.5rem;
    --block-gap: 1.75rem;
    --grid-gap: 1rem;
    --card-pad: 1.25rem;
  }

  .hero { padding: var(--section-y-sm) 0 var(--section-y); }
  .article-page { padding: var(--section-y-sm) 0 var(--section-y); }

  .error-code { font-size: 3.5rem; }
  .error-page { min-height: auto; padding: var(--section-y) 0 5rem; }
}

/* 触屏设备取消悬停位移，避免 sticky hover */
@media (hover: none) {
  .service-card:hover,
  .article-card:hover,
  .why-card:hover,
  .pricing-card:hover {
    transform: none;
  }

  .btn-primary:hover { transform: none; }
}
