/* --- 变量定义 --- */
:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1e40af;
  --c-primary-light: #dbeafe;
  --c-accent: #f59e0b;
  --c-accent-dark: #d97706;
  --c-success: #10b981;
  --c-danger: #ef4444;
  --c-bg: #f0f4f8;
  --c-bg-white: #ffffff;
  --c-text: #1e293b;
  --c-text-light: #64748b;
  --c-border: #e2e8f0;
  --c-dark: #0f172a;
  --c-dark-2: #1e293b;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --max-w: 1200px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}

a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* --- 布局容器 --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-gray { background: var(--c-bg-white); }
.section-dark { background: var(--c-dark); color: #cbd5e1; }

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-text);
}
.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--c-text-light);
  margin-bottom: 40px;
}

/* ============================================
   头部导航
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  flex-shrink: 0;
}
.logo:hover { color: var(--c-primary); }
.logo svg { width: 32px; height: 32px; }
.logo span { background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  position: relative;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: width .25s;
}
.main-nav a:hover { color: var(--c-primary); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--c-primary); }
.main-nav a.active::after { width: 100%; }

/* 头部CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 移动端菜单按钮 */
.menu-toggle { display: none; }

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.35); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.35); }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }

/* ============================================
   Hero 区域
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15,23,42,.82), rgba(30,58,95,.7)), url(../images/banner.jpg) center/cover no-repeat;
  color: #fff;
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,.15), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.2), transparent 70%);
  border-radius: 50%;
}

.banner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content { flex: 1; max-width: 760px; }
.hero-visual { flex: 0 0 420px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.4);
  border-radius: 20px;
  font-size: 13px;
  color: #fbbf24;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}
.hero h1 .highlight { color: #fbbf24; }

.hero-desc {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num { font-size: 30px; font-weight: 800; color: #fbbf24; }
.hero-stat-label { font-size: 13px; color: #94a3b8; }

/* Hero 可视化卡片 */
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.hero-card-title { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: #e2e8f0; }
.hero-node-grid { display: flex; flex-direction: column; gap: 10px; }
.hero-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-node-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero-node-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.hero-node-dot.blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.hero-node-dot.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.hero-node-text { font-size: 13px; color: #cbd5e1; }
.hero-node-status { margin-left: auto; font-size: 12px; color: #10b981; }

/* ============================================
   特性卡片网格
   ============================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-card {
  flex: 1 1 280px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}
.feature-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 24px;
}
.feature-icon.blue { background: var(--c-primary-light); color: var(--c-primary); }
.feature-icon.amber { background: #fef3c7; color: var(--c-accent-dark); }
.feature-icon.green { background: #d1fae5; color: var(--c-success); }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.red { background: #fee2e2; color: var(--c-danger); }
.feature-icon.teal { background: #ccfbf1; color: #0d9488; }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--c-text-light); line-height: 1.7; }

/* ============================================
   工作流程
   ============================================ */
.steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.step-item {
  flex: 1 1 220px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
}
.step-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--c-text-light); }

/* ============================================
   套餐价格
   ============================================ */
.pricing-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
}
.price-card {
  flex: 1 1 300px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--c-primary);
  border-width: 2px;
  position: relative;
  box-shadow: var(--shadow);
}
.price-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price-desc { font-size: 13px; color: var(--c-text-light); margin-bottom: 20px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount .currency { font-size: 18px; font-weight: 700; color: var(--c-primary); }
.price-amount .num { font-size: 40px; font-weight: 800; color: var(--c-primary); }
.price-amount .unit { font-size: 14px; color: var(--c-text-light); }
.price-period { font-size: 13px; color: var(--c-text-light); margin-bottom: 24px; }
.price-features { flex: 1; margin-bottom: 24px; }
.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--c-border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--c-success); font-weight: 700; font-size: 16px; }
.price-features li.no::before { content: '✗'; color: var(--c-text-light); }
.price-card .btn { width: 100%; }

/* ============================================
   两栏布局（内页/文章页）—— 已弃用，改为单列首页风格
   ============================================ */

/* 内容卡片 */
.content-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.content-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-primary-light); }
.content-card h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; }
.content-card p { margin-bottom: 14px; color: var(--c-text); }

