/* =========================================================
   ytDownloader Official Website - Global Stylesheet
   Brand color derived from logo: #2090f0
   Style: Flat, Modern, Professional
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: #2090f0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 100%; }

/* ---------- Design Tokens ---------- */
:root {
  --brand: #2090f0;
  --brand-dark: #1677c2;
  --brand-light: #5cb4ff;
  --brand-soft: #e8f4ff;
  --brand-softer: #f5faff;
  --ink-900: #0f172a;
  --ink-700: #1f2937;
  --ink-500: #6b7280;
  --ink-300: #d1d5db;
  --line: #e5e7eb;
  --bg-soft: #f8fafc;
  --bg-blue: #f0f8ff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --shadow-blue: 0 12px 30px rgba(32, 144, 240, .28);
  --container: 1200px;
  --header-h: 70px;
  --t: .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: linear-gradient(180deg, var(--brand-softer), #ffffff); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--brand); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: all var(--t);
}
.nav-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-menu a.active { color: var(--brand); background: var(--brand-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t);
  box-shadow: var(--shadow-blue);
}
.nav-cta:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--ink-700);
  position: relative;
  transition: var(--t);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--t);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(32,144,240,.36); }
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand-soft);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: var(--ink-300);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Download trigger button (special: opens modal) */
.btn-download {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 32px rgba(32,144,240,.4);
  transition: all var(--t);
  cursor: pointer;
  border: none;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(32,144,240,.55);
}
.btn-download svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(32,144,240,.18), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(92,180,255,.16), transparent 60%),
    linear-gradient(180deg, var(--brand-softer), #ffffff);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-500);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 14px; color: var(--ink-500);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--success); }

/* Hero visual: mock app window */
.app-mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.app-mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-titlebar {
  display: flex; gap: 6px; padding: 12px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.mock-titlebar span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.mock-titlebar span:nth-child(1) { background: #ff5f57; }
.mock-titlebar span:nth-child(2) { background: #febc2e; }
.mock-titlebar span:nth-child(3) { background: #28c840; }
.mock-toolbar { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mock-input {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-500); font-size: 14px;
}
.mock-input::before {
  content: ''; width: 14px; height: 14px;
  border: 2px solid var(--brand); border-radius: 50%;
  display: inline-block;
}
.mock-body { padding: 18px 20px; }
.mock-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.mock-row:last-child { border-bottom: none; }
.mock-thumb {
  width: 96px; height: 56px; border-radius: 8px;
  background: linear-gradient(135deg, #2090f0, #5cb4ff);
  position: relative; flex-shrink: 0;
}
.mock-thumb::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  left: 38px; top: 20px;
}
.mock-info { flex: 1; }
.mock-info-title { font-size: 14px; font-weight: 600; color: var(--ink-700); margin-bottom: 4px; }
.mock-info-meta { font-size: 12px; color: var(--ink-500); }
.mock-progress {
  height: 4px; background: var(--line); border-radius: 2px; margin-top: 8px; overflow: hidden;
}
.mock-progress::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px; width: 72%;
}
.mock-badge {
  background: var(--brand-soft); color: var(--brand);
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-mock { transform: none; }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--ink-900);
  color: #fff;
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.stat-num .unit { color: var(--brand-light); }
.stat-label {
  font-size: 14px; color: rgba(255,255,255,.6);
  margin-top: 6px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all var(--t);
}
.feature-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 19px; font-weight: 700;
  color: var(--ink-900); margin-bottom: 10px;
}
.feature-card p { color: var(--ink-500); font-size: 15px; line-height: 1.7; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Use Case Cards (homepage) ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.usecase-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--line);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.usecase-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.usecase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-light); }
.usecase-card:hover::before { transform: scaleX(1); }
.usecase-icon {
  width: 60px; height: 60px;
  background: var(--brand-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
}
.usecase-icon svg { width: 30px; height: 30px; }
.usecase-card h3 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.usecase-card p { color: var(--ink-500); font-size: 14px; line-height: 1.65; }
@media (max-width: 980px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: all var(--t);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testi-stars { color: #fbbf24; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text {
  color: var(--ink-700); font-size: 15px;
  line-height: 1.75; margin-bottom: 22px;
  font-style: normal;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-meta strong { display: block; font-size: 14px; color: var(--ink-900); }
.testi-meta span { font-size: 12px; color: var(--ink-500); }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } }

/* ---------- Platforms strip ---------- */
.platforms {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin-top: 36px;
}
.platform-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-700);
  transition: all var(--t);
}
.platform-pill:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.platform-pill svg { width: 18px; height: 18px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner::before { width: 280px; height: 280px; top: -100px; right: -60px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -100px; left: 20%; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { font-size: 16px; opacity: .9; max-width: 560px; }
.cta-banner .btn-download {
  background: #fff; color: var(--brand);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.cta-banner .btn-download:hover { background: #f0f8ff; color: var(--brand-dark); }
@media (max-width: 760px) {
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
}

/* ---------- Download modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto;   left: 0;
  right: 0;
  top: 0;
  bottom: 0;}
 button { outline: none } 
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(10px);
  transition: transform var(--t);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.modal-header h3 { font-size: 22px; font-weight: 800; color: var(--ink-900); }
.modal-header p { color: var(--ink-500); font-size: 14px; margin-top: 4px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  transition: var(--t);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--line); color: var(--ink-900); }
.modal-body { padding: 28px 32px 32px; }

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.qr-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
  transition: var(--t);
  position: relative;
}
.qr-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.qr-card .platform-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 999px;
}
.qr-card img {
  width: 180px; height: 180px;
  margin: 8px auto 14px;
  border-radius: 8px;
}
.qr-card h4 { font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.qr-card .qr-desc { font-size: 13px; color: var(--ink-500); margin-bottom: 12px; }
.qr-card .qr-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  padding: 6px 14px;
  border: 1px solid var(--brand-soft);
  border-radius: 999px;
  transition: var(--t);
}
.qr-card .qr-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.modal-tip {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--brand-softer);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-700);
  display: flex; gap: 10px; align-items: flex-start;
  border-left: 3px solid var(--brand);
}
.modal-tip svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 560px) {
  .qr-grid { grid-template-columns: 1fr; }
  .modal-header, .modal-body { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand span { color: var(--brand-light); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--t); }
.footer-col ul li a:hover { color: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--brand-light); }
.footer-bottom .icp { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(32,144,240,.18), transparent 60%),
    linear-gradient(180deg, var(--brand-softer), #ffffff);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800; color: var(--ink-900);
  letter-spacing: -.02em; margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px; color: var(--ink-500);
  max-width: 720px; margin: 0 auto;
  line-height: 1.75;
}
.breadcrumb {
  font-size: 13px; color: var(--ink-500);
  margin-bottom: 18px;
  display: flex; gap: 8px; justify-content: center;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--ink-300); }

/* ---------- Content blocks (tutorial / faq / about) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-size: 28px; font-weight: 800; color: var(--ink-900);
  margin: 48px 0 18px; letter-spacing: -.01em;
}
.prose h3 {
  font-size: 20px; font-weight: 700; color: var(--ink-900);
  margin: 28px 0 12px;
}
.prose p { color: var(--ink-700); line-height: 1.85; margin-bottom: 16px; font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose ul li, .prose ol li { list-style: disc; color: var(--ink-700); margin-bottom: 8px; line-height: 1.75; }
.prose ol li { list-style: decimal; }
.prose code {
  background: var(--brand-soft); color: var(--brand-dark);
  padding: 2px 8px; border-radius: 5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
}
.prose pre {
  background: #0f172a; color: #e2e8f0;
  padding: 18px 22px; border-radius: var(--radius-sm);
  margin: 18px 0; overflow-x: auto;
  font-size: 14px; line-height: 1.6;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose blockquote {
  border-left: 4px solid var(--brand);
  background: var(--brand-softer);
  padding: 16px 22px;
  margin: 18px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-700);
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
  transition: var(--t);
}
.faq-item:hover { border-color: var(--brand-light); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  transition: var(--t);
}
.faq-q:hover { color: var(--brand); }
.faq-q .chev {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  transition: transform var(--t);
  flex-shrink: 0;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-500); line-height: 1.8; font-size: 15px; }

/* ---------- Download center cards ---------- */
.dl-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--t);
  position: relative;
}
.dl-card:hover { box-shadow: var(--shadow); border-color: var(--brand-light); transform: translateY(-4px); }
.dl-card .dl-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
}
.dl-card .dl-icon svg { width: 32px; height: 32px; }
.dl-card h3 { font-size: 22px; font-weight: 800; color: var(--ink-900); margin-bottom: 6px; }
.dl-card .dl-version { font-size: 13px; color: var(--ink-500); margin-bottom: 18px; }
.dl-card .dl-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.dl-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-700);
  transition: var(--t);
}
.dl-option:hover { border-color: var(--brand); background: var(--brand-softer); color: var(--brand); }
.dl-option .fmt { font-size: 12px; color: var(--ink-500); }
.dl-option:hover .fmt { color: var(--brand); }
.dl-card .btn { width: 100%; }

