/* ═══════════════════════════════════════════════════════════════════════════
   RedSight Subpage Unified Template v3
   Overrides all subpage styles to match the v3 landing page design.
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Warm dark palette ──────────────────────────────────────────────────── */
:root {
  --bg:       #08070a;
  --bg2:      #0d0c0f;
  --card:     #11100e;
  --card-h:   #181614;
  --border:   #221f1b;
  --border-h: #302b25;
  --text:     #ece8e2;
  --text2:    #b0aaa2;
  --muted:    #8a847c;
  --red:      #f85149;
  --green:    #3fb950;
  --blue:     #8ab4d4;
  --mono:     'SF Mono','Fira Code','JetBrains Mono',Consolas,monospace;
}

/* ── Light mode overrides ──────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:       #f5f3ef;
  --bg2:      #edeae4;
  --card:     #ffffff;
  --card-h:   #faf9f7;
  --border:   #ddd8d0;
  --border-h: #c8c2b8;
  --text:     #1a1815;
  --text2:    #5a554d;
  --muted:    #9a9490;
  --red:      #e04040;
  --green:    #2da046;
  --blue:     #4a8ab0;
}
[data-theme="light"] body::before { opacity: .3; }
[data-theme="light"] body::after { display: none; }
[data-theme="light"] .cursor-dot { mix-blend-mode: multiply; box-shadow: 0 0 12px rgba(224,64,64,.4); }
[data-theme="light"] nav { background: rgba(245,243,239,.85) !important; border-bottom-color: rgba(0,0,0,.06) !important; }
[data-theme="light"] nav.scrolled { background: rgba(245,243,239,.95) !important; }
[data-theme="light"] .nav-cta .btn-ghost { border-color: var(--border) !important; color: var(--text2) !important; }
[data-theme="light"] .nav-cta .btn-ghost:hover { border-color: var(--border-h) !important; color: var(--text) !important; }
[data-theme="light"] .mobile-menu-bg { background: rgba(245,243,239,.9); backdrop-filter: blur(40px); }
[data-theme="light"] .mobile-menu-nav a { color: var(--text2) !important; border-bottom-color: var(--border); }
[data-theme="light"] .mobile-menu-nav a:hover { color: var(--text) !important; }
[data-theme="light"] footer { background: var(--bg2) !important; border-top-color: var(--border) !important; }
[data-theme="light"] .footer-links a { color: var(--text2) !important; }
/* Cookie banner */
[data-theme="light"] #rs-cookie-bar { background: #fff !important; border-top-color: var(--border) !important; }
[data-theme="light"] #rs-cookie-bar .ck-text { color: var(--text2) !important; }
[data-theme="light"] #rs-cookie-bar .ck-text a { color: var(--text) !important; }
[data-theme="light"] #rs-cookie-bar .ck-manage { color: var(--text2) !important; border-color: var(--border) !important; }
[data-theme="light"] #rs-cookie-bar .ck-reject { color: var(--muted) !important; }
[data-theme="light"] .ck-toggle-info .ck-label { color: var(--text2) !important; }
[data-theme="light"] .ck-toggle-info .ck-desc { color: var(--muted) !important; }
[data-theme="light"] .ck-sw.off { background: var(--border) !important; }
[data-theme="light"] .ck-sw.locked { background: var(--border) !important; }

/* Theme toggle */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: .5rem .75rem; border-radius: 8px;
  background: none; border: 1px solid var(--border);
  color: var(--muted); cursor: pointer !important; transition: all .2s;
}
.theme-toggle:hover { border-color: var(--border-h); }
.theme-icon-moon { display: none; }
.theme-icon-sun { color: #f0c040; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; color: #2a2520; }
.nav-cta .btn, .nav-cta .theme-toggle { height: 38px; box-sizing: border-box; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif !important;
  font-size: 17px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  cursor: none;
}
[data-theme="light"] body { cursor: default; }
a, button, .btn, [onclick], input { cursor: pointer !important; }
body.on-clickable { cursor: default; }

a { color: var(--text2) !important; text-decoration: none; }
a:hover { color: var(--text) !important; }

/* ── Subtle background glow ─────────────────────────────────────────────── */
body::before {
  content: ''; position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 30% 10%, rgba(248,81,73,.025) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(138,180,212,.015) 0%, transparent 40%);
  pointer-events: none; z-index: -1;
}

