/* ═══════════════════════════════════════
   HELP PAGE — help.css
═══════════════════════════════════════ */

/* ─── HERO ─── */
#help-hero {
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
  padding: 120px 220px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.help-hero-inner {
  max-width: 760px;
}

.help-hero-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

#help-hero h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}
#help-hero h1 span { color: var(--yellow); }

#help-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 12px;
}

.help-hero-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  background: rgba(255,159,67,0.08);
  border: 1px solid rgba(255,159,67,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #ff9f43;
  line-height: 1.6;
}
.help-hero-notice svg { flex-shrink: 0; margin-top: 1px; color: #ff9f43; }

/* ─── BODY LAYOUT ─── */
.help-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 220px;
  align-items: start;
}

/* ─── SIDEBAR TOC ─── */
.help-toc {
  position: sticky;
  top: 90px;
  padding: 40px 0 40px;
  align-self: start;
}

.help-toc-inner {
  border-right: 1px solid rgba(255,255,255,0.07);
  padding-right: 32px;
}

.help-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.help-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.help-toc-list a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.4;
}
.help-toc-list a:hover {
  color: var(--yellow);
  background: rgba(243,198,0,0.07);
}

/* ─── MAIN CONTENT ─── */
.help-main {
  padding: 40px 0 80px 48px;
}

/* ─── SECTION BLOCK ─── */
.help-section {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 56px;
}
.help-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.help-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.help-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.help-section h2 span { color: var(--yellow); }

.help-section-intro {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ─── H3 BLOCK ─── */
.help-h3-block {
  margin-bottom: 28px;
}
.help-h3-block:last-child { margin-bottom: 0; }

.help-h3-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}

.help-h3-block p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* ─── LIST ─── */
.help-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.help-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.help-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243,198,0,0.6);
}

/* ─── CONTACT CTA BUTTON ─── */
.help-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 18px;
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.help-cta-btn:hover { opacity: 0.88; }
.help-cta-btn--lg {
  padding: 13px 24px;
  font-size: 14px;
}

/* ─── DEVICE LIST (arrow table) ─── */
.help-device-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.help-device-item {
  display: grid;
  grid-template-columns: 110px 28px 1fr;
  align-items: center;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.help-device-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.help-device-arrow {
  font-size: 14px;
  color: var(--yellow);
  text-align: center;
}

.help-device-method {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── DEVICE CARDS (device support section) ─── */
.help-device-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.help-device-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 22px 18px;
  transition: border-color 0.2s;
}
.help-device-card:hover { border-color: rgba(243,198,0,0.3); }

.help-device-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.help-device-card-icon svg { width: 20px; height: 20px; }
.help-device-card-icon.android { background: rgba(164,235,0,0.1); color: #a4eb00; }
.help-device-card-icon.ios     { background: rgba(90,200,250,0.1); color: #5ac8fa; }
.help-device-card-icon.pc      { background: rgba(100,180,255,0.1); color: #64b4ff; }
.help-device-card-icon.switch  { background: rgba(162,155,254,0.1); color: #a29bfe; }

.help-device-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

/* ─── NOTICE BLOCK ─── */
.help-notice-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 18px 20px;
}
.help-notice-block p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 10px;
}
.help-notice-block p:last-of-type { margin-bottom: 12px; }

/* ─── QUICK HELP GRID ─── */
.help-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.help-quick-item {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.help-quick-item:hover { border-color: rgba(243,198,0,0.25); }

.help-quick-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 7px;
}

.help-quick-a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─── UNIFY ROW ─── */
.help-unify-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.help-unify-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid rgba(243,198,0,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.help-unify-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── FINAL CTA SECTION ─── */
.help-section--cta {
  background: rgba(243,198,0,0.03);
  border: 1px solid rgba(243,198,0,0.1) !important;
  border-radius: 14px;
  padding: 36px 32px !important;
  margin-bottom: 0 !important;
}

.help-final-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.help-final-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════
   RESPONSIVE — 1200px
═══════════════════════════════════════ */
@media (max-width: 1200px) {
  .help-body {
    padding: 0 60px;
    grid-template-columns: 200px 1fr;
  }
  #help-hero { padding: 120px 60px 60px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════ */
@media (max-width: 768px) {
  #help-hero {
    padding: 90px 24px 48px;
  }
  #help-hero h1 { font-size: 22px; }

  .help-body {
    grid-template-columns: 1fr;
    padding: 0;
  }

  /* Hide sidebar TOC on mobile */
  .help-toc { display: none; }

  .help-main {
    padding: 32px 24px 60px;
  }

  .help-device-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .help-quick-grid {
    grid-template-columns: 1fr;
  }

  .help-unify-row {
    flex-direction: column;
  }

  .help-section--cta {
    padding: 28px 20px !important;
  }

  .help-device-item {
    grid-template-columns: 90px 24px 1fr;
  }
}
