@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

:root {
  --clr-bg: #000000;
  --clr-surface: #121212;
  --clr-surface2: #1a1a1a;
  --clr-border: #1e2d4a;
  --clr-border-bright: #2a4a7a;
  --clr-text: #e0e0e0;
  --clr-text-muted: #888888;
  --clr-accent: #1a6eb5;
  --clr-accent-bright: #2d8fe0;
  --clr-accent-glow: rgba(45, 143, 224, 0.15);
  --clr-neon-blue: #00b4ff;
  --clr-neon-green: #00ff88;
  --clr-neon-gold: #ffd700;
  --clr-white: #ffffff;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 60px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --content-max: 860px;
  --layout-max: 1200px;
  color-scheme: dark;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.dark-mode {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--clr-accent-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--clr-neon-blue);
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
}

a:focus-visible {
  outline: 2px solid var(--clr-accent-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== 页面骨架 ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== 侧边抽屉导航（aside > nav > ul > li > a） ===== */
.site-aside {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: var(--clr-surface);
  border-right: 1px solid var(--clr-border);
  z-index: 200;
  overflow-y: auto;
  transition: left 0.3s ease;
  padding-top: var(--header-h);
}

.site-aside.is-open {
  left: 0;
}

.site-aside nav ul {
  padding: 16px 0;
}

.site-aside nav ul li a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--clr-text);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.site-aside nav ul li a:hover,
.site-aside nav ul li a[aria-current="page"] {
  color: var(--clr-neon-blue);
  border-left-color: var(--clr-neon-blue);
  background: rgba(0, 180, 255, 0.05);
  text-shadow: none;
}

.aside-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 190;
}

.aside-overlay.is-visible {
  display: block;
}

/* ===== 顶部头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--clr-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
}

.brand-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-nav {
  flex: 1;
  overflow: hidden;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav ul::-webkit-scrollbar {
  display: none;
}

.header-nav ul li a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
  min-height: 40px;
  line-height: 24px;
}

.header-nav ul li a:hover,
.header-nav ul li a[aria-current="page"] {
  color: var(--clr-neon-blue);
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.5);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--clr-accent);
  color: var(--clr-white) !important;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border-bright);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 40px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-shadow: none !important;
}

.cta-btn:hover {
  background: var(--clr-accent-bright);
  box-shadow: 0 0 12px rgba(45, 143, 224, 0.4);
}

/* ===== main > section > article 结构 ===== */
main {
  flex: 1;
}

main > section > article {
  width: 100%;
}

/* ===== Hero（首页，全宽大图+蒙版，45vh，文案右对齐） ===== */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-surface);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(18,18,18,0.6) 50%, rgba(0,20,60,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 48px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid var(--clr-neon-blue);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-neon-blue);
  margin-bottom: 16px;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--clr-neon-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-section h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.3;
  max-width: 700px;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  max-width: 500px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--clr-accent);
  color: var(--clr-white) !important;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border-bright);
  min-height: 44px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-shadow: none !important;
}

.btn-primary:hover {
  background: var(--clr-accent-bright);
  box-shadow: 0 0 14px rgba(45, 143, 224, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: transparent;
  color: var(--clr-text) !important;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  min-height: 44px;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-shadow: none !important;
}

.btn-ghost:hover {
  border-color: var(--clr-accent-bright);
  color: var(--clr-accent-bright) !important;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.feature-link:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--clr-neon-gold);
  text-shadow: none;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--clr-neon-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-title {
  font-size: 0.85rem;
  color: var(--clr-text);
  font-family: var(--font-mono);
}

/* ===== 较小 Hero（内页通用） ===== */
.page-hero-sm {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 40px 20px;
}

.hero-content-sm {
  max-width: var(--layout-max);
  margin: 0 auto;
}

.page-hero-sm h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.3;
}

/* ===== review hero ===== */
.review-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--clr-surface);
}

.review-hero .hero-media {
  position: absolute;
  inset: 0;
}

.review-hero .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.review-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 32px 20px;
  width: 100%;
}

.review-eyebrow,
.faq-eyebrow,
.about-eyebrow,
.privacy-eyebrow,
.data-eyebrow,
.compare-vs-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-neon-blue);
  border: 1px solid var(--clr-neon-blue);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.review-hero h1,
.ranking-hero h1,
.compare-hero h1,
.faq-hero h1,
.about-hero h1,
.privacy-header-section h1,
.data-hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.3;
  margin-bottom: 10px;
}

/* ===== ranking hero ===== */
.ranking-hero {
  background: var(--clr-surface);
  border-bottom: 2px solid var(--clr-border-bright);
  padding: 0;
}

