/* ================================================
   Chrome Vertex — Indigo + Rose Design System
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6366F1;
  --primary-light: #818CF8;
  --primary-dark: #4F46E5;
  --primary-50: #EEF2FF;
  --primary-100: #E0E7FF;
  --rose: #FB7185;
  --rose-dark: #F43F5E;
  --rose-light: #FDA4AF;
  --dark: #09090B;
  --dark-2: #18181B;
  --dark-3: #27272A;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --white: #FFFFFF;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; font-size: inherit; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-alt { background: var(--gray-50); }
.section-violet { background: var(--primary-50); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; }
.section-header p { font-size: 1.1rem; color: var(--gray-500); max-width: 640px; margin: 0 auto; }
.section-dark .section-header p { color: var(--gray-400); }

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 8px;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.site-nav.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--primary);
  white-space: nowrap;
}

.nav-logo svg { width: 24px; height: 24px; flex-shrink: 0; }

.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--dark); background: var(--gray-100); }

.nav-link.active {
  background: var(--primary);
  color: var(--white);
}

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--rose-dark);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { background: var(--rose); transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle { display: none; background: none; padding: 8px; }
.nav-toggle svg { width: 20px; height: 20px; color: var(--dark); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  line-height: 1.4;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-rose {
  background: var(--rose-dark);
  color: var(--white);
}
.btn-rose:hover { background: var(--rose); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-50); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Hero (Index) --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--dark) 0%, #1a1a3e 50%, var(--dark-2) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: .85rem;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.03em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent { color: var(--primary-light); }
.hero h1 .accent-rose { color: var(--rose-light); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.hero-stat .label {
  font-size: .85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* --- Feature Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.bento-card:hover::before { transform: scaleX(1); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.bento-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card .icon-wrap svg { width: 26px; height: 26px; color: var(--primary); }
.bento-card:nth-child(even) .icon-wrap { background: #FFF1F2; }
.bento-card:nth-child(even) .icon-wrap svg { color: var(--rose-dark); }

.bento-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.bento-card p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }

.bento-card.span-2 { grid-column: span 2; }

/* --- Stats Counter Bar --- */
.stats-bar {
  padding: 60px 0;
  background: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
}

.stat-item .stat-label {
  font-size: .95rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* --- Deep Dive Timeline --- */
.timeline { position: relative; padding-left: 60px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--rose));
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--primary-50);
  box-shadow: 0 0 0 4px var(--primary);
}

.timeline-item:nth-child(even) .timeline-dot { background: var(--rose-dark); box-shadow: 0 0 0 4px var(--rose-dark); }

.timeline-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.timeline-text p { font-size: 1rem; color: var(--gray-600); line-height: 1.8; }

