/* 沧云官网 - 站点扩展样式（产品线切换、移动端导航、CRM主题） */

.hero-slider {
  background: #f9fafb;
  padding: 1rem 0;
}

.slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.slider-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.slider-item img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.slider-caption h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ===== 产品线切换栏 ===== */
.product-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.8125rem;
}

.product-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 1.5rem;
  overflow-x: auto;
}

.product-bar-label {
  flex-shrink: 0;
  color: #64748b;
}

.product-switcher {
  display: flex;
  gap: 0.375rem;
  flex-wrap: nowrap;
}

.product-pill {
  flex-shrink: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.product-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.product-pill.active {
  color: #fff;
  background: var(--pill-color, #2563eb);
  border-color: var(--pill-color, #2563eb);
}

/* ===== Logo ===== */
.logo-brand {
  font-weight: 700;
}

.logo-name {
  font-weight: 600;
  color: #111827;
}

/* ===== 子导航 ===== */
.nav-links li.has-sub {
  position: relative;
}

.nav-links .sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-links li.has-sub:hover .sub-nav {
  display: block;
}

.nav-links .sub-nav a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.nav-links a.active {
  color: var(--theme-color, #2563eb);
}

/* ===== 移动端导航面板 ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-panel.open {
  right: 0;
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-title {
  font-weight: 600;
  color: #111827;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #6b7280;
}

.mobile-nav-links {
  list-style: none;
  padding: 0.5rem 0;
}

.mobile-nav-links > li > a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-sub-nav {
  list-style: none;
  background: #f9fafb;
  padding: 0.25rem 0;
}

.mobile-sub-nav a {
  display: block;
  padding: 0.625rem 1.25rem 0.625rem 2rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
}

.mobile-nav-cta {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

/* ===== 首页顶部 Banner 背景 ===== */
.theme-xgm .hero.xgm-hero-banner {
  background: #f0f7ff url('/static/home/images/top-banner.jpg') no-repeat center center;
  background-size: cover;
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
}

/* 左侧文字区半透明遮罩，保证可读性 */
.theme-xgm .hero.xgm-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 38%, rgba(255,255,255,0.4) 60%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.theme-xgm .hero.xgm-hero-banner::before {
  display: none;
}

/* 隐藏右侧 3D 插画（背景图已包含） */
.xgm-hero-3d {
  display: none;
}

/* 文案样式 */
.theme-xgm .hero.xgm-hero-banner .hero-text {
  position: relative;
  z-index: 1;
}

.theme-xgm .hero.xgm-hero-banner .hero-content {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.theme-xgm .hero.xgm-hero-banner .hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.hero-highlight {
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.hero-social-proof {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2rem;
}

/* 按钮 */
.theme-xgm .hero.xgm-hero-banner .btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.theme-xgm .hero.xgm-hero-banner .btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.theme-xgm .hero.xgm-hero-banner .btn-secondary {
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.5);
}

.theme-xgm .hero.xgm-hero-banner .btn-secondary:hover {
  background: rgba(219, 234, 254, 0.9);
}

/* 统计数字 */
.theme-xgm .hero.xgm-hero-banner .stat-number {
  color: #2563eb;
  font-size: 1.875rem;
}

.theme-xgm .hero.xgm-hero-banner .hero-stats {
  border-top-color: rgba(37, 99, 235, 0.15);
}

/* 响应式 */
@media (min-width: 1280px) {
  .theme-xgm .hero.xgm-hero-banner {
    padding: 6rem 0 5rem;
  }
}

@media (max-width: 768px) {
  .theme-xgm .hero.xgm-hero-banner {
    padding: 3rem 0 2.5rem;
    background-position: right center;
  }

  .theme-xgm .hero.xgm-hero-banner::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0.6) 100%);
  }

  .theme-xgm .hero.xgm-hero-banner .hero-text h1 {
    font-size: 1.75rem;
  }

  .theme-xgm .hero.xgm-hero-banner .hero-content {
    max-width: 100%;
  }
}

/* ===== 首页移动端布局修复 ===== */
.theme-xgm > *:not(.xgm-cta-banner) {
  max-width: 100vw;
}

.theme-xgm .industry-scroll-section {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .mobile-nav-cta {
    display: flex;
  }

  .site-header .cta-buttons {
    display: none !important;
  }

  .xgm-value-section {
    padding: 2.5rem 0 !important;
  }

  .xgm-value-header h2 {
    font-size: 1.5rem !important;
  }

  .xgm-value-header p {
    font-size: 1rem !important;
  }

  .xgm-value-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .xgm-value-stats {
    gap: 1rem !important;
  }

  .xgm-value-stats > div > div {
    width: 96px !important;
    height: 96px !important;
  }

  .xgm-value-stats > div > div span:first-child {
    font-size: 1.25rem !important;
  }

  .xgm-case-banner .case-banner-item {
    flex-direction: column !important;
  }

  .xgm-case-banner .case-banner-item > div {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 1.5rem !important;
    box-sizing: border-box;
  }

  .xgm-case-banner .case-banner-item img {
    max-width: 100% !important;
    width: 100%;
    height: auto;
  }

  .case-studies .section-header h2 {
    font-size: 1.375rem !important;
  }

  .case-studies .section-header p {
    font-size: 0.9375rem !important;
  }
}

.mobile-nav-products {
  padding: 1.25rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.mobile-nav-products p {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mobile-product-item {
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.mobile-product-item.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ===== 滚动动画 ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 站点页脚 ===== */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 4rem 0 2rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer ul li a:hover {
  color: #fff;
}

.footer-phone {
  margin-top: 0.75rem;
  color: #60a5fa;
}

.site-footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #9ca3af;
}

.site-footer-legal p {
  margin: 0;
}

.site-footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-legal a:hover {
  color: #e5e7eb;
}

/* ===== CRM 主题（参考青动） ===== */
.theme-crm {
  --theme-color: #1677ff;
}

.crm-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 50%, #1677ff 100%);
  color: #fff;
  text-align: center;
}

.crm-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.crm-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.crm-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.crm-badge {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
}

.crm-section {
  padding: 4rem 0;
}

.crm-section-alt {
  background: #f8fafc;
}

.crm-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.crm-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.crm-section-header p {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.pain-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.pain-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.crm-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.crm-feature-block {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border-left: 4px solid var(--theme-color, #1677ff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.crm-feature-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.crm-feature-list {
  list-style: none;
}

.crm-feature-list li {
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: 0.9375rem;
}

.crm-feature-list li strong {
  color: #0f172a;
  display: block;
  margin-bottom: 0.25rem;
}

.crm-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1677ff, #0958d9);
  color: #fff;
  text-align: center;
}

.crm-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.crm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.crm-cta .btn-primary {
  background: #fff;
  color: #1677ff;
}

.crm-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ===== 通用产品页 ===== */
.product-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--hero-from, #2563eb), var(--hero-to, #3b82f6));
  color: #fff;
  text-align: center;
}

.product-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.product-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.product-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.theme-ecom { --theme-color: #7c3aed; --hero-from: #5b21b6; --hero-to: #7c3aed; }
.theme-xgc { --theme-color: #059669; --hero-from: #065f46; --hero-to: #10b981; }
.theme-custom { --theme-color: #d97706; --hero-from: #b45309; --hero-to: #f59e0b; }

/* ===== 沧云小工程（参考 xddsoft 产品页） ===== */
.xgc-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(160deg, #064e3b 0%, #059669 45%, #34d399 100%);
  color: #fff;
  text-align: center;
}

.xgc-hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.xgc-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.xgc-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  max-width: 820px;
  margin: 0 auto 2rem;
}

.xgc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.xgc-hero .btn-primary {
  background: #fff;
  color: #059669;
  padding: 0.75rem 2rem;
}

.xgc-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 0.75rem 2rem;
}

.xgc-module-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.xgc-module-nav-inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}

.xgc-module-nav-inner::-webkit-scrollbar {
  display: none;
}

.xgc-mod-link {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.xgc-mod-link:hover {
  color: #059669;
  background: #ecfdf5;
}

.xgc-mod-link.active {
  color: #fff;
  background: #059669;
}

.xgc-module-section {
  padding: 4rem 0;
}

.xgc-module-alt {
  background: #f8fafc;
}

.xgc-module-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #059669;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.xgc-module-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #059669;
  border-radius: 2px;
}

.xgc-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.xgc-pain-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.3s, transform 0.3s;
}

.xgc-module-alt .xgc-pain-card {
  background: #fff;
}

.xgc-pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
}

.xgc-pain-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.xgc-pain-card p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.xgc-pain-wide {
  grid-column: span 1;
}

.xgc-module-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.xgc-module-alt .xgc-module-detail {
  background: #fff;
}

.xgc-detail-col h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid #059669;
}

