/* ===== CSS Variables ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-code: #f1f5f9;
  --bg-hover: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-link: #2563eb;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --accent-bg: #eff6ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.2s ease;
  --sidebar-width: 280px;
  --toc-width: 220px;
  --header-height: 60px;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-card: #1e293b;
  --bg-sidebar: #0f172a;
  --bg-code: #334155;
  --bg-hover: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-link: #60a5fa;
  --border-color: #334155;
  --border-light: #1e293b;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-light: #1e3a5f;
  --accent-bg: #172554;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.4);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--text-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }
code { background: var(--bg-code); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
pre { background: var(--bg-code); padding: 16px; border-radius: var(--radius-md); overflow-x: auto; }
pre code { background: none; padding: 0; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-height);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: background var(--transition), border var(--transition);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: var(--text-primary);
  text-decoration: none;
}
.header-logo:hover { text-decoration: none; color: var(--text-primary); }
.header-logo .logo-icon { font-size: 1.5rem; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  padding: 6px 14px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition); text-decoration: none;
}
.header-nav a:hover { color: var(--text-primary); background: var(--bg-tertiary); text-decoration: none; }
.header-nav a.active { color: var(--accent); background: var(--accent-light); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 36px; height: 36px; border: none; background: var(--bg-tertiary);
  border-radius: var(--radius-sm); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--text-secondary);
}
.theme-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }

/* ===== Search ===== */
.search-container {
  position: relative; flex: 1; max-width: 520px; margin: 0 24px;
}
.search-input {
  width: 100%; height: 38px; padding: 0 16px 0 40px;
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  background: var(--bg-secondary); color: var(--text-primary);
  font-size: 0.9rem; outline: none; transition: all var(--transition);
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-tertiary); font-size: 0.95rem; pointer-events: none;
}
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  max-height: 420px; overflow-y: auto; display: none; z-index: 200;
}
.search-results.active { display: block; }
.search-result-item {
  padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.search-result-item:hover { background: var(--bg-tertiary); }
.search-result-item:last-child { border-bottom: none; }
.search-result-title { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.search-result-path { font-size: 0.8rem; color: var(--text-tertiary); margin-top: 2px; }
.search-result-preview { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
.search-no-results { padding: 20px; text-align: center; color: var(--text-tertiary); font-size: 0.9rem; }

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  display: none; width: 36px; height: 36px; border: none;
  background: var(--bg-tertiary); border-radius: var(--radius-sm);
  cursor: pointer; font-size: 1.2rem; color: var(--text-secondary);
  align-items: center; justify-content: center;
}

/* ===== Homepage ===== */
.hero {
  padding: calc(var(--header-height) + 60px) 24px 60px;
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-primary) 50%, var(--accent-bg) 100%);
  text-align: center;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.2;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}
.hero .subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== Carousel ===== */
.carousel-section { padding: 60px 24px; background: var(--bg-secondary); }
.carousel-section .section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; color: var(--text-primary);
}
.carousel-container { max-width: 1000px; margin: 0 auto; position: relative; }
.carousel-track { overflow: hidden; border-radius: var(--radius-xl); }
.carousel-slides {
  display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
  min-width: 100%; padding: 50px 40px;
  display: flex; align-items: center; gap: 30px;
  background: var(--bg-card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}
.carousel-icon { font-size: 3.5rem; flex-shrink: 0; }
.carousel-content { flex: 1; }
.carousel-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.carousel-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-color); border: none; cursor: pointer;
  transition: all var(--transition);
}
.carousel-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* ===== Features ===== */
.features-section { padding: 60px 24px; }
.features-section .section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; color: var(--text-primary);
}
.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.feature-card {
  padding: 28px; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--accent); }
.feature-card .icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ===== Services ===== */
.services-section { padding: 60px 24px; background: var(--bg-secondary); }
.services-section .section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; color: var(--text-primary);
}
.services-list {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 12px;
}
.service-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--bg-card);
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  font-size: 0.92rem; transition: all var(--transition);
}
.service-chip:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.service-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ===== Download Section ===== */
.download-section { padding: 60px 24px; }
.download-card {
  max-width: 800px; margin: 0 auto;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  border-radius: var(--radius-xl); padding: 48px; text-align: center; color: #fff;
}
.download-card h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.download-card p { opacity: 0.9; margin-bottom: 24px; font-size: 1rem; }
.download-card .btn { background: #fff; color: var(--accent); }
.download-card .btn:hover { box-shadow: var(--shadow-lg); }
.download-note {
  max-width: 800px; margin: 16px auto 0; text-align: center;
  font-size: 0.85rem; color: var(--warning); background: var(--bg-secondary);
  padding: 12px 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color);
}

