/* ========================================
   Chrome Pulse — Emerald + Indigo Theme
   ======================================== */
:root {
  --emerald: #10B981;
  --emerald-dark: #059669;
  --indigo: #6366F1;
  --indigo-dark: #4F46E5;
  --bg: #F8FAFB;
  --surface: #FFFFFF;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --glass: rgba(255,255,255,.7);
  --glass-border: rgba(255,255,255,.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color .2s; }
a:hover { color: var(--indigo-dark); }
button { cursor: pointer; font-family: inherit; }

/* ── Animations ── */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes ripple {
  0% { transform: scale(0); opacity: .6; }
  100% { transform: scale(4); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes meshShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── Pulse Strip ── */
.pulse-strip {
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--indigo), var(--emerald));
  background-size: 200% 100%;
  animation: meshShift 4s ease infinite;
}

/* ── Navigation ── */
.nav-wrap {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,.04); }
.nav-links a.active {
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  color: #fff;
  font-weight: 600;
}
.nav-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  border: none;
  transition: background .2s, transform .15s;
}
.nav-dl-btn:hover { background: #0F172A; transform: translateY(-1px); }
.nav-dl-btn svg { width: 16px; height: 16px; }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #312E81 70%, #1E293B 100%);
  background-size: 300% 300%;
  animation: meshShift 12s ease infinite;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,.15);
  color: var(--emerald);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(16,185,129,.25);
}
.hero-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s ease infinite;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--emerald), #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(16,185,129,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16,185,129,.4); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* Hero mockup panel */
.hero-panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  animation: float 6s ease infinite;
}
.panel-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; }
.panel-dots span:nth-child(1) { background: #EF4444; }
.panel-dots span:nth-child(2) { background: #F59E0B; }
.panel-dots span:nth-child(3) { background: #10B981; }
.panel-url {
  flex: 1;
  margin-left: 12px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-family: monospace;
}
.panel-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-card {
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.06);
}
.metric-label { font-size: .75rem; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.metric-value { font-size: 1.6rem; font-weight: 800; }
.metric-value.green { color: var(--emerald); }
.metric-value.indigo { color: #818CF8; }
.metric-bar {
  margin-top: 8px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}
.metric-bar-fill.green { background: linear-gradient(90deg, var(--emerald), #34D399); }
.metric-bar-fill.indigo { background: linear-gradient(90deg, var(--indigo), #818CF8); }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item span { font-size: .9rem; color: var(--text-light); }

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.emerald { background: rgba(16,185,129,.1); color: var(--emerald); }
.feature-icon.indigo { background: rgba(99,102,241,.1); color: var(--indigo); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; color: var(--text-light); line-height: 1.65; }

/* ── Platform Download Strip ── */
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.platform-card.featured {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff;
  border-color: transparent;
}
.platform-card.featured .platform-name { color: #fff; }
.platform-card.featured .platform-desc { color: rgba(255,255,255,.6); }
.platform-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-icon svg { width: 40px; height: 40px; }
.platform-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.platform-desc { font-size: .85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.5; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 0;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  transition: transform .15s;
  background: var(--emerald);
  color: #fff;
}
.platform-btn:hover { transform: translateY(-1px); }
.platform-btn svg { width: 16px; height: 16px; }
.platform-card.featured .platform-btn { background: var(--emerald); }

/* ── Deep Feature Rows (alternating) ── */
.deep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px 0; }
.deep-row.reverse .deep-visual { order: -1; }
.deep-visual {
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(99,102,241,.06));
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.deep-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.deep-text p { color: var(--text-light); margin-bottom: 16px; font-size: .95rem; line-height: 1.7; }
.deep-list { list-style: none; }
.deep-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-size: .92rem;
}
.deep-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  border: 2px solid var(--emerald);
}
.visual-bar-chart { display: flex; gap: 10px; align-items: flex-end; height: 120px; }
.v-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  position: relative;
}
.v-bar .v-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  color: var(--text-lighter);
  white-space: nowrap;
}
.visual-grid-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vg-item {
  background: rgba(255,255,255,.8);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
}
.vg-item strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--emerald); }
.vg-item span { font-size: .8rem; color: var(--text-light); }

/* ── Reviews ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s;
}
.review-card:hover { transform: translateY(-3px); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.review-name { font-weight: 600; font-size: .95rem; }
.review-stars { color: #F59E0B; font-size: .85rem; letter-spacing: 2px; }
.review-text { font-size: .9rem; color: var(--text-light); line-height: 1.65; }

/* ── Comparison Table ── */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: #F1F5F9;
  font-weight: 700;
  color: var(--text);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.compare-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .highlight-col { background: rgba(16,185,129,.04); font-weight: 600; }
.compare-check { color: var(--emerald); font-weight: 700; }
.compare-cross { color: #EF4444; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background .2s;
}
.faq-q:hover { background: #F8FAFC; }
.faq-q svg {
  width: 18px; height: 18px;
  color: var(--text-lighter);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 22px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-a.open { max-height: 400px; padding: 0 22px 18px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #0F172A, #1E1B4B, #312E81);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 28px; }

/* ── Download Page Specific ── */
.dl-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0F172A, #1E1B4B);
  color: #fff;
  text-align: center;
}
.dl-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.dl-hero p { color: rgba(255,255,255,.6); font-size: 1.1rem; }
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,.15);
  color: var(--emerald);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(16,185,129,.25);
}

/* Main download card */
.dl-main-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.dl-main-left {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dl-main-left h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.dl-main-left p { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 24px; line-height: 1.6; }
.dl-main-right { padding: 40px 36px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.spec-item {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 14px;
}
.spec-item .spec-label { font-size: .75rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: .05em; }
.spec-item .spec-value { font-size: .95rem; font-weight: 700; margin-top: 2px; }
.dl-tip {
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Other platform cards */
.dl-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-plat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform .2s;
}
.dl-plat-card:hover { transform: translateY(-3px); }
.dl-plat-card h3 { font-size: 1.1rem; font-weight: 700; margin: 12px 0 8px; }
.dl-plat-card p { font-size: .85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.5; }

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab-btn {
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.tab-btn.active { color: var(--emerald); border-bottom-color: var(--emerald); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Install steps */
.install-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: step; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 20px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; margin-top: 4px; }
.step-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* Changelog */
.changelog-list { list-style: none; }
.changelog-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}
.changelog-item:last-child { border-bottom: none; }
.cl-meta { font-size: .85rem; }
.cl-ver { font-weight: 700; color: var(--text); display: block; }
.cl-date { color: var(--text-lighter); font-size: .8rem; }
.cl-content { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* Safety banner */
.safety-banner {
  background: rgba(16,185,129,.05);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.safety-banner svg { width: 32px; height: 32px; color: var(--emerald); flex-shrink: 0; }
.safety-banner h4 { font-weight: 700; margin-bottom: 4px; }
.safety-banner p { font-size: .9rem; color: var(--text-light); }

/* ── Article Page (zh-cn) ── */
.article-hero {
  padding: 80px 0 48px;
  background: linear-gradient(135deg, #F0FDF4, #EEF2FF);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--indigo); }
.article-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.article-meta { font-size: .85rem; color: var(--text-light); margin-bottom: 18px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(99,102,241,.08);
  color: var(--indigo);
  font-size: .8rem;
  font-weight: 500;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 48px 0;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 16px; font-size: .95rem; color: var(--text-light); line-height: 1.8; }
.article-body ul, .article-body ol {
  margin: 0 0 16px 20px;
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Sidebar */
.sidebar-sticky { position: sticky; top: 80px; }
.toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.toc-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.toc-list { list-style: none; }
.toc-list a {
  display: block;
  padding: 6px 12px;
  font-size: .83rem;
  color: var(--text-light);
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all .2s;
}
.toc-list a:hover { color: var(--emerald); border-left-color: var(--emerald); }
.toc-list a.active { color: var(--emerald); border-left-color: var(--emerald); background: rgba(16,185,129,.05); font-weight: 600; }

.sidebar-dl-card {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  text-align: center;
}
.sidebar-dl-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.sidebar-dl-card p { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }

/* Article CTA box */
.article-cta {
  background: linear-gradient(135deg, var(--emerald), var(--indigo));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: #fff;
  margin: 48px 0;
}
.article-cta h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s;
}
.article-cta a:hover { transform: translateY(-2px); }

/* Tips grid */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.tip-card strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.tip-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Version log in article */
.version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin: 16px 0;
}
.version-table th,
.version-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.version-table thead th {
  background: #F1F5F9;
  font-weight: 700;
}

/* ── Footer ── */
.site-footer {
  background: #0F172A;
  color: rgba(255,255,255,.5);
  padding: 32px 0;
  font-size: .85rem;
  text-align: center;
  line-height: 1.8;
}
.site-footer .footer-safe { color: var(--emerald); font-weight: 500; display: block; margin-bottom: 6px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-panel { max-width: 480px; margin: 32px auto 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; }
  .deep-row { grid-template-columns: 1fr; }
  .deep-row.reverse .deep-visual { order: 0; }
  .dl-main-card { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .dl-platforms { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .tips-grid { grid-template-columns: 1fr; }
  .changelog-item { grid-template-columns: 1fr; }
}