.xgc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.xgc-tag-list span {
  padding: 0.375rem 0.875rem;
  background: #ecfdf5;
  color: #047857;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.xgc-advantage-list {
  list-style: none;
}

.xgc-advantage-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: #475569;
  font-size: 0.9375rem;
  position: relative;
  border-bottom: 1px dashed #e2e8f0;
}

.xgc-advantage-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

.xgc-advantage-list li:last-child {
  border-bottom: none;
}

.xgc-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #047857, #059669);
  color: #fff;
  text-align: center;
}

.xgc-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.xgc-cta p {
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.xgc-cta .btn-primary {
  background: #fff;
  color: #059669;
}

.xgc-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ===== 首页底部 CTA（参考小工单） ===== */
.xgm-cta-banner {
  position: relative;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  overflow: hidden;
  text-align: center;
}

.xgm-cta-inner {
  position: relative;
  z-index: 2;
}

.xgm-cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.xgm-cta-banner p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #6b7280;
  margin-bottom: 2rem;
}

.xgm-cta-btn {
  display: inline-block;
  padding: 0.875rem 3rem;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.xgm-cta-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.xgm-cta-wave {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  max-width: 360px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.xgm-cta-wave-left {
  left: 0;
  background: radial-gradient(ellipse 80% 120% at 0% 50%, rgba(147, 197, 253, 0.8) 0%, transparent 70%);
}

.xgm-cta-wave-left::before,
.xgm-cta-wave-left::after {
  content: '';
  position: absolute;
  left: -10%;
  width: 120%;
  height: 40%;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.5), transparent);
}