/* ===== Purchase Section ===== */
.purchase-section { padding: 60px 24px; background: var(--bg-secondary); }
.purchase-section .section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; color: var(--text-primary);
}
.purchase-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.purchase-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  transition: all var(--transition);
}
.purchase-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.purchase-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.purchase-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.purchase-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; }
.qrcode-hint {
  font-size: 0.85rem; color: var(--text-tertiary);
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color);
}

/* ===== Video Section ===== */
.video-section { padding: 60px 24px; }
.video-section .section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; color: var(--text-primary);
}
.video-container {
  max-width: 800px; margin: 0 auto;
  border-radius: var(--radius-xl); overflow: hidden;
  background: #000; aspect-ratio: 16/9;
}
.video-container video { width: 100%; height: 100%; object-fit: contain; }

/* ===== Footer ===== */
.site-footer {
  padding: 32px 24px; text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary); font-size: 0.85rem; color: var(--text-tertiary);
}
.site-footer a { color: var(--text-secondary); }

/* ===== Help Page Layout ===== */
.help-layout {
  display: flex; margin-top: var(--header-height); min-height: calc(100vh - var(--header-height));
}

/* Sidebar */
.help-sidebar {
  position: fixed; top: var(--header-height); left: 0;
  width: var(--sidebar-width); height: calc(100vh - var(--header-height));
  overflow-y: auto; background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 16px 0; z-index: 50;
  transition: background var(--transition), border var(--transition);
  scrollbar-width: thin; scrollbar-color: var(--border-color) transparent;
}
.help-sidebar::-webkit-scrollbar { width: 4px; }
.help-sidebar::-webkit-scrollbar-track { background: transparent; }
.help-sidebar::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
.sidebar-section { margin-bottom: 4px; }
.sidebar-item {
  display: block; padding: 7px 20px; font-size: 0.88rem;
  color: var(--text-secondary); cursor: pointer; border-left: 3px solid transparent;
  transition: all var(--transition); text-decoration: none;
}
.sidebar-item:hover { background: var(--bg-hover); color: var(--text-primary); text-decoration: none; }
.sidebar-item.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-bg); font-weight: 600; }
.sidebar-item.level-1 { padding-left: 20px; font-weight: 600; font-size: 0.9rem; }
.sidebar-item.level-2 { padding-left: 32px; }
.sidebar-item.level-3 { padding-left: 44px; font-size: 0.83rem; }
.sidebar-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 20px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-secondary); cursor: pointer; border: none;
  background: none; width: 100%; text-align: left;
  transition: all var(--transition);
}
.sidebar-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }
.sidebar-toggle .arrow { transition: transform var(--transition); font-size: 0.7rem; }
.sidebar-toggle.collapsed .arrow { transform: rotate(-90deg); }
.sidebar-children { overflow: hidden; transition: max-height 0.3s ease; }
.sidebar-children.collapsed { max-height: 0 !important; }

/* Main Content */
.help-main {
  flex: 1; margin-left: var(--sidebar-width); min-width: 0;
  display: flex;
}
.help-content {
  flex: 1; padding: 32px 48px; max-width: 900px; min-width: 0;
}

