/* ==========================================================================
   魔戒落地页核心样式表 (style.css)
   设计规范：极客深色模式 / 磨砂玻璃质感 / 发光边框 / 响应式排版
   ========================================================================== */

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #07090e;
  --bg-surface: #0f141f;
  --bg-surface-elevated: #161e2e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(56, 189, 248, 0.3);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --cta-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  --cta-glow: 0 0 25px rgba(6, 182, 212, 0.35);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Header 微导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
}

.nav-link:hover {
  color: #fff;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-icon {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* 2. Hero 核心视觉区 */
.hero-section {
  padding: 56px 0 44px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  font-weight: 500;
}

h1.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

/* 转化双 CTA 按钮组 */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  padding: 15px 28px;
  position: relative;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #ffffff;
  box-shadow: var(--cta-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 580px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 580px;
  font-size: 0.95rem;
  padding: 13px 24px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-notices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 10px;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Section 通用规范 */
.section {
  padding: 42px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 3. 红黑榜：魔戒优劣势客观拆解 */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.card-pros {
  border-top: 3px solid var(--accent-green);
}

.card-cons {
  border-top: 3px solid var(--accent-amber);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.badge-pros {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.badge-cons {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-item strong {
  color: #fff;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.icon-green {
  color: var(--accent-green);
}

.icon-amber {
  color: var(--accent-amber);
}

.pros-cons-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pros-cons-summary strong {
  color: var(--accent-cyan);
}

/* 4. 核心变现区：场景化横向对比 */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.compare-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.compare-card.featured {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 20, 31, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.15);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4, #6366f1);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
  white-space: nowrap;
}

.compare-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.compare-tier-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.compare-tier-role {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-top: 3px;
}

.compare-price {
  margin-top: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.compare-price span.unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
}

.compare-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.spec-val.highlight {
  color: var(--accent-green);
}

.coupon-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.coupon-code {
  font-family: monospace;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.coupon-btn {
  color: var(--accent-cyan);
  cursor: pointer;
  font-weight: 600;
  border: none;
  background: transparent;
  font-size: 0.82rem;
}

/* 5. FAQ 折叠问答区 */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--bg-surface-elevated);
}

.faq-question {
  padding: 18px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

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

.faq-chevron {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

/* 6. Footer 页脚 */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  margin-top: 48px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.footer-disclaimer {
  max-width: 780px;
  margin: 0 auto 12px;
}

/* 移动端响应式断点 */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
  }

  .pros-cons-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 38px 0 32px;
  }

  .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .compare-card.featured {
    order: -1;
  }
}

/* ==========================================
   文章站痛点 FAQ 折叠手风琴组件样式
   ========================================== */
.article-faq {
  margin: 38px 0 26px;
}
.article-faq details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.article-faq details[open] {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.article-faq summary {
  padding: 15px 18px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
}
.article-faq summary::-webkit-details-marker {
  display: none;
}
.article-faq summary::after {
  content: "➕";
  font-size: 0.82rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}
.article-faq details[open] summary::after {
  content: "➖";
}
.faq-answer {
  padding: 0 18px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* ==========================================
   文章上下篇无缝衔接组件 (Post Navigation)
   ========================================== */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 640px) {
  .post-navigation {
    grid-template-columns: 1fr;
  }
}
.nav-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.nav-card:hover {
  background: rgba(56, 189, 248, 0.04);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}
.nav-card.next {
  text-align: right;
  align-items: flex-end;
}
.nav-card.prev {
  text-align: left;
  align-items: flex-start;
}
.nav-direction {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-title {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nav-card:hover .nav-title {
  color: var(--accent-cyan);
}


