/* =========================================================================
   OSINT ANALYST FOR HIRE — stylesheet
   Design language: 90s hacker terminal / phosphor CRT, kept legible by
   housing all content inside near-opaque "glass" terminal panels that sit
   above a dimmed live matrix-rain canvas.
   ========================================================================= */
 
:root {
  /* --- color tokens --- */
  --bg: #01060a;
  --bg-alt: #040e0c;
  --glass: rgba(3, 12, 11, 0.93);
  --glass-soft: rgba(3, 12, 11, 0.8);
  --green: #33ff8c;
  --green-bright: #b6ffdb;
  --green-dim: #12703f;
  --green-line: #0d3a24;
  --amber: #ffb000;
  --red-alert: #ff4d4d;
  --fg: #cdead9;
  --fg-dim: #7fa895;
  --border: #123322;
 
  /* --- type tokens --- */
  --font-display: "VT323", "Courier New", monospace;
  --font-mono: "IBM Plex Mono", "DejaVu Sans Mono", "Courier New", monospace;
 
  /* --- layout tokens --- */
  --content-max: 920px;
  --radius: 6px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}
 
/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration-color: var(--green-dim); }
a:hover { color: var(--green-bright); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0 0 0.4em; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--green-dim); color: #eafff2; }
 
/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
 
/* =========================================================================
   Background layers: matrix canvas + scanlines + vignette
   ========================================================================= */
#matrix-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  filter: saturate(0.9);
}
 
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.16) 0px,
      rgba(0, 0, 0, 0.16) 1px,
      transparent 2px,
      transparent 3px
    );
  mix-blend-mode: multiply;
}
 
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 4, 4, 0.75) 100%);
}
 
.scan-sweep {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(179, 255, 214, 0.05) 50%, transparent 100%);
  height: 12%;
  animation: sweep 9s linear infinite;
}
@keyframes sweep {
  0% { transform: translateY(-20%); }
  100% { transform: translateY(850%); }
}
 
/* =========================================================================
   Skip link
   ========================================================================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #012;
  padding: 0.6em 1em;
}
.skip-link:focus { left: 1rem; top: 1rem; }
 
/* =========================================================================
   Shell / layout
   ========================================================================= */
.shell {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 1.5rem auto; /* fallback for browsers without clamp() support */
  margin: clamp(1rem, 4vw, 2.5rem) auto;
  padding: 0 var(--gutter);
}
 
/* Terminal window chrome wrapping the whole page */
.terminal-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow:
    0 0 0 1px rgba(51, 255, 140, 0.06),
    0 0 40px rgba(20, 160, 90, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
 
.title-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(to bottom, #0a1815, #060f0d);
  border-bottom: 1px solid var(--border);
}
.title-bar .dots { display: flex; gap: 0.4rem; }
.title-bar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f56; }
.dot.amber { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.title-bar .path {
  margin-left: 0.5rem;
  color: var(--fg-dim);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
/* =========================================================================
   Nav
   ========================================================================= */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px dashed var(--green-line);
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.15);
}
.site-nav a {
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding: 0.15rem 0.1rem;
}
.site-nav a::before { content: "./"; color: var(--green-dim); }
.site-nav a:hover { color: var(--green-bright); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: var(--green);
  transition: width 0.2s ease;
}
.site-nav a:hover::after { width: 100%; }
 
/* =========================================================================
   Sections
   ========================================================================= */
main { padding: 0 1.25rem; }
.tblock {
  padding: 2.4rem 0;
  border-bottom: 1px dashed var(--green-line);
}
.tblock:last-of-type { border-bottom: none; }
 
.prompt-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: baseline;
  color: var(--fg-dim);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.prompt-line .p { color: var(--green); }
.prompt-line .cmd { color: var(--fg); }
 
.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: var(--green-bright);
  text-shadow: 0 0 14px rgba(51, 255, 140, 0.35);
}
 
/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding-top: 2.6rem; }
.boot-log {
  font-size: 0.82rem;
  color: var(--green-dim);
  margin-bottom: 1.4rem;
  min-height: 4.6em;
}
.boot-log div { opacity: 0.85; }
.boot-log .ok { color: var(--green); }
 
.hero-title {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02;
  color: var(--green-bright);
  text-shadow: 0 0 18px rgba(51, 255, 140, 0.45), 0 0 2px rgba(255, 255, 255, 0.3);
}
.hero-title .amber-word { color: var(--amber); text-shadow: 0 0 16px rgba(255, 176, 0, 0.5); }
.hero-sub {
  max-width: 60ch;
  color: var(--fg);
  font-size: 1.05rem;
  margin-top: 0.8rem;
}
.cursor {
  display: inline-block;
  width: 0.55ch;
  background: var(--green);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
 
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
 
.btn {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.7em 1.2em;
  border-radius: 3px;
  border: 1px solid var(--green-dim);
  background: transparent;
  color: var(--green-bright);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: rgba(51, 255, 140, 0.08);
  box-shadow: 0 0 18px rgba(51, 255, 140, 0.25);
}
.btn.primary {
  background: var(--green);
  color: #012014;
  border-color: var(--green);
  font-weight: 600;
}
.btn.primary:hover { background: var(--green-bright); box-shadow: 0 0 22px rgba(51, 255, 140, 0.45); }
 
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px dashed var(--green-line);
}
.stat .num { font-family: var(--font-display); font-size: 2rem; color: var(--green); display: block; }
.stat .label { font-size: 0.8rem; color: var(--fg-dim); }
 