@media (max-width: 980px) { .dl-platform-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Comparison table ---------- */
.cmp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
.cmp-table th, .cmp-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cmp-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink-900);
}
.cmp-table td.yes { color: var(--success); font-weight: 600; }
.cmp-table td.no { color: var(--ink-300); }
.cmp-table tr:hover td { background: var(--brand-softer); }
.cmp-table .hl { background: var(--brand-softer); }

/* ---------- Tutorial steps ---------- */
.step-list { display: flex; flex-direction: column; gap: 32px; }
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}
.step-content h3 { font-size: 20px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.step-content p { color: var(--ink-500); line-height: 1.8; margin-bottom: 12px; }
@media (max-width: 640px) {
  .step-item { grid-template-columns: 1fr; gap: 14px; }
  .step-num { width: 48px; height: 48px; font-size: 20px; }
}

/* ---------- About / team ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid p { color: var(--ink-500); line-height: 1.85; margin-bottom: 16px; font-size: 16px; }
.about-stats {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.about-stat .num { font-size: 32px; font-weight: 800; color: #fff; }
.about-stat .num .unit { color: var(--brand-light); }
.about-stat .lbl { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Changelog ---------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 18px; top: 8px; bottom: 8px;
  width: 2px; background: var(--brand-soft);
}
.tl-item { padding-left: 56px; padding-bottom: 32px; position: relative; }
.tl-item::before {
  content: ''; position: absolute;
  left: 11px; top: 4px;
  width: 16px; height: 16px;
  background: var(--brand); border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.tl-item h4 { font-size: 18px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.tl-item .tl-date { font-size: 13px; color: var(--ink-500); margin-bottom: 10px; }
.tl-item ul { padding-left: 20px; }
.tl-item ul li { list-style: disc; color: var(--ink-700); margin-bottom: 6px; font-size: 14px; line-height: 1.7; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.text-brand { color: var(--brand); }
.text-muted { color: var(--ink-500); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.hidden-mobile { }
@media (max-width: 640px) { .hidden-mobile { display: none !important; } }
