/* ============================================
   SETARYS.XYZ — Design System
   Network Diagnostics & Privacy Tools
   ============================================ */



/* === SYSTEM FONT STACK — zero external calls === */
/* Heading: system-ui | Body: system-ui | Mono: ui-monospace */

/* === CSS VARIABLES === */
:root {
  --bg:           #05080f;
  --bg-2:         #080d1a;
  --bg-card:      #0a1020;
  --bg-card-h:    #0d1428;
  --bg-terminal:  #030609;
  --border:       #131e33;
  --border-b:     #1a2e50;
  --border-glow:  #0a3060;
  --cyan:         #00d4f5;
  --cyan-dim:     #0099bb;
  --cyan-glow:    rgba(0,212,245,0.12);
  --green:        #00ff9d;
  --green-dim:    #00cc7a;
  --green-glow:   rgba(0,255,157,0.1);
  --amber:        #ffb700;
  --amber-glow:   rgba(255,183,0,0.1);
  --red:          #ff3d57;
  --red-glow:     rgba(255,61,87,0.1);
  --purple:       #9b6dff;
  --text:         #bfd0e8;
  --text-dim:     #607a9a;
  --text-muted:   #354a62;
  --text-head:    #e0eeff;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.18s ease;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 30px rgba(0,212,245,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,245,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,245,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-head);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { color: var(--text); line-height: 1.7; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #5de8ff; }
small { font-size: 0.8rem; color: var(--text-dim); }
code {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.85em;
  background: rgba(0,212,245,0.07);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--cyan);
}
pre {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.82rem;
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  line-height: 1.7;
  color: #8ab8d8;
}
pre .cm  { color: var(--text-muted); } /* comment */
pre .kw  { color: var(--purple); }    /* keyword */
pre .fn  { color: var(--cyan); }      /* function */
pre .st  { color: var(--green); }     /* string */
pre .nb  { color: var(--amber); }     /* number */

/* === LAYOUT === */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* === HEADER / NAV === */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--text-head); text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--cyan);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.logo-icon::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}
.logo-dot { color: var(--cyan); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--text-dim); font-size: 0.875rem; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius);
  transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active {
  color: var(--text-head);
  background: rgba(255,255,255,0.04);
}
.nav-cta {
  margin-left: 8px;
  padding: 7px 16px !important;
  background: rgba(0,212,245,0.08) !important;
  border: 1px solid rgba(0,212,245,0.25) !important;
  color: var(--cyan) !important;
  border-radius: var(--radius) !important;
  font-size: 0.875rem;
}
.nav-cta:hover {
  background: rgba(0,212,245,0.15) !important;
  border-color: rgba(0,212,245,0.5) !important;
  color: #5de8ff !important;
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text); padding: 6px;
}
.nav-toggle svg { display: block; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem; font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan);
  color: #03080f;
  box-shadow: 0 0 20px rgba(0,212,245,0.25);
}
.btn-primary:hover {
  background: #5de8ff;
  color: #03080f;
  box-shadow: 0 0 30px rgba(0,212,245,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-b);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-head);
}
.btn-run {
  background: rgba(0,212,245,0.1);
  border: 1px solid rgba(0,212,245,0.3);
  color: var(--cyan);
  padding: 8px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}
.btn-run:hover {
  background: rgba(0,212,245,0.18);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,245,0.2);
}
.btn-run:disabled {
  opacity: 0.4; cursor: not-allowed; transform: none;
}
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--border-b);
  background: var(--bg-card-h);
}
.card-glow:hover {
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--border-glow);
}

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.72rem; font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-cyan  { background: rgba(0,212,245,0.1); color: var(--cyan); border: 1px solid rgba(0,212,245,0.2); }
.badge-green { background: rgba(0,255,157,0.1); color: var(--green); border: 1px solid rgba(0,255,157,0.2); }
.badge-amber { background: rgba(255,183,0,0.1); color: var(--amber); border: 1px solid rgba(255,183,0,0.2); }
.badge-red   { background: rgba(255,61,87,0.1);  color: var(--red);   border: 1px solid rgba(255,61,87,0.2); }
.badge-dim   { background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid var(--border); }

.badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 4px currentColor;
}