/* =========================================================================
   About / operator profile
   ========================================================================= */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 720px) {
  .profile-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.kv-list { font-size: 0.95rem; }
.kv-list div { display: flex; gap: 0.6rem; padding: 0.35rem 0; border-bottom: 1px solid var(--green-line); }
.kv-list dt { color: var(--fg-dim); min-width: 9.5ch; }
.kv-list dd { margin: 0; color: var(--fg); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  font-size: 0.78rem;
  border: 1px solid var(--green-dim);
  color: var(--green);
  border-radius: 3px;
  padding: 0.25em 0.6em;
}
 
/* =========================================================================
   Services grid
   ========================================================================= */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } }
 
.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  position: relative;
}
.card:hover { border-color: var(--green-dim); }
.card .icon {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 0.7rem;
}
.card h3 { font-size: 1.3rem; color: var(--fg); }
.card p { color: var(--fg-dim); font-size: 0.92rem; margin-bottom: 0; }
.card .file-meta {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  color: var(--green-line);
}
 
/* =========================================================================
   Methodology — real ordered sequence, numbering justified
   ========================================================================= */
.steps { display: grid; gap: 1rem; margin-top: 1.4rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--green-line);
}
.step:last-child { border-bottom: none; }
.step .n {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--green-dim);
  min-width: 2ch;
}
.step h3 { font-size: 1.1rem; color: var(--fg); margin-bottom: 0.2rem; }
.step p { color: var(--fg-dim); font-size: 0.92rem; margin: 0; }
 
/* =========================================================================
   Case log / redacted reports
   ========================================================================= */
.case {
  border-left: 2px solid var(--green-dim);
  padding: 0.2rem 0 0.2rem 1rem;
  margin-bottom: 1.6rem;
}
.case:last-child { margin-bottom: 0; }
.case .case-id { font-size: 0.78rem; color: var(--fg-dim); }
.case h3 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; color: var(--fg); }
.redacted {
  background: #0a0a0a;
  color: transparent;
  border-radius: 2px;
  padding: 0 0.15em;
  user-select: none;
}
.case-disclaimer {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 1rem;
  border-top: 1px dashed var(--green-line);
  padding-top: 0.8rem;
}
 
/* =========================================================================
   Testimonials
   ========================================================================= */
.quote-grid { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
blockquote {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--fg);
}
blockquote::before { content: "\201C"; color: var(--green-dim); font-size: 1.4rem; }
blockquote footer { margin-top: 0.7rem; color: var(--fg-dim); font-size: 0.8rem; }
 
/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 1.4rem;
}
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
 
form { display: grid; gap: 0.9rem; }
label { font-size: 0.82rem; color: var(--fg-dim); display: block; margin-bottom: 0.3rem; }
input, textarea, select {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.65em 0.75em;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-dim); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--fg-dim); }
.form-status { font-size: 0.85rem; margin-top: 0.4rem; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red-alert); }
 
.contact-meta .kv-list { margin-bottom: 1.2rem; }
.pgp-block {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.78rem;
  color: var(--green-dim);
  overflow-x: auto;
  white-space: pre;
}
 
.legal-note {
  font-size: 0.78rem;
  color: var(--fg-dim);
  border-top: 1px dashed var(--green-line);
  margin-top: 1.4rem;
  padding-top: 0.9rem;
}
 
/* =========================================================================
   Footer
   ========================================================================= */
footer.tblock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
  padding: 1.4rem 0;
}
footer.tblock a { color: var(--fg-dim); }
footer.tblock a:hover { color: var(--green); }
 
/* =========================================================================
   Utility: glitch heading effect (single orchestrated moment on load)
   ========================================================================= */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch.run::before, .glitch.run::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
  color: var(--green-bright);
}
.glitch.run::before {
  animation: glitch-1 0.6s steps(2, end) 1;
  clip-path: inset(0 0 60% 0);
  color: var(--amber);
  transform: translate(-2px, -1px);
}
.glitch.run::after {
  animation: glitch-2 0.6s steps(2, end) 1;
  clip-path: inset(60% 0 0 0);
  color: #7cf7c4;
  transform: translate(2px, 1px);
}
@keyframes glitch-1 { 0% { transform: translate(-3px,-1px);} 50%{transform:translate(2px,1px);} 100%{transform:translate(0,0);} }
@keyframes glitch-2 { 0% { transform: translate(3px,1px);} 50%{transform:translate(-2px,-1px);} 100%{transform:translate(0,0);} }
 