.ranking-hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ranking-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.badge-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.1em;
}

.ranking-sub {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
  max-width: 600px;
}

/* ===== compare hero ===== */
.compare-hero {
  background: linear-gradient(to right, var(--clr-surface), var(--clr-bg));
  border-bottom: 1px solid var(--clr-border);
}

.compare-hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== faq hero ===== */
.faq-hero {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.faq-hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 36px 20px;
}

/* ===== about hero ===== */
.about-hero {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.about-hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 36px 20px;
}

/* ===== privacy hero ===== */
.privacy-header-section {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.privacy-header-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 36px 20px;
}

/* ===== data hero ===== */
.data-hero {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.data-hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 36px 20px;
}

/* ===== 日期信息 ===== */
.date-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.pub-date,
.mod-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

/* ===== 内容区段（双栏布局）===== */
.review-body-section,
.ranking-body-section,
.compare-body-section,
.faq-body-section,
.about-body-section,
.privacy-body-section,
.data-body-section {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 40px 20px;
}

.review-layout,
.ranking-layout,
.compare-layout,
.faq-layout,
.about-layout,
.data-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

/* 侧边栏在左 */
.review-sidebar,
.ranking-sidebar,
.compare-sidebar,
.faq-sidebar,
.about-sidebar,
.privacy-sidebar,
.data-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

/* ===== 侧边栏内部 ===== */
.review-sidebar nav,
.ranking-sidebar nav,
.compare-sidebar nav,
.faq-sidebar nav,
.about-sidebar nav,
.about-sidebar .sidebar-info,
.privacy-sidebar nav,
.data-sidebar nav {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-border-bright);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.review-sidebar nav h3,
.ranking-sidebar nav h3,
.compare-sidebar nav h3,
.faq-sidebar nav h3,
.about-sidebar nav h3,
.about-sidebar .sidebar-info h3,
.privacy-sidebar nav h3,
.data-sidebar nav h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.review-sidebar nav ul li a,
.ranking-sidebar nav ul li a,
.compare-sidebar nav ul li a,
.faq-sidebar nav ul li a,
.about-sidebar nav ul li a,
.about-sidebar .sidebar-info ul li a,
.privacy-sidebar nav ul li a,
.data-sidebar nav ul li a {
  display: block;
  padding: 8px 0;
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  border-top: 1px solid var(--clr-border);
  transition: color 0.2s ease;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.review-sidebar nav ul li:first-child a,
.ranking-sidebar nav ul li:first-child a,
.compare-sidebar nav ul li:first-child a,
.faq-sidebar nav ul li:first-child a,
.about-sidebar nav ul li:first-child a,
.about-sidebar .sidebar-info ul li:first-child a,
.privacy-sidebar nav ul li:first-child a,
.data-sidebar nav ul li:first-child a {
  border-top: none;
}

.review-sidebar nav ul li a:hover,
.ranking-sidebar nav ul li a:hover,
.compare-sidebar nav ul li a:hover,
.faq-sidebar nav ul li a:hover,
.about-sidebar nav ul li a:hover,
.privacy-sidebar nav ul li a:hover,
.data-sidebar nav ul li a:hover {
  color: var(--clr-neon-blue);
  text-shadow: none;
}

.sidebar-cta,
.sidebar-info {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-cta p {
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}

/* ===== 正文内容 ===== */
.content-body {
  max-width: var(--content-max);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text);
}

.content-body h2 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}

.content-body h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-white);
  margin: 24px 0 10px;
}

.content-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 16px 0 8px;
}

.content-body p {
  margin-bottom: 16px;
}

.content-body ul,
.content-body ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.content-body a {
  color: var(--clr-accent-bright);
  border-bottom: 1px dotted var(--clr-accent-bright);
}

.content-body a:hover {
  color: var(--clr-neon-blue);
  border-bottom-color: var(--clr-neon-blue);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 20px;
  overflow-x: auto;
  display: block;
}

.content-body th {
  background: var(--clr-surface2);
  color: var(--clr-white);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--clr-border);
  font-weight: 600;
  white-space: nowrap;
}

.content-body td {
  padding: 9px 14px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  vertical-align: top;
}

.content-body tr:nth-child(even) td {
  background: rgba(18,18,18,0.5);
}

.content-body blockquote {
  border-left: 3px solid var(--clr-accent-bright);
  padding: 10px 16px;
  background: var(--clr-surface);
  margin: 16px 0;
  font-style: italic;
  color: var(--clr-text-muted);
}

.content-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--clr-surface2);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--clr-neon-green);
}