/* === STATUS INDICATOR === */
.status { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-ok   .status-dot { background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse-green 2s infinite; }
.status-warn .status-dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.status-err  .status-dot { background: var(--red);   box-shadow: 0 0 6px var(--red);   animation: pulse-red 1.5s infinite; }
.status-idle .status-dot { background: var(--text-muted); }

/* === TERMINAL WINDOW === */
.terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.82rem;
}
.terminal-bar {
  background: #0a0f1a;
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-label {
  font-size: 0.72rem; color: var(--text-muted);
  margin: 0 auto;
  letter-spacing: 0.04em;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  min-height: 120px;
  line-height: 1.8;
  color: #7aa8c8;
}
.terminal-body .line-key  { color: var(--text-dim); }
.terminal-body .line-val  { color: var(--text); }
.terminal-body .line-ok   { color: var(--green); }
.terminal-body .line-warn { color: var(--amber); }
.terminal-body .line-err  { color: var(--red); }
.terminal-body .line-cyan { color: var(--cyan); }
.terminal-body .prompt { color: var(--cyan-dim); user-select: none; }
.terminal-body .cursor {
  display: inline-block; width: 8px; height: 1em;
  background: var(--cyan); opacity: 0.8;
  animation: blink 1.1s step-end infinite;
  vertical-align: text-bottom;
}

/* === TOOL PANEL === */
.tool-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}
.tool-panel:hover { border-color: var(--border-b); }
.tool-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.tool-panel-title {
  display: flex; align-items: center; gap: 10px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-head);
}
.tool-icon {
  width: 32px; height: 32px;
  background: rgba(0,212,245,0.07);
  border: 1px solid rgba(0,212,245,0.15);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.tool-icon svg { width: 15px; height: 15px; }
.tool-panel-body { padding: 1.5rem; }

/* === DATA TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.data-table tr { border-bottom: 1px solid var(--border); }
.data-table tr:last-child { border-bottom: none; }
.data-table td {
  padding: 9px 4px;
  vertical-align: top;
}
.data-table td:first-child {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 38%;
  padding-right: 12px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}
.data-table td:last-child {
  color: var(--text);
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  word-break: break-all;
}

/* === PROGRESS / SCORE === */
.score-ring { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring-track { fill: none; stroke: var(--border); stroke-width: 8; }
.score-ring-fill  { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
}
.score-num { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--text-head); }
.score-sub { font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; letter-spacing: 0.06em; }

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  transition: width 0.8s ease;
  box-shadow: 0 0 8px rgba(0,212,245,0.4);
}

/* === RESULT ITEM === */
.result-item {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.result-item:last-child { border-bottom: none; }
.result-label {
  font-size: 0.8rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  flex-shrink: 0;
}
.result-value {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.85rem; color: var(--text);
  text-align: right; word-break: break-all;
}

/* === LOADING STATE === */
.loading-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%;
  animation: loading-sweep 1.4s linear infinite;
  border-radius: 99px;
}
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--border-b) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s ease infinite;
  border-radius: 4px;
  height: 14px;
}

