/* ════════════════════════════════════════════════════════════════════
   Help Center - 独立样式文件
   ════════════════════════════════════════════════════════════════════ */

/* SVG icon display fix */
.help-search-svg,
.help-nav-dot svg,
.help-home-card-icon svg,
.help-cta-icon svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Page Hero - 增强版 */
.help-page-hero {
  padding: 80px 0 80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    linear-gradient(135deg, #073b73 0%, #0d4e8a 30%, #1267d8 65%, #1677ff 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.help-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.help-page-hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.18;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.help-page-hero p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.92;
  line-height: 1.65;
  font-weight: 400;
}

/* Search - 增强悬浮效果 */
.help-search-section {
  padding: 0;
  margin-top: -36px;
  position: relative;
  z-index: 5;
}
.help-search-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.help-search-inner .input-field {
  width: 100%;
  height: 64px;
  padding: 0 32px 0 68px;
  font-size: 16px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: #fff;
  box-shadow:
    0 12px 40px rgba(7, 59, 115, 0.18),
    0 4px 12px rgba(7, 59, 115, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
  font-weight: 400;
  color: #1e293b;
}
.help-search-inner .input-field::placeholder {
  color: #94a3b8;
}
.help-search-inner .input-field:focus {
  border-color: #1677ff;
  box-shadow:
    0 12px 48px rgba(22, 119, 255, 0.25),
    0 4px 16px rgba(22, 119, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(22, 119, 255, 0.08);
  outline: none;
  transform: translateY(-1px);
}
.help-search-svg {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  z-index: 2;
  transition: color 0.25s ease;
}
.help-search-inner:focus-within .help-search-svg {
  color: #1677ff;
}

/* Main Layout - desktop left-right layout */
.help-main {
  padding: 56px 0 96px;
  background:
    linear-gradient(180deg, #f0f7ff 0%, #f5f9ff 100%);
  min-height: 60vh;
  position: relative;
}

.help-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(22, 119, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

/* Desktop: left sidebar + right content */
.help-layout {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

.help-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.help-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

/* Home header & content */
.help-home {
  background:
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 24px;
  padding: 40px 44px 44px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.help-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1677ff 0%, #1267d8 25%, #0b4d91 50%, #1267d8 75%, #1677ff 100%);
  opacity: 0.6;
}

.help-home::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.help-home-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.help-home-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.help-home-header p {
  color: #64748b;
  font-size: 16px;
  margin: 0 auto;
  line-height: 1.65;
  max-width: 520px;
}

/* Navigation - 精致版 */
.help-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 6px;
  box-shadow:
    0 6px 24px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.help-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(22, 119, 255, 0.1) 20%, rgba(22, 119, 255, 0.2) 50%, rgba(22, 119, 255, 0.1) 80%, transparent 100%);
}

.help-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  border-radius: 14px;
  color: #475569;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.help-nav-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 4px;
  height: 32px;
  background: linear-gradient(to bottom, #1677ff, #0b4d91);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3);
}

.help-nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.help-nav-item:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateX(4px);
  border-color: #e0ecff;
  box-shadow:
    0 4px 12px rgba(22, 119, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.help-nav-item:hover::before {
  transform: translateY(-50%) scaleY(0.7);
}

.help-nav-item:hover::after {
  opacity: 1;
}

.help-nav-item.active {
  background: #ffffff;
  color: #0b4d91;
  border-color: #c7e0ff;
  box-shadow:
    0 6px 20px rgba(22, 119, 255, 0.12),
    0 2px 6px rgba(22, 119, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.help-nav-item.active::before {
  transform: translateY(-50%) scaleY(1);
}

.help-nav-item.active::after {
  opacity: 1;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.12) 0%, transparent 60%);
}

.help-nav-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

.help-nav-item:hover .help-nav-dot {
  background: linear-gradient(135deg, #e8f3ff 0%, #dbeafe 100%);
  color: #1677ff;
  transform: scale(1.08);
  box-shadow:
    0 6px 16px rgba(22, 119, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.help-nav-item.active .help-nav-dot {
  background: linear-gradient(135deg, #1677ff 0%, #0b4d91 100%);
  color: #fff;
  transform: scale(1.05);
  box-shadow:
    0 8px 20px rgba(22, 119, 255, 0.32),
    0 3px 8px rgba(22, 119, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.help-nav-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.help-nav-name {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
  letter-spacing: -0.1px;
}

.help-nav-item.active .help-nav-name {
  font-weight: 700;
  color: #0b4d91;
}

.help-nav-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.2;
  font-weight: 500;
}

.help-nav-item.active .help-nav-desc {
  color: #475569;
}

.help-nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 232, 240, 0.8) 15%, rgba(226, 232, 240, 0.8) 85%, transparent 100%);
  margin: 4px 20px;
}

/* Sidebar CTA - 精致版 */
.help-sidebar-cta {
  margin-top: 20px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(120, 180, 255, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #073b73 0%, #0b4d91 35%, #1267d8 75%, #1677ff 100%);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow:
    0 16px 40px rgba(7, 59, 115, 0.28),
    0 6px 16px rgba(7, 59, 115, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(7, 59, 115, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.help-sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(150, 200, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 6s ease-in-out infinite;
}

.help-sidebar-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(100, 160, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
  50% {
    transform: translate(5px, 10px);
    opacity: 1;
  }
}

.help-cta-icon {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.help-sidebar-cta:hover .help-cta-icon {
  transform: scale(1.05) rotate(-5deg);
}

.help-cta-icon svg {
  width: 24px;
  height: 24px;
}

.help-sidebar-cta h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.help-sidebar-cta p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.help-sidebar-cta .btn {
  background: #fff;
  color: #0b4d91;
  border: none;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 12px;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.help-sidebar-cta .btn::after {
  content: '→';
  font-size: 12px;
  transition: transform 0.3s ease;
}

.help-sidebar-cta .btn:hover {
  background: #f8fafc;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 4px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.help-sidebar-cta .btn:hover::after {
  transform: translateX(3px);
}

/* Search meta - 增强版 */
.help-search-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.help-search-meta strong {
  color: #0b4d91;
  font-weight: 700;
}

.help-clear-search {
  margin-left: 8px;
  font-weight: 600;
  color: #1677ff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  background: #e8f3ff;
  transition: all 0.2s ease;
}

.help-clear-search:hover {
  color: #fff;
  background: #1677ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
}

/* Desktop cards: 3 columns - 精致版 */
.help-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.help-home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 36px 24px 28px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 2px 8px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.help-home-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #1677ff 0%, #0b4d91 100%);
  border-radius: 0 0 4px 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.2);
}

.help-home-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.help-home-card:hover {
  border-color: #c7e0ff;
  box-shadow:
    0 20px 48px rgba(22, 119, 255, 0.14),
    0 8px 20px rgba(22, 119, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.help-home-card:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.help-home-card:hover::after {
  opacity: 1;
}

.help-home-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0ecff 100%);
  color: #1677ff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(22, 119, 255, 0.1),
    0 2px 8px rgba(22, 119, 255, 0.06);
  z-index: 1;
}

.help-home-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #1677ff 0%, #0b4d91 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.help-home-card-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.help-home-card:hover .help-home-card-icon {
  transform: scale(1.1);
  box-shadow:
    0 12px 32px rgba(22, 119, 255, 0.3),
    0 4px 12px rgba(22, 119, 255, 0.15);
  color: #fff;
}

.help-home-card:hover .help-home-card-icon::before {
  opacity: 1;
}

.help-home-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.help-home-card p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.help-home-card:hover h3 {
  color: #0b4d91;
}

/* Home footer - 精致版 */
.help-home-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 44px 52px;
  background:
    radial-gradient(circle at 5% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 95% 80%, rgba(200, 220, 255, 0.12) 0%, transparent 45%),
    linear-gradient(135deg, #073b73 0%, #0b4d91 30%, #1267d8 65%, #1677ff 100%);
  border-radius: 22px;
  color: #fff;
  box-shadow:
    0 18px 52px rgba(7, 59, 115, 0.26),
    0 8px 20px rgba(7, 59, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(7, 59, 115, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.help-home-footer::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(150, 200, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
}

.help-home-footer::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(100, 160, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite reverse;
}

.help-home-footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-home-footer-icon svg {
  width: 38px;
  height: 38px;
}

.help-home-footer:hover .help-home-footer-icon {
  transform: scale(1.05) rotate(-3deg);
}

.help-home-footer-text {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.help-home-footer h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.help-home-footer p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.help-home-footer .btn-primary {
  background: #fff;
  color: #0b4d91;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.help-home-footer .btn-primary::after {
  content: '→';
  font-size: 12px;
  transition: transform 0.3s ease;
}

.help-home-footer .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 4px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.help-home-footer .btn-primary:hover::after {
  transform: translateX(3px);
}

/* Category detail */
.help-category {
  margin-bottom: 40px;
}

.help-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.help-category-badge {
  font-size: 26px;
  line-height: 1;
}

.help-muted {
  color: #64748b;
  font-size: 14px;
}

/* Article accordion */
.help-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.help-article {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.help-article:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.help-article[open] {
  border-color: #1677ff;
  box-shadow: 0 4px 20px rgba(22, 119, 255, 0.1);
}

.help-article-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  list-style: none;
  user-select: none;
}

.help-article-q::-webkit-details-marker {
  display: none;
}

.help-article-q:hover {
  color: #1677ff;
}

.help-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-article[open] .help-arrow {
  transform: rotate(90deg);
  color: #1677ff;
}

.help-article-a {
  padding: 0 22px 22px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.help-article-a p {
  margin: 0;
}

/* Empty state */
.help-empty {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.help-empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}

.help-empty h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #0f172a;
  font-weight: 600;
}

.help-empty p {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 15px;
}

/* ── Responsive ── */
/* Tablet (769px - 1024px): left-right layout, 2-column cards */
@media (max-width: 1024px) {
  .help-sidebar {
    width: 220px;
  }
  .help-layout {
    gap: 24px;
  }
  .help-home {
    padding: 36px 32px 36px;
    border-radius: 20px;
  }
  .help-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .help-home-card { padding: 32px 24px 28px; }
  .help-home-card-icon { width: 68px; height: 68px; border-radius: 20px; }
}

/* Small mobile (<= 640px): stacked single-column layout */
@media (max-width: 640px) {
  .help-page-hero { padding: 48px 0 40px; }
  .help-page-hero h1 { font-size: 30px; }
  .help-page-hero p { font-size: 15px; }
  .help-main { padding: 32px 0 64px; }

  .help-layout {
    flex-direction: column;
    gap: 28px;
  }
  .help-sidebar {
    width: 100%;
  }
  .help-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }
  .help-nav-item {
    flex: 1;
    min-width: calc(50% - 8px);
    padding: 12px 14px;
    border-radius: 12px;
  }
  .help-nav-dot {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .help-home {
    padding: 32px 24px 32px;
    border-radius: 18px;
  }
  .help-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .help-home-header { margin-bottom: 32px; }
  .help-home-header h2 { font-size: 24px; }
  .help-home-card { padding: 28px 20px 24px; border-radius: 18px; }
  .help-home-card-icon { width: 60px; height: 60px; border-radius: 18px; }
  .help-home-card h3 { font-size: 16px; }
  .help-home-card p { font-size: 13px; }
  .help-home-footer { flex-direction: column; text-align: center; padding: 36px 28px; gap: 20px; }
  .help-home-footer h3 { font-size: 20px; }
  .help-home-footer-icon { width: 68px; height: 68px; border-radius: 20px; }
  .help-home-footer-icon svg { width: 32px; height: 32px; }
  .help-search-inner .input-field { height: 56px; font-size: 14px; padding: 0 20px 0 56px; }
  .help-search-svg { left: 20px; }
}

@media (max-width: 480px) {
  .help-home {
    padding: 28px 20px 28px;
    border-radius: 16px;
  }
  .help-home-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .help-page-hero h1 { font-size: 26px; }
  .help-home-header h2 { font-size: 22px; }
  .help-nav-item { min-width: 100%; }
  .help-home-card { padding: 28px 20px 24px; border-radius: 18px; }
  .help-home-card-icon { width: 64px; height: 64px; border-radius: 18px; }
  .help-article-q { padding: 14px 16px; font-size: 14px; }
  .help-article-a { padding: 0 16px 16px; }
  .help-search-inner .input-field { height: 52px; font-size: 14px; padding-left: 52px; padding-right: 16px; }
  .help-search-svg { left: 18px; }
  .help-home-footer { padding: 32px 24px; }
  .help-home-footer-icon { width: 60px; height: 60px; border-radius: 18px; }
  .help-home-footer-icon svg { width: 28px; height: 28px; }
}
