/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  background: #07080c;
  color: #e6e8ee;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ============ 背景层 ============ */
.grid-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(120, 119, 198, .05) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(120, 119, 198, .05) 1px, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(ellipse at 50% 0%, #1a1633 0%, #07080c 60%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.glow {
  position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: .35; pointer-events: none;
}
.glow-1 { width: 600px; height: 600px; background: #6e5cff; top: -200px; left: -150px; }
.glow-2 { width: 500px; height: 500px; background: #00d4ff; top: 30%; right: -200px; }
.glow-3 { width: 700px; height: 700px; background: #ff5cb3; bottom: -300px; left: 30%; opacity: .2; }

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 8, 12, .7); border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 100%);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 20px rgba(110, 92, 255, .4);
}
.logo-text { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.logo-text span { color: #8a8a9e; font-weight: 400; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: #a8a8bc; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ============ Hero ============ */
.hero {
  max-width: 1280px; margin: 0 auto; padding: 120px 32px 100px; text-align: center;
}
.hero-tag {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  background: rgba(110, 92, 255, .1); border: 1px solid rgba(110, 92, 255, .3);
  color: #b8b0ff; font-size: 12px; letter-spacing: .12em; font-family: 'JetBrains Mono', monospace;
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px); line-height: 1.05; letter-spacing: -.04em;
  font-weight: 700; margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 50%, #ff5cb3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 18px; color: #9a9ab0; max-width: 640px; margin: 0 auto 64px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 800px; margin: 0 auto;
}
.stat { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.stat-num {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 0%, #b8b0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 12px; color: #6a6a82; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

/* ============ 通用 section ============ */
.section { max-width: 1280px; margin: 0 auto; padding: 100px 32px; }
.section-dark {
  max-width: none; padding: 100px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(110, 92, 255, .03) 50%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05);
}
.section-dark .section-head, .section-dark .charts-grid { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 64px; }
.section-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: #6e5cff; letter-spacing: .12em; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; font-weight: 700; margin-bottom: 16px;
}
.section-desc { color: #9a9ab0; font-size: 16px; max-width: 560px; }

/* ============ 商品卡片 ============ */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.product-card {
  position: relative; padding: 28px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .3s ease; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, transparent 0%, rgba(110, 92, 255, .3) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;  /* ★ 不拦截子元素点击 */
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(110, 92, 255, .3); }
.product-card:hover::before { opacity: 1; }
.product-card.highlight {
  background: linear-gradient(180deg, rgba(110, 92, 255, .08) 0%, rgba(0, 212, 255, .02) 100%);
  border-color: rgba(110, 92, 255, .3);
}
.card-num {
  position: absolute; top: 24px; right: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #4a4a5e; letter-spacing: .08em;
}
.card-badge {
  position: absolute; top: 24px; left: 0;
  background: linear-gradient(135deg, #ff5cb3 0%, #6e5cff 100%);
  color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 0 4px 4px 0;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 92, 255, .15) 0%, rgba(0, 212, 255, .15) 100%);
  display: grid; place-items: center; color: #b8b0ff; margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.product-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.01em; }
.card-tag { font-size: 12px; color: #6e5cff; font-family: 'JetBrains Mono', monospace; margin-bottom: 16px; }
.card-desc { font-size: 14px; color: #9a9ab0; line-height: 1.7; margin-bottom: 16px; min-height: 70px; }
.card-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.card-features span {
  font-size: 11px; color: #b8b8cc; padding: 3px 10px;
  background: rgba(255,255,255,.05); border-radius: 100px; border: 1px solid rgba(255,255,255,.06);
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06);
}
.card-price { font-size: 14px; color: #9a9ab0; }
.card-price b { font-size: 28px; font-weight: 700; color: #fff; margin-left: 2px; }
.card-btn {
  font-size: 13px; font-weight: 500; color: #fff;
  padding: 8px 16px; border-radius: 8px;
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 100%);
  transition: transform .2s, box-shadow .2s;
}
.card-btn:hover { transform: translateX(2px); box-shadow: 0 4px 16px rgba(110, 92, 255, .4); }

/* ============ 图表卡片 ============ */
.charts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px;
}
.chart-card {
  padding: 24px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
}
.chart-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.chart-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #4a4a5e;
  padding: 3px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px;
}
.chart-name { font-size: 16px; font-weight: 600; }
.chart-en { font-size: 11px; color: #6a6a82; font-family: 'JetBrains Mono', monospace; margin-left: auto; }
.chart-body { width: 100%; height: 320px; min-height: 320px; }
.chart-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: #6a6a82;
}
.chart-buy {
  font-size: 12px; font-weight: 500; color: #fff;
  padding: 6px 12px; border-radius: 6px;
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 100%);
  transition: transform .2s, box-shadow .2s;
}
.chart-buy:hover { transform: translateX(2px); box-shadow: 0 4px 16px rgba(110, 92, 255, .4); color: #fff; }

/* ============ Pipeline ============ */
.pipeline {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; justify-content: space-between;
}
.pipe-step {
  flex: 1 1 170px; min-width: 150px;
  padding: 24px 20px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(110, 92, 255, .06) 0%, transparent 100%);
  border: 1px solid rgba(110, 92, 255, .15);
  display: flex; flex-direction: column;
}
.pipe-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #6e5cff; font-weight: 300; min-width: 24px;
}
.pipe-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #6e5cff; margin-bottom: 8px; }
.pipe-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pipe-step p { font-size: 12px; color: #9a9ab0; line-height: 1.6; }

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 32px 24px; margin-top: 60px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 48px;
}
.foot-brand p { color: #6a6a82; font-size: 14px; margin-top: 16px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-title { font-size: 13px; font-weight: 600; margin-bottom: 16px; color: #fff; }
.foot-col a, .foot-col span { display: block; font-size: 13px; color: #9a9ab0; margin-bottom: 8px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px;
  text-align: center; padding: 24px 32px 12px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: #4a4a5e; max-width: 1280px; margin: 0 auto;
}
.footer-bottom > div { display: inline-flex; align-items: center; }

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 80px 20px 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-trust { font-size: 11px; }
  .section, .section-dark { padding: 60px 20px; }
  .charts-grid { grid-template-columns: 1fr; }
  .pipeline { flex-direction: column; }
  .pipe-arrow { transform: rotate(90deg); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ============ Hero CTA + Trust（首屏钩子） ============ */
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin: 32px auto 28px;
}
.cta-primary, .cta-secondary {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.cta-primary {
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 100%);
  color: #fff !important; box-shadow: 0 8px 24px rgba(110, 92, 255, .35);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(110, 92, 255, .5); color: #fff !important; }
.cta-secondary {
  background: rgba(255,255,255,.04); color: #fff !important;
  border: 1px solid rgba(255,255,255,.15);
}
.cta-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff !important; }

.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px; font-size: 13px; color: #8a8aa0;
}
.trust-item { display: inline-flex; align-items: center; gap: 4px; }
.trust-item::before { content: '✓'; color: #00d4ff; font-weight: 700; }

/* ============ 教程入口卡片（替换 inline style） ============ */
.tutorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1280px; margin: 0 auto; }
.tut-card {
  padding: 24px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(110,92,255,.08) 0%, rgba(110,92,255,.02) 100%);
  border: 1px solid rgba(110,92,255,.2);
  display: block; transition: transform .2s, border-color .2s;
}
.tut-card:hover { transform: translateY(-3px); border-color: rgba(110,92,255,.5); }
.tut-card .ch-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .12em; margin-bottom: 6px;
}
.tut-card .ch-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; color: #fff; }
.tut-card .ch-en { font-size: 12px; color: #6a6a82; margin-bottom: 12px; }
.tut-card .ch-desc { font-size: 13px; color: #9a9ab0; line-height: 1.6; }
.tut-card.ch-blue { background: linear-gradient(180deg, rgba(0,212,255,.08) 0%, rgba(0,212,255,.02) 100%); border-color: rgba(0,212,255,.2); }
.tut-card.ch-blue:hover { border-color: rgba(0,212,255,.5); }
.tut-card.ch-blue .ch-tag { color: #00d4ff; }
.tut-card.ch-pink { background: linear-gradient(180deg, rgba(255,92,179,.08) 0%, rgba(255,92,179,.02) 100%); border-color: rgba(255,92,179,.2); }
.tut-card.ch-pink:hover { border-color: rgba(255,92,179,.5); }
.tut-card.ch-pink .ch-tag { color: #ff5cb3; }
.tut-card.ch-gold { background: linear-gradient(180deg, rgba(255,215,0,.08) 0%, rgba(255,215,0,.02) 100%); border-color: rgba(255,215,0,.2); }
.tut-card.ch-gold:hover { border-color: rgba(255,215,0,.5); }
.tut-card.ch-gold .ch-tag { color: #ffd700; }
.tut-card.ch-purple .ch-tag { color: #6e5cff; }
.tut-card.ch-green { background: linear-gradient(180deg, rgba(34,197,94,.08) 0%, rgba(34,197,94,.02) 100%); border-color: rgba(34,197,94,.2); }
.tut-card.ch-green:hover { border-color: rgba(34,197,94,.5); }
.tut-card.ch-green .ch-tag { color: #22c55e; }
.tut-card.ch-cyan { background: linear-gradient(180deg, rgba(6,182,212,.08) 0%, rgba(6,182,212,.02) 100%); border-color: rgba(6,182,212,.2); }
.tut-card.ch-cyan:hover { border-color: rgba(6,182,212,.5); }
.tut-card.ch-cyan .ch-tag { color: #06b6d4; }
.tut-card.ch-orange { background: linear-gradient(180deg, rgba(249,115,22,.08) 0%, rgba(249,115,22,.02) 100%); border-color: rgba(249,115,22,.2); }
.tut-card.ch-orange:hover { border-color: rgba(249,115,22,.5); }
.tut-card.ch-orange .ch-tag { color: #f97316; }
.tut-card.ch-rose { background: linear-gradient(180deg, rgba(244,63,94,.08) 0%, rgba(244,63,94,.02) 100%); border-color: rgba(244,63,94,.2); }
.tut-card.ch-rose:hover { border-color: rgba(244,63,94,.5); }
.tut-card.ch-rose .ch-tag { color: #f43f5e; }
.tut-card.ch-teal { background: linear-gradient(180deg, rgba(20,184,166,.08) 0%, rgba(20,184,166,.02) 100%); border-color: rgba(20,184,166,.2); }
.tut-card.ch-teal:hover { border-color: rgba(20,184,166,.5); }
.tut-card.ch-teal .ch-tag { color: #14b8a6; }
.tut-card.ch-violet { background: linear-gradient(180deg, rgba(168,85,247,.08) 0%, rgba(168,85,247,.02) 100%); border-color: rgba(168,85,247,.2); }
.tut-card.ch-violet:hover { border-color: rgba(168,85,247,.5); }
.tut-card.ch-violet .ch-tag { color: #a855f7; }

/* ============ 教程入口 CTA 按钮 ============ */
.tut-cta {
  text-align: center; margin-top: 40px;
}
.tut-cta a {
  display: inline-block; padding: 12px 32px; border-radius: 8px;
  background: linear-gradient(135deg, #6e5cff 0%, #00d4ff 100%);
  color: #fff; font-weight: 600; font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.tut-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(110, 92, 255, .4); color: #fff; }

/* ============ 价格样式（旧卡价格部分小数） ============ */
.price-decimal { font-size: 14px; color: #9a9ab0; margin-left: 2px; }

/* ============ 最新博客卡片区 ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.blog-card {
  display: block;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: all .25s ease;
}
.blog-card:hover {
  border-color: rgba(110,92,255,.45);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(110,92,255,.05) 0%, rgba(110,92,255,.01) 100%);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
}
.blog-date {
  font-family: 'JetBrains Mono', monospace;
  color: #6a6a82;
  letter-spacing: .04em;
}
.blog-tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}
.tag-product { background: rgba(255,92,179,.15); color: #ff5cb3; }
.tag-viz     { background: rgba(0,212,255,.15);  color: #00d4ff; }
.tag-tts     { background: rgba(249,115,22,.15); color: #f97316; }
.tag-crawler { background: rgba(34,197,94,.15);  color: #22c55e; }
.tag-w2v     { background: rgba(168,85,247,.15); color: #a855f7; }
.blog-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 13px;
  color: #9a9ab0;
  line-height: 1.65;
  margin: 0;
}

/* ============ FAQ 折叠列表 ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(110,92,255,.4); }
.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #6e5cff;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #9a9ab0;
  line-height: 1.75;
}
.faq-item p b { color: #d0d0e0; font-weight: 600; }

/* ============ Footer 抖音/矩阵账号 ============ */
.foot-subline {
  margin-top: 12px;
  font-size: 12px;
  color: #6a6a82;
}
.foot-douyin, .foot-douyin-row {
  color: #ff5cb3;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,92,179,.3);
  padding-bottom: 1px;
}
.foot-douyin:hover, .foot-douyin-row:hover {
  color: #ff8cd0;
  border-bottom-color: rgba(255,92,179,.7);
}
.foot-douyin-row {
  display: inline-block;
  margin-top: 4px;
}
