/* ==========================================================================
   Flybit 飞比特机场 - 文章页专属极速原生样式表
   Domain: flybitvip.homes
   Standard: 纯原生 CSS3，阅读体验深度优化，支持长文SEO排版
   ========================================================================== */

/* 文章外层容器 */
.article-page-wrap {
  padding: 40px 0 80px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* 面包屑导航 */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--brand-cyan);
}

.breadcrumbs span.divider {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.breadcrumbs span.current {
  color: var(--brand-sky);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 文章头部 */
.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.article-header-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.article-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 正文主体排版 */
.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  position: relative;
}

.article-content h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-brand);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 28px;
  margin-bottom: 14px;
}

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

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

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

.article-content strong {
  color: #ffffff;
  font-weight: 700;
}

.article-content a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.article-content a:hover {
  color: var(--brand-sky);
}

/* 重点提示框与引语 */
.article-callout {
  background: rgba(0, 242, 254, 0.05);
  border-left: 4px solid var(--brand-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 0.98rem;
  color: #e2e8f0;
}

.article-callout.callout-success {
  background: rgba(16, 185, 129, 0.05);
  border-left-color: var(--brand-emerald);
}

.article-callout.callout-warning {
  background: rgba(245, 158, 11, 0.05);
  border-left-color: var(--brand-amber);
}

/* 文章内部对比表格 */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.article-table th {
  background: rgba(15, 23, 42, 0.9);
  color: var(--brand-cyan);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-glass);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

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

.article-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* 代码与订阅配置区域 */
.article-code-block {
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.6;
}

/* 文中专属高转化CTA卡片 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(15, 28, 63, 0.95) 0%, rgba(9, 14, 30, 0.98) 100%);
  border: 1.5px solid var(--border-featured);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  margin: 36px 0;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.18);
}

.article-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.article-cta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.btn-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.5);
  transition: all var(--transition-fast);
}

.btn-article-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 182, 193, 0.85);
  filter: brightness(1.08);
  color: #0f172a;
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links-list li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.sidebar-links-list li a:hover {
  color: var(--brand-cyan);
}

.sidebar-links-list li a svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.sidebar-card-cta {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-color: rgba(0, 242, 254, 0.4);
  text-align: center;
}

.sidebar-card-cta h4 {
  border-bottom: none;
  padding-bottom: 0;
  font-size: 1.25rem;
}

.sidebar-price-tag {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-cyan);
  margin: 10px 0;
}

.sidebar-price-tag span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 文章底部作者与声明 */
.article-footer-box {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.article-tag-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.article-tag-item:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .article-content {
    padding: 24px 18px;
    font-size: 0.98rem;
  }
  .article-main-title {
    font-size: 1.7rem;
  }
}
