/* =====================================================
   IPNEON — style.css
   Author: ramaneon
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --neon-green:   #10f49c;
  --neon-cyan:    #00e5ff;
  --neon-purple:  #b84fff;
  --neon-pink:    #ff4ecd;
  --neon-orange:  #ff9800;
  --bg-deep:      #030712;
  --bg-dark:      #080f1d;
  --bg-card:      rgba(11, 20, 38, 0.72);
  --bg-card2:     rgba(15, 27, 51, 0.85);
  --border-dim:   rgba(255, 255, 255, 0.08);
  --border-glow:  rgba(16, 244, 156, 0.35);
  --border-cyan:  rgba(0, 229, 255, 0.35);
  --text-primary: #f8fafc;
  --text-dim:     #64748b;
  --text-muted:   #94a3b8;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --font-main:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:       14px;
  --radius-sm:    9px;
  --spring:       cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--neon-green); border-radius: 3px; }

/* ── CANVAS ────────────────────────────────────── */
#matrixCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.04;
  pointer-events: none;
}

/* ── PARTICLES ─────────────────────────────────── */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: float-up linear infinite;
  opacity: 0;
}

@keyframes float-up {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── HEADER ────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(2,4,9,0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border-dim);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(3,7,18,0.92);
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; gap: 2rem;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-bracket { color: var(--text-dim); }
.logo-text    { color: var(--text-primary); font-weight: 800; }
.logo-accent  { color: var(--neon-green); text-shadow: 0 0 16px rgba(16,244,156,0.4); }

.nav { display: flex; gap: 0.35rem; margin-left: auto; align-items: center; }

.nav-link {
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.nav-link.active {
  color: var(--neon-green);
  border-color: rgba(16,244,156,0.3);
  background: rgba(16,244,156,0.06);
}

.nav-link:active {
  transform: scale(0.96);
}

.header-status {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-green);
  margin-left: 1rem;
}

.status-dot {
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--neon-green);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; z-index: 1;
  padding: 80px 2rem 2rem;
  max-width: 1400px; margin: 0 auto;
  gap: 4rem;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.22);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.6s var(--spring);
  backdrop-filter: blur(12px);
}

.badge-icon { color: var(--neon-cyan); font-size: 0.85rem; }

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s var(--spring);
}

.title-line { display: block; }
.title-line.accent {
  background: linear-gradient(135deg, #10f49c 20%, #00e5ff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(16,244,156,0.3));
}

.hero-sub {
  font-family: var(--font-main);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s var(--spring);
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.9s var(--spring);
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, var(--neon-green), #00c87a);
  color: #030712;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.9rem;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s var(--spring);
  box-shadow: 0 4px 20px rgba(16,244,156,0.25);
  user-select: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,244,156,0.45);
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s var(--spring);
  backdrop-filter: blur(12px);
  user-select: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-secondary:active {
  transform: scale(0.96);
}

.hero-stats {
  display: flex; gap: 3rem;
  animation: fadeInUp 1s var(--spring);
}

.stat-item { text-align: left; }
.stat-num  {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--neon-green);
  text-shadow: 0 0 25px rgba(16,244,156,0.4);
}
.stat-label {
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── GLOBE ─────────────────────────────────────── */
.hero-visual { flex: 0 0 460px; display: flex; justify-content: center; position: relative; z-index: 1; }

.globe-wrapper { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.globe {
  width: 280px; height: 280px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.globe-ring {
  position: absolute;
  border: 1px solid rgba(0,255,159,0.25);
  border-radius: 50%;
  animation: spin linear infinite;
}

.r1 { width: 100%; height: 100%; animation-duration: 15s; }
.r2 { width: 75%; height: 75%; animation-duration: 10s; animation-direction: reverse; border-color: rgba(0,229,255,0.2); }
.r3 { width: 50%; height: 50%; animation-duration: 7s; border-color: rgba(184,79,255,0.2); }

@keyframes spin { to { transform: rotate(360deg); } }

.globe-core {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,255,159,0.3), rgba(0,229,255,0.1));
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(0,255,159,0.4), inset 0 0 20px rgba(0,255,159,0.1);
  z-index: 1;
}

.globe-icon { font-size: 2rem; }

.globe-ping {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-green);
}

.p1 { top: 15%; left: 20%; animation: ping-float 3s ease-in-out infinite; }
.p2 { top: 60%; right: 15%; animation: ping-float 4s ease-in-out infinite 1s; background: var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan); }
.p3 { bottom: 20%; left: 40%; animation: ping-float 3.5s ease-in-out infinite 0.5s; background: var(--neon-purple); box-shadow: 0 0 15px var(--neon-purple); }

@keyframes ping-float {
  0%,100% { transform: translateY(0) scale(1); opacity: 1; }
  50%      { transform: translateY(-8px) scale(1.2); opacity: 0.7; }
}

.globe-data {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(11,17,32,0.9);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 240px;
  backdrop-filter: blur(10px);
}

.gd-item { color: var(--text-dim); margin-bottom: 0.3rem; }
.gd-val   { color: var(--neon-green); }

/* ── SECTION COMMONS ───────────────────────────── */
section { position: relative; z-index: 1; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 1rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: #fff;
}

.accent {
  background: linear-gradient(135deg, #10f49c 20%, #00e5ff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(16,244,156,0.25));
}

.section-sub {
  font-family: var(--font-main);
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── TOOLS GRID ────────────────────────────────── */
.tools-section { padding: 6rem 2rem; max-width: 1400px; margin: 0 auto; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.35rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.65rem;
  cursor: pointer;
  transition: all 0.24s var(--spring);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tool-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--spring);
}

.tool-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(16,244,156,0.2);
}

.tool-card:hover::before { transform: scaleX(1); }
.tool-card:active { transform: translateY(-1px) scale(0.99); }

