/* SEO内容的酷炫样式 - 2025年版 */

/* 通用动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
  }
}

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

/* SEO内容区域 */
.seo-content {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  overflow: hidden;
  position: relative;
}

.seo-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../images/grid-pattern.svg');
  opacity: 0.05;
  pointer-events: none;
}

.seo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.seo-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.keyword-clusters {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-top: 3rem;
  transform: perspective(1000px) rotateX(2deg);
  transition: all 0.3s ease;
  animation: glowPulse 4s infinite;
}

.keyword-clusters:hover {
  transform: perspective(1000px) rotateX(0deg);
  border: 1px solid rgba(99, 102, 241, 0.5);
}

.tech-explanation {
  padding: 1.5rem;
}

.tech-explanation h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #6366f1;
  position: relative;
  display: inline-block;
}

.tech-explanation h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  background-size: 200% 100%;
  animation: borderFlow 3s ease infinite;
}

.tech-explanation p {
  margin-bottom: 1rem;
}

.tech-explanation strong {
  color: #a855f7;
  font-weight: 600;
}

/* 技术规格区域 */
.entity-highlight {
  padding: 3rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

.tech-specs {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tech-specs::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 80%);
  opacity: 0.5;
  z-index: -1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.tech-specs h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-specs ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.tech-specs li {
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  border-left: 3px solid #6366f1;
  transition: all 0.3s ease;
}

.tech-specs li:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.8);
  border-left: 3px solid #ec4899;
}

.tech-specs li strong {
  display: block;
  color: #a855f7;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* FAQ部分 */
.faq-section {
  padding: 4rem 0;
  background: #0f172a;
  color: #f8fafc;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-section [itemtype="https://schema.org/Question"] {
  margin-bottom: 2.5rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-section [itemtype="https://schema.org/Question"]:hover {
  border: 1px solid rgba(99, 102, 241, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.faq-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #6366f1;
  position: relative;
  padding-left: 2rem;
}

.faq-section h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ec4899;
}

.faq-section [itemtype="https://schema.org/Answer"] {
  padding-left: 2rem;
  position: relative;
}

.faq-section [itemtype="https://schema.org/Answer"]::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6366f1;
}

/* 用户意图部分 */
.user-intent-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
}

.how-to-content {
  max-width: 800px;
  margin: 0 auto;
}

.how-to-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-by-step {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.step-by-step li {
  position: relative;
  padding: 2rem 2rem 2rem 4rem;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid #6366f1;
}

.step-by-step li:hover {
  background: rgba(30, 41, 59, 0.7);
  transform: translateX(10px);
}

.step-by-step li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.step-by-step h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #a855f7;
}

/* 案例研究部分 */
.case-studies {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

.case-studies h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.use-case {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.use-case:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.use-case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../images/case-bg.svg');
  opacity: 0.05;
  pointer-events: none;
}

.use-case h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #6366f1;
}

.expert-quote {
  font-style: italic;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 3px solid #ec4899;
  position: relative;
}

.expert-quote::before {
  content: """;
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 3rem;
  color: rgba(236, 72, 153, 0.3);
  line-height: 1;
}

/* 本地化社会证明 */
.localized-social-proof {
  padding: 4rem 0;
  background: #0f172a;
  color: #f8fafc;
}

.localized-social-proof h3 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials {
  margin-bottom: 3rem;
}

blockquote {
  position: relative;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin: 0;
  transition: all 0.3s ease;
}

blockquote:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

blockquote::before {
  content: """;
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(99, 102, 241, 0.2);
  line-height: 1;
}

blockquote p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: 600;
  color: #a855f7;
}

.local-stats {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.local-stats h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #6366f1;
  text-align: center;
}

.local-stats ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.local-stats li {
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.local-stats li:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 研究背景 */
.research-background {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
}

.research-background h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.research-content {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.citation-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.citation-links h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #6366f1;
}

.citation-links ul {
  list-style: none;
  padding: 0;
}

.citation-links li {
  margin-bottom: 0.75rem;
}

.citation-links a {
  color: #a855f7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.5rem 0;
}

.citation-links a:hover {
  color: #ec4899;
  transform: translateX(5px);
}

/* 路线图更新 */
.roadmap-updates {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

.roadmap-updates h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recent-updates, .future-roadmap {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.recent-updates:hover, .future-roadmap:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.recent-updates h3, .future-roadmap h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #6366f1;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 0.75rem;
}

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

.recent-updates li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.recent-updates li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.recent-updates strong {
  color: #a855f7;
  font-weight: 600;
}

/* 在线运行预览 */
.online-preview {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.online-preview a {
  display: block;
  text-decoration: none;
  color: #f8fafc;
  transition: all 0.3s ease;
}

.workflow-preview {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.online-preview:hover .workflow-preview {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.7);
}

.online-caption {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.online-preview:hover .online-caption {
  background: rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
}

.fa-external-link-alt {
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.online-preview:hover .fa-external-link-alt {
  transform: translateX(3px) translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .seo-content h2, 
  .tech-specs h3, 
  .faq-section h2,
  .how-to-content h2, 
  .case-studies h2, 
  .localized-social-proof h3,
  .research-background h2, 
  .roadmap-updates h2 {
    font-size: 1.8rem;
  }
  
  .tech-specs ul, 
  .local-stats ul {
    grid-template-columns: 1fr;
  }
  
  .tech-explanation, 
  .tech-specs, 
  .faq-section [itemtype="https://schema.org/Question"],
  .step-by-step li, 
  .use-case, 
  blockquote, 
  .local-stats,
  .research-content, 
  .recent-updates, 
  .future-roadmap {
    padding: 1.5rem;
  }
  
  .step-by-step li {
    padding-left: 2rem;
  }
  
  .step-by-step li::before {
    left: -15px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* 暗黑模式适配 */
@media (prefers-color-scheme: dark) {
  .seo-content, 
  .entity-highlight, 
  .faq-section,
  .user-intent-section, 
  .case-studies, 
  .localized-social-proof,
  .research-background, 
  .roadmap-updates {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
}

/* 打印样式 */
@media print {
  .seo-content, 
  .entity-highlight, 
  .faq-section,
  .user-intent-section, 
  .case-studies, 
  .localized-social-proof,
  .research-background, 
  .roadmap-updates {
    background: white !important;
    color: black !important;
    break-inside: avoid;
  }
  
  .seo-content h2, 
  .tech-specs h3, 
  .faq-section h2,
  .how-to-content h2, 
  .case-studies h2, 
  .localized-social-proof h3,
  .research-background h2, 
  .roadmap-updates h2 {
    -webkit-text-fill-color: black !important;
    color: black !important;
  }
} 