/* Shared dark premium theme — all inner pages + index base */

:root {
  --page-dark-bg: linear-gradient(180deg, #050505 0%, #070707 48%, #050505 100%);
}

html,
body.vx-page-body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: transparent !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.86);
  overflow-x: clip;
}

body.vx-page-body > *:not(.vx-lightbox-shell):not(#vx-shell-header):not(.ambient-layer) {
  position: relative;
  z-index: 1;
}

#vx-main-stage,
main.page {
  position: relative;
  z-index: 0;
  background: transparent;
}

.vx-shell-header {
  margin-top: 0;
  top: 0;
}

.vx-section-dark,
.section-cyber--alt {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none;
}

.vx-section-dark::before,
.vx-section-dark::after {
  display: none !important;
  content: none !important;
}

.footer-cyber,
.vx-footer-outer:not(.vx-footer-shell) {
  position: relative;
  z-index: 1;
  background: #030303 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px 36px;
}

.footer-cyber .border-t,
.vx-footer-outer .border-t {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Inner page shell — body offsets top-nav-wrapper; avoid stacking extra top padding */
body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage {
  padding: 0 24px 40px !important;
}

body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage.download-page,
body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage.guides-page,
body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage.features-page,
body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage.help-desk-page,
body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage.trust-page {
  padding: 0 !important;
}

/* Premium inner pages — hero clears fixed top-nav-wrapper; no double body offset */

body.vx-page-body:has(#vx-main-stage.download-page),
body.vx-page-body:has(#vx-main-stage.guides-page),
body.vx-page-body:has(#vx-main-stage.features-page),
body.vx-page-body:has(#vx-main-stage.help-desk-page),
body.vx-page-body:has(#vx-main-stage.trust-page) {
  padding-top: 0 !important;
}

body.vx-page-body #vx-main-stage > .mx-auto {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 28px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.22);
}

.breadcrumb li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.62);
}

/* Page intro — centered header on all inner pages */
#vx-main-stage .section-label {
  margin-bottom: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

#vx-main-stage > .mx-auto > h1,
#vx-main-stage h1.text-4xl,
#vx-main-stage h1.text-3xl,
.guides-page__intro h1 {
  margin: 0 auto 20px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem) !important;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent !important;
  background: linear-gradient(180deg, #fff 0%, #d8d8dc 38%, #8b8d94 72%, #f2f2f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

#vx-main-stage > .mx-auto > p.text-lg,
#vx-main-stage > .mx-auto > .max-w-3xl.text-lg,
#vx-main-stage .page-lead,
.guides-page__intro p.text-lg {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.02rem !important;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Tailwind slate overrides — match home palette */
#vx-main-stage .text-slate-300,
#vx-main-stage .text-slate-400,
.guides-page .text-slate-300,
.guides-page .text-slate-400 {
  color: rgba(255, 255, 255, 0.68) !important;
}

#vx-main-stage .text-slate-500,
.guides-page .text-slate-500 {
  color: rgba(255, 255, 255, 0.42) !important;
}

#vx-main-stage .text-white,
.guides-page .text-white {
  color: rgba(255, 255, 255, 0.94) !important;
}

#vx-main-stage h2,
.guides-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

#vx-main-stage h3,
.guides-page h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* Panels & cards */
#vx-main-stage .panel,
.guides-page .panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 8, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.025),
    0 18px 55px rgba(0, 0, 0, 0.42);
}

#vx-main-stage section:not(.clean-hero),
.guides-page #vx-main-stage section {
  margin-top: 2rem;
}

#vx-main-stage .stat-cell {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

#vx-main-stage .text-accent {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Related pages block */
.nearby-links {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: none;
  text-align: center;
}

.nearby-links h2 {
  margin-bottom: 1.25rem;
}

.nearby-links ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nearby-links li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nearby-links li + li {
  margin-top: 0;
}

.nearby-links a {
  display: inline-block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nearby-links a:hover {
  color: rgba(255, 255, 255, 0.92);
}

/* FAQ accordion — match home */
#vx-main-stage .vx-disclosure-block.panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

#vx-main-stage .vx-disclosure-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#vx-main-stage .vx-disclosure-body {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Links */
#vx-main-stage .link-cyan,
.guides-page .link-cyan {
  color: rgba(255, 255, 255, 0.72);
}

#vx-main-stage .link-cyan:hover,
.guides-page .link-cyan:hover {
  color: #fff;
}

/* Floating download — index page only (see index.html + index.css) */

/* Guides page — align with shared theme (visual section in guides.css) */
.page-toc {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.page-toc h2 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.page-toc a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-toc a:hover {
  color: rgba(255, 255, 255, 0.92);
}

#vx-main-stage .feature-list li {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 640px) {
  body.vx-page-body:not(:has(.clean-hero)) #vx-main-stage {
    padding: 0 18px 32px !important;
  }
}