/* =========================================================================
   Service catalog tabs (services.html)
   ========================================================================= */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0 1.6rem;
}
.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  padding: 0.5em 0.9em;
  border-radius: 3px;
  cursor: pointer;
}
.tab-btn::before { content: "#"; color: var(--green-dim); margin-right: 0.3em; }
.tab-btn:hover { color: var(--fg); border-color: var(--green-dim); }
.tab-btn[aria-selected="true"] {
  color: #012014;
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
 
.svc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.svc-table caption { text-align: left; color: var(--fg-dim); font-size: 0.8rem; margin-bottom: 0.6rem; }
.svc-table th {
  text-align: left;
  color: var(--green-dim);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid var(--border);
}
.svc-table td {
  padding: 0.7em 0.7em;
  border-bottom: 1px solid var(--green-line);
  vertical-align: top;
  color: var(--fg);
}
.svc-table tr:hover td { background: rgba(51, 255, 140, 0.03); }
.svc-table .price { color: var(--green-bright); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-table .deliverable { color: var(--fg-dim); font-size: 0.86rem; }
 
@media (max-width: 640px) {
  .svc-table thead { display: none; }
  .svc-table, .svc-table tbody, .svc-table tr, .svc-table td { display: block; width: 100%; }
  .svc-table tr { border-bottom: 1px solid var(--border); padding: 0.7em 0; }
  .svc-table td { border-bottom: none; padding: 0.15em 0; }
  .svc-table td.name { color: var(--green-bright); font-size: 1rem; }
  .svc-table td.price::before { content: "price: "; color: var(--fg-dim); }
}
 
/* =========================================================================
   Pricing / plan cards (pricing.html)
   ========================================================================= */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
@media (min-width: 760px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
 
.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.plan-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(51, 255, 140, 0.15);
}
.plan-card.featured::before {
  content: "recommended";
  position: absolute;
  top: -0.7em;
  left: 1.2rem;
  background: var(--green);
  color: #012014;
  font-size: 0.7rem;
  padding: 0.2em 0.6em;
  border-radius: 2px;
  font-weight: 600;
}
.plan-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-bright); }
.plan-tagline { color: var(--fg-dim); font-size: 0.85rem; margin-top: -0.4rem; }
.plan-price { font-size: 2rem; color: var(--fg); }
.plan-price span { font-size: 0.9rem; color: var(--fg-dim); }
.plan-features { list-style: none; font-size: 0.86rem; color: var(--fg); display: grid; gap: 0.5rem; margin: 0.6rem 0; }
.plan-features li::before { content: "\2713 "; color: var(--green); }
.plan-actions { display: grid; gap: 0.5rem; margin-top: auto; }
 
.pay-method-toggle {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}
.pay-method-toggle button {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  padding: 0.5em 0.4em;
  border-radius: 3px;
  cursor: pointer;
}
.pay-method-toggle button[aria-pressed="true"] {
  color: var(--green-bright);
  border-color: var(--green-dim);
  background: rgba(51, 255, 140, 0.07);
}
.crypto-note { font-size: 0.72rem; color: var(--fg-dim); }
 
/* =========================================================================
   Portal (login / dashboard / tools)
   ========================================================================= */
.auth-card { max-width: 420px; margin: 2rem auto; }
.auth-card form { gap: 1rem; }
.auth-switch { font-size: 0.85rem; color: var(--fg-dim); text-align: center; margin-top: 0.6rem; }
 
.gate-banner {
  border: 1px solid var(--amber);
  background: rgba(255, 176, 0, 0.06);
  color: var(--amber);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}
.gate-banner a { color: var(--amber); text-decoration-line: underline; }
 
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
@media (min-width: 640px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
 
.tool-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tool-card h3 { font-size: 1.15rem; color: var(--fg); margin: 0; }
.tool-card p { color: var(--fg-dim); font-size: 0.88rem; margin: 0; }
.tool-card .lock { color: var(--amber); font-size: 0.78rem; }
 
.tool-workspace {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-top: 1.2rem;
}
.tool-output {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  margin-top: 0.9rem;
}
.dropzone {
  border: 1px dashed var(--green-dim);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.88rem;
  cursor: pointer;
}
.dropzone.drag { border-color: var(--green); color: var(--green-bright); background: rgba(51, 255, 140, 0.04); }
 
.link-launcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.link-launcher-grid a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.6em 0.8em;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--fg);
}
.link-launcher-grid a:hover { border-color: var(--green-dim); color: var(--green-bright); }
 
.badge {
  display: inline-block;
  font-size: 0.72rem;
  border: 1px solid var(--green-dim);
  color: var(--green);
  border-radius: 3px;
  padding: 0.15em 0.5em;
  margin-left: 0.5em;
}
.badge.warn { border-color: var(--amber); color: var(--amber); }
 
/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #matrix-canvas { display: none; }
  .scan-sweep { animation: none; display: none; }
  .cursor { animation: none; opacity: 1; }
  .glitch.run::before, .glitch.run::after { animation: none; content: none; }
}
 
/* =========================================================================
   Small screens
   ========================================================================= */
@media (max-width: 480px) {
  .shell { margin: 0.6rem auto; }
  .title-bar .path { display: none; }
}
 