/* ========== 博客/洞察页面专用样式 - 暗色玻璃版 ========== */

/* 文章列表 */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
}

.blog-card__category {
  color: #ffb829;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card__date {
  color: rgba(255, 255, 255, 0.4);
}

.blog-card__title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.blog-card__title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-card__title a:hover {
  color: #22d3ee;
}

.blog-card__desc {
  font-size: 15px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 文章详情页 - 暗色玻璃 */
.article-page {
  max-width: 800px;
  margin: 48px auto;
  padding: 48px;
}

.article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-category {
  color: #ffb829;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.article-date,
.article-author {
  color: rgba(255, 255, 255, 0.4);
}

.article-title {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.article-excerpt {
  font-size: 18px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag,
.blog-card__tags .article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(128, 82, 255, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(128, 82, 255, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* 文章内容 */
.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.article-content h2 {
  font-size: 28px;
  font-weight: 400;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #ffffff;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #ffffff;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-content th,
.article-content td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.article-content th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  color: #ffffff;
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-content a {
  color: #22d3ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: #67e8f9;
}

.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

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

.article-content blockquote {
  border-left: 4px solid #8052ff;
  padding-left: 24px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.article-content code {
  background: rgba(255, 255, 255, 0.08);
  color: #67e8f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 14px;
}

.article-content pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

/* 文章底部 CTA */
.article-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-cta {
  background: linear-gradient(135deg, rgba(128, 82, 255, 0.25) 0%, rgba(34, 211, 238, 0.15) 100%);
  border: 1px solid rgba(128, 82, 255, 0.3);
  color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.article-cta p {
  opacity: 0.85;
  margin-bottom: 24px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .article-page {
    padding: 32px 24px;
  }

  .article-title {
    font-size: 32px;
  }

  .article-content {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .blog-card {
    padding: 24px;
  }

  .blog-card__title {
    font-size: 20px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-cta {
    padding: 28px;
  }
}
