:root {
  --pager-primary: #8b6fc0;
  --pager-primary-dark: #6b4fa3;
  --pager-primary-light: #b8a4d9;
  --pager-accent: #c4a8e8;
  --pager-hero-overlay: rgba(107, 79, 163, 0.84);
  --pager-text: #2e2640;
  --pager-muted: #6d6280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--pager-text);
  overflow-x: hidden;
}

/* ── Navigation ── */
.pager-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}

.pager-brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pager-primary) !important;
}

.pager-nav .navbar-item:hover,
.pager-nav .navbar-link:hover {
  background: transparent !important;
  color: var(--pager-primary) !important;
}

/* ── Hero Parallax ── */
.pager-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.pager-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--pager-hero-overlay), rgba(139, 111, 192, 0.68)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #5e4b8a 0%, #7b68b8 45%, #b39ddb 100%);
  background-attachment: fixed;
  transform: scale(1.05);
  will-change: transform;
}

.pager-hero-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: pager-float 18s ease-in-out infinite;
}

.pager-hero-layer-1 {
  width: 420px;
  height: 420px;
  background: #ce93d8;
  top: -80px;
  right: -60px;
}

.pager-hero-layer-2 {
  width: 320px;
  height: 320px;
  background: #b39ddb;
  bottom: 10%;
  left: -80px;
  animation-delay: -6s;
}

.pager-hero-layer-3 {
  width: 200px;
  height: 200px;
  background: #9575cd;
  top: 40%;
  right: 20%;
  animation-delay: -12s;
}

@keyframes pager-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.95); }
}

.pager-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 5rem;
}

.pager-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.pager-hero-visual {
  margin: 0 0 1rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pager-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pager-hero-prio-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.pager-feature-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(107, 79, 163, 0.14);
  border: 1px solid rgba(107, 79, 163, 0.12);
  background: #fff;
}

.pager-feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pager-tor-banner {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.pager-tor-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pager-tor-banner-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: #c8bdd8;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
}

.pager-hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  opacity: 0.92;
  max-width: 36rem;
  line-height: 1.6;
}

.pager-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}

.pager-hero-slogan {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.94;
  margin-bottom: 1.25rem;
  color: #f3ebff;
}

.pager-brand-slogan {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.15rem;
}

