:root {
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --primary-light: #e6f4ff;
  --accent: #faad14;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 14px 40px rgba(22, 119, 255, 0.15);
  --max-width: 1080px;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
}

.version-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52c41a;
}

/* Hero */
.hero {
  padding: 36px 0 20px;
  text-align: center;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: stretch;
  text-align: left;
}

.hero-main {
  padding: 8px 4px 0;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 18px;
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 15px;
}

.hero-aside {
  display: flex;
}

.hero-aside .download-banner {
  margin: 0;
  max-width: none;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-aside .download-banner .btn {
  width: 100%;
}

.download-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 24px auto 0;
  padding: 16px 20px;
  text-align: left;
  background: linear-gradient(135deg, #e6f4ff 0%, #f0f5ff 100%);
  border: 1px solid #bae0ff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.download-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

.download-banner-text strong {
  font-size: 16px;
  color: var(--text);
}

.home-choices {
  margin-top: 8px;
}

/* Choice cards */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #69b1ff);
  opacity: 0;
  transition: opacity 0.25s;
}

.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #91caff;
  text-decoration: none;
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-card.video::before {
  background: linear-gradient(90deg, #fa8c16, #ffd666);
}

.choice-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.choice-card.article .choice-icon {
  background: var(--primary-light);
}

.choice-card.video .choice-icon {
  background: #fff7e6;
}

.choice-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.choice-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  flex: 1;
}

.choice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 12px;
}

.choice-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.choice-card.video .choice-cta {
  color: #d48806;
}

/* Section */
.section {
  margin-bottom: 36px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
}

.section-desc {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.section-header a {
  font-size: 14px;
  white-space: nowrap;
}

/* Recent feature cards */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 100%;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #91caff;
  text-decoration: none;
}

.feature-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef2f7;
  overflow: hidden;
}

.feature-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.feature-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

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

.feature-card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.feature-card-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.feature-card-steps {
  margin: 2px 0 0;
  padding-left: 16px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.feature-card-steps li {
  margin: 2px 0;
}

.feature-card-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.quick-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.quick-grid h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.quick-chip:hover {
  border-color: #91caff;
  background: var(--primary-light);
  color: var(--primary-dark);
  text-decoration: none;
}

.quick-note {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Version timeline */
.version-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.version-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.version-item.latest {
  border-color: #91caff;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 120px);
}

.version-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.version-number {
  font-size: 20px;
  font-weight: 700;
}

.version-date {
  color: var(--text-secondary);
  font-size: 14px;
}

.status-badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.latest {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.status-badge.stable {
  background: #e6f4ff;
  color: #0958d9;
  border: 1px solid #91caff;
}

.status-badge.archived {
  background: #f5f5f5;
  color: #8c8c8c;
  border: 1px solid #d9d9d9;
}

.version-summary {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.version-highlights {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
}

.version-highlights li {
  margin: 4px 0;
}

.version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #91caff;
  color: var(--primary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

/* Article guide page */
.page-main {
  padding: 32px 0 64px;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 32px);
}

.page-desc {
  margin: 0 0 28px;
  color: var(--text-secondary);
}

.guide-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
}

.guide-toc .toc-group {
  margin: 14px 0 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.guide-toc .toc-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.guide-toc h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.guide-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
}

.guide-toc a:hover,
.guide-toc a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.guide-category {
  margin: 28px 0 16px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.feature-list li strong {
  color: var(--primary-dark);
}

.badge-restrict {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff7e6;
  color: #d46b08;
  font-size: 11px;
  font-weight: 600;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 图文指引截图 */
.guide-figure {
  margin: 18px 0 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.guide-figure-media {
  position: relative;
  line-height: 0;
}

.guide-figure img {
  display: block;
  width: 100%;
}

.guide-pin {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
}

.guide-pin:hover,
.guide-pin.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  background: #1677ff;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.45);
  z-index: 3;
}

.guide-caption {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.guide-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid #bae0ff;
}

.guide-callout-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.guide-pin-list {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
}

.guide-pin-list li {
  margin: 6px 0;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.guide-pin-list li.is-highlighted {
  background: rgba(22, 119, 255, 0.12);
}

.guide-pin-list .pin-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.guide-pin-list li.is-highlighted .pin-num {
  background: #1677ff;
}

.guide-pin-list strong {
  color: var(--text);
}

/* 搜索 */
.guide-search-wrap {
  position: relative;
  margin-bottom: 20px;
  z-index: 50;
}

.guide-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.guide-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.guide-search-icon {
  font-size: 16px;
  opacity: 0.55;
  flex-shrink: 0;
}

.guide-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: var(--text);
  min-width: 0;
}

.guide-search-input::placeholder {
  color: var(--text-secondary);
}

.guide-search-kbd {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-secondary);
  font-family: inherit;
}

.guide-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(420px, 60vh);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  padding: 8px;
}

.guide-search-count,
.guide-search-empty {
  margin: 6px 10px 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.guide-search-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.guide-search-item:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.guide-search-item-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.guide-search-item-snippet {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.guide-search-item-snippet mark,
.search-highlight {
  background: #ffe58f;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.guide-block.search-dimmed {
  opacity: 0.38;
  pointer-events: none;
}

.guide-block.search-match {
  opacity: 1;
}

.guide-block.search-flash {
  animation: searchFlash 1.2s ease;
}

@keyframes searchFlash {
  0% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.45); }
  40% { box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.25); }
  100% { box-shadow: var(--shadow); }
}

.guide-sub-sm {
  font-size: 15px;
  margin-top: 24px;
}

.home-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.hero-home .home-search {
  max-width: none;
}

.home-search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.home-search-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.home-search-btn:hover {
  background: var(--primary-dark);
}

.guide-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.guide-block h2 {
  margin: 0 0 14px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-block ol,
.guide-block ul {
  margin: 0;
  padding-left: 22px;
}

.guide-block li {
  margin: 8px 0;
}

.guide-sub {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 14px;
}

.guide-table th,
.guide-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.guide-table th {
  background: var(--bg);
  font-weight: 600;
}

.guide-table code {
  font-size: 13px;
}

.step-detail {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.step-detail strong {
  color: var(--text);
}

.btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.btn-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
}

.tip-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #ad6800;
  font-size: 14px;
}

.warn-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  font-size: 14px;
}

.img-placeholder {
  margin-top: 16px;
  padding: 40px 20px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--bg);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Video page */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
}

@media (min-width: 900px) {
  .video-grid {
    max-width: none;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  }
}

.video-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.video-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.video-jump-link:hover {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-embed {
  aspect-ratio: 16 / 9;
  background: #111827;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 14px;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-body {
  padding: 18px 20px 20px;
}

.video-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.video-meta {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 8px;
}

.video-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.empty-video {
  padding: 48px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-home {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

  .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .guide-toc h3 {
    width: 100%;
  }

  .guide-toc a {
    padding: 6px 12px;
    background: var(--bg);
  }

  .nav-links .hide-mobile {
    display: none;
  }

  .guide-pin {
    width: 22px;
    height: 22px;
    font-size: 10px;
    line-height: 18px;
    border-width: 1.5px;
  }

  .guide-pin-list .pin-num {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .brand-sub {
    display: none;
  }
}