.tool-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--neon-green);
  background: rgba(16,244,156,0.08);
  border: 1px solid rgba(16,244,156,0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.tool-icon { font-size: 1.85rem; margin-bottom: 0.65rem; display: block; }

.tool-name {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.tool-desc {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.tool-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  margin-top: 0.85rem;
  margin-right: 0.35rem;
  letter-spacing: 0.02em;
}

.tag-active   { background: rgba(16,244,156,0.08); color: var(--neon-green); border: 1px solid rgba(16,244,156,0.2); }
.tag-passive  { background: rgba(0,229,255,0.08);  color: var(--neon-cyan);  border: 1px solid rgba(0,229,255,0.2); }
.tag-social   { background: rgba(184,79,255,0.08); color: var(--neon-purple); border: 1px solid rgba(184,79,255,0.2); }
.tag-network  { background: rgba(255,152,0,0.08);  color: var(--neon-orange); border: 1px solid rgba(255,152,0,0.2); }

/* ── TRACKER ───────────────────────────────────── */
.tracker-section { padding: 6rem 2rem; max-width: 1400px; margin: 0 auto; }

.tracker-container { max-width: 1200px; margin: 0 auto; }

.tracker-input-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.input-group {
  display: flex; align-items: center; gap: 0;
  background: rgba(3,7,18,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.22s var(--spring);
}

.input-group:focus-within {
  box-shadow: 0 0 0 2px rgba(0,229,255,0.25), 0 8px 30px rgba(0,0,0,0.4);
  border-color: rgba(0,229,255,0.6);
}

.input-prefix {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  padding: 0 1.25rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 52px;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.02);
}

.ip-input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0 1.25rem;
  height: 52px;
  letter-spacing: 0.02em;
}

.ip-input::placeholder { color: var(--text-dim); }

.btn-scan {
  background: linear-gradient(135deg, var(--neon-green), #00c87a);
  color: #030712;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 2rem;
  height: 52px;
  border: none;
  cursor: pointer;
  transition: all 0.22s var(--spring);
  display: flex; align-items: center; gap: 0.5rem;
  user-select: none;
}

.btn-scan:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(16,244,156,0.4);
}

.btn-scan:active {
  transform: scale(0.97);
}

.scan-loader {
  animation: spin-mono 1s linear infinite;
  display: inline-block;
}

@keyframes spin-mono { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

.quick-targets,
.quick-presets {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.qt-label,
.preset-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.qt-btn,
.preset-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--spring);
  user-select: none;
}

.qt-btn:hover,
.preset-btn:hover {
  color: var(--neon-cyan);
  border-color: rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.06);
  transform: translateY(-1px);
}

.qt-btn:active,
.preset-btn:active {
  transform: scale(0.95);
}

/* ── RESULTS ───────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) { .results-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px)  { .results-grid { grid-template-columns: 1fr; } }

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
}

.card-map, .card-terminal { grid-column: span 1; }

.card-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(255,255,255,0.02);
}

.card-icon { font-size: 1rem; }

.card-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  flex: 1;
}

.card-status { font-size: 0.6rem; color: var(--neon-green); }

.card-body { padding: 1.25rem; }

.info-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  gap: 1rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.info-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  word-break: break-all;
}

.info-val.highlight {
  color: var(--neon-green);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(16,244,156,0.3);
}

/* ── THREAT GAUGE ──────────────────────────────── */
.threat-gauge {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 1.25rem;
}

.gauge-svg { width: 100%; max-width: 160px; }

.gauge-text {
  fill: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

.gauge-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-green);
  margin-top: -0.5rem;
}

.threat-flags { display: flex; flex-direction: column; gap: 0.4rem; }

.flag-row {
  display: flex; justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.flag-label {
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
}
.flag-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}
.flag-yes { color: var(--neon-pink); }
.flag-no  { color: var(--neon-green); }

/* ── MAP ───────────────────────────────────────── */
.map-container { height: 240px; position: relative; overflow: hidden; border-radius: var(--radius-sm); }

.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
}

.map-icon { font-size: 2rem; opacity: 0.5; }
.map-frame { width: 100%; height: 100%; border: none; }

/* ── COPY BTN ──────────────────────────────────── */
.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--spring);
  margin-left: auto;
  user-select: none;
}

.copy-btn:hover {
  color: var(--neon-green);
  border-color: rgba(16,244,156,0.4);
  background: rgba(16,244,156,0.08);
}
.copy-btn:active {
  transform: scale(0.95);
}

/* ── TERMINAL ──────────────────────────────────── */
.terminal-body {
  height: 220px;
  overflow-y: auto;
  padding: 1rem;
}

.raw-pre {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-green);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}

/* ── OSINT ─────────────────────────────────────── */
.osint-section { padding: 6rem 2rem; max-width: 1400px; margin: 0 auto; }

.osint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.osint-card {
  background: var(--bg-card2);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.osint-card:hover { border-color: var(--border-glow); box-shadow: 0 8px 30px rgba(0,255,159,0.08); }

.osint-card-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.osint-icon { font-size: 1.5rem; }

.osint-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.osint-input-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

.osint-input {
  flex: 1;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.6rem 0.85rem;
  outline: none;
  transition: var(--transition);
}

.osint-input:focus { border-color: var(--neon-green); box-shadow: 0 0 12px rgba(0,255,159,0.1); }
.osint-input::placeholder { color: var(--text-dim); }

.osint-btn {
  background: linear-gradient(135deg, var(--neon-green), #00c87a);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.osint-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.osint-results {
  min-height: 80px;
  padding: 0.75rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.osint-hint { color: var(--text-dim); font-style: italic; }

.platform-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.platform-name { color: var(--text-muted); font-size: 0.72rem; }
.platform-found { color: var(--neon-green); font-size: 0.7rem; }
.platform-not   { color: var(--text-dim);   font-size: 0.7rem; }

/* ── LOG ───────────────────────────────────────── */
.log-section {
  max-width: 1400px; margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.log-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.log-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--text-dim); }

.log-controls { display: flex; align-items: center; gap: 1rem; }
.log-count { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); }

.log-clear-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.log-clear-btn:hover { color: var(--neon-pink); border-color: rgba(255,78,205,0.3); }

.log-stream {
  height: 160px;
  overflow-y: auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.log-entry {
  display: flex; gap: 1rem;
  padding: 0.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  animation: fadeIn 0.2s ease;
}

.log-time   { color: var(--text-dim); white-space: nowrap; }
.log-msg    { color: var(--text-muted); }
.log-system .log-msg { color: var(--neon-cyan); }
.log-success .log-msg { color: var(--neon-green); }
.log-error .log-msg   { color: var(--neon-pink); }
.log-warn .log-msg    { color: var(--neon-orange); }

/* ── ABOUT ─────────────────────────────────────── */
.about-section { padding: 6rem 2rem; }

.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 5rem; align-items: center;
  flex-wrap: wrap;
}

.about-text { flex: 1; min-width: 280px; }
.about-text .section-tag { text-align: left; }
.about-text .section-title { text-align: left; }

.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 1.5rem 0;
}

