/* ── MAIN CONTENT ─────────────────────────────────────── */
.main-content {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  background: var(--bg-app);
  transition: background-color 0.3s ease;
}
.main-content::-webkit-scrollbar { width: 5px; }
.main-content::-webkit-scrollbar-track { background: transparent; }
.main-content::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
[data-theme="dark"] .main-content::-webkit-scrollbar-thumb { background: #334155; }

/* ── SECTION PANELS ───────────────────────────────────── */
.section-panel { display: none; min-height: calc(100vh - var(--topbar-h)); }
.section-panel.active {
  display: block;
  animation: panelIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── SECTION FOOTER NAV ───────────────────────────────── */
.section-footer {
  padding: 32px 40px 56px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  max-width: 840px;
  margin: 0 auto;
}
.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.btn-next:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.btn-next svg { width: 15px; height: 15px; }
.btn-next:disabled, .btn-next.btn-locked {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}
.btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--grey-border);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-prev:hover { background: var(--bg-card); color: var(--navy); border-color: #94A3B8; }
[data-theme="dark"] .btn-prev:hover { background: var(--bg-card-alt); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #050A14 0%, #0C1828 40%, #152B4A 100%);
  padding: 64px 40px 52px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}
.hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.18);
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}
.hero-desc {
  font-size: 16px;
  color: #94A3B8;
  max-width: 520px;
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.meta-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 8px 15px;
  color: #94A3B8;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.meta-chip:hover { background: rgba(255,255,255,0.09); }
.meta-chip span { font-size: 14px; }

/* ── CONTENT WRAPPER ──────────────────────────────────── */
.content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 44px 0;
}

/* ── PAGE TITLE ───────────────────────────────────────── */
.page-title { margin-bottom: 32px; }
.page-title-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.page-title-badge::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--blue);
  border-radius: 1px;
}
.page-title h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.6px;
  line-height: 1.22;
}
.page-title p { font-size: 15.5px; color: var(--text-secondary); margin-top: 8px; line-height: 1.6; }
