/* ═══════════════════════════════════════════════════════════
   IPVAULT — Deep Blue Professional Theme
   Rich navy-blue hero · Pure white body · Vivid blue accents
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ── Primary: Vivid Blue ── */
  --accent:          #2563eb;
  --accent-hover:    #1d4ed8;
  --accent-dark:     #1e40af;
  --accent-light:    #eff6ff;
  --accent-lighter:  #f5f9ff;
  --accent-border:   #bfdbfe;
  --accent-glow:     rgba(37,99,235,0.2);

  /* ── Secondary: Sky Blue ── */
  --cyan:            #0ea5e9;
  --cyan-light:      #e0f2fe;
  --cyan-border:     #bae6fd;

  /* ── Tertiary: Indigo ── */
  --pink:            #6366f1;
  --pink-light:      #eef2ff;
  --pink-border:     #c7d2fe;

  /* ── Hero/Dark surface tones ── */
  --hero-bg:         #0d1f3c;
  --hero-mid:        #102347;
  --hero-border:     rgba(96,165,250,0.15);

  /* ── Neutrals ── */
  --ink:             #0f172a;
  --ink-900:         #0f172a;
  --ink-800:         #1e293b;
  --ink-700:         #334155;
  --ink-600:         #475569;
  --ink-500:         #64748b;
  --ink-400:         #94a3b8;
  --ink-300:         #cbd5e1;
  --ink-200:         #e2e8f0;
  --ink-100:         #f1f5f9;
  --ink-50:          #f8fafc;

  /* ── Body surfaces — pure white ── */
  --bg:              #f1f5f9;
  --surface:         #ffffff;
  --surface-subtle:  #f8fafc;
  --surface-muted:   #f1f5f9;
  --surface-raised:  #ffffff;

  /* ── Borders ── */
  --border:          #e2e8f0;
  --border-strong:   #cbd5e1;

  /* ── Text ── */
  --text:            #0f172a;
  --text-body:       #1e293b;
  --text-secondary:  #334155;
  --text-muted:      #64748b;
  --text-faint:      #94a3b8;

  /* ── Semantic ── */
  --success:        #059669;
  --success-bg:     #ecfdf5;
  --success-border: #a7f3d0;
  --success-text:   #065f46;

  --warning:        #d97706;
  --warning-bg:     #fffbeb;
  --warning-border: #fde68a;
  --warning-text:   #92400e;

  --danger:         #dc2626;
  --danger-bg:      #fef2f2;
  --danger-border:  #fecaca;
  --danger-text:    #991b1b;

  /* ── Typography ── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* ── Radii ── */
  --r-xs:   4px;
  --r-sm:   8px;
  --r:      12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:     0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm:     0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow:        0 4px 6px -1px rgba(15,23,42,0.08), 0 2px 4px -2px rgba(15,23,42,0.04);
  --shadow-md:     0 10px 24px -3px rgba(15,23,42,0.1),  0 4px 8px -4px rgba(15,23,42,0.05);
  --shadow-lg:     0 20px 48px -8px rgba(15,23,42,0.14), 0 8px 16px -6px rgba(15,23,42,0.06);
  --shadow-accent: 0 4px 20px rgba(37,99,235,0.35);
  --shadow-card:   0 1px 3px rgba(15,23,42,0.06), 0 4px 12px rgba(15,23,42,0.04);

  --transition: 0.15s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ════════════════════════════════════
   TOPBAR
════════════════════════════════════ */
.topbar {
  background: #081529;
  border-bottom: 1px solid rgba(96,165,250,0.12);
  padding: 0;
}
.topbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tb-live { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-family: var(--mono); color: rgba(147,197,253,0.55); }
.tb-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.2);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }
.tb-sep { color: rgba(147,197,253,0.18); }
.tb-links { display: flex; gap: 20px; }
.tb-links a { font-size: 11.5px; font-family: var(--mono); color: rgba(147,197,253,0.4); transition: color var(--transition); }
.tb-links a:hover { color: rgba(147,197,253,0.9); }

/* ════════════════════════════════════
   NAVIGATION
════════════════════════════════════ */
.nav {
  background: #ffffff;
  border-bottom: 1px solid #e2eaf4;
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 1px 6px rgba(15,30,60,0.07);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; height: 64px;
}