.about-features { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }

.af-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.af-icon { font-size: 1rem; }

.about-disclaimer {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-orange);
  background: rgba(255,140,0,0.06);
  border: 1px solid rgba(255,140,0,0.2);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
}

.about-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  flex: 0 0 300px;
}

.astat {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.astat:hover { border-color: var(--border-glow); }

.astat-num { display: block; font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--neon-green); margin-bottom: 0.3rem; }
.astat-label { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dim);
  padding: 2rem;
}

.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}

.footer-logo { font-family: var(--font-mono); font-size: 1.1rem; }

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}

.footer-link { color: var(--neon-green); text-decoration: none; }
.footer-link:hover { text-shadow: 0 0 10px var(--neon-green); }

.footer-links { display: flex; gap: 1.5rem; }

/* ── MODAL ─────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  max-width: 640px; width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(0,255,159,0.15);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-dim);
}

.modal-title { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.15em; color: var(--neon-green); }

.modal-close {
  background: none; border: none;
  color: var(--text-dim);
  font-size: 1.2rem; cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { color: var(--neon-pink); background: rgba(255,78,205,0.1); }

.modal-body { padding: 1.5rem; font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }

.modal-body h4 { font-family: var(--font-mono); color: var(--neon-green); font-size: 0.8rem; letter-spacing: 0.1em; margin: 1rem 0 0.4rem; }
.modal-body p  { margin-bottom: 0.75rem; }
.modal-body code { font-family: var(--font-mono); background: rgba(0,255,159,0.08); color: var(--neon-green); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.8rem; }

/* ── TOAST ─────────────────────────────────────── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.6rem; }

.toast {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--neon-green);
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(16, 244, 156, 0.15);
  animation: toast-in 0.3s var(--spring), toast-out 0.3s var(--spring) 2.7s forwards;
  max-width: 340px;
}

@keyframes toast-in  { from { opacity:0; transform: translateX(30px) scale(0.95); } to { opacity:1; transform: translateX(0) scale(1); } }
@keyframes toast-out { from { opacity:1; transform: translateX(0) scale(1); } to { opacity:0; transform: translateX(30px) scale(0.95); } }

.toast.error  { border-left-color: var(--neon-pink); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 78, 205, 0.2); }
.toast.warn   { border-left-color: var(--neon-orange); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 140, 0, 0.2); }

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }
@keyframes fadeInUp   { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform: translateY(0); } }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .hero          { flex-direction: column; text-align: center; }
  .hero-sub      { margin: 0 auto 2.5rem; }
  .hero-cta      { justify-content: center; }
  .hero-stats    { justify-content: center; }
  .hero-visual   { flex: none; width: 100%; }
  .hamburger     { display: flex; }
  .nav, .header-status { display: none; }
  .nav.open      { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(2,4,9,0.98); padding: 1rem; border-bottom: 1px solid var(--border-dim); z-index: 200; }
  .about-inner   { flex-direction: column; }
  .about-stats-panel { flex: none; width: 100%; }
  .footer-inner  { flex-direction: column; text-align: center; }
}

/* =====================================================
   IPNEON - BROWSER FINGERPRINTING SUITE
   Client-Side Device Forensics & Entropy Extraction
   ===================================================== */

.fingerprint-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fp-hero-card {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.95), rgba(13, 21, 38, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 255, 159, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
}

.fp-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.fp-id-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fp-id-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fp-id-val-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fp-visitor-id {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 16px rgba(16, 244, 156, 0.4);
  letter-spacing: 0.04em;
}

.fp-confidence-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background: rgba(16, 244, 156, 0.1);
  border: 1px solid rgba(16, 244, 156, 0.3);
  color: var(--neon-green);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fp-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fp-btn {
  font-family: var(--font-main);
  font-size: 0.84rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 244, 156, 0.35);
  background: rgba(16, 244, 156, 0.08);
  color: var(--neon-green);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.22s var(--spring);
  font-weight: 600;
  user-select: none;
}

.fp-btn:hover {
  background: var(--neon-green);
  color: #030712;
  box-shadow: 0 4px 20px rgba(16, 244, 156, 0.4);
  transform: translateY(-2px);
}

.fp-btn:active {
  transform: scale(0.96);
}

.fp-btn-secondary {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
}

.fp-btn-secondary:hover {
  background: var(--neon-cyan);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

.fp-btn-secondary:active {
  transform: scale(0.96);
}

.fp-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dim);
}

.fp-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.03em;
}

.badge-success {
  background: rgba(16, 244, 156, 0.1);
  border-color: rgba(16, 244, 156, 0.3);
  color: var(--neon-green);
}

.badge-danger {
  background: rgba(255, 78, 205, 0.12);
  border-color: rgba(255, 78, 205, 0.4);
  color: var(--neon-pink);
}

.badge-warning {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.4);
  color: var(--neon-orange);
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--neon-cyan);
}

.badge-neutral {
  background: rgba(90, 112, 128, 0.15);
  border-color: rgba(90, 112, 128, 0.3);
  color: var(--text-muted);
}

/* Fingerprint Cards Grid */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}

.fp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.24s var(--spring);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.fp-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(16, 244, 156, 0.2);
  transform: translateY(-3px);
}

.fp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}

.fp-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fp-card-icon {
  font-size: 1.25rem;
}