/* === HERO === */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,245,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  padding: 6px 14px;
  background: rgba(0,212,245,0.06);
  border: 1px solid rgba(0,212,245,0.2);
  border-radius: 99px;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse-green 2s infinite;
}
.hero h1 { margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--cyan); }
.hero p.lead {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 560px; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-ip-widget {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  max-width: 520px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.82rem;
}
.hero-ip-widget .ip-label { color: var(--text-muted); }
.hero-ip-widget .ip-addr {
  color: var(--cyan); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-ip-widget .ip-loc { color: var(--text-dim); }
.hero-ip-widget .ip-sep { color: var(--border-b); }

/* === FEATURE GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.22s ease;
  text-decoration: none;
  display: block;
}
.feature-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(0,212,245,0.06);
}
.feature-card-icon {
  width: 44px; height: 44px;
  background: rgba(0,212,245,0.08);
  border: 1px solid rgba(0,212,245,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--cyan);
}
.feature-card-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-size: 1rem; margin-bottom: 0.5rem;
  color: var(--text-head);
}
.feature-card p {
  font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem;
}
.feature-card .card-link {
  font-size: 0.8rem; color: var(--cyan);
  display: flex; align-items: center; gap: 4px;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  letter-spacing: 0.02em;
}

/* === STATS ROW === */
.stats-row {
  display: flex; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  background: var(--bg-card);
  transition: background var(--transition);
}
.stat-item:hover { background: var(--bg-card-h); }
.stat-num {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.7rem; font-weight: 800;
  color: var(--text-head);
  letter-spacing: -0.02em;
}
.stat-num .stat-accent { color: var(--cyan); }
.stat-label { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }

/* === PAGE HEADER === */
.page-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 120px; height: 1px;
  background: var(--cyan);
}
.page-header .badge { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.page-header p { font-size: 1rem; color: var(--text-dim); max-width: 600px; }

/* === TOOLS PAGE LAYOUT === */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.tools-grid .tool-panel-full { grid-column: 1 / -1; }

/* === API DOCS === */
.endpoint {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.endpoint-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}
.method {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.06em;
}
.method-get  { background: rgba(0,255,157,0.1); color: var(--green); border: 1px solid rgba(0,255,157,0.2); }
.endpoint-path {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.88rem; color: var(--text);
}
.endpoint-desc { font-size: 0.82rem; color: var(--text-dim); margin-left: auto; }
.endpoint-body { padding: 1.25rem 1.5rem; }

/* === CODE TABS === */
.code-tabs { margin-top: 1rem; }
.code-tab-bar {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 6px 8px 0;
}
.code-tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.75rem; color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 4px 4px 0 0;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.code-tab-btn.active { color: var(--cyan); background: rgba(0,212,245,0.06); }
.code-tab-btn:hover:not(.active) { color: var(--text); }
.code-tab-content { display: none; }
.code-tab-content.active { display: block; }
.code-tab-content pre { border-radius: 0 0 var(--radius) var(--radius); margin: 0; }

/* === ABOUT PAGE === */
.team-card {
  display: flex; align-items: center; gap: 16px;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: system-ui, -apple-system, sans-serif; font-weight: 700; font-size: 1.1rem;
  color: #03080f; flex-shrink: 0;
}

/* === PRIVACY PAGE === */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: start;
}
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
}
.check-item.ok     { border-left: 3px solid var(--green); }
.check-item.warn   { border-left: 3px solid var(--amber); }
.check-item.danger { border-left: 3px solid var(--red);   }
.check-item.idle   { border-left: 3px solid var(--border-b); }
.check-icon { flex-shrink: 0; }
.check-label { flex: 1; color: var(--text-head); font-weight: 500; }
.check-value { color: var(--text-dim); font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace; font-size: 0.78rem; }

/* === FORM ELEMENTS === */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 0.82rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  padding: 10px 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan-dim);
  box-shadow: 0 0 0 3px rgba(0,212,245,0.07);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* === FOOTER === */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--text-dim);
  margin-top: 0.75rem; max-width: 260px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.85rem; color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-muted);
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--cyan); }

/* === SECTION HEADERS === */
.section-label {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--cyan);
  margin-bottom: 0.75rem;
}
.section-heading { margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-sub { color: var(--text-dim); font-size: 0.95rem; max-width: 560px; }

/* === DIVIDER === */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* === ALERT BOXES === */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 1rem;
}
.alert-info  { background: rgba(0,212,245,0.06); border: 1px solid rgba(0,212,245,0.2); color: var(--text); }
.alert-warn  { background: rgba(255,183,0,0.06); border: 1px solid rgba(255,183,0,0.2); color: var(--text); }
.alert svg   { flex-shrink: 0; margin-top: 2px; }

/* === FINGERPRINT TABLE === */
.fp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fp-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 0.78rem;
}
.fp-item-key {
  color: var(--text-muted);
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.fp-item-val {
  color: var(--text);
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  word-break: break-all;
}

/* === ANIMATIONS === */
@keyframes blink        { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulse-green  { 0%,100%{opacity:1;box-shadow:0 0 6px var(--green)} 50%{opacity:0.6;box-shadow:0 0 3px var(--green)} }
@keyframes pulse-red    { 0%,100%{opacity:1;box-shadow:0 0 6px var(--red)}   50%{opacity:0.6;box-shadow:0 0 3px var(--red)}   }
@keyframes loading-sweep { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes skeleton-shine { 0%,100%{background-position:200% 0} 50%{background-position:-200% 0} }
@keyframes fade-up {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes scan-line {
  0%   { top: 0; opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.anim-fade-up { animation: fade-up 0.5s ease both; }
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.24s; }
.anim-delay-4 { animation-delay: 0.32s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .stats-row { flex-direction: column; gap: 0; }
  .hero { padding: 60px 0 48px; }
  .hero-ip-widget { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 24px; gap: 2px; z-index: 99; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .fp-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  h1 { font-size: 2rem; }
}

/* === MISC UTILS === */
.mono { font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace; }
.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hidden { display: none !important; }
.w-full { width: 100%; }
