/* ============================================================================
   GETNOS · SITE UPGRADE MODULE v1 - styles
   Pairs with site-upgrade.js. All UI elements scoped with gn- prefix to avoid
   collisions with existing page CSS.
============================================================================ */

:root {
  --gn-ink: #0a0a0a;
  --gn-ink-2: #1a1a1a;
  --gn-paper: #fafaf7;
  --gn-lime: #c5ff3d;
  --gn-lime-deep: #8bc81f;
  --gn-lime-glow: rgba(197,255,61,.45);
  --gn-red: #ff3d3d;
  --gn-muted: #6b6b6b;
}

/* ============== TOP SCARCITY BAR ============== */
.gn-scarcity-bar {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 50px 9px 18px;
  background: linear-gradient(90deg, var(--gn-ink) 0%, #161610 50%, var(--gn-ink) 100%);
  color: var(--gn-paper);
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(197,255,61,.25);
  overflow: hidden;
}
.gn-scarcity-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 600px 40px at 50% 50%, rgba(197,255,61,.09), transparent 70%);
  pointer-events: none;
}
.gn-sb-pulse {
  width: 8px; height: 8px;
  background: var(--gn-lime);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(197,255,61,.18), 0 0 12px var(--gn-lime-glow);
  animation: gn-pulse 1.4s ease-in-out infinite;
}
@keyframes gn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.18); }
}
.gn-sb-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-sb-text strong { color: var(--gn-lime); font-weight: 700; }
.gn-sb-link {
  color: var(--gn-lime);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(197,255,61,.4);
  margin-left: 8px;
  transition: border-color .15s;
}
.gn-sb-link:hover { border-bottom-color: var(--gn-lime); }
.gn-sb-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: rgba(250,250,247,.55);
  font-size: 22px;
  line-height: 1;
  width: 26px; height: 26px;
  cursor: pointer;
  padding: 0;
}
.gn-sb-close:hover { color: var(--gn-paper); }
@media (max-width: 720px) {
  .gn-scarcity-bar { font-size: 11px; padding: 9px 44px 9px 14px; }
  .gn-sb-text { white-space: normal; line-height: 1.4; }
}

/* ============== USEPROOF FLOATING TICKER (real UseProof.io style) ============== */
.gn-proof-ticker {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 360px;
  max-width: calc(100vw - 40px);
  transform: translate(-130%, 0);
  transition: transform .55s cubic-bezier(.18,.85,.25,1), opacity .35s;
  opacity: 0;
}
.gn-proof-ticker.gn-show {
  transform: translate(0, 0);
  opacity: 1;
}
.gn-pt-card {
  position: relative;
  background: #ffffff;
  border-radius: 999px;
  padding: 9px 36px 9px 9px;
  box-shadow:
    0 10px 32px -6px rgba(10,10,10,.18),
    0 3px 8px -1px rgba(10,10,10,.08),
    0 0 0 1px rgba(10,10,10,.04);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 11px;
}
/* Map thumbnail (inline SVG) */
.gn-pt-map {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8edf2;
  position: relative;
}
.gn-pt-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Body — 3 stacked lines */
.gn-pt-body {
  flex: 1;
  min-width: 0;
  padding-right: 4px;
}
.gn-pt-line-1 {
  font-size: 13.5px;
  line-height: 1.3;
  color: #111;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-pt-line-1 strong {
  font-weight: 700;
  color: #0a0a0a;
}
.gn-pt-line-2 {
  font-size: 12.5px;
  line-height: 1.35;
  color: #444;
  font-weight: 400;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-pt-line-3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
  color: #888;
  font-weight: 400;
}
.gn-pt-time { color: #888; }
.gn-pt-verified-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #888;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}
.gn-pt-check-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: #4a90e2;
  color: #ffffff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
/* Close button */
.gn-pt-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #b0b0b0;
  font-size: 18px;
  line-height: 1;
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.gn-pt-close:hover { background: #f0f0f0; color: #0a0a0a; }
@media (max-width: 540px) {
  .gn-proof-ticker { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .gn-pt-line-1, .gn-pt-line-2 { white-space: normal; }
  .gn-pt-line-3 { flex-wrap: wrap; }
}

/* ============== STICKY RIGHT-EDGE CTA ============== */
.gn-sticky-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  z-index: 88;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime) 35%, #a8e02e 100%);
  color: var(--gn-ink);
  padding: 14px 22px 12px;
  border: 3px solid var(--gn-ink);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow:
    -6px 0 0 var(--gn-ink),
    -8px 0 0 -2px var(--gn-ink),
    -14px 0 24px -6px rgba(10,10,10,.45),
    0 0 36px var(--gn-lime-glow);
  font-family: 'Bebas Neue', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  max-width: 220px;
  overflow: hidden;
}
.gn-sticky-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg);
  transition: left .55s;
}
.gn-sticky-cta:hover::before { left: 130%; }
.gn-sticky-cta.gn-show { transform: translate(0, -50%); }
.gn-sticky-cta:hover { transform: translate(-3px, -50%); filter: brightness(1.04); }
.gn-sticky-cta:active { transform: translate(0, -50%) translateY(2px); filter: brightness(.97); }
.gn-sc-arrows {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gn-ink);
  opacity: .7;
}
.gn-sc-label {
  font-size: 22px;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--gn-ink);
}
.gn-sc-sub {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gn-ink);
  opacity: .75;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (max-width: 880px) {
  .gn-sticky-cta {
    top: auto;
    bottom: 96px;
    transform: translateX(110%);
    max-width: 200px;
    padding: 12px 18px 10px;
  }
  .gn-sticky-cta.gn-show { transform: translateX(0); }
  .gn-sticky-cta:hover { transform: translateX(-2px); }
}
@media (max-width: 540px) {
  .gn-sticky-cta {
    bottom: 88px;
    max-width: 180px;
    padding: 10px 16px 8px;
  }
  .gn-sc-label { font-size: 18px; }
  .gn-sc-sub { font-size: 9px; }
}

/* ============== KK-CTA AUTO-PROMOTE ============== */
/* Existing audit links get the KingKong treatment via auto-promote */
a.gn-kk-promoted:not(.btn-massive):not(.cta-primary):not(.plan-cta):not(.nav-cta) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime) 35%, #a8e02e 100%) !important;
  color: var(--gn-ink) !important;
  border: 3px solid var(--gn-ink) !important;
  padding: 14px 24px 12px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  letter-spacing: .03em !important;
  text-transform: uppercase;
  box-shadow:
    0 5px 0 var(--gn-ink),
    0 7px 0 -2px var(--gn-ink),
    0 12px 22px -6px rgba(10,10,10,.45),
    0 0 28px var(--gn-lime-glow) !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .12s;
}
a.gn-kk-promoted::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg);
  transition: left .55s;
}
a.gn-kk-promoted:hover::before { left: 130%; }
a.gn-kk-promoted:hover { filter: brightness(1.04); }
a.gn-kk-promoted:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 var(--gn-ink),
    0 4px 12px -4px rgba(10,10,10,.4),
    0 0 20px var(--gn-lime-glow) !important;
}

/* ============== FOOTER LOCK-LINE ============== */
.gn-footer-lock {
  padding: 28px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
  margin-bottom: 28px;
}
.gn-fl-spine {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .005em;
  line-height: 1.05;
  color: var(--gn-paper);
  margin-bottom: 14px;
}
.gn-fl-pill {
  display: inline-block;
  background: var(--gn-lime);
  color: var(--gn-ink);
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 2px solid var(--gn-ink);
  box-shadow: 0 3px 0 var(--gn-ink);
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
