/* 神秘顾客网 - 主样式 */
:root {
  --bg: #0a0c10;
  --bg2: #111318;
  --bg3: #1a1d24;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text2: #9aa0b0;
  --accent: #4f8ef7;
  --accent2: #7c5cfc;
  --gold: #f5a623;
  --green: #34d399;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }

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

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10,12,16,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(10,12,16,0.95);
  border-bottom-color: var(--border);
}

.nav-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.logo-icon { font-size: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-item {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text2);
  transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-right { margin-left: auto; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
}

.lang-switch a { transition: color 0.2s; }
.lang-switch a:hover, .lang-switch a.active { color: var(--accent); }
.lang-switch span { opacity: 0.3; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4f8ef7, transparent);
  top: -100px; left: -100px;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c5cfc, transparent);
  bottom: -100px; right: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .accent {
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 40px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== 通用 Section ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto;
}

.section-more {
  text-align: center;
  margin-top: 48px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text2);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,0.06);
}

/* ===== 知识库卡片 ===== */
.knowledge-section { background: var(--bg); }

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.knowledge-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  cursor: pointer;
}

.knowledge-card:hover {
  border-color: rgba(79,142,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79,142,247,0.1);
}

.kc-icon { font-size: 32px; margin-bottom: 14px; }

.kc-cat {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(79,142,247,0.1);
  color: var(--accent);
  margin-bottom: 10px;
}

.kc-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.kc-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* ===== 行业覆盖 ===== */
.industries-section { background: var(--bg2); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
}

.industry-card:hover {
  border-color: rgba(124,92,252,0.4);
  transform: translateY(-3px);
}

.ic-icon { font-size: 28px; margin-bottom: 10px; }

.ic-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ic-desc {
  font-size: 12px;
  color: var(--text2);
}

/* ===== 资讯列表 ===== */
.news-section { background: var(--bg); }

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.news-item:hover {
  background: var(--bg2);
  border-color: var(--border);
}

.news-date {
  font-size: 12px;
  color: var(--text2);
  white-space: nowrap;
  padding-top: 4px;
  min-width: 90px;
}

.news-content { flex: 1; }

.news-cat {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(245,166,35,0.1);
  color: var(--gold);
  margin-bottom: 8px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== 关于我们 ===== */
.about-section { background: var(--bg2); }

.about-content { max-width: 700px; }

.about-desc {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.9;
  margin: 20px 0;
}

.about-goal {
  padding: 20px 24px;
  background: rgba(79,142,247,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--text);
}

/* ===== 文章详情 ===== */
.article-detail {
  padding: 120px 0 80px;
}

.article-header {
  max-width: 760px;
  margin: 0 auto 48px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-cat {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(79,142,247,0.1);
  color: var(--accent);
}

.article-date {
  font-size: 13px;
  color: var(--text2);
}

.article-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.article-summary {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.8;
  padding: 20px;
  background: var(--bg2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

.article-content p {
  margin-bottom: 16px;
  color: var(--text2);
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text2);
}

.article-content li { margin-bottom: 8px; }

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

.article-content th {
  background: var(--bg3);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border);
}

.article-content td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text2);
}

.article-content code {
  background: var(--bg3);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  color: var(--accent);
}

.article-content pre {
  background: var(--bg3);
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
}

/* 相关文章 */
.related-articles {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.related-card:hover {
  border-color: rgba(79,142,247,0.4);
}

.related-icon { font-size: 20px; }

.related-card h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* ===== 列表页 ===== */
.page-section {
  padding: 120px 0 80px;
}

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cat-btn {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
  transition: all 0.2s;
  cursor: pointer;
}

.cat-btn:hover, .cat-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,0.08);
}

/* 知识库完整列表 */
.knowledge-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.knowledge-card-full {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}

.knowledge-card-full:hover {
  border-color: rgba(79,142,247,0.4);
  transform: translateX(4px);
}

.kcf-icon { font-size: 32px; flex-shrink: 0; }

.kcf-content { flex: 1; }

.kcf-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.kcf-cat {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(79,142,247,0.1);
  color: var(--accent);
}

.kcf-date {
  font-size: 12px;
  color: var(--text2);
}

.kcf-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.kcf-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text2);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text2);
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .knowledge-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 20px; gap: 0; }
  .stat-item { padding: 12px 16px; }
  .stat-divider { display: none; }
  .nav-links { display: none; }
  .news-item { flex-direction: column; gap: 8px; }
  .news-date { min-width: auto; }
}
