/* ==========================================================================
   闪狐 FlashFox — 现代社论杂志风 (High-Readability Editorial Technology Style)
   高清晰对比度优化：纯黑大字 (Crisp Black), 暗炭灰正文 (Dark Charcoal #22252a), 1.8 舒适行高, 强化字体清晰度
   ========================================================================== */

:root {
  --bg-main: #fcfbfa;
  --bg-surface: #f3f1e9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  
  --border-color: rgba(0, 0, 0, 0.14);
  --border-strong: #000000;
  --border-accent: #111111;

  --text-main: #000000;
  --text-muted: #22252a; /* 高对比暗炭灰，大幅提升可读性 */
  --text-dim: #4b4e54;   /* 加深标签与副标题明度 */

  --accent-primary: #000000;
  --accent-highlight: #059669; /* 翡翠绿强化 */
  --accent-badge: #111111;

  --font-serif: "Playfair Display", "Newsreader", "Noto Serif SC", "Georgia", "Source Serif Pro", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 杂志顶栏刊号 */
.magazine-bar {
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-main);
}

.magazine-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Header & 导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(252, 251, 250, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #000000;
  padding: 1.15rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  color: #000000;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  border-radius: 2px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-highlight);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  background: #000000;
  color: #ffffff;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}

.nav-cta:hover {
  background: #262626;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero 主视觉区
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-issue-tag {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-issue-tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #000000;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #000000;
}

.gradient-text {
  font-style: italic;
  font-weight: 500;
  color: #000000;
  border-bottom: 2px solid #000000;
  padding-bottom: 2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  background: #000000;
  color: #ffffff;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: #262626;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: #000000;
  color: #ffffff;
}

/* 右侧数据控制台 */
.hero-visual {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border: 2px solid #000000;
  padding: 2.25rem;
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.9);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #000000;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.window-dots {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000000;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  padding: 0.3rem 0.75rem;
  text-transform: uppercase;
}

.speed-meter-box {
  background: var(--bg-surface);
  border: 1px solid #000000;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.speed-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.speed-label {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.speed-val {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #000000;
}

.speed-val span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #d8d4c9;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 94%;
  background: #000000;
  animation: speedPulse 3s ease-in-out infinite;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #000000;
  padding: 0.85rem 1.15rem;
  font-size: 0.875rem;
}

.node-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: #000000;
}

.node-ping {
  font-family: var(--font-mono);
  color: #000000;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ping-bar {
  width: 40px;
  height: 5px;
  background: #d8d4c9;
  position: relative;
}

.ping-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 85%;
  background: #000000;
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section-header {
  text-align: left;
  margin-bottom: 3.5rem;
  border-bottom: 2px solid #000000;
  padding-bottom: 1.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
}

.section-desc {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* 三大核心优势 */
.features-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.card {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.9);
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.25rem;
  display: block;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #000000;
  border: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #000000;
}

.card-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 流媒体与 AI 支持图卡 */
.media-ai-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.tag-card {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 1.65rem;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  transition: all 0.2s ease;
}

.tag-card:hover {
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.tag-icon {
  width: 50px;
  height: 50px;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.tag-info h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
}

.tag-info p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* 真实套餐价格表 */
.pricing-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.pricing-card {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 2.75rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pricing-card.popular {
  border: 2.5px solid #000000;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.9);
}

.popular-tag {
  position: absolute;
  top: 0;
  right: 2rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 0.4rem 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #000000;
}

.plan-desc-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: #000000;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  border-bottom: 2px dashed #000000;
  padding-bottom: 1.25rem;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.original-price {
  text-decoration: line-through;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: #000000;
  flex-shrink: 0;
}

/* SEO 文章专栏卡片 */
.articles-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.article-card {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--text-main);
}

.article-card:hover {
  border-color: #000000;
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.article-category {
  display: inline-block;
  font-size: 0.725rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  padding: 0.25rem 0.65rem;
  border: 1px solid #000000;
  margin-bottom: 1rem;
  align-self: flex-start;
  text-transform: uppercase;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  color: #000000;
  transition: color 0.2s ease;
}

.article-card:hover .article-card-title {
  color: var(--accent-highlight);
}

.article-card-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 600;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.read-more {
  color: #000000;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-transform: uppercase;
}

/* 用户评价 */
.reviews-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 2rem;
}

.review-stars {
  color: #000000;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.review-content {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.35rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 40px;
  height: 40px;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.author-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: #000000;
}

.author-role {
  font-size: 0.775rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* FAQ 折叠问答 */
.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #000000;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #000000;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.faq-summary {
  padding: 1.35rem 1.65rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: #000000;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: #000000;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.65rem 1.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border-color);
  padding-top: 1.15rem;
}

/* 页脚 Footer */
.site-footer {
  margin-top: auto;
  background-color: #000000;
  color: #ffffff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 3rem;
  margin-bottom: 2rem;
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #10b981;
}

.footer-copy {
  font-size: 0.8rem;
  color: #a3a3a3;
  font-family: var(--font-mono);
}

.footer-pbn-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: #d4d4d4;
  text-align: center;
}

.footer-pbn-links a {
  transition: opacity 0.2s ease;
}

.footer-pbn-links a:hover {
  opacity: 0.85;
}

/* 子页面通用 */
.page-container {
  padding: 5rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 3px solid #000000;
  padding-bottom: 1rem;
  color: #000000;
}

.content-block {
  background: #ffffff;
  border: 1.5px solid #000000;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.content-block h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.content-block p, .content-block ul {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.15rem;
}

.content-block ul {
  padding-left: 1.35rem;
}

.content-block li {
  margin-bottom: 0.6rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* 响应式断点 */
@media (min-width: 640px) {
  .hero-cta-group { flex-direction: row; }
  .support-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-title { font-size: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
}