.fp-card-title {
  font-family: var(--font-main);
  font-size: 0.96rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.fp-card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fp-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.fp-prop-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fp-prop-row:last-child {
  border-bottom: none;
}

.fp-prop-label {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.fp-prop-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
  text-align: right;
  word-break: break-all;
}

.fp-prop-val.highlight {
  color: var(--neon-green);
  font-weight: 600;
}

.fp-prop-val.cyan {
  color: var(--neon-cyan);
}

.fp-canvas-box {
  background: rgba(2, 4, 9, 0.6);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.fp-canvas-preview {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 159, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 159, 0.2);
}

.fp-canvas-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.fp-card-full {
  grid-column: 1 / -1;
}

.fp-terminal {
  background: #020409;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.fp-raw-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-green);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}


/* =====================================================
   IPNEON - AUTOMATED OSINT USERNAME ENGINE
   ===================================================== */

.osint-card-large {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .osint-card-large {
    grid-column: span 1;
  }
}

.osint-scanner-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.osint-progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-dim);
}

.osint-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  border-radius: 3px;
  transition: width 0.25s ease;
  box-shadow: 0 0 8px rgba(0, 255, 159, 0.4);
}

.osint-scanner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.osint-counter-badge {
  color: var(--neon-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.osint-filter-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 0.5rem;
}

.osint-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-dim);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}

.osint-filter-btn:hover, .osint-filter-btn.active {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 159, 0.08);
}

.osint-results-feed {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.osint-found-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid rgba(0, 255, 159, 0.22);
  border-left: 3px solid var(--neon-green);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  animation: fadeIn 0.3s ease;
}

.osint-found-item:hover {
  border-color: var(--neon-green);
  box-shadow: 0 4px 16px rgba(0, 255, 159, 0.12);
  transform: translateX(2px);
}

.osint-found-item.not-found {
  opacity: 0.45;
  border-left-color: var(--text-dim);
  border-color: var(--border-dim);
  background: rgba(2, 4, 9, 0.4);
}

.osint-found-item.not-found:hover {
  opacity: 0.8;
  border-color: var(--text-muted);
}

.osint-left-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.osint-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--neon-green);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-deep);
}

.osint-platform-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 255, 159, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 255, 159, 0.2);
}

.osint-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.osint-meta-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.osint-tag-confirmed {
  font-size: 0.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(0, 255, 159, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 159, 0.3);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.osint-tag-unclaimed {
  font-size: 0.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(90, 112, 128, 0.15);
  color: var(--text-dim);
  border: 1px solid rgba(90, 112, 128, 0.3);
  font-weight: 500;
}

.osint-meta-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osint-link-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(0, 255, 159, 0.12);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.osint-link-btn:hover {
  background: var(--neon-green);
  color: var(--bg-deep);
  box-shadow: 0 0 10px rgba(0, 255, 159, 0.4);
}

.osint-empty-notice {
  text-align: center;
  padding: 2rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.osint-empty-icon {
  font-size: 1.8rem;
  color: var(--neon-orange);
}

/* ═══════════════════════════════════════════════════════
   RECON ARSENAL — 6 NEW ADVANCED MODULES & TERMINAL
   ═══════════════════════════════════════════════════════ */
.recon-section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.recon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .recon-grid { grid-template-columns: 1fr; }
}

.recon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.recon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.3;
  transition: var(--transition);
}

.recon-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.12);
  transform: translateY(-2px);
}

.recon-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
}

.recon-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recon-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.recon-icon {
  font-size: 1.4rem;
}

.recon-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.recon-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
  font-weight: 700;
}

.recon-input-row {
  display: flex;
  gap: 0.5rem;
}

