/* 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.html');
  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.html');
  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;
  }
} 

/* SEO深度优化样式 - 2024年世界级标准 */
/* 作者：辰美 | Blood Message攻略网站 */
/* 优化目标：Core Web Vitals满分 + 全球推广 */

/* ==================== Core Web Vitals 优化 ==================== */

/* LCP (Largest Contentful Paint) 优化 */
.hero-section {
    /* 关键渲染路径优化 */
    contain: layout style paint;
    will-change: transform;
    transform: translateZ(0); /* GPU加速 */
}

.hero-image {
    /* 图片优化 - LCP关键元素 */
    content-visibility: auto;
    contain-intrinsic-size: 800px 450px;
    loading: eager; /* 英雄图片立即加载 */
    decoding: sync;
    fetchpriority: high; /* 2024新标准 */
}

/* CLS (Cumulative Layout Shift) 防止 */
.content-container {
    /* 布局稳定性保证 */
    min-height: 100vh;
    contain: layout;
}

.image-placeholder {
    /* 防止图片加载导致的布局偏移 */
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* FID (First Input Delay) 优化 */
.interactive-element {
    /* 交互响应优化 */
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.button, .link {
    /* 快速交互响应 */
    transition: transform 0.1s ease-out, background-color 0.1s ease-out;
    will-change: transform;
}

.button:hover, .button:focus {
    transform: translateY(-1px);
}

/* ==================== 语义化SEO优化 ==================== */

/* 结构化数据视觉支持 */
.game-info[itemscope] {
    /* Schema.org VideoGame 标记支持 */
    position: relative;
}

.game-info[itemscope]::before {
    content: "🎮";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 12px;
    opacity: 0; /* 仅供SEO，用户不可见 */
}

.rating-stars[itemprop="aggregateRating"] {
    /* 评分结构化数据 */
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.breadcrumb[itemscope] {
    /* 面包屑导航SEO优化 */
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-item[itemprop="itemListElement"] {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: var(--text-muted);
}

/* ==================== 多语言SEO优化 ==================== */

/* hreflang 支持 */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 150px;
}

.language-option[hreflang] {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.language-option[hreflang]:last-child {
    border-bottom: none;
}

.language-option[hreflang]:hover {
    background-color: var(--bg-secondary);
}

/* 当前语言标识 */
.language-option[hreflang].current {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* ==================== 内容优化 ==================== */

/* 长内容SEO优化 */
.long-content {
    /* 2024标准：1447+字内容优化 */
    line-height: 1.6;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 32px;
    scroll-margin-top: 100px; /* 锚点偏移 */
}

.content-section h2 {
    /* H2标签SEO优化 */
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
    position: relative;
}

.content-section h3 {
    /* H3标签优化 */
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    color: var(--text-primary);
}

/* 关键词密度优化 */
.keyword-primary {
    /* 主关键词强调 */
    font-weight: 600;
    color: var(--primary-color);
}

.keyword-secondary {
    /* 次要关键词 */
    font-weight: 500;
}

.keyword-longtail {
    /* 长尾关键词 */
    font-style: italic;
}

/* ==================== 技术SEO优化 ==================== */

/* 图片SEO优化 */
.seo-image {
    /* 图片优化最佳实践 */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.seo-image:hover {
    transform: scale(1.02);
}

.image-caption {
    /* 图片说明SEO优化 */
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* 视频SEO优化 */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================== 链接优化 ==================== */

/* 内部链接优化 */
.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.internal-link:hover {
    border-bottom-color: var(--primary-color);
    background: linear-gradient(to right, 
        rgba(139, 0, 0, 0.1) 0%, 
        rgba(139, 0, 0, 0.05) 100%);
}

/* 外部链接优化 */
.external-link {
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
}

.external-link::after {
    content: "↗";
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

.external-link:hover {
    text-decoration: underline;
}

/* ==================== 社交分享优化 ==================== */

.social-share {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 32px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* ==================== FAQ结构化数据支持 ==================== */

.faq-container[itemscope] {
    margin: 48px 0;
}

.faq-item[itemscope] {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item[itemscope]:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-question[itemprop="name"] {
    background: var(--bg-secondary);
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}

.faq-question[itemprop="name"]:hover {
    background: var(--bg-tertiary);
}

.faq-question[itemprop="name"]::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question[itemprop="name"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer[itemprop="acceptedAnswer"] {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer[itemprop="acceptedAnswer"] {
    padding: 20px;
    max-height: 500px;
}

.faq-answer-text[itemprop="text"] {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 移动端SEO优化 ==================== */

@media (max-width: 768px) {
    .hero-section {
        /* 移动端LCP优化 */
        min-height: 50vh;
    }
    
    .long-content {
        /* 移动端内容优化 */
        font-size: 16px;
        line-height: 1.5;
        padding: 0 16px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .social-share {
        flex-direction: column;
        gap: 8px;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== 打印样式SEO ==================== */

@media print {
    .hero-section,
    .social-share,
    .language-selector {
        display: none;
    }
    
    .long-content {
        max-width: none;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .internal-link,
    .external-link {
        color: black;
        text-decoration: underline;
    }
    
    .external-link::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}

/* ==================== 深色模式SEO优化 ==================== */

@media (prefers-color-scheme: dark) {
    .image-placeholder {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    }
    
    .faq-question[itemprop="name"] {
        background: var(--bg-secondary-dark, #2a2a2a);
    }
    
    .share-button {
        background: var(--bg-primary-dark, #1a1a1a);
        border-color: var(--border-color-dark, #444);
        color: var(--text-primary-dark, #e0e0e0);
    }
}

/* ==================== 高对比度模式支持 ==================== */

@media (prefers-contrast: high) {
    .keyword-primary {
        background: yellow;
        color: black;
        padding: 2px 4px;
        border-radius: 3px;
    }
    
    .internal-link,
    .external-link {
        text-decoration: underline;
        font-weight: bold;
    }
    
    .faq-item[itemscope] {
        border-width: 2px;
        border-color: black;
    }
}

/* ==================== 减少动画模式 ==================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shimmer {
        animation: none;
        background: #f0f0f0;
    }
}

/* ==================== 性能监控标记 ==================== */

.performance-marker {
    /* 用于性能监控的隐藏标记 */
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
} 