.logo { display: flex; align-items: center; gap: 10px; margin-right: 32px; flex-shrink: 0; text-decoration: none; }
.logo-box {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.38);
}
.logo-box svg { width: 18px; height: 18px; }
.logo-name { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.logo-name span { color: var(--accent); }

.nav-scroll { display: flex; align-items: center; gap: 1px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-item {
  display: flex; align-items: center; padding: 6px 13px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap;
  background: none; border: none; transition: all var(--transition); text-decoration: none;
}
.nav-item:hover { color: var(--accent); background: var(--accent-light); }
.nav-item.active { color: var(--accent); background: var(--accent-light); font-weight: 600; }

.nav-actions { display: flex; gap: 8px; margin-left: 20px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; font-family: var(--font);
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-muted);
  transition: all var(--transition); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.btn-accent {
  background: var(--accent);
  color: #fff; border-color: transparent; box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: var(--accent-hover); color: #fff; border-color: transparent; box-shadow: 0 4px 24px rgba(37,99,235,0.45); }
.btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ════════════════════════════════════
   HERO — rich vivid blue
════════════════════════════════════ */
.hero {
  background:
    radial-gradient(ellipse 75% 80% at 10% 40%, rgba(37,99,235,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 60% at 90% 10%, rgba(14,165,233,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 55% 100%, rgba(99,102,241,0.14) 0%, transparent 60%),
    linear-gradient(150deg, #0b1d3a 0%, #0f2a52 40%, #0e2448 100%);
  padding: 72px 28px 88px;
  position: relative; overflow: hidden;
}

/* Blue dot-grid lines */
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,165,250,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 370px; gap: 60px; align-items: start; }
@media(max-width:960px) { .hero-grid { grid-template-columns: 1fr; } .hero-sidebar { display: none; } }

/* Pill label */
.hero-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 5px 14px 5px 10px; border-radius: var(--r-full);
  background: rgba(37,99,235,0.18); border: 1px solid rgba(96,165,250,0.32);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #93c5fd;
}
.hero-label-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: pulse 2s ease infinite; }

/* Big IP */
.hero-ip-display {
  font-size: clamp(42px, 5.5vw, 68px); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  margin-bottom: 12px; font-family: var(--mono);
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-ip-display .ip-loading {
  display: inline-block; height: 60px; width: 300px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(96,165,250,0.1) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 400% 100%; animation: shimmer 1.6s ease infinite; vertical-align: middle;
  -webkit-text-fill-color: transparent;
}
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* Meta badges */
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; margin-top: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px;
  border-radius: var(--r-full); font-size: 12.5px; font-weight: 500;
  background: rgba(96,165,250,0.1); color: rgba(255,255,255,0.78);
  border: 1px solid rgba(96,165,250,0.22);
}

/* Search */
.search-box {
  display: flex; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(96,165,250,0.22); border-radius: var(--r-lg);
  overflow: hidden; max-width: 560px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.search-box:focus-within {
  border-color: #60a5fa; background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}
.search-icon { padding: 0 16px; display: flex; align-items: center; color: rgba(147,197,253,0.45); flex-shrink: 0; }
.search-input {
  flex: 1; padding: 14px 0; background: transparent; border: none; outline: none;
  color: #fff; font-size: 15px; font-family: var(--mono); font-weight: 500;
}
.search-input::placeholder { color: rgba(255,255,255,0.28); font-family: var(--font); font-weight: 400; }
.search-btn {
  padding: 0 24px;
  background: var(--accent);
  color: #fff; border: none; font-size: 14px; font-weight: 700; font-family: var(--font);
  transition: background var(--transition); display: flex; align-items: center; gap: 6px;
}
.search-btn:hover { background: var(--accent-hover); }

.hero-links { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.hero-links a { font-size: 13.5px; color: #93c5fd; font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap var(--transition), color var(--transition); }
.hero-links a:hover { gap: 8px; color: #bfdbfe; }

/* Score Card */
.score-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(96,165,250,0.22);
  border-radius: var(--r-xl); padding: 28px; text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.07);
}
.score-ring-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.score-ring { transform: rotate(-90deg); }
.score-ring-bg   { fill: none; stroke: rgba(96,165,250,0.14); stroke-width: 8; }
.score-ring-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1); }
.score-num { position: absolute; font-size: 36px; font-weight: 800; color: #fff; font-family: var(--mono); line-height: 1; }
.score-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.score-label.score-high { color: #34d399; }
.score-label.score-med  { color: #fbbf24; }
.score-label.score-low  { color: #f87171; }
.score-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(96,165,250,0.12); text-align: left; }
.score-mini-label { font-size: 10px; color: rgba(147,197,253,0.48); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; }
.score-mini-val   { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); }

/* ════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════ */
.main { max-width: 1320px; margin: 0 auto; padding: 40px 28px 80px; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media(max-width:1080px) { .content-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════
   CARDS
════════════════════════════════════ */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card + .card { margin-top: 16px; }

.card-featured { border-top: 3px solid var(--accent); }

.card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1.5px solid var(--border);
}
.card-title { font-size: 14.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.card-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-icon.blue   { background: var(--accent-light);  color: var(--accent); }
.card-icon.green  { background: var(--success-bg);    color: var(--success); }
.card-icon.red    { background: var(--danger-bg);     color: var(--danger);  }
.card-icon.amber  { background: var(--warning-bg);    color: var(--warning); }
.card-icon.purple { background: var(--pink-light);    color: var(--pink); }
.card-icon.orange { background: #fff4eb;               color: #c35a00; }
.card-icon svg    { width: 16px; height: 16px; }

/* ════════════════════════════════════
   KV TABLE
════════════════════════════════════ */
.kv-table { width: 100%; }
.kv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--ink-50); gap: 16px;
}
.kv-row:last-child { border-bottom: none; padding-bottom: 0; }
.kv-label { font-size: 13px; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.kv-value { font-size: 13px; color: var(--ink); font-weight: 600; text-align: right; word-break: break-all; }
.kv-mono  { font-family: var(--mono); font-size: 12.5px; color: var(--ink-700); }

/* ════════════════════════════════════
   BADGES
════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 700; }
.badge-success { background: var(--success-bg);   color: var(--success-text); border: 1px solid var(--success-border); }
.badge-warning { background: var(--warning-bg);   color: var(--warning-text); border: 1px solid var(--warning-border); }
.badge-danger  { background: var(--danger-bg);    color: var(--danger-text);  border: 1px solid var(--danger-border);  }
.badge-accent  { background: var(--accent-light); color: var(--accent-dark);  border: 1px solid var(--accent-border);  }
.badge-blue    { background: var(--accent-light); color: var(--accent);       border: 1px solid var(--accent-border);  }
.badge-neutral { background: var(--surface-muted);color: var(--text-muted);  border: 1px solid var(--border); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ════════════════════════════════════
   STATUS ROWS
════════════════════════════════════ */
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: var(--r); margin-bottom: 8px; border: 1.5px solid transparent; }
.status-row.clean   { background: var(--success-bg); border-color: var(--success-border); }
.status-row.flagged { background: var(--danger-bg);  border-color: var(--danger-border);  }
.status-row.warn    { background: var(--warning-bg); border-color: var(--warning-border); }
.status-row-left  { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.status-row-right { font-size: 12px; font-weight: 700; }
.status-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ════════════════════════════════════
   RISK BAR
════════════════════════════════════ */
.risk-bar-wrap { margin: 8px 0 4px; }
.risk-bar-track { height: 8px; background: var(--surface-muted); border-radius: var(--r-full); overflow: hidden; border: 1px solid var(--border); }
.risk-bar-fill { height: 100%; border-radius: var(--r-full); transition: width 1s cubic-bezier(0.4,0,0.2,1); background: linear-gradient(90deg, var(--success) 0%, var(--warning) 55%, var(--danger) 100%); }

/* ════════════════════════════════════
   BLACKLIST GRID
════════════════════════════════════ */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.bl-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; border-radius: var(--r-sm); font-size: 12px; border: 1px solid var(--border); background: var(--surface-subtle); transition: all var(--transition); }
.bl-item.listed { background: var(--danger-bg); border-color: var(--danger-border); }
.bl-item.listed .bl-name { color: var(--danger-text); font-weight: 700; }
.bl-name { font-weight: 500; color: var(--text-secondary); }

/* ════════════════════════════════════
   TOOL GRID
════════════════════════════════════ */
.tools-section { margin-top: 56px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 4px; }
.section-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.tools-category { margin-bottom: 36px; }
.tools-cat-title {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.tool-card {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border-radius: var(--r); border: 1.5px solid var(--border);
  background: #ffffff; transition: all var(--transition); text-decoration: none;
}
.tool-card:hover {
  border-color: var(--accent); background: var(--accent-light);
  box-shadow: 0 2px 12px rgba(37,99,235,0.1); transform: translateY(-1px);
}
.tool-icon { width: 34px; height: 34px; border-radius: 9px; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--surface-muted); border: 1px solid var(--border); }
.tool-info { flex: 1; min-width: 0; }
.tool-name { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-desc { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-arrow { color: var(--ink-300); font-size: 16px; flex-shrink: 0; }

/* ════════════════════════════════════
   PAGE HEADER — matches hero blue
════════════════════════════════════ */
.page-header {
  background:
    radial-gradient(ellipse 60% 100% at 5% 50%, rgba(37,99,235,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 80% at 95% 10%, rgba(14,165,233,0.16) 0%, transparent 60%),
    linear-gradient(150deg, #0b1d3a 0%, #0f2a52 50%, #0e2448 100%);
  border-bottom: 1px solid rgba(96,165,250,0.14);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  position: relative; overflow: hidden;
}
/* Grid overlay */
.page-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,165,250,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Blue glow line at bottom */
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; display: block;
  background: linear-gradient(90deg, transparent 0%, #3b82f6 30%, #0ea5e9 70%, transparent 100%);
  opacity: 0.5;
}
.page-header-inner { max-width: 1320px; margin: 0 auto; padding: 32px 28px 36px; position: relative; z-index: 1; }
.page-breadcrumb { font-size: 12px; font-family: var(--mono); color: rgba(147,197,253,0.48); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.page-breadcrumb a { color: #93c5fd; font-weight: 600; }
.page-breadcrumb a:hover { color: #bfdbfe; text-decoration: underline; }
.page-title { font-size: 32px; font-weight: 800; color: #ffffff; letter-spacing: -0.04em; margin-bottom: 8px; line-height: 1.2; }
.page-desc  { font-size: 15px; color: rgba(147,197,253,0.65); max-width: 600px; line-height: 1.7; }
.page-tags  { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.page-tag {
  padding: 4px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  background: rgba(96,165,250,0.12); color: #93c5fd; border: 1px solid rgba(96,165,250,0.26);
}

/* ════════════════════════════════════
   VPN BANNER
════════════════════════════════════ */
.vpn-banner {
  background: linear-gradient(135deg, rgba(11,29,58,0.95), rgba(15,42,82,0.95));
  border: 1px solid rgba(96,165,250,0.2); border-radius: var(--r-lg);
  padding: 20px 24px; display: flex; align-items: center; gap: 18px; margin-top: 16px;
  backdrop-filter: blur(12px);
}
.vpn-banner-icon { font-size: 28px; flex-shrink: 0; }
.vpn-banner-text { flex: 1; }
.vpn-banner-title { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.vpn-banner-sub   { font-size: 12.5px; color: rgba(255,255,255,0.45); }
.vpn-banner-btn {
  padding: 9px 20px; color: #fff; border-radius: var(--r-sm); font-size: 13px; font-weight: 800;
  white-space: nowrap; border: none; transition: all var(--transition); display: inline-block;
  background: var(--accent); box-shadow: var(--shadow-accent); text-decoration: none;
}
.vpn-banner-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ════════════════════════════════════
   SIDEBAR & WIDGETS
════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.widget { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-card); }
.widget-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; }

.stat-row { display: flex; gap: 10px; }
.stat-box { flex: 1; text-align: center; padding: 14px 8px; background: var(--accent-light); border-radius: var(--r-sm); border: 1px solid var(--accent-border); }
.stat-num { font-size: 22px; font-weight: 800; color: var(--accent-dark); font-family: var(--mono); line-height: 1; }
.stat-lbl { font-size: 10px; color: var(--accent); margin-top: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ════════════════════════════════════
   HASH / CODE BLOCKS
════════════════════════════════════ */
.hash-display { background: #0d1f3c; border-radius: var(--r); padding: 16px 20px; font-family: var(--mono); font-size: 12.5px; color: #34d399; letter-spacing: 0.04em; word-break: break-all; line-height: 1.8; border: 1px solid rgba(96,165,250,0.14); }
.hash-label { font-size: 10px; color: rgba(147,197,253,0.32); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.code-block { background: #0d1f3c; border-radius: var(--r); padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; color: #e2e8f0; line-height: 1.9; overflow-x: auto; border: 1px solid rgba(96,165,250,0.14); }
.code-block .key { color: #93c5fd; }
.code-block .val { color: #6ee7b7; }
.code-block .str { color: #fcd34d; }

/* ════════════════════════════════════
   CANVAS
════════════════════════════════════ */
.canvas-wrap { background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; text-align: center; padding: 16px; }
.canvas-wrap canvas { max-width: 100%; border-radius: var(--r-sm); border: 1px solid var(--border); }

/* ════════════════════════════════════
   ALERTS
════════════════════════════════════ */
.alert { padding: 14px 16px; border-radius: var(--r); font-size: 13px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.alert-info    { background: var(--accent-light); border: 1px solid var(--accent-border);   color: var(--accent-dark); }
.alert-success { background: var(--success-bg);   border: 1px solid var(--success-border); color: var(--success-text); }
.alert-warning { background: var(--warning-bg);   border: 1px solid var(--warning-border); color: var(--warning-text); }
.alert-danger  { background: var(--danger-bg);    border: 1px solid var(--danger-border);  color: var(--danger-text);  }
.alert-icon    { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-body    { flex: 1; color: var(--text-body); line-height: 1.6; }
.alert-body strong { color: var(--ink); }

/* ════════════════════════════════════
   SKELETON
════════════════════════════════════ */
.skeleton { background: linear-gradient(90deg, var(--surface-subtle) 25%, var(--surface-muted) 50%, var(--surface-subtle) 75%); background-size: 400% 100%; animation: shimmer 1.8s ease infinite; border-radius: var(--r-xs); }
.skel-text { height: 14px; margin-bottom: 8px; border-radius: 4px; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(37,99,235,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(14,165,233,0.1) 0%, transparent 60%),
    linear-gradient(150deg, #08162a 0%, #0c2040 55%, #091828 100%);
  padding: 60px 28px 36px;
  border-top: 1px solid rgba(96,165,250,0.1);
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, #3b82f6, #0ea5e9, transparent); margin-bottom: 52px; opacity: 0.3; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo-name { color: #fff; }
.footer-tagline { font-size: 13.5px; color: rgba(147,197,253,0.38); line-height: 1.8; max-width: 260px; margin-top: 12px; }
.footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #60a5fa; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(147,197,253,0.4); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(96,165,250,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy  { font-size: 12px; color: rgba(147,197,253,0.22); font-family: var(--mono); }
.footer-built { font-size: 12px; color: rgba(147,197,253,0.2); }

/* ════════════════════════════════════
   UTILITIES
════════════════════════════════════ */
.text-success { color: var(--success)    !important; }
.text-warning { color: var(--warning)    !important; }
.text-danger  { color: var(--danger)     !important; }
.text-accent  { color: var(--accent)     !important; }
.text-blue    { color: var(--accent)     !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-mono    { font-family: var(--mono) !important; }
.font-bold    { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.gap-3 { gap: 12px; }
.flex { display: flex; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: var(--r-sm); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 100; box-shadow: var(--shadow-md); }
[data-tip]:hover::after { opacity: 1; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media(max-width:768px) {
  .hero { padding: 48px 16px 64px; }
  .main { padding: 24px 16px 56px; }
  .nav-inner, .topbar-inner { padding: 0 16px; }
  .page-header-inner { padding: 24px 16px 28px; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 40px 16px 28px; }
}
@media(max-width:480px) {
  .hero-ip-display { font-size: 32px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .nav-actions .btn:first-child { display: none; }
}