/* ── Film grain ─────────────────────────────────────────────────────────── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── Cursor dot ─────────────────────────────────────────────────────────── */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  box-shadow: 0 0 12px rgba(248,81,73,.5);
  will-change: transform;
}
body.on-clickable .cursor-dot { opacity: 0; transition: opacity .15s; }

/* ── Nav — matches v3 exactly ───────────────────────────────────────────── */
nav {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000 !important;
  background: rgba(8,7,10,.5) !important;
  backdrop-filter: blur(24px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.5) !important;
  border-bottom: 1px solid rgba(255,255,255,.03) !important;
  transition: background .4s;
  height: auto !important;
}
nav.scrolled { background: rgba(8,7,10,.92) !important; }
.nav-inner {
  max-width: 1140px !important; margin: 0 auto; padding: 0 28px !important;
  display: flex !important; align-items: center; justify-content: space-between;
  height: 60px !important;
}
.nav-logo {
  display: flex !important; align-items: center; gap: 8px;
  font-size: 1.15rem !important; font-weight: 800 !important;
  color: var(--text) !important; letter-spacing: -.03em;
  text-decoration: none !important;
}
.nav-logo, .nav-logo:hover, .nav-logo span, .nav-logo .logo-text { color: var(--text) !important; margin-left: 0 !important; }
.nav-logo .logo-text > span { color: var(--red) !important; }
.nav-logo svg { width: 28px; height: 28px; }
.footer-brand, .footer-brand .logo-text { color: var(--text) !important; }
.footer-brand .logo-text span { color: var(--red) !important; }
.nav-links {
  display: flex !important; align-items: center; gap: 32px;
}
.nav-links a {
  color: var(--text2) !important; font-size: .85rem !important;
  font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--text) !important; }
.nav-links a.active { color: var(--text) !important; }
.nav-links a.active::after {
  content: ''; display: block;
  width: 100%; height: 2px; margin-top: 2px;
  background: var(--red); border-radius: 1px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-ghost {
  background: transparent !important; border: 1px solid var(--border) !important;
  color: var(--text2) !important; padding: .5rem 1rem;
}
.nav-cta .btn-ghost:hover { color: var(--text) !important; border-color: var(--border-h) !important; }

/* Hide old mobile nav elements */
.nav-mobile-cta { display: none !important; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Hamburger ─────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 8px;
  width: 32px; height: 32px; cursor: pointer !important; position: relative; margin-left: 4px;
}
.nav-hamburger .bar {
  display: block; position: absolute; left: 50%;
  width: 16px; height: 1.5px; background: var(--text); border-radius: 2px;
  transform: translateX(-50%); transition: all .3s;
}
.nav-hamburger .bar:nth-child(1) { top: 10px; }
.nav-hamburger .bar:nth-child(2) { top: 15px; width: 12px; }
.nav-hamburger .bar:nth-child(3) { top: 20px; width: 8px; }
.nav-hamburger.active .bar { background: var(--red); }
.nav-hamburger.active .bar:nth-child(1) { top: 15px; width: 16px; transform: translateX(-50%) rotate(45deg); }
.nav-hamburger.active .bar:nth-child(2) { opacity: 0; }
.nav-hamburger.active .bar:nth-child(3) { top: 15px; width: 16px; transform: translateX(-50%) rotate(-45deg); }

/* ── Mobile menu (glassmorphism) ───────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-bg {
  position: absolute; inset: 0;
  background: rgba(8,7,10,.7);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
}
.mobile-menu-content {
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 80px 32px 48px; gap: 0;
}
.mobile-menu-nav {
  display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 280px;
}
.mobile-menu-nav a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 16px 0; color: var(--text2); font-size: 1.15rem; font-weight: 500;
  text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s;
}
.mobile-menu-nav a:last-child { border-bottom: none; }
.mobile-menu-nav a:hover { color: var(--text) !important; }
.mobile-menu-cta {
  display: inline-block; margin-top: 24px; padding: .7rem 2rem;
  background: var(--red); color: #fff !important; font-weight: 600; border-radius: 8px;
  font-size: .95rem; text-decoration: none !important;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .6rem 1.3rem; border-radius: 8px; font-size: .88rem !important;
  font-weight: 600; border: none; transition: all .3s;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary {
  background: var(--red) !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(248,81,73,.2);
}
.btn-primary:hover {
  background: #e5443c !important;
  box-shadow: 0 0 40px rgba(248,81,73,.25);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent !important;
  color: var(--text2) !important;
  border: 1px solid var(--border);
}

/* ── Page content ───────────────────────────────────────────────────────── */
/* Force unified container on ALL subpages */
body > .container, body > div.container,
.container, div.container {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 100px 32px 60px !important;
  text-align: left !important;
}

h1 {
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  line-height: 1.1 !important;
  font-size: 2.5rem !important;
  color: var(--text) !important;
  margin-bottom: .6rem !important;
  text-align: left !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
}

.subtitle, .sub-note, .single-report {
  color: var(--text2) !important;
  font-size: 1.05rem !important;
  margin-bottom: 1rem !important;
  text-align: left !important;
}

h2 {
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  font-size: 1.5rem !important;
  color: var(--text) !important;
  text-align: left !important;
}

p {
  font-size: 1rem !important;
  color: var(--text2) !important;
  line-height: 1.7 !important;
}

/* ── Steps / Timeline ───────────────────────────────────────────────────── */
.steps {
  position: relative;
}
.steps::before {
  left: 28px !important;
  width: 2px !important;
  background: rgba(255,255,255,.06) !important;
  z-index: 0 !important;
  position: absolute !important;
}
.steps-fill {
  z-index: 1 !important;
  position: absolute !important;
}
.step {
  position: relative;
  z-index: 2 !important;
}
.step-num {
  background: var(--bg) !important;
  border: 2px solid rgba(248,81,73,.35) !important;
  box-shadow: 0 0 0 8px var(--bg), 0 0 20px rgba(248,81,73,.12) !important;
  color: var(--red) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  z-index: 3 !important;
  position: relative !important;
}
.step:hover .step-num {
  border-color: rgba(248,81,73,.6) !important;
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(248,81,73,.2) !important;
}
.step-title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
.step-desc {
  font-size: .95rem !important;
  color: var(--text2) !important;
}
.step-detail {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--muted) !important;
  font-family: var(--mono) !important;
  font-size: .85rem !important;
  transition: border-color .3s;
}
.step:hover .step-detail {
  border-color: rgba(248,81,73,.15) !important;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.finding-card, .price-card, .privacy-card {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  transition: all .3s !important;
}
.finding-card:hover, .price-card:hover {
  border-color: rgba(248,81,73,.12) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3) !important;
}
.finding-label { color: var(--text) !important; font-size: .95rem !important; }
.finding-sub { color: var(--muted) !important; font-size: .85rem !important; }