.recon-input {
  flex: 1;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.recon-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.recon-btn {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.recon-btn:hover {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
}

.recon-btn-green {
  background: rgba(0, 255, 159, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.recon-btn-green:hover {
  background: var(--neon-green);
  color: var(--bg-deep);
  box-shadow: 0 0 14px rgba(0, 255, 159, 0.4);
}

.recon-presets {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.recon-preset-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.recon-preset-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.recon-res-box {
  background: var(--bg-deep);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  min-height: 140px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* DNS Records Table */
.dns-record-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.68rem;
  margin-right: 0.4rem;
}
.dns-a     { background: rgba(0,255,159,0.15); color: var(--neon-green); border: 1px solid rgba(0,255,159,0.3); }
.dns-aaaa  { background: rgba(0,229,255,0.15); color: var(--neon-cyan); border: 1px solid rgba(0,229,255,0.3); }
.dns-mx    { background: rgba(184,79,255,0.15); color: var(--neon-purple); border: 1px solid rgba(184,79,255,0.3); }
.dns-txt   { background: rgba(255,140,0,0.15); color: var(--neon-orange); border: 1px solid rgba(255,140,0,0.3); }
.dns-ns    { background: rgba(255,78,205,0.15); color: var(--neon-pink); border: 1px solid rgba(255,78,205,0.3); }

.dns-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
  border-left: 2px solid var(--neon-cyan);
  word-break: break-all;
  gap: 0.5rem;
}

/* Spoofability audit card */
.spoof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.spoof-secure {
  background: rgba(0, 255, 159, 0.15);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}
.spoof-warn {
  background: rgba(255, 140, 0, 0.15);
  color: var(--neon-orange);
  border: 1px solid var(--neon-orange);
}
.spoof-vuln {
  background: rgba(255, 78, 78, 0.18);
  color: #ff4e4e;
  border: 1px solid #ff4e4e;
}

/* CIDR Calculator Grid */
.cidr-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
@media (max-width: 500px) {
  .cidr-stat-grid { grid-template-columns: 1fr; }
}
.cidr-stat-item {
  background: rgba(255,255,255,0.02);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}
.cidr-stat-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}
.cidr-stat-val {
  font-size: 0.82rem;
  color: var(--neon-green);
  font-weight: 700;
  margin-top: 0.15rem;
}

/* Ping Radar */
.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}
.radar-node {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.radar-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.radar-city { color: var(--text-primary); font-weight: 600; }
.radar-ms { font-family: var(--font-mono); font-weight: 700; }
.radar-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.radar-bar-fill {
  height: 100%;
  background: var(--neon-green);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Security Headers Report */
.grade-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.grade-stamp {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 2px solid currentColor;
}
.grade-A { color: var(--neon-green); box-shadow: 0 0 15px rgba(0,255,159,0.25); }
.grade-B { color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,229,255,0.25); }
.grade-C { color: var(--neon-orange); box-shadow: 0 0 15px rgba(255,140,0,0.25); }
.grade-F { color: #ff4e4e; box-shadow: 0 0 15px rgba(255,78,78,0.25); }

.header-check-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem;
}
.header-ok { color: var(--neon-green); }
.header-miss { color: #ff4e4e; }

/* ── INTERACTIVE CYBER CLI TERMINAL ───────────── */
.cyber-terminal-panel {
  background: #030710;
  border: 1px solid rgba(0,255,159,0.3);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 255, 159, 0.12), inset 0 0 20px rgba(0,0,0,0.8);
  overflow: hidden;
  margin-top: 2rem;
}
.term-topbar {
  background: rgba(0,255,159,0.08);
  border-bottom: 1px solid rgba(0,255,159,0.2);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.term-dots {
  display: flex;
  gap: 0.4rem;
}
.term-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.term-dot-red    { background: #ff5f56; }
.term-dot-yellow { background: #ffbd2e; }
.term-dot-green  { background: #27c93f; }
.term-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-green);
  letter-spacing: 0.06em;
  font-weight: 700;
}
.term-quick-btns {
  display: flex;
  gap: 0.3rem;
}
.term-qbtn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.term-qbtn:hover {
  background: rgba(0,255,159,0.15);
  color: var(--neon-green);
  border-color: var(--neon-green);
}
.term-viewport {
  height: 320px;
  padding: 1rem;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #c9d1d9;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  line-height: 1.45;
}
.term-entry {
  word-break: break-all;
}
.term-line-cmd {
  color: var(--neon-cyan);
  font-weight: 700;
}
.term-line-out {
  color: #8b949e;
}
.term-line-green  { color: var(--neon-green); }
.term-line-yellow { color: var(--neon-orange); }
.term-line-red    { color: #ff4e4e; }
.term-input-line {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(0,255,159,0.15);
  padding: 0.6rem 1rem;
  gap: 0.5rem;
}
.term-prompt {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-green);
  font-weight: 700;
  white-space: nowrap;
}
.term-cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  caret-color: var(--neon-green);
}

/* Floating Terminal Toggle Button */
.floating-term-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: rgba(2, 4, 9, 0.9);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 0.65rem 1.1rem;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 255, 159, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.floating-term-btn:hover {
  background: var(--neon-green);
  color: var(--bg-deep);
  box-shadow: 0 4px 30px rgba(0, 255, 159, 0.5);
  transform: scale(1.05);
}

/* APK Release Card & CTA */
.apk-cta-banner {
  background: linear-gradient(135deg, rgba(16,244,156,0.06), rgba(0,229,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 3.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 244, 156, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 860px) {
  .apk-cta-banner { flex-direction: column; text-align: center; padding: 2rem; }
}
.apk-cta-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.apk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(16,244,156,0.12);
  color: var(--neon-green);
  border: 1px solid rgba(16,244,156,0.3);
  width: fit-content;
  letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .apk-pill { margin: 0 auto; }
}
.apk-cta-title {
  font-family: var(--font-main);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
.apk-cta-sub {
  font-family: var(--font-main);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 620px;
  font-weight: 400;
}
.btn-apk {
  background: linear-gradient(135deg, var(--neon-green), #00c87a);
  color: #030712;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.22s var(--spring);
  box-shadow: 0 4px 24px rgba(16, 244, 156, 0.35);
  white-space: nowrap;
  user-select: none;
}
.btn-apk:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 8px 32px rgba(16, 244, 156, 0.55);
  transform: translateY(-2px);
}
.btn-apk:active {
  transform: scale(0.96);
}

/* ═══════════════════════════════════════════════════════
   CYBER SPLASH HUD & BOOTLOADER ANIMATION
   ═══════════════════════════════════════════════════════ */
.cyber-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #020409;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cyber-splash-screen.fade-out {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}
.splash-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(0, 255, 159, 0.5), 0 0 70px rgba(0, 229, 255, 0.25);
  animation: pulse-logo 2s ease-in-out infinite alternate;
}
@keyframes pulse-logo {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 15px rgba(0,255,159,0.4)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 30px rgba(0,255,159,0.8)); }
}
.splash-radar-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--neon-green);
  border-radius: 50%;
  animation: radar-expand 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  opacity: 0;
}
@keyframes radar-expand {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.splash-title {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 0 12px var(--neon-green);
}
.splash-title span { color: var(--neon-cyan); }
.splash-progress-track {
  width: 260px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  box-shadow: 0 0 10px var(--neon-green);
  transition: width 0.3s ease;
}
.splash-status-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   HEADER LOGO BRANDING
   ═══════════════════════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 255, 159, 0.4);
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════
   MOBILE CYBER DOCK (BOTTOM HUD NAVIGATION)
   ═══════════════════════════════════════════════════════ */
.mobile-cyber-dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92%, 460px);
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(16, 244, 156, 0.12);
  border-radius: 40px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
}
.dock-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s var(--spring);
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.dock-btn:hover, .dock-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.dock-btn:active {
  transform: scale(0.92);
  color: var(--neon-green);
}
.dock-icon {
  font-size: 1.15rem;
  transition: transform 0.2s var(--spring);
}
.dock-btn:active .dock-icon {
  transform: scale(1.15);
}

/* Adjust padding on mobile so dock doesn't obscure content */
@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
    -webkit-overflow-scrolling: touch;
  }
  .floating-term-btn {
    bottom: 84px;
    right: 16px;
  }
}

/* =====================================================
   AI OSINT AI OSINT ALL-IN-ONE — COMPONENT STYLES
   ===================================================== */
.ai-osint-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.ai-osint-container {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 244, 156, 0.08);
}

