:root {
  --bg: #090b12;
  --bg-card: rgba(15, 20, 34, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 214, 255, 0.24);
  --text: #f4f7fb;
  --muted: #97a4bd;
  --muted-2: #6d7890;
  --cyan: #00d6ff;
  --cyan-soft: rgba(0, 214, 255, 0.12);
  --gold: #f1c86b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --sidebar: 290px;
  --content-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 214, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #06070d 0%, #0a0d15 100%);
  color: var(--text);
  min-height: 100vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 214, 255, 0.45) rgba(255, 255, 255, 0.04);
}

body::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
  border-left: 1px solid rgba(255, 255, 255, 0.03);
}

body::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(0, 214, 255, 0.7), rgba(91, 124, 255, 0.72));
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

body::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(88, 232, 255, 0.9), rgba(124, 92, 255, 0.9));
  border: 2px solid transparent;
  background-clip: padding-box;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-cyan {
  width: 360px;
  height: 360px;
  top: -100px;
  left: -80px;
  background: rgba(0, 214, 255, 0.15);
}

.bg-orb-violet {
  width: 440px;
  height: 440px;
  right: -140px;
  bottom: -160px;
  background: rgba(124, 92, 255, 0.13);
}

.help-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  background: rgba(6, 9, 18, 0.82);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #02121b;
  background: linear-gradient(135deg, var(--cyan), #77e6ff);
  box-shadow: 0 0 28px rgba(0, 214, 255, 0.26);
}

.brand-title { margin: 0; font-size: 1.08rem; font-weight: 700; }
.brand-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 18px;
}

.search-box svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted-2);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
}

.search-box input::placeholder { color: var(--muted-2); }

.side-nav { display: flex; flex-direction: column; gap: 4px; }

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.sidebar-note {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,214,255,0.05));
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-note p { margin: 0 0 8px; }
.sidebar-note strong { color: var(--text); font-size: 0.95rem; }

.content {
  width: min(100%, calc(var(--content-max) + 88px));
  padding: 38px 44px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.95fr);
  gap: 22px;
  margin-bottom: 28px;
}

.hero-copy,
.hero-cards {
  background: linear-gradient(180deg, rgba(17, 24, 40, 0.82), rgba(12, 18, 30, 0.92));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-copy { padding: 34px; }

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 214, 255, 0.1);
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.hero p,
.card p,
.faq-item p,
.glossary-item p,
.section-head p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-cards { padding: 22px; display: grid; gap: 14px; }

.mini-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.mini-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.section { margin-bottom: 52px; scroll-margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.section-head { margin-bottom: 0; }
.section-head h2 { margin: 0 0 8px; font-size: 1.9rem; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.compact { gap: 14px; }

.card,
.accordion-card,
.faq-item,
.glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card,
.faq-item,
.glossary-item { padding: 24px; }

.card h3,
.faq-item h3 { margin: 0 0 12px; font-size: 1.12rem; }

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-list li + li { margin-top: 6px; }

.steps { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #04151d;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), #7af1ff);
}

.step strong { display: block; margin-bottom: 6px; }

.tip-card {
  border-color: rgba(57, 217, 138, 0.18);
  background: linear-gradient(180deg, rgba(57, 217, 138, 0.08), rgba(12, 18, 30, 0.92));
}

.mini-panel {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
}

.mini-panel strong { display: block; margin-bottom: 8px; }

.accordion-group,
.faq-list,
.glossary { display: grid; gap: 14px; }

.accordion-card { overflow: hidden; }

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.accordion-toggle span:first-child { font-weight: 700; text-align: left; }
.accordion-icon { color: var(--cyan); font-size: 1.3rem; }
.accordion-body { display: none; padding: 0 24px 22px; }
.accordion-body.open { display: block; }

.glossary-item strong { display: block; margin-bottom: 8px; color: var(--cyan); }

.footer {
  margin-top: 34px;
  padding: 20px 24px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  line-height: 1.8;
}

.footer p { margin: 0; }

.menu-toggle {
  display: none;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.search-hidden { display: none !important; }
.search-hit { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(0, 214, 255, 0.12), var(--shadow); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .help-shell { grid-template-columns: 1fr; }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(88vw, 340px);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    z-index: 10;
  }

  .sidebar.open { transform: translateX(0); }
  .content { width: 100%; padding: 20px 16px 40px; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .grid.two,
  .grid.three { grid-template-columns: 1fr; }
  .hero-copy,
  .hero-cards,
  .card,
  .faq-item,
  .glossary-item { border-radius: 22px; }
  .hero-copy { padding: 24px; }
  .section-head h2 { font-size: 1.55rem; }
}