.content-body pre {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.content-body pre code {
  background: none;
  padding: 0;
}

.content-body img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

/* ===== 首页 content + article ===== */
.content-section {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 40px 20px;
}

.home-content-section {
  border-bottom: 1px solid var(--clr-border);
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-header h2 span:first-child {
  color: var(--clr-text-muted);
}

.accent-mark {
  color: var(--clr-neon-blue) !important;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
}

/* ===== 卡片区（首页）===== */
.cards-section {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 40px 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
}

.cards-grid li {
  display: flex;
}

/* ul > li > section > h3/p 结构 */
.review-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-bottom: 3px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  border-bottom-color: var(--clr-neon-blue);
  box-shadow: 0 4px 20px rgba(0, 180, 255, 0.1);
}

.card-img {
  overflow: hidden;
  height: 160px;
}

.card-img img,
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.review-card:hover .card-thumb {
  filter: brightness(1);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.55;
}

.card-body time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-accent-bright);
  padding: 6px 0;
  min-height: 36px;
  border-bottom: none !important;
  transition: color 0.2s ease;
}

.card-link::after {
  content: ' →';
}

.card-link:hover {
  color: var(--clr-neon-blue);
}

/* ===== 数据子条目 ===== */
.data-children {
  margin-top: 32px;
}

.data-children h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 16px;
}

.data-child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.data-child-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-bottom-color 0.2s ease;
}

.data-child-card:hover {
  border-bottom-color: var(--clr-neon-blue);
}

.data-child-card h3 {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 8px;
}

.data-child-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
}

.data-child-card time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  display: block;
  margin-bottom: 10px;
}

/* ===== h2 > span 装饰（标题内嵌span） ===== */
h2 > span,
h3 > span {
  display: inline;
}

/* ===== 页脚（三栏，footer address + ul） ===== */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--clr-border);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.footer-nav-col ul li a,
.footer-legal li a {
  display: block;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  padding: 5px 0;
  transition: color 0.2s ease;
  min-height: 32px;
  line-height: 22px;
}

.footer-nav-col ul li a:hover,
.footer-legal li a:hover {
  color: var(--clr-accent-bright);
  text-shadow: none;
}

.footer-contact-col address {
  font-style: normal;
  margin-bottom: 12px;
}

.footer-contact-col address p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.footer-contact-col ul li a {
  display: block;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  padding: 5px 0;
  transition: color 0.2s ease;
  min-height: 32px;
  line-height: 22px;
}

.footer-contact-col ul li a:hover {
  color: var(--clr-accent-bright);
  text-shadow: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal li a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  transition: color 0.2s ease;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.footer-legal li a:hover {
  color: var(--clr-accent-bright);
  text-shadow: none;
}

/* ===== 滚动视差（首页 hero 微视差） ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg-img {
    will-change: transform;
  }
  .hero-section {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-dot {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ===== 排行页内容样式增强 ===== */
.ranking-content .content-body table {
  font-size: 0.82rem;
}

/* ===== FAQ 特殊样式 ===== */
.faq-content details {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-content summary {
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--clr-text);
  user-select: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-content details[open] summary {
  color: var(--clr-neon-blue);
  border-bottom: 1px solid var(--clr-border);
}

.faq-content details > *:not(summary) {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.7;
}

/* ===== 响应式断点 ===== */
@media (max-width: 1024px) {
  .review-layout,
  .ranking-layout,
  .compare-layout,
  .faq-layout,
  .about-layout,
  .data-layout {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }

  .privacy-layout {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .review-layout,
  .ranking-layout,
  .compare-layout,
  .faq-layout,
  .about-layout,
  .privacy-layout,
  .data-layout {
    grid-template-columns: 1fr;
  }

  .review-sidebar,
  .ranking-sidebar,
  .compare-sidebar,
  .faq-sidebar,
  .about-sidebar,
  .privacy-sidebar,
  .data-sidebar {
    position: static;
    order: -1;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 32px 16px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: 45vh;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-body-section,
  .ranking-body-section,
  .compare-body-section,
  .faq-body-section,
  .about-body-section,
  .privacy-body-section,
  .data-body-section {
    padding: 24px 16px;
  }

  .content-section,
  .cards-section {
    padding: 24px 16px;
  }

  .header-nav ul li a {
    padding: 8px 10px;
  }

  .ranking-hero-inner,
  .compare-hero-inner,
  .faq-hero-inner,
  .about-hero-inner,
  .privacy-header-inner,
  .data-hero-inner {
    padding: 28px 16px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.3rem;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .data-child-list {
    grid-template-columns: 1fr;
  }

  .content-body {
    font-size: 1rem;
  }
}