.xgm-cta-wave-left::before { top: 15%; transform: rotate(-8deg); }
.xgm-cta-wave-left::after { bottom: 10%; transform: rotate(6deg); }

.xgm-cta-wave-right {
  right: 0;
  background: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(147, 197, 253, 0.8) 0%, transparent 70%);
}

.xgm-cta-wave-right::before,
.xgm-cta-wave-right::after {
  content: '';
  position: absolute;
  right: -10%;
  width: 120%;
  height: 40%;
  border-radius: 50%;
  background: linear-gradient(270deg, rgba(96, 165, 250, 0.5), transparent);
}

.xgm-cta-wave-right::before { top: 20%; transform: rotate(8deg); }
.xgm-cta-wave-right::after { bottom: 15%; transform: rotate(-5deg); }

@media (max-width: 768px) {
  .xgm-cta-banner {
    padding: 3.5rem 1rem;
  }

  .xgm-cta-wave {
    width: 35%;
    opacity: 0.3;
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-color, #2563eb);
  color: #fff;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ===== 响应式增强 ===== */
@media (max-width: 768px) {
  .site-header .cta-buttons {
    display: none !important;
  }

  .product-bar-inner {
    padding: 0.375rem 1rem;
  }

  .crm-hero {
    padding: 3.5rem 0 2.5rem;
  }

  .crm-section {
    padding: 3rem 0;
  }

  .pain-grid,
  .crm-feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .xgc-pain-grid {
    grid-template-columns: 1fr;
  }

  .xgc-module-detail {
    grid-template-columns: 1fr;
  }

  .xgc-module-section {
    padding: 3rem 0;
  }

  .xgc-hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 480px) {
  .product-switcher {
    gap: 0.25rem;
  }

  .product-pill {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }
}