/* FAQ 列表容器（首页风格居中） */
.faq-list { max-width: 820px; margin: 0 auto; }

/* ============================================
   对比表格（已无引用，保留占位注释）
   ============================================ */

/* ============================================
   友情链接
   ============================================ */
.friend-links {
  background: var(--c-bg);
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
}
.friend-links-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.friend-links-list a {
  font-size: 13px;
  color: var(--c-text-light);
  padding: 2px 0;
}
.friend-links-list a:hover { color: var(--c-primary); }

/* ============================================
   底部导航 / Footer
   ============================================ */
.site-footer {
  background: var(--c-dark);
  color: #94a3b8;
  padding: 50px 0 0;
}
.footer-simple { max-width: 560px; margin-bottom: 28px; }
.footer-simple .footer-desc {
  font-size: 14px;
  line-height: 1.85;
  color: #94a3b8;
  margin: 0 0 12px;
}
.footer-simple .footer-contact-line { font-size: 13px; color: #64748b; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo svg { width: 28px; height: 28px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: #64748b; }

/* ============================================
   文章页专用
   ============================================ */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.article-meta span { display: flex; align-items: center; gap: 4px; }

.article-body { font-size: 15px; line-height: 1.9; color: var(--c-text); }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
.article-body h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.article-body blockquote {
  border-left: 4px solid var(--c-primary);
  background: var(--c-primary-light);
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text);
}
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body ul li, .article-body ol li { margin-bottom: 6px; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.article-tag {
  padding: 4px 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 13px;
  border-radius: 20px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.article-nav a {
  flex: 1;
  padding: 14px 18px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--c-text);
}
.article-nav a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.article-nav a .nav-label { font-size: 12px; color: var(--c-text-light); display: block; margin-bottom: 2px; }

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--c-primary); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px;
  font-size: 14px;
  color: var(--c-text-light);
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ============================================
   CTA 区域
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  text-align: center;
  padding: 48px 0;
}
.cta-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { font-size: 15px; color: #cbd5e1; margin-bottom: 24px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .3s; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .3s;
    z-index: 998;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { width: 100%; }

  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 22px; }

  .section { padding: 36px 0; }
  .section-title { font-size: 24px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .article-nav { flex-direction: column; }
}


/* 核心能力标签行 */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 26px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  color: #e2e8f0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  transition: all .2s;
}
.hero-pill:hover { background: rgba(255,255,255,.12); border-color: rgba(245,158,11,.5); }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }
  .prod-media { display: flex; gap: 48px; align-items: center; margin-top: 36px; }
  .prod-media.reverse { flex-direction: row-reverse; }
  .prod-media .pm-text { flex: 1; }
  .prod-media .pm-text p { color: #475569; line-height: 1.9; margin-bottom: 16px; font-size: 16px; }
  .prod-media .pm-text .step { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
  .prod-media .pm-text .step .no { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--c-primary); color: #fff; font-weight: 700; display: flex; align-items: center;
    justify-content: center; font-size: 14px; }
  .prod-media .pm-text .step .st h4 { margin: 0 0 4px; font-size: 16px; color: var(--c-text); }
  .prod-media .pm-text .step .st p { margin: 0; font-size: 14px; color: #64748b; line-height: 1.7; }
  .prod-media .pm-img { flex: 1; }
  .prod-media .pm-img img { width: 100%; border-radius: 16px; box-shadow: 0 14px 36px rgba(15,23,42,.16); display: block; }
  @media (max-width: 768px) { .prod-media, .prod-media.reverse { flex-direction: column; } }
    .buy-simple { max-width: 520px; margin: 40px auto 0; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 36px 32px; text-align: center; }
  .buy-simple .bs-row { padding: 16px 0; border-bottom: 1px dashed #e2e8f0; }
  .buy-simple .bs-row:last-child { border-bottom: none; }
  .buy-simple .bs-label { font-size: 14px; color: #94a3b8; margin-bottom: 6px; }
  .buy-simple .bs-qq { font-size: 30px; font-weight: 800; color: var(--c-primary); letter-spacing: 1px; }
  .buy-simple .bs-price { font-size: 30px; font-weight: 800; color: var(--c-accent); }
  .buy-simple .bs-tip { margin: 22px 0 0; font-size: 14px; color: #64748b; line-height: 1.8; }