/* ===== 全局重置 & 基础 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
  background: #f4f6fc;
  color: #1e1e2f;
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: #0b0b1a;
  color: #e2e2f0;
}

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 渐变背景 ===== */
.gradient-bg {
  background: linear-gradient(145deg, #141e30, #243b55, #0f3460);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body.dark .gradient-bg {
  background: linear-gradient(145deg, #0a0a1a, #1a1a3e, #0b1a2e);
}

/* ===== 毛玻璃效果 ===== */
.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.dark .glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ===== 卡片 ===== */
.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

body.dark .card {
  background: #1c1c32;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

body.dark .card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  background: linear-gradient(135deg, #e94560, #0f3460);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(233, 69, 96, 0.45);
  background: linear-gradient(135deg, #d63850, #1a3f6a);
}

body.dark .btn {
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.2);
}

/* ===== 网格系统 ===== */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

/* ===== 段落间距 ===== */
section {
  padding: 80px 0;
}

/* ===== 标题 ===== */
h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  background: linear-gradient(135deg, #e94560, #0f3460);
  margin: 14px auto 10px;
  border-radius: 4px;
}

body.dark h2::after {
  background: linear-gradient(135deg, #ff6b6b, #4a90d9);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ===== 文本工具 ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ===== Flex 工具 ===== */
.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.gap-20 { gap: 20px; }

/* ===== 统计数字 ===== */
.stat-item {
  text-align: center;
  padding: 24px 16px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e94560, #0f3460);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .stat-number {
  background: linear-gradient(135deg, #ff6b6b, #4a90d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Banner 轮播 ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
  height: 520px;
  border-radius: 24px;
}

.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: #fff;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.banner-slide p {
  font-size: 1.2rem;
  max-width: 620px;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .banner-slider { height: 360px; }
  .banner-slide h1 { font-size: 2rem; }
  .banner-slide p { font-size: 1rem; }
}

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: background 0.35s, backdrop-filter 0.35s;
}

.nav.scrolled {
  background: rgba(20, 30, 48, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.dark .nav.scrolled {
  background: rgba(10, 10, 26, 0.92);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e94560;
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e94560;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(20, 30, 48, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }
  body.dark .nav-links {
    background: rgba(10, 10, 26, 0.98);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ===== 页脚 ===== */
.footer {
  background: #141e30;
  color: #c5c5d6;
  padding: 48px 0 24px;
}

body.dark .footer {
  background: #08081a;
}

.footer a {
  color: #e94560;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #ff7a8a;
}

.footer .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid #e0e0ec;
  padding: 18px 0;
}

body.dark .faq-item {
  border-color: #2a2a44;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #e94560;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  color: #555;
}

body.dark .faq-answer {
  color: #b0b0c8;
}

.faq-answer.open {
  max-height: 320px;
  padding-top: 14px;
}

/* ===== 返回顶部 & 暗色切换 ===== */
.back-to-top,
.dark-mode-toggle {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e94560, #0f3460);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
  transition: opacity 0.35s, visibility 0.35s, transform 0.3s;
}

.back-to-top:hover,
.dark-mode-toggle:hover {
  transform: scale(1.08);
}

.back-to-top {
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.dark-mode-toggle {
  bottom: 30px;
  left: 30px;
}

/* ===== 滚动动画 ===== */
.stat-animate,
.scroll-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-animate.visible,
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 搜索条 ===== */
.search-entry {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.search-entry input {
  padding: 12px 20px;
  border-radius: 50px 0 0 50px;
  border: 1px solid #d0d0e0;
  width: 320px;
  outline: none;
  font-size: 0.95rem;
  background: #fff;
  transition: border 0.3s;
}

.search-entry input:focus {
  border-color: #e94560;
}

body.dark .search-entry input {
  background: #1c1c32;
  border-color: #2a2a44;
  color: #e2e2f0;
}

.search-entry button {
  padding: 12px 24px;
  border-radius: 0 50px 50px 0;
  border: none;
  background: linear-gradient(135deg, #e94560, #0f3460);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.search-entry button:hover {
  background: linear-gradient(135deg, #d63850, #1a3f6a);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 14px 0;
  font-size: 0.9rem;
  color: #666;
}

body.dark .breadcrumb {
  color: #aaa;
}

.breadcrumb a {
  color: #e94560;
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.3rem;
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0.92;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
}

body.dark .hero {
  background: linear-gradient(145deg, #0a0a1a, #1a1a2e);
}

/* ===== SVG 图标 ===== */
.svg-icon {
  width: 48px;
  height: 48px;
  fill: currentColor;
  margin-bottom: 12px;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  fill: #e94560;
  margin-bottom: 14px;
  transition: transform 0.3s;
}

.card:hover .advantage-icon {
  transform: scale(1.1);
}

/* ===== 合作伙伴 ===== */
.partner-logo {
  width: 130px;
  height: 64px;
  margin: 10px;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  filter: grayscale(0.3);
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: grayscale(0);
}

/* ===== 客户评价 ===== */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  margin: 12px 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

body.dark .testimonial-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 700;
  color: #e94560;
}

/* ===== 案例卡片 ===== */
.case-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}

body.dark .case-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-card .content {
  padding: 20px;
}

.case-card h3 {
  margin-bottom: 8px;
}

/* ===== 新闻卡片 ===== */
.news-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}

body.dark .news-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card .content {
  padding: 18px;
}

.news-card .date {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

body.dark .news-card .date {
  color: #777;
}

/* ===== 上一篇/下一篇 ===== */
.prev-next {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  gap: 20px;
  flex-wrap: wrap;
}

.prev-next a {
  color: #e94560;
  text-decoration: none;
  padding: 10px 22px;
  border: 1px solid #e94560;
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
}

.prev-next a:hover {
  background: #e94560;
  color: #fff;
}

/* ===== 相关文章 ===== */
.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* ===== 网站地图 ===== */
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.sitemap-links a {
  color: #e94560;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.sitemap-links a:hover {
  text-decoration: underline;
  color: #d63850;
}

/* ===== 隐私/免责 ===== */
.privacy-policy,
.disclaimer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
}

body.dark .privacy-policy,
body.dark .disclaimer {
  color: #aaa;
  background: rgba(255,255,255,0.02);
}

/* ===== 联系信息 ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-info .item {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.contact-info .item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

body.dark .contact-info .item {
  background: rgba(255,255,255,0.03);
}

.contact-info .item svg {
  width: 36px;
  height: 36px;
  fill: #e94560;
  margin-bottom: 10px;
}

/* ===== 使用指南步骤 ===== */
.howto-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s;
}

.howto-step:hover {
  background: rgba(255,255,255,0.08);
}

body.dark .howto-step {
  background: rgba(255,255,255,0.03);
}

.howto-step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e94560, #0f3460);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== 团队网格 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.team-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
}

body.dark .team-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.team-card svg {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-bottom: 14px;
  fill: #e94560;
}

.team-card h4 {
  margin-bottom: 4px;
  font-weight: 700;
}

.team-card .role {
  color: #999;
  font-size: 0.9rem;
}

body.dark .team-card .role {
  color: #aaa;
}

/* ===== 方案卡片 ===== */
.solution-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.35s, box-shadow 0.35s;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
}

body.dark .solution-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

/* ===== 行业卡片 ===== */
.industry-card {
  padding: 24px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.35s, box-shadow 0.35s;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
}

body.dark .industry-card {
  background: #1c1c32;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

/* ===== 统计数据网格 ===== */
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

/* ===== 最新更新 ===== */
.latest-updates {
  background: rgba(255,255,255,0.06);
  padding: 24px;
  border-radius: 20px;
  margin-top: 28px;
}

body.dark .latest-updates {
  background: rgba(255,255,255,0.03);
}

.latest-updates ul {
  list-style: none;
  padding: 0;
}

.latest-updates li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.latest-updates li:last-child {
  border-bottom: none;
}

/* ===== 响应式微调 ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h2 { font-size: 1.7rem; }
  .stat-number { font-size: 2rem; }
  .btn { padding: 12px 28px; font-size: 0.95rem; }
}