/* ── Pricing cards ───────────────────────────────────────────────────────── */
.price-name { color: var(--text) !important; font-size: 1.1rem !important; }
.price-amount { color: var(--text) !important; font-size: 2.2rem !important; }
.price-amount span { color: var(--muted) !important; }
.price-desc { color: var(--muted) !important; font-size: .85rem !important; }
.price-features { font-size: .88rem !important; }
.price-features li { color: var(--text2) !important; padding: .4rem 0 .4rem 1.5rem !important; position: relative; }
.price-features li::before { color: var(--green) !important; }
.price-features li.no { color: var(--muted) !important; }
.price-btn { font-size: .9rem !important; border-radius: 8px !important; }
.price-btn-primary { background: var(--red) !important; color: #fff !important; }
.price-btn-primary:hover { box-shadow: 0 0 24px rgba(248,81,73,.2) !important; }
.price-btn-outline { border: 1px solid var(--border) !important; color: var(--text2) !important; }
.price-card.popular { border-color: var(--blue) !important; }

/* ── CTA box ─────────────────────────────────────────────────────────────── */
div.cta-box, .cta-box {
  margin-top: 3rem !important;
  padding: 2.5rem 2rem !important;
  background: linear-gradient(135deg, rgba(248,81,73,.06) 0%, rgba(248,81,73,.02) 100%) !important;
  border: 1px solid rgba(248,81,73,.15) !important;
  border-radius: 12px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}
div.cta-box::before, .cta-box::before {
  content: '' !important; position: absolute !important; inset: 0 !important;
  background: radial-gradient(ellipse at 50% 100%, rgba(248,81,73,.05) 0%, transparent 60%) !important;
  pointer-events: none !important;
}
div.cta-box h3, .cta-box h3 {
  font-size: 1.4rem !important; font-weight: 700 !important;
  margin-bottom: .5rem !important; color: var(--text) !important;
  position: relative !important;
}
div.cta-box p, .cta-box p {
  color: var(--text2) !important; margin-bottom: 1.25rem !important;
  position: relative !important;
}
a.cta-btn, .cta-btn {
  display: inline-block !important;
  padding: .75rem 2.5rem !important;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all .3s !important;
  box-shadow: 0 4px 20px rgba(248,81,73,.2) !important;
  position: relative !important;
}
a.cta-btn:hover, .cta-btn:hover {
  background: #e5443c !important;
  box-shadow: 0 0 40px rgba(248,81,73,.3) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.cta-btn:hover {
  box-shadow: 0 4px 40px rgba(248,81,73,.35) !important;
  transform: translateY(-2px);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom-color: var(--border) !important; }
.faq-q { font-size: 1rem !important; color: var(--text) !important; }
.faq-q::after { color: var(--muted) !important; }
.faq-a { color: var(--text2) !important; font-size: .95rem !important; }

/* ── Dividers ────────────────────────────────────────────────────────────── */
.divider {
  background: linear-gradient(90deg, transparent, var(--border), transparent) !important;
  height: 1px !important; border: none !important;
}

/* ── Footer — matches landing page exactly ──────────────────────────────── */
footer {
  border-top: 1px solid var(--border) !important;
  padding: 48px 0 !important;
  margin: 0 !important;
  background: var(--bg) !important;
}
footer .container, footer .footer-wrap {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.footer-inner {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; text-align: center !important;
  gap: 14px !important;
}
.footer-brand {
  display: flex !important; align-items: center; gap: 8px;
  font-size: .85rem !important; font-weight: 800 !important;
  color: var(--text) !important;
}
.footer-brand .logo-text span { color: var(--red); }
.footer-links { display: flex !important; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: var(--text2) !important; font-size: .85rem !important;
}
.footer-links a:hover { color: var(--text) !important; }
.footer-copy { font-size: .8rem !important; color: var(--muted) !important; }

/* ── Scroll-reveal ───────────────────────────────────────────────────────── */
.v3-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.v3-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Compare table (pricing) ─────────────────────────────────────────────── */
.compare-section h2 { text-align: left !important; }
.compare-table { border-color: var(--border) !important; }
.compare-table th { color: var(--text) !important; font-size: .88rem !important; }
.compare-table td { color: var(--text2) !important; font-size: .85rem !important; border-color: var(--border) !important; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal-content h2 { font-size: 1.3rem !important; margin-top: 2rem; }
.legal-content h3 { font-size: 1.1rem !important; color: var(--text) !important; }
.legal-content p, .legal-content li { font-size: .95rem !important; color: var(--text2) !important; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; }
.legal-content a { color: var(--red) !important; }
.legal-content a:hover { text-decoration: underline; }

/* ── Prevent horizontal scroll ──────────────────────────────────────────── */
html, body { overflow-x: hidden !important; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body { cursor: auto !important; }
  .cursor-dot { display: none !important; }
  .nav-links { display: none !important; }
  .hide-mobile { display: none !important; }
  .nav-cta { gap: 6px !important; }
  .nav-cta .btn-ghost { display: none !important; }
  .nav-cta .btn, .nav-cta .theme-toggle { height: auto !important; }
  .nav-cta .btn-primary { padding: .3rem .6rem !important; font-size: .7rem !important; }
  .nav-cta .theme-toggle { padding: 6px !important; border: none !important; }
  .nav-cta .theme-toggle svg { width: 15px !important; height: 15px !important; }
  .nav-logo { font-size: .95rem !important; gap: 5px !important; }
  .nav-logo svg { width: 22px !important; height: 22px !important; }
  .nav-hamburger { display: flex !important; }
  h1 { font-size: 1.8rem !important; }
  body > .container, body > div.container,
  .container, div.container {
    padding: 80px 20px 48px !important;
  }
  footer { padding: 32px 0 !important; }
  .footer-inner {
    flex-direction: column !important; align-items: center !important;
    justify-content: center !important; text-align: center !important; gap: 14px !important;
  }
  .footer-links { flex-wrap: wrap !important; justify-content: center !important; gap: 16px !important; }
  .footer-brand { justify-content: center !important; }
  .footer-copy { text-align: center !important; }
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  body > .container, body > div.container,
  .container, div.container {
    padding: 72px 16px 40px !important;
  }
  h1 { font-size: 1.5rem !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
}