/* Right TOC */
.help-toc {
  position: fixed; top: var(--header-height); right: 0;
  width: var(--toc-width); height: calc(100vh - var(--header-height));
  overflow-y: auto; padding: 20px 16px;
  border-left: 1px solid var(--border-color);
  background: var(--bg-primary);
  scrollbar-width: thin; scrollbar-color: var(--border-color) transparent;
}
.help-toc::-webkit-scrollbar { width: 4px; }
.help-toc::-webkit-scrollbar-track { background: transparent; }
.help-toc::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
.toc-title { font-size: 0.8rem; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.toc-item {
  display: block; padding: 4px 0; font-size: 0.82rem;
  color: var(--text-tertiary); text-decoration: none;
  border-left: 2px solid transparent; padding-left: 10px;
  transition: all var(--transition);
}
.toc-item:hover { color: var(--text-primary); text-decoration: none; }
.toc-item.active { color: var(--accent); border-left-color: var(--accent); }
.toc-item.level-3 { padding-left: 20px; }
.toc-related { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.toc-related-title { font-size: 0.8rem; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.toc-related-item {
  display: block; padding: 4px 0; font-size: 0.82rem;
  color: var(--text-link); text-decoration: none;
  transition: all var(--transition);
}
.toc-related-item:hover { color: var(--accent-hover); }

/* Help Content Styling */
.help-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border-color); }
.help-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 48px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); color: var(--text-primary); scroll-margin-top: 80px; }
.help-content h3 { font-size: 1.2rem; font-weight: 700; margin-top: 32px; margin-bottom: 12px; color: var(--text-primary); scroll-margin-top: 80px; }
.help-content p { margin-bottom: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.help-content ul, .help-content ol { margin-bottom: 12px; padding-left: 24px; }
.help-content li { margin-bottom: 6px; color: var(--text-secondary); font-size: 0.95rem; }
.help-content .text-block { margin-bottom: 12px; }
.help-content .link-block { margin-bottom: 8px; }
.help-content .link-block a { display: inline-flex; align-items: center; gap: 6px; }
.help-content .faq-item { margin-bottom: 16px; padding: 16px; background: var(--bg-secondary); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.help-content .faq-item .question { font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.help-content .faq-item .answer { color: var(--text-secondary); }
.help-content .steps-block { margin-bottom: 16px; }
.help-content .steps-block .step { display: flex; gap: 12px; margin-bottom: 10px; }
.help-content .steps-block .step-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.help-content .steps-block .step-text { color: var(--text-secondary); font-size: 0.95rem; padding-top: 3px; }

/* Images */
.help-content .image-block {
  margin: 16px 0; text-align: center;
}
.help-content .image-block img {
  max-width: 100%; border-radius: var(--radius-md);
  border: 1px solid var(--border-color); cursor: zoom-in;
  transition: all var(--transition);
}
.help-content .image-block img:hover { box-shadow: var(--shadow-md); }
.help-content .image-block .image-caption {
  font-size: 0.82rem; color: var(--text-tertiary); margin-top: 8px;
}

/* Image Lightbox */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92%; max-height: 92%; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border: none; background: rgba(255,255,255,0.15);
  color: #fff; font-size: 1.3rem; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== Parameter Cards (ArcGIS-style) ===== */
.param-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 2px; }
.param-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 0; padding: 0;
  transition: all var(--transition);
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: auto auto auto;
}
.param-card:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.param-card:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.param-card + .param-card { border-top: none; }
.param-card:hover { background: var(--bg-secondary); }
.param-label {
  grid-column: 1; grid-row: 1;
  padding: 12px 16px;
  font-weight: 600; font-size: 0.88rem; color: var(--text-primary);
  background: var(--bg-tertiary);
  border-right: 1px solid var(--border-color);
  display: flex; align-items: flex-start; gap: 6px;
}
.param-label .type-tag {
  font-size: 0.7rem; font-weight: 500; color: var(--text-tertiary);
  background: var(--bg-secondary); padding: 1px 6px; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0;
}
.param-body {
  grid-column: 2; grid-row: 1;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.param-value-line {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.84rem; color: var(--accent);
  background: var(--accent-bg); padding: 3px 10px; border-radius: 4px;
  word-break: break-all; display: inline-block; max-width: fit-content;
}
.param-options-line {
  font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.5;
}
.param-options-line strong { color: var(--text-secondary); font-weight: 600; }
.param-desc-line {
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7;
  white-space: pre-line; word-break: break-word;
}
/* Full-width description row for long text */
.param-desc-full {
  grid-column: 1 / -1; grid-row: 2;
  padding: 0 16px 12px 16px;
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7;
  white-space: pre-line; word-break: break-word;
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
}

@media (max-width: 640px) {
  .param-card { grid-template-columns: 1fr; }
  .param-label { border-right: none; border-bottom: 1px solid var(--border-color); grid-column: 1; grid-row: 1; }
  .param-body { grid-column: 1; grid-row: 2; }
  .param-desc-full { grid-column: 1; grid-row: 3; }
}

/* Tables (keep for reference tables like data info, GOCI2 products) */
.help-content .table-wrapper {
  margin: 16px 0; overflow-x: auto; border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.help-content table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.help-content thead { background: var(--bg-tertiary); }
.help-content th {
  padding: 10px 14px; text-align: left; font-weight: 700;
  color: var(--text-primary); border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}
.help-content td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary); vertical-align: top;
}
.help-content tr:last-child td { border-bottom: none; }
.help-content tr:hover td { background: var(--bg-secondary); }
.help-content td:first-child { font-weight: 600; color: var(--text-primary); white-space: nowrap; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .help-toc { display: none; }
  .help-content { max-width: 100%; }
}
@media (max-width: 900px) {
  .help-sidebar {
    transform: translateX(-100%); transition: transform 0.3s;
    width: 280px; box-shadow: var(--shadow-xl);
  }
  .help-sidebar.open { transform: translateX(0); }
  .help-main { margin-left: 0; }
  .help-content { padding: 24px 20px; }
  .mobile-menu-btn { display: flex; }
  .sidebar-overlay {
    position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 49; display: none;
  }
  .sidebar-overlay.active { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .carousel-slide { flex-direction: column; padding: 30px 20px; text-align: center; }
  .header-nav { display: none; }
  .search-container { margin: 0 12px; }
  .purchase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .download-card { padding: 30px 20px; }
  .download-card h2 { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease forwards; }