.timeline-visual {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-visual .viz-title {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.progress-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.progress-row .label { width: 80px; font-size: .85rem; color: var(--gray-400); }
.progress-bar { flex: 1; height: 8px; background: var(--dark-3); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.progress-fill.indigo { background: var(--primary); }
.progress-fill.rose { background: var(--rose); }
.progress-row .val { width: 40px; font-size: .85rem; font-weight: 600; text-align: right; }

/* --- Platform Cards --- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.platform-card.featured {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: transparent;
  color: var(--white);
  grid-row: span 1;
}

.platform-card .plat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card.featured .plat-icon { background: rgba(255,255,255,.15); }

.platform-card .plat-icon svg { width: 28px; height: 28px; color: var(--primary); }
.platform-card.featured .plat-icon svg { color: var(--white); }

.platform-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.platform-card .plat-desc { font-size: .85rem; color: var(--gray-500); margin-bottom: 20px; }
.platform-card.featured .plat-desc { color: rgba(255,255,255,.7); }

.platform-card .btn { width: 100%; justify-content: center; }

/* --- Review Cards --- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover { box-shadow: var(--shadow-md); }

.review-card:nth-child(2) { transform: translateY(20px); }
.review-card:nth-child(5) { transform: translateY(20px); }

.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; color: #FBBF24; fill: #FBBF24; }

.review-text { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

.review-author { display: flex; align-items: center; gap: 10px; }

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: var(--primary);
}

.review-card:nth-child(even) .review-avatar { background: #FFF1F2; color: var(--rose-dark); }

.review-name { font-size: .9rem; font-weight: 600; }
.review-role { font-size: .8rem; color: var(--gray-400); }

/* --- Comparison Table --- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-200);
}

.compare-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.compare-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.compare-table thead th.highlight { background: var(--primary); }

.compare-table tbody tr:hover { background: var(--primary-50); }
.compare-table td.highlight { background: var(--primary-50); font-weight: 600; }

.check-yes { color: #16A34A; font-weight: 700; }
.check-no { color: var(--gray-400); }

/* --- FAQ Accordion --- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--white);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-align: left;
  color: var(--dark);
}

.faq-question:hover { background: var(--gray-50); }
.faq-item.active .faq-question { background: var(--primary-50); color: var(--primary); }

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--gray-400);
}

.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.active .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--rose-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; opacity: .85; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* --- Footer --- */
.site-footer {
  padding: 40px 0;
  background: var(--dark);
  color: var(--gray-400);
  text-align: center;
  font-size: .85rem;
  line-height: 1.8;
}

.footer-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #22C55E;
  font-size: .85rem;
  margin-bottom: 8px;
}

/* --- Download Page Hero --- */
.dl-hero {
  padding: 150px 0 80px;
  background: linear-gradient(160deg, var(--dark) 0%, #1a1a3e 50%, var(--dark-2) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}

.dl-hero h1 { font-size: 2.75rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.dl-hero p { font-size: 1.1rem; color: var(--gray-400); max-width: 560px; margin: 0 auto; }

.version-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

/* --- Download Main Card --- */
.dl-main-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.dl-main-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.dl-main-left {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dl-main-left h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.dl-main-left .dl-ver { font-size: .9rem; opacity: .75; margin-bottom: 24px; }

.dl-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.dl-info-item { font-size: .85rem; }
.dl-info-item .dl-info-label { opacity: .6; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.dl-info-item .dl-info-val { font-weight: 600; margin-top: 2px; }

.dl-main-right {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-item { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; }
.spec-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.spec-item .spec-label { color: var(--gray-500); }
.spec-item .spec-val { font-weight: 600; }

.dl-tip {
  padding: 12px 16px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-tip svg { width: 16px; height: 16px; flex-shrink: 0; }

/* --- Install Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  margin: 0 auto 16px;
}

.step-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: .82rem; color: var(--gray-500); }

/* --- Tabs --- */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 32px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  background: transparent;
  transition: var(--transition);
}

.tab-btn:hover { color: var(--dark); }
.tab-btn.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); font-weight: 600; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table th, .req-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-200);
}

.req-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
  width: 30%;
}

/* --- Changelog --- */
.changelog-list { list-style: none; }

.changelog-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.changelog-item:last-child { border-bottom: none; }

.cl-version {
  flex-shrink: 0;
  width: 120px;
}

.cl-version .cl-ver { font-weight: 700; font-size: 1rem; color: var(--primary); }
.cl-version .cl-date { font-size: .8rem; color: var(--gray-400); }

.cl-content { flex: 1; }
.cl-content h4 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.cl-content p { font-size: .88rem; color: var(--gray-600); }

/* --- Security Banner --- */
.security-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #052e16, #166534);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.security-banner svg { width: 40px; height: 40px; flex-shrink: 0; color: #4ADE80; }
.security-banner h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.security-banner p { font-size: .88rem; opacity: .8; }

/* --- Article Layout (zh-cn) --- */
.article-hero {
  padding: 150px 0 60px;
  background: linear-gradient(160deg, var(--dark) 0%, #1a1a3e 60%, var(--dark-2) 100%);
  color: var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .4; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-cloud .tag {
  padding: 4px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: .78rem;
  color: var(--gray-400);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 60px 0 80px;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-50);
}

.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; color: var(--gray-600); font-size: 1rem; }
.article-body ul, .article-body ol { margin: 12px 0 16px 20px; color: var(--gray-600); }
.article-body li { margin-bottom: 6px; font-size: .95rem; }

/* --- Sticky Sidebar --- */
.sidebar { position: sticky; top: 100px; }

.toc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.toc-card h4 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.toc-list { list-style: none; }

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  font-size: .88rem;
  color: var(--gray-500);
  padding: 4px 12px;
  border-left: 2px solid transparent;
  display: block;
  transition: var(--transition);
}

.toc-list a:hover { color: var(--primary); }
.toc-list a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
  background: var(--primary-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dl-sidebar-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  text-align: center;
}

.dl-sidebar-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.dl-sidebar-card p { font-size: .85rem; opacity: .8; margin-bottom: 16px; }

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.tip-card {
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.tip-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.tip-card p { font-size: .88rem; color: var(--gray-600); margin-bottom: 0; }

/* --- CTA Box (article) --- */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--white);
  margin: 48px 0 24px;
}

.cta-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.cta-box p { font-size: 1rem; opacity: .85; margin-bottom: 20px; }

.cta-box .btn-white {
  display: inline-flex;
  padding: 14px 36px;
  font-weight: 600;
}

/* --- Animations --- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0% { transform: scale(.8); opacity: .6; }
  50% { transform: scale(1.1); opacity: .2; }
  100% { transform: scale(.8); opacity: .6; }
}

.animate-in { animation: fadeInUp .6s ease forwards; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-item { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .dl-main-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.75rem; }

  .site-nav {
    top: 8px;
    left: 8px;
    right: 8px;
    transform: none;
    border-radius: var(--radius-lg);
    padding: 8px 12px;
  }

  .nav-inner { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; padding-top: 8px; }
  .nav-links.open { display: flex; flex-direction: column; gap: 4px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }

  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.5rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item .stat-num { font-size: 2rem; }

  .timeline { padding-left: 36px; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: -30px; width: 14px; height: 14px; }

  .platform-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card:nth-child(2), .review-card:nth-child(5) { transform: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .dl-hero { padding: 120px 0 60px; }
  .dl-hero h1 { font-size: 2rem; }
  .dl-main-left, .dl-main-right { padding: 32px 24px; }

  .sidebar { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }

  .cta-banner h2 { font-size: 1.75rem; }
}