/* AI OSINT Tabs */
.ai-osint-nav-tabs {
  display: flex;
  background: rgba(4, 9, 20, 0.95);
  border-bottom: 1px solid var(--border-dim);
  overflow-x: auto;
}
.ai-osint-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1.1rem 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s var(--spring);
}
.ai-osint-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.ai-osint-tab-btn.active {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
  background: rgba(16, 244, 156, 0.08);
}

.ai-osint-tab-view {
  display: none;
  padding: 2.5rem;
}
.ai-osint-tab-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* AI OSINT Hero & Radar Lens */
.ai-osint-hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}
.ai-osint-lens-radar {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(16, 244, 156, 0.5);
  animation: rotate 15s linear infinite;
}
.lens-ring.l1 { width: 100%; height: 100%; }
.lens-ring.l2 {
  width: 70%; height: 70%;
  border-color: rgba(0, 229, 255, 0.6);
  border-style: dotted;
  animation-direction: reverse;
  animation-duration: 8s;
}
.lens-core {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px var(--neon-green));
}
.ai-osint-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.ai-osint-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

/* Search Bar */
.ai-osint-search-bar-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 0.4rem 0.5rem 0.4rem 1.4rem;
  margin: 1.8rem 0 1rem 0;
  transition: all 0.25s var(--spring);
}
.ai-osint-search-bar-wrap:focus-within {
  border-color: var(--neon-green);
  box-shadow: 0 0 25px rgba(16, 244, 156, 0.25);
  background: rgba(3, 7, 18, 0.98);
}
.ai-osint-kind-badge {
  background: rgba(16, 244, 156, 0.15);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 244, 156, 0.3);
  margin-right: 0.6rem;
  white-space: nowrap;
}
.ai-osint-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-main);
}
.ai-osint-search-input::placeholder {
  color: var(--text-dim);
}
.ai-osint-search-btn {
  background: linear-gradient(135deg, #10f49c, #00e5ff);
  border: none;
  color: #030712;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.6rem;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s var(--spring);
}
.ai-osint-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 244, 156, 0.4);
}

.ai-osint-presets-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}
.wp-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.wp-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: all 0.2s var(--spring);
}
.wp-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Progress Box */
.ai-osint-progress-box {
  background: rgba(8, 15, 29, 0.9);
  border: 1px solid rgba(16, 244, 156, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  max-width: 760px;
  margin: 1.5rem auto;
}
.wp-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}
.wp-status {
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 600;
}
.wp-count {
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.wp-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}
.wp-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  border-radius: 6px;
  transition: width 0.15s ease;
  box-shadow: 0 0 12px var(--neon-green);
}

/* Results Section */
.ai-osint-results-wrapper {
  max-width: 900px;
  margin: 2rem auto 0 auto;
}
.ai-osint-res-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ai-osint-res-kind {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 700;
}
.ai-osint-res-title {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}
.ai-osint-res-actions {
  display: flex;
  gap: 0.6rem;
}

/* AI Summary Card */
.ai-osint-ai-card {
  background: linear-gradient(135deg, rgba(16, 244, 156, 0.06), rgba(0, 229, 255, 0.04));
  border: 1px solid rgba(16, 244, 156, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.ai-osint-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--neon-green);
  margin-bottom: 0.75rem;
}
.ai-osint-ai-summary {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
}
.ai-osint-ai-citations {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.ai-osint-cite-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Filter Bar */
.ai-osint-filter-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}
.ai-osint-filter-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--spring);
}
.ai-osint-filter-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.ai-osint-filter-chip.active {
  background: rgba(16, 244, 156, 0.2);
  color: var(--neon-green);
  border-color: rgba(16, 244, 156, 0.4);
}

