/* =========================================================
   GLOBAL BASE (DO NOT TOUCH HEADER / NAV STYLES)
   ========================================================= */
   
   /* =========================================================
   HEADER + TOP NAV (MATCH index.html EXACTLY)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  z-index: 1000;

  background:
    linear-gradient(
      180deg,
      rgba(5,12,22,.95),
      rgba(5,12,22,.80)
    );

  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
  max-width: 1300px;
  height: 96px;
  margin: auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  color: #cfe3ff;
  text-decoration: none;
  margin-left: 26px;
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.active {
  color: #39d08a;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #39d08a;
  border-radius: 2px;
}

.logo {
  font-weight: 800;
  font-size: 18px;
  color: #eaf2ff;
}



* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* MUST match index.html header height */
  padding-top: 96px;

  color: #eaf2ff;
  background:
    radial-gradient(1200px 600px at 20% 0%, #173a63 0%, transparent 60%),
    radial-gradient(900px 600px at 85% 15%, #0e4c78 0%, transparent 55%),
    linear-gradient(180deg, #040b17 0%, #020712 100%);
}

/* =========================================================
   HELP PAGE LAYOUT
   ========================================================= */

.help-layout {
  max-width: 1300px;
  margin: 28px auto 48px;   /* 🔑 NO BIG GAP BELOW HEADER */
  padding: 0 28px;

  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
}

/* =========================================================
   LEFT SIDEBAR (SUB-TABS)
   ========================================================= */

.help-sidebar {
  background: rgba(9, 22, 42, 0.88);
  border-radius: 22px;
  padding: 18px;

  box-shadow:
    0 30px 70px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

.help-sidebar a {
  display: block;
  padding: 14px 16px;
  margin-bottom: 10px;

  text-decoration: none;
  color: #cfe3ff;
  font-weight: 500;
  border-radius: 14px;

  transition: all .2s ease;
}

.help-sidebar a:hover {
  background: rgba(255,255,255,.05);
}

.help-sidebar a.active {
  background: linear-gradient(180deg, #2fb774, #1e9e6f);
  color: #04140c;

  box-shadow:
    0 0 22px rgba(47,183,116,.45),
    inset 0 0 0 1px rgba(255,255,255,.25);
}

/* =========================================================
   RIGHT CONTENT PANEL (GLASS CARD)
   ========================================================= */

.help-content {
  position: relative;

  background:
    radial-gradient(900px 600px at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    rgba(9, 22, 42, 0.82);

  border-radius: 26px;
  padding: 42px 48px;

  box-shadow:
    0 45px 120px rgba(0,0,0,.85),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

/* subtle glowing outline like your screenshot */
.help-content::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background:
    linear-gradient(
      120deg,
      rgba(120,220,255,.35),
      rgba(120,220,255,0) 35%,
      rgba(120,220,255,.25) 65%,
      rgba(120,220,255,0)
    );

  opacity: .55;
  pointer-events: none;
}

/* =========================================================
   TYPOGRAPHY (MATCHES MOCK)
   ========================================================= */

.help-content h1 {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .3px;
}

.help-content p {
  color: #bcd3f4;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 760px;
}

.help-content ul {
  margin: 14px 0 22px 22px;
  padding: 0;
}

.help-content li {
  margin: 10px 0;
  color: #d7e6ff;
}

.help-content strong {
  color: #ffffff;
}

.help-content a {
  color: #7ce9b5;
  text-decoration: none;
  font-weight: 600;
}

.help-content a:hover {
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .help-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .help-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .help-sidebar a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}

@media (max-width: 520px) {
  .help-sidebar a {
    flex: 1 1 100%;
  }

  .help-content {
    padding: 30px 26px;
  }
}

/* =========================================================
   MOBILE & TABLET RESPONSIVENESS (SAFE ADDITION)
   ========================================================= */

@media (max-width: 1024px) {

  /* Header nav wraps cleanly */
  .header-inner{
  
    flex-wrap: wrap;
  }

  .main-nav {
    margin-top: 8px;
  }

  .main-nav a {
    margin-left: 16px;
  }
}

@media (max-width: 900px) {

  /* Stack sidebar + content */
  .help-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .help-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .help-sidebar a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: auto;
    padding-bottom: 12px;
  }


  body {
    padding-top: 120px;
  }

  /* Reduce content padding */
  .help-content {
    padding: 26px 22px;
  }

  .help-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 420px) {

  /* Sidebar becomes full-width buttons */
  .help-sidebar a {
    flex: 1 1 100%;
  }

  .main-nav a {
    margin-left: 12px;
    font-size: 14px;
  }
}