.pager-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pager-hero-actions .button {
  border-radius: 999px;
  font-weight: 700;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pager-hero-actions .button.is-white,
.pager-btn-blue-text {
  color: var(--pager-primary) !important;
  font-weight: 700;
}

.pager-btn-blue-text:hover {
  color: var(--pager-primary-dark) !important;
}

/* ── Parallax sections ── */
.pager-parallax-band {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.pager-parallax-band.features {
  background-image:
    linear-gradient(rgba(236, 239, 241, 0.94), rgba(236, 239, 241, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23b0bec5' fill-opacity='0.15' d='M0 0h50v50H0zm50 50h50v50H50z'/%3E%3C/svg%3E");
}

.pager-parallax-band.downloads {
  background-image:
    linear-gradient(rgba(237, 230, 247, 0.95), rgba(237, 230, 247, 0.95)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='2' fill='%238b6fc0' fill-opacity='0.14'/%3E%3C/svg%3E");
}

.pager-parallax-band.help {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23cfd8dc' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
}

.pager-parallax-band.webui {
  background-image:
    linear-gradient(rgba(245, 248, 250, 0.97), rgba(245, 248, 250, 0.97)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none' stroke='%23b0bec5' stroke-width='0.4'/%3E%3C/svg%3E");
}

.pager-flow-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(107, 79, 163, 0.08);
}

.pager-flow-steps {
  margin: 0.5rem 0 0 1.25rem;
  color: var(--pager-muted);
  line-height: 1.7;
}

.pager-webui-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pager-webui-card .tag {
  margin-bottom: 0.75rem;
}

.pager-webui-card ul {
  margin: 0.75rem 0 0 1.1rem;
  color: var(--pager-muted);
  line-height: 1.65;
}

.pager-webui-card .pager-code {
  margin-top: 1rem;
  font-size: 0.72rem;
  padding: 0.85rem 1rem;
}

.pager-prio-legend {
  border-radius: 16px !important;
  height: 100%;
}

.pager-prio-legend .table td {
  vertical-align: middle;
  border: none;
  padding: 0.5rem 0.35rem;
}

.pager-prio-legend ul {
  margin-left: 1.1rem;
  line-height: 1.65;
  color: var(--pager-muted);
}

/* ── Section titles ── */
.pager-section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pager-primary-dark);
  margin-bottom: 0.75em;
}

.pager-section-lead {
  color: var(--pager-muted);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

/* ── Feature cards ── */
.pager-feature-card {
  height: 100%;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(107, 79, 163, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.pager-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(107, 79, 163, 0.16);
}

.pager-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.pager-feature-icon.p1 { background: #ffebee; color: #c62828; }
.pager-feature-icon.p2 { background: #ede6f7; color: #6b4fa3; }
.pager-feature-icon.p3 { background: #fff3e0; color: #ef6c00; }
.pager-feature-icon.p4 { background: #eceff1; color: #546e7a; }

/* ── Prio pills ── */
.pager-prio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.2rem;
}

.pager-prio-pill.p1 { background: #ffcdd2; color: #b71c1c; }
.pager-prio-pill.p2 { background: #fff8e1; color: #f57f17; }
.pager-prio-pill.p3 { background: #e8f5e9; color: #2e7d32; }
.pager-prio-pill.p4 { background: #cfd8dc; color: #37474f; }

/* ── Download cards ── */
.pager-download-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  max-height: 220px;
}

.pager-download-figure img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
}

.pager-download-card {
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.pager-download-card:hover {
  transform: translateY(-4px);
}

.pager-download-card .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pager-download-meta {
  color: var(--pager-muted);
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 1rem;
}

.pager-apk-highlight {
  background: linear-gradient(135deg, var(--pager-primary-dark), var(--pager-primary-light));
  color: #fff;
  border: none;
}

.pager-download-card .title {
  margin-top: 0 !important;
  margin-bottom: 0.6em !important;
}

.pager-download-card .title + .subtitle {
  margin-top: 0.35em !important;
  margin-bottom: 1em !important;
}

.pager-apk-highlight .title,
.pager-apk-highlight .subtitle,
.pager-apk-highlight .pager-download-meta {
  color: rgba(255, 255, 255, 0.9) !important;
}

.pager-apk-highlight .button.is-white {
  color: var(--pager-primary);
  font-weight: 700;
}

/* ── Help steps ── */
.pager-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.pager-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pager-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pager-step-body h4 {
  font-weight: 700;
  margin-bottom: 0.75em;
  color: var(--pager-primary-dark);
}

.pager-step-body p {
  color: var(--pager-muted);
  line-height: 1.6;
}

.pager-api-qr-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pager-api-qr {
  flex-shrink: 0;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid rgba(107, 79, 163, 0.18);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(107, 79, 163, 0.08);
}

.pager-api-qr img,
.pager-api-qr canvas {
  display: block;
}

.pager-api-qr-meta {
  flex: 1 1 12rem;
  min-width: 0;
}

.pager-api-qr-meta .pager-code {
  word-break: break-all;
  white-space: pre-wrap;
}

.pager-code {
  background: #263238;
  color: #eceff1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-family: "Cascadia Code", "Fira Code", monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  margin: 0.75rem 0;
}

/* ── Scroll reveal ── */
.pager-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pager-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer / Impressum ── */
.pager-footer {
  background: #2e2640;
  color: #c8bdd8;
  padding: 3rem 1.5rem 2rem;
}

.pager-footer a {
  color: #d8c8f0;
}

.pager-footer a:hover {
  color: #fff;
}

.pager-footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.pager-footer strong,
.pager-footer .has-text-white {
  color: #fff !important;
}

/* ── CTA band ── */
.pager-cta {
  background: linear-gradient(135deg, var(--pager-primary-dark), var(--pager-primary));
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(107, 79, 163, 0.28);
}

.pager-cta .title {
  color: #fff !important;
}

.pager-cta .button.is-white {
  color: var(--pager-primary) !important;
  font-weight: 700;
}

/* ── Security / encryption section ── */
.pager-parallax-band.security {
  background:
    linear-gradient(180deg, #f8f5fc 0%, #fff 40%, #f3eef9 100%),
    radial-gradient(ellipse at 15% 80%, rgba(139, 111, 192, 0.12), transparent 50%);
}

.pager-security-badge {
  display: inline-block;
  background: rgba(107, 79, 163, 0.1);
  border: 1px solid rgba(107, 79, 163, 0.22);
  color: var(--pager-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.pager-security-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid rgba(107, 79, 163, 0.14);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(107, 79, 163, 0.08);
}

.pager-security-step {
  flex: 1 1 9rem;
  min-width: 8.5rem;
  max-width: 11rem;
  text-align: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, #faf8fd, #f3eef9);
  border-radius: 14px;
  border: 1px solid rgba(107, 79, 163, 0.12);
}

.pager-security-step-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pager-primary);
  margin-bottom: 0.35rem;
}

.pager-security-step strong {
  display: block;
  color: var(--pager-primary-dark);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.pager-security-step p {
  font-size: 0.78rem;
  color: var(--pager-muted);
  margin: 0;
  line-height: 1.4;
}

.pager-security-arrow {
  display: flex;
  align-items: center;
  color: var(--pager-primary-light);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0 0.15rem;
}

.pager-security-card {
  background: #fff;
  border: 1px solid rgba(107, 79, 163, 0.14);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 6px 22px rgba(107, 79, 163, 0.07);
}

.pager-security-card-main {
  border-color: rgba(107, 79, 163, 0.28);
  box-shadow: 0 10px 32px rgba(107, 79, 163, 0.12);
  background: linear-gradient(180deg, #fff 0%, #faf8fd 100%);
}

.pager-security-card .title {
  color: var(--pager-primary-dark) !important;
}

.pager-security-card ul {
  margin-top: 0.75rem;
  color: var(--pager-muted);
}

.pager-security-compare {
  border-radius: 16px;
  height: 100%;
  border: 1px solid rgba(107, 79, 163, 0.12);
}

.pager-security-compare .table th,
.pager-security-compare .table td {
  border-color: #ece6f4;
  vertical-align: middle;
}

.pager-security-benefits {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.65;
  color: var(--pager-muted);
}

.pager-security-benefits li {
  margin-bottom: 0.85rem;
}

.pager-security-benefits strong {
  color: var(--pager-primary-dark);
}

.pager-feature-card-highlight {
  border: 2px solid rgba(107, 79, 163, 0.22);
  box-shadow: 0 8px 28px rgba(107, 79, 163, 0.12);
}

@media screen and (max-width: 768px) {
  .pager-security-arrow {
    display: none;
  }

  .pager-security-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .pager-security-step {
    max-width: none;
  }
}

/* ── Setup / Clearnet section ── */
.pager-parallax-band.tor-setup {
  background: linear-gradient(180deg, #fff 0%, #f5f0fb 100%);
}

.pager-tor-notice {
  border-left: 4px solid #ffdd57;
  border-radius: 12px;
}

.pager-tor-setup-card {
  background: #fff;
  border: 1px solid rgba(107, 79, 163, 0.14);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 6px 22px rgba(107, 79, 163, 0.07);
}

.pager-os-install {
  border-radius: 16px;
  height: 100%;
  border: 1px solid rgba(107, 79, 163, 0.12);
}

.pager-os-icon {
  margin-right: 0.35rem;
}

.pager-os-steps {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.65;
  color: var(--pager-muted);
}

.pager-os-steps li {
  margin-bottom: 0.75rem;
}

.pager-contact-box {
  background: #fff;
  border: 1px solid rgba(107, 79, 163, 0.16);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 36px rgba(107, 79, 163, 0.1);
}

.pager-contact-form .label {
  color: var(--pager-primary-dark);
  font-size: 0.85rem;
}

.pager-contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Send-API / Clearnet section ── */
.pager-parallax-band.send-api-tor {
  background:
    linear-gradient(160deg, #14101f 0%, #2a2238 45%, #3a3050 100%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 111, 192, 0.22), transparent 55%);
  color: #e8e0f4;
}

.pager-tor-badge {
  display: inline-block;
  background: rgba(196, 168, 232, 0.18);
  border: 1px solid rgba(196, 168, 232, 0.35);
  color: #f3ebff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.pager-section-title-light {
  color: #fff !important;
}

.pager-section-lead-light {
  color: #c8bdd8 !important;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.pager-tor-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.pager-tor-card-compact {
  height: auto;
}

.pager-tor-card a {
  color: #d8c8f0;
  text-decoration: underline;
}

.pager-tor-card a:hover {
  color: #fff;
}

.pager-tor-steps {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.65;
}

.pager-tor-steps li {
  margin-bottom: 0.85rem;
  color: #d0c6e0;
}

.pager-tor-steps strong {
  color: #fff;
}

.pager-tor-muted {
  color: #a89ab8 !important;
}

.pager-code-tor {
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b8d4ff;
}

.pager-code-curl {
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.pager-tor-table {
  background: transparent;
  color: #e0d6ee;
}

.pager-tor-table td {
  border-color: rgba(255, 255, 255, 0.1) !important;
  vertical-align: top;
}

.pager-tor-table code {
  background: rgba(0, 0, 0, 0.25);
  color: #f0e6ff;
}

.pager-tor-cta {
  background: rgba(107, 79, 163, 0.35);
  border: 1px solid rgba(196, 168, 232, 0.25);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}

.pager-copy-btn.is-copied {
  background: #48c774 !important;
  color: #fff !important;
  border-color: #48c774 !important;
}

@media screen and (max-width: 768px) {
  .pager-hero-bg,
  .pager-parallax-band {
    background-attachment: scroll;
  }

  .pager-hero {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pager-hero-layer,
  .pager-reveal,
  .pager-feature-card,
  .pager-download-card {
    animation: none !important;
    transition: none !important;
  }

  .pager-reveal {
    opacity: 1;
    transform: none;
  }
}