/* Profile Items */
.ai-osint-profiles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ai-osint-profile-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(8, 15, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  transition: all 0.2s var(--spring);
}
.ai-osint-profile-card:hover {
  background: rgba(11, 20, 38, 0.95);
  border-color: rgba(16, 244, 156, 0.3);
  transform: translateX(4px);
}
.ai-osint-profile-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.ai-osint-profile-body {
  flex: 1;
  min-width: 0;
}
.ai-osint-profile-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.ai-osint-profile-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ai-osint-profile-name:hover {
  color: var(--neon-cyan);
}
.external-icon {
  font-size: 0.8rem;
  opacity: 0.6;
}
.ai-osint-profile-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}
.ai-osint-profile-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ai-osint-group-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-dim);
}
.ai-osint-since {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.ai-osint-match-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.tag-exact {
  background: rgba(16, 244, 156, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 244, 156, 0.3);
}
.tag-likely {
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.tag-possible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* =====================================================
   EVIDENCE TOPOLOGY GRAPH WORKSPACE
   ===================================================== */
.ai-osint-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.wgh-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.wgh-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 800;
}
.ai-osint-case-dropdown {
  background: rgba(8, 15, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}
.ai-osint-case-dropdown:focus {
  border-color: var(--neon-green);
}
.wgh-right {
  display: flex;
  gap: 0.5rem;
}

.ai-osint-graph-workspace {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  min-height: 580px;
}
@media (max-width: 1024px) {
  .ai-osint-graph-workspace {
    grid-template-columns: 1fr;
  }
}

.ai-osint-graph-stage {
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 244, 156, 0.03) 0%, rgba(3, 7, 18, 0.95) 75%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 540px;
}
.graph-svg-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.graph-nodes-layer {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.graph-node-bubble {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 15, 29, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s var(--spring);
  backdrop-filter: blur(8px);
}
.graph-node-bubble:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #fff;
  z-index: 10;
}
.graph-node-bubble.node-selected {
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(16, 244, 156, 0.4);
  z-index: 12;
}
.graph-node-bubble.node-root {
  background: rgba(16, 244, 156, 0.15);
  border-color: var(--neon-green);
  box-shadow: 0 0 24px rgba(16, 244, 156, 0.3);
}
.graph-node-bubble.risk-high {
  border-color: #ff4e4e;
  box-shadow: 0 0 16px rgba(255, 78, 78, 0.3);
}
.graph-node-bubble.risk-medium {
  border-color: #ff9800;
  box-shadow: 0 0 12px rgba(255, 152, 0, 0.25);
}
.node-icon {
  font-size: 0.95rem;
}
.node-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #fff;
  white-space: nowrap;
}
.node-risk-pulse {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: #ff4e4e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

/* Node Inspector */
.ai-osint-node-inspector {
  background: rgba(8, 15, 29, 0.9);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-height: 580px;
  overflow-y: auto;
}
.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.inspector-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 700;
}
.inspector-risk-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
}
.inspector-risk-badge.high {
  background: rgba(255, 78, 78, 0.2);
  color: #ff4e4e;
  border: 1px solid rgba(255, 78, 78, 0.4);
}
.inspector-risk-badge.medium {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.4);
}
.inspector-risk-badge.low {
  background: rgba(16, 244, 156, 0.15);
  color: var(--neon-green);
}
.inspector-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  word-break: break-all;
}
.inspector-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid var(--neon-green);
}
.inspector-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin: 1.2rem 0 0.5rem 0;
}
.inspector-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ins-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}
.ins-k { color: var(--text-dim); font-family: var(--font-mono); }
.ins-v { color: #fff; font-family: var(--font-mono); text-align: right; }

.inspector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ins-chip {
  background: rgba(16, 244, 156, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(16, 244, 156, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.inspector-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ins-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--spring);
}
.ins-link-btn:hover {
  background: rgba(16, 244, 156, 0.15);
  border-color: var(--neon-green);
}
.ins-link-icon { font-size: 0.85rem; }
.ins-link-text { font-family: var(--font-mono); font-size: 0.76rem; flex: 1; }
.ins-link-sub { font-family: var(--font-mono); font-size: 0.68rem; color: var(--neon-green); }

/* =====================================================
   SOURCES & TOOLKIT VIEW
   ===================================================== */
.ai-osint-tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ai-osint-tools-title {
  font-size: 1.6rem;
  font-weight: 800;
}
.ai-osint-tools-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.ai-osint-tools-action-grp {
  display: flex;
  gap: 0.6rem;
}
.ai-osint-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}
.ai-osint-tool-card {
  background: rgba(8, 15, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s var(--spring);
}
.ai-osint-tool-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.ai-osint-tool-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.ai-osint-tool-name-grp {
  display: flex;
  gap: 0.75rem;
}
.ai-osint-tool-icon {
  font-size: 1.4rem;
}
.ai-osint-tool-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.ai-osint-tool-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-cyan);
}
.ai-osint-tool-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.ai-osint-tool-status.connected {
  background: rgba(16, 244, 156, 0.15);
  color: var(--neon-green);
}
.ai-osint-tool-status.available {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}
.ai-osint-tool-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
  flex: 1;
  margin-bottom: 1.2rem;
}
.ai-osint-tool-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-osint-tool-runs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.ai-osint-tool-btn-grp {
  display: flex;
  gap: 0.4rem;
}

/* Micro Buttons */
.btn-micro {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s var(--spring);
}
.btn-micro:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}
.btn-micro-green {
  background: rgba(16, 244, 156, 0.15);
  color: var(--neon-green);
  border-color: rgba(16, 244, 156, 0.35);
}
.btn-micro-green:hover {
  background: var(--neon-green);
  color: #030712;
}

/* =====================================================
   HISTORY VIEW
   ===================================================== */
.history-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.history-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(8, 15, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s var(--spring);
}
.history-row:hover {
  background: rgba(16, 244, 156, 0.08);
  border-color: rgba(16, 244, 156, 0.3);
  transform: translateX(4px);
}
.hist-icon { font-size: 1.2rem; }
.hist-info { display: flex; flex-direction: column; }
.hist-q { font-weight: 700; font-size: 0.95rem; color: #fff; }
.hist-kind { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.hist-time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }

/* =====================================================
   PRINT DOSSIER STYLES (@media print)
   ===================================================== */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  #matrixCanvas, #particles, .cyber-splash-screen, .header, .footer,
  .mobile-cyber-dock, .floating-term-btn, .ai-osint-nav-tabs,
  .hero-section, .tools-section, .tracker-section, .fp-section,
  .recon-section, .osint-section, .about-section, .log-section {
    display: none !important;
  }
  .ai-osint-section {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .ai-osint-container {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .ai-osint-tab-view {
    display: block !important;
    padding: 0 !important;
  }
  .ai-osint-profile-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  .ai-osint-profile-name, .ai-osint-tool-title, .inspector-title {
    color: #000 !important;
  }
  .ai-osint-profile-desc, .ai-osint-tool-desc {
    color: #444 !important;
  }
}

/* =====================================================
   LIVE VISITOR COUNTER CYBER WIDGETS
   ===================================================== */
.header-visitors {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 244, 156, 0.08);
  border: 1px solid rgba(16, 244, 156, 0.3);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  cursor: default;
  transition: all 0.25s var(--spring);
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(16, 244, 156, 0.1);
}
.header-visitors:hover {
  background: rgba(16, 244, 156, 0.15);
  border-color: var(--neon-green);
  box-shadow: 0 0 16px rgba(16, 244, 156, 0.35);
  transform: translateY(-1px);
}
.visitor-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.visitor-label {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.visitor-val {
  color: var(--neon-green);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(16, 244, 156, 0.6);
}
.stat-item-highlight {
  border-color: rgba(16, 244, 156, 0.4) !important;
  background: rgba(16, 244, 156, 0.06) !important;
  box-shadow: 0 0 25px rgba(16, 244, 156, 0.15) !important;
}
.stat-item-highlight .stat-num {
  color: var(--neon-green) !important;
  text-shadow: 0 0 12px rgba(16, 244, 156, 0.5) !important;
}
.footer-visitor-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.2rem auto;
}
.visitor-badge-img {
  height: 28px;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(16, 244, 156, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.visitor-badge-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(16, 244, 156, 0.45);
}
.footer-visitor-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-green);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* =====================================================
   IDENTITY & FINGERPRINT MODAL DRAWER
   ===================================================== */
.identity-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 2.5rem 1rem;
  opacity: 1;
  visibility: visible;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.identity-drawer-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.identity-drawer-panel {
  position: relative;
  width: 100%;
  max-width: 1300px;
  background: rgba(5, 10, 22, 0.98);
  border: 1px solid rgba(16, 244, 156, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(16, 244, 156, 0.15);
  padding: 2.2rem;
  margin: auto 0;
  animation: slideDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDrawer {
  from { opacity: 0; transform: translateY(35px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.identity-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.id-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.id-header-icon {
  font-size: 2.4rem;
  filter: drop-shadow(0 0 12px var(--neon-cyan));
}
.id-header-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.id-header-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}
.identity-drawer-close {
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.45);
  color: #ff3366;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.identity-drawer-close:hover {
  background: rgba(255, 0, 85, 0.3);
  border-color: #ff0055;
  box-shadow: 0 0 18px rgba(255, 0, 85, 0.45);
  transform: translateY(-1px);
}
.nav-identity-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(16, 244, 156, 0.15));
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s var(--spring);
  margin-left: 0.5rem;
  white-space: nowrap;
}
.nav-identity-btn:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(16, 244, 156, 0.3));
  border-color: var(--neon-green);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}
.nav-id-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-cyan);
  animation: pulse-dot 1.5s infinite;
}



/* =====================================================
   AI NEON OSINT SUITE — Unified Search Bar + Idle State
   ===================================================== */

/* Unified search wrap — sticky above all tabs */
.ai-osint-unified-search-wrap {
  background: linear-gradient(135deg, rgba(4,9,20,0.98) 0%, rgba(8,16,36,0.98) 100%);
  border-bottom: 1px solid rgba(16,244,156,0.15);
  padding: 1.6rem 2rem 1rem 2rem;
}

.ai-osint-suite-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--neon-green);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.suite-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Unified quick-fire presets row */
.ai-osint-unified-search-wrap .ai-osint-presets-row {
  margin-top: 0.8rem;
  padding-top: 0;
}

/* Idle state — shown before first search */
.ai-osint-idle-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  gap: 1.5rem;
}

.ai-osint-idle-text {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  max-width: 600px;
  line-height: 1.7;
}

/* Route pills — shows user where each input type routes */
.ai-osint-route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 700px;
}

.route-pill {
  background: rgba(16,244,156,0.06);
  border: 1px solid rgba(16,244,156,0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-green);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.2s;
}
.route-pill:hover {
  background: rgba(16,244,156,0.12);
}

/* Username hunter tab — clean full-width card */
#ai-osint-view-username .osint-card {
  border: 1px solid rgba(16,244,156,0.2);
}

/* Email + breach tab side-by-side grid */
#ai-osint-view-email .osint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 700px) {
  #ai-osint-view-email .osint-grid { grid-template-columns: 1fr; }
}

/* Link logger tab */
#ai-osint-view-linklog .osint-card {
  border-color: rgba(0,229,255,0.25);
}

/* Tab view padding fix — remove old top padding since unified bar handles it */
.ai-osint-tab-view {
  padding: 2rem 2rem 2.5rem;
}
.ai-osint-tab-view.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Responsive: stack unified bar on mobile */
@media (max-width: 640px) {
  .ai-osint-unified-search-wrap {
    padding: 1.2rem 1rem 0.8rem;
  }
  .ai-osint-suite-badge {
    font-size: 0.58rem;
    flex-wrap: wrap;
  }
  .ai-osint-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ai-osint-tab-btn {
    min-width: 120px;
  }
}



/* =====================================================
   IPNEON GUI OVERHAUL — Declutter & Breathe
   ===================================================== */

/* NAV OVERHAUL */
.nav-link-primary {
  color: var(--neon-green) !important;
  font-weight: 700 !important;
  border: 1px solid rgba(16,244,156,0.3);
  border-radius: 4px;
  padding: 0.25rem 0.7rem !important;
}
.nav-apk-pill {
  color: var(--neon-green) !important;
  font-weight: 800 !important;
  border: 1px solid rgba(0,255,159,0.4);
  border-radius: 4px;
  padding: 0.2rem 0.6rem !important;
}

/* HERO CTA BUTTONS — 3 clean types */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10f49c, #00e5ff);
  color: #030712;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16,244,156,0.4);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,244,156,0.08);
  color: var(--neon-green);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.6rem;
  border: 1px solid rgba(16,244,156,0.35);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.btn-hero-secondary:hover {
  background: rgba(16,244,156,0.15);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.btn-hero-ghost:hover {
  border-color: rgba(0,229,255,0.4);
  color: var(--neon-cyan);
}

/* HERO STATS — 3 items, more breathing room */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  line-height: 1;
}
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* TOOLS GRID — collapsed by default, expand on toggle */
.tools-grid-collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.tools-grid-collapsed.expanded {
  max-height: 9999px;
}
.toggle-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: none;
  border: 1px solid rgba(16,244,156,0.25);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.toggle-expand-btn:hover {
  background: rgba(16,244,156,0.08);
}
.section-header-compact {
  text-align: center;
  padding-bottom: 0.5rem;
}

/* ABOUT SLIM */
.about-inner-slim {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 3rem 1.5rem;
}
.about-slim-text { max-width: 640px; }
.about-slim-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 0.75rem;
}
.about-slim-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.about-section { padding: 2rem 2rem; }

/* FOOTER SLIM */
.footer-slim {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 2rem;
}
.footer-slim-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-logo-text {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-slim-by {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.footer-slim-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer-slim-center { display: flex; align-items: center; }
.footer .footer-inner { display: none !important; }

/* SECTION SPACING — add breathing room between sections */
.tools-section,
.tracker-section,
.recon-section,
.about-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* SECTION HEADER — reduce visual weight */
.section-header {
  margin-bottom: 2.5rem;
}
.section-title {
  font-size: 1.9rem;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Remove log section from flow */
.log-section { display: none !important; }

@media (max-width: 640px) {
  .hero-stats { gap: 1.5rem; }
  .footer-slim { flex-direction: column; text-align: center; }
  .footer-slim-right { justify-content: center; }
  .about-slim-stats { gap: 1.5rem; }
}
