/* ═══════════════════════════════════════════════════════════════
   COTNAS Panel SOC v2 — style.css (base global)
   Fuentes: stack local/sistema para CSP sin dependencias externas
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:      #070c14;
  --bg2:     #0b1320;
  --bg3:     #0e1828;
  --panel:   rgba(13,20,36,.93);
  --panel2:  rgba(16,24,39,.88);
  --line:    #1e2d47;
  --line2:   rgba(124,58,237,.55);
  --text:    #e7ecff;
  --muted:   #8a9bbf;
  --soft:    #c4cced;
  --cyan:    #22d3ee;
  --cyan2:   #00f0ff;
  --violet:  #8b5cf6;
  --purple:  #a855f7;
  --green:   #00ffa3;
  --red:     #ff315a;
  --amber:   #ffb020;
  --indigo:  #6366f1;
  --radius:  14px;
  --radius-lg: 20px;
  --shadow:  0 20px 60px rgba(0,0,0,.5);
  --glow:    0 0 32px rgba(124,58,237,.38), 0 0 18px rgba(34,211,238,.18);
  --mono:    'Fira Code', Consolas, 'Liberation Mono', monospace;
  --sans:    Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --trans:   .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  min-height: 100vh;
  background: radial-gradient(circle at 18% 0, #1a0b38 0, #080e14 28%, #04080d 100%);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ── Animated grid background ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,  rgba(34,211,238,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(124,58,237,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  z-index: -3;
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px; } }

/* Ambient cursor glow */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx,70%) var(--my,35%), rgba(34,211,238,.12), transparent 22rem),
    radial-gradient(circle at 90% 5%, rgba(168,85,247,.16), transparent 28rem);
  z-index: -2;
  transition: background .1s ease;
}

/* Blobs */
.cyber-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.cyber-bg > span {
  position: absolute; width: 38vw; height: 38vw;
  border-radius: 999px; filter: blur(72px); opacity: .15;
}
.cyber-bg > span:nth-child(1) { background: #7c3aed; left: -12vw; top: 4vh; }
.cyber-bg > span:nth-child(2) { background: #22d3ee; right: -12vw; top: 32vh; }
.cyber-bg > span:nth-child(3) { background: #00ffa3; left: 46vw; bottom: -20vw; }

/* Particles */
.particle-layer { position: absolute; inset: 0; pointer-events: none; }
.cyber-particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan); opacity: .55;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translate3d(0,0,0); opacity: 0; }
  15%, 80% { opacity: .55; }
  100% { transform: translate3d(22px,-120px,0); opacity: 0; }
}

/* ── Browser chrome ── */
.top-browser {
  position: fixed; top: 14px; left: 18px; right: 18px; height: 40px;
  border: 1px solid #1e2f4a;
  background: rgba(6,10,20,.93);
  border-radius: 8px 8px 0 0;
  display: flex; align-items: center;
  z-index: 50;
  box-shadow: 0 0 0 1px #000 inset;
  backdrop-filter: blur(12px);
}
.window-dots { display: flex; gap: 8px; margin: 0 16px; }
.window-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.window-dots span:nth-child(1) { background: #22d3ee; }
.window-dots span:nth-child(2) { background: #2563eb; }
.window-dots span:nth-child(3) { background: #7c3aed; }

.browser-tab {
  height: 38px; min-width: 230px;
  padding: 0 12px;
  display: flex; gap: 10px; align-items: center;
  border: 1px solid #3a1b6a; border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #141a2e, #070c14);
  color: #b9c3e9; font-size: 13px;
  font-family: var(--mono);
}
.browser-tab span { color: var(--violet); }
.browser-tab button { margin-left: auto; background: none; border: 0; color: #8ea0cf; cursor: pointer; }
.browser-tab button:hover { color: var(--red); }
.browser-plus, .browser-controls { color: #b9c3e9; margin-left: 14px; font-family: var(--mono); }
.browser-controls { margin-left: auto; margin-right: 18px; color: var(--purple); letter-spacing: 10px; }

/* Address bar */
.address-bar {
  position: fixed; top: 54px; left: 18px; right: 18px; height: 36px;
  border: 1px solid #1a2540; border-top: 0;
  background: rgba(7,11,20,.94);
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px; z-index: 50;
  color: #8ea0cf; font-family: var(--mono);
  backdrop-filter: blur(12px);
}
.address-pill {
  height: 26px; flex: 1;
  padding: 0 14px;
  border: 1px solid #1c2944; background: #060b12;
  border-radius: 6px; color: #cad4ff; font-size: 13px;
  font-family: var(--mono);
  display: flex; align-items: center; gap: 6px;
}
.address-pill .lock-icon { color: var(--green); font-size: 11px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: #0f1724; border: 1px solid var(--line);
  color: var(--cyan); border-radius: 7px; padding: 5px 9px;
  cursor: pointer; font-size: 16px;
}

/* ── Sidebar ── */
.cyber-sidebar {
  position: fixed; top: 90px; left: 18px; bottom: 14px;
  width: 280px; padding: 16px 12px;
  border: 1px solid #26295a;
  background: linear-gradient(180deg, rgba(8,14,28,.97), rgba(4,8,15,.94));
  box-shadow: var(--shadow);
  z-index: 40; overflow-y: auto; overflow-x: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  scrollbar-width: thin; scrollbar-color: #27324f transparent;
}
.cyber-sidebar::-webkit-scrollbar { width: 4px; }
.cyber-sidebar::-webkit-scrollbar-thumb { background: #27324f; border-radius: 4px; }

.brand-panel {
  display: flex; align-items: center; gap: 12px;
  padding: 0 6px 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.brand-logo-wrap {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border: 1px solid var(--line2);
  background: radial-gradient(circle at 50% 25%, #172b52, #080e14 70%);
  clip-path: polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);
  display: grid; place-items: center;
  box-shadow: var(--glow);
  transition: var(--trans);
}
.brand-logo-wrap:hover { box-shadow: 0 0 40px rgba(34,211,238,.4); }
.brand-logo-wrap img { width: 54px; height: 54px; object-fit: contain; }

.brand-info b {
  font-size: 20px; display: block;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; color: transparent;
  letter-spacing: .5px;
}
.brand-info small { font-family: var(--mono); color: var(--cyan); font-size: 11px; }
.brand-status {
  margin-top: 4px; display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--muted); font-family: var(--mono);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.8s ease-in-out infinite;
}

.side-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--cyan); letter-spacing: .12em; text-transform: uppercase;
  margin: 14px 8px 8px; opacity: .8;
}
.side-label.violet { color: var(--purple); }

/* Nav links */
.side-menu, .side-shortcuts { display: grid; gap: 4px; }
.side-menu a {
  height: 38px;
  display: grid; grid-template-columns: 26px 1fr 16px;
  align-items: center; padding: 0 10px;
  border: 1px solid transparent; border-radius: 8px;
  color: #b8c4e4; font-size: 14px; font-weight: 500;
  transition: var(--trans); position: relative;
}
.side-menu a .ico { color: var(--violet); font-size: 15px; }
.side-menu a i { color: var(--purple); font-style: normal; opacity: 0; transition: var(--trans); }
.side-menu a:hover, .side-menu a.active {
  border-color: var(--line2);
  background: linear-gradient(90deg, rgba(124,58,237,.32), rgba(124,58,237,.06));
  color: var(--text);
  box-shadow: 0 0 18px rgba(124,58,237,.18);
}
.side-menu a:hover i, .side-menu a.active i { opacity: 1; }

/* Active indicator */
.side-menu a.active::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.side-divider {
  height: 1px; margin: 14px 8px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.system-list { display: grid; gap: 10px; padding: 0 8px; }
.system-list div {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 12px;
}
.system-list span { color: var(--cyan); }
.system-list b { color: #cbd5ff; font-weight: 500; }

/* Mini progress bars in sidebar */
.side-metric { padding: 0 8px; display: grid; gap: 10px; }
.side-metric-row { display: flex; flex-direction: column; gap: 5px; }
.side-metric-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; }
.side-metric-label span { color: var(--cyan); }
.side-metric-label em { color: #a0b0d0; font-style: normal; }
.side-metric-bar { height: 4px; background: #1e293b; border-radius: 4px; overflow: hidden; }
.side-metric-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 8px rgba(34,211,238,.4); }

.side-shortcuts a {
  padding: 7px 10px; border-radius: 6px;
  color: #b0bcd8; font-size: 13px;
  display: flex; align-items: center; gap: 8px;
  transition: var(--trans);
}
.side-shortcuts a:hover { color: var(--cyan); background: rgba(34,211,238,.06); }

/* ── Main content ── */
.container, .dashboard, .soc-shell, .auth-wrap {
  margin-left: 316px;
  padding: 106px 26px 32px;
  max-width: 1520px;
}
.cyber-desktop { min-height: calc(100vh - 30px); }

/* ── Glass / cards ── */
.glass, .window-card, .panel-card,
.terminal-window, .monitor-window, .tasks-window {
  border: 1px solid #252e4a;
  background: linear-gradient(180deg, rgba(14,20,36,.8), rgba(5,10,18,.75));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
/* Gradient top border trick */
.glass::before, .window-card::before, .panel-card::before,
.terminal-window::before, .monitor-window::before, .tasks-window::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(34,211,238,.4), rgba(124,58,237,.45), transparent 55%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; pointer-events: none;
}

/* ── Buttons ── */
.btn {
  border: 1px solid #3a4870;
  background: #0b1220; color: #dfe6ff;
  padding: 9px 18px; border-radius: 8px;
  cursor: pointer; transition: var(--trans);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: .3px;
  white-space: nowrap;
}
.btn.primary {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #4c1d95, #7c3aed, #22d3ee);
  box-shadow: 0 0 22px rgba(124,58,237,.32);
  color: #fff;
}
.btn.ghost  { background: rgba(9,17,30,.85); border-color: #334260; color: #cbd5ff; }
.btn.danger { border-color: #7f1d1d; background: rgba(127,29,29,.3); color: #fca5a5; }
.btn.success { border-color: #166534; background: rgba(22,101,52,.3); color: #86efac; }
.btn:hover  { transform: translateY(-1px); filter: brightness(1.14); box-shadow: 0 0 20px rgba(34,211,238,.18); }
.btn:active { transform: none; filter: brightness(.96); }
.btn:disabled { opacity: .45; pointer-events: none; }

.btn-mini {
  padding: 5px 10px; border-radius: 6px; font-size: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: #b9c3e9; cursor: pointer; transition: var(--trans);
}
.btn-mini:hover  { border-color: var(--cyan); color: var(--cyan); }
.btn-mini.danger { border-color: rgba(255,49,90,.4); color: var(--red); }
.btn-mini.warn   { border-color: rgba(255,176,32,.4); color: var(--amber); }

/* ── Forms ── */
input, select, textarea {
  width: 100%; height: 40px;
  border: 1px solid #263554; background: #060d17;
  color: #dbe6ff; border-radius: 7px;
  padding: 0 12px; outline: none;
  font-size: 14px;
  transition: var(--trans);
}
textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }
select   { cursor: pointer; }
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
label { display: grid; gap: 7px; color: #a8b8d8; font-size: 13px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Messages */
.form-msg { margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--cyan); min-height: 18px; }
.form-msg.error   { color: var(--red); }
.form-msg.success { color: var(--green); }

/* ── Tables ── */
.table-wrap { overflow: auto; border: 1px solid #1c2844; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 14px; border-bottom: 1px solid #162040; text-align: left; color: #c8d5f0; }
th {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: #7e9ac0; background: #060d1a;
  position: sticky; top: 0; z-index: 2;
}
tr:hover td { background: rgba(124,58,237,.07); }
tr:last-child td { border-bottom: none; }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  border: 1px solid; border-radius: 999px;
  padding: 2px 9px; font-family: var(--mono); font-size: 11px;
  white-space: nowrap;
}
.badge.ok       { border-color: rgba(0,255,163,.45); color: var(--green); background: rgba(0,255,163,.08); }
.badge.bad      { border-color: rgba(255,49,90,.45);  color: var(--red);   background: rgba(255,49,90,.08); }
.badge.warn     { border-color: rgba(255,176,32,.45); color: var(--amber); background: rgba(255,176,32,.08); }
.badge.info     { border-color: rgba(34,211,238,.45); color: var(--cyan);  background: rgba(34,211,238,.08); }
.badge.protected{ border-color: rgba(139,92,246,.45); color: var(--violet);background: rgba(139,92,246,.08); }

/* Severity */
.sev-low      { color: var(--cyan); }
.sev-medium   { color: var(--amber); }
.sev-high     { color: #fb7185; }
.sev-critical { color: var(--red); }

/* ── Home page ── */
.hero-window {
  min-height: 280px;
  background: linear-gradient(90deg, rgba(7,12,22,.95), rgba(7,12,22,.5)),
              url('../img/background.jpg') center/cover;
  border-color: #4a2a8a; padding: 48px;
  display: grid; grid-template-columns: 1.1fr .8fr; align-items: center;
}
.kicker {
  font-family: var(--mono); color: var(--green);
  letter-spacing: .1em; font-size: 12px; margin: 0 0 12px;
}
.hero-copy h1 {
  font-family: var(--mono);
  font-size: clamp(38px, 5.5vw, 70px);
  letter-spacing: .07em; margin: 0 0 14px;
  background: linear-gradient(90deg, var(--purple), var(--violet), var(--cyan));
  -webkit-background-clip: text; color: transparent;
}
.hero-copy h1 span { color: var(--cyan); }
.hero-copy p { max-width: 600px; color: #c5d1e8; line-height: 1.75; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Hero emblem */
.hero-emblem {
  justify-self: center; width: 220px; height: 220px;
  display: grid; place-items: center; position: relative;
}
.hero-emblem span, .hero-emblem i {
  position: absolute; inset: 10px;
  border: 1px solid var(--cyan);
  clip-path: polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);
  box-shadow: 0 0 28px rgba(34,211,238,.4);
  animation: hex-spin 18s linear infinite;
}
.hero-emblem i { inset: 28px; border-color: var(--violet); animation-direction: reverse; animation-duration: 12s; }
@keyframes hex-spin { to { transform: rotate(360deg); } }
.hero-emblem b {
  font-size: 130px; line-height: 1; color: #2f4aff;
  text-shadow: 0 0 28px #7c3aed; font-family: var(--mono); font-weight: 400;
}

/* Window cards */
.window-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.span-2 { grid-row: span 2; }
.window-head {
  height: 30px; border-bottom: 1px solid #222d46;
  background: linear-gradient(180deg, #131a2d, #090e1b);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; color: #a78bfa;
  font-family: var(--mono); font-size: 12px;
}
.window-head i { font-style: normal; margin-left: 10px; color: #7dd3fc; cursor: pointer; transition: color var(--trans); }
.window-head i:hover { color: var(--cyan); }

/* Terminal */
.terminal-body { padding: 22px; }
.terminal-flex { display: grid; grid-template-columns: 220px 1fr; gap: 22px; }
.ascii-logo { font-family: var(--mono); color: var(--cyan); text-shadow: 0 0 10px rgba(34,211,238,.3); line-height: 1.25; }
.neofetch { font-family: var(--mono); font-size: 13px; color: #b9c3e9; }
.neofetch b, .neofetch em { color: var(--cyan); font-style: normal; }
.neofetch p { margin: 4px 0; }
.color-bars { display: flex; gap: 2px; margin-top: 12px; }
.color-bars span { width: 26px; height: 20px; border-radius: 2px; }
.color-bars span:nth-child(1) { background: #7c3aed; }
.color-bars span:nth-child(2) { background: #2563eb; }
.color-bars span:nth-child(3) { background: #22d3ee; }
.color-bars span:nth-child(4) { background: #00ffa3; }
.color-bars span:nth-child(5) { background: #8b5cf6; }
.color-bars span:nth-child(6) { background: #e0e7ff; }
.prompt { font-family: var(--mono); color: var(--green); padding: 0 18px 14px; }
.prompt span {
  display: inline-block; width: 8px; height: 15px;
  border: 1px solid #a7b8ff; vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Monitor */
.monitor-lines { padding: 16px; display: grid; gap: 12px; }
.monitor-lines div { display: grid; grid-template-columns: 52px 1fr 54px; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
.monitor-lines b { color: var(--cyan); }
.monitor-lines span { height: 4px; background: #1e293b; position: relative; border-radius: 4px; overflow: hidden; }
.monitor-lines i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet)); border-radius: 4px; }
.monitor-lines em { font-style: normal; color: #c0d5ff; text-align: right; }
.w42{width:42%}.w64{width:64%}.w31{width:31%}.w78{width:78%}
.mini-table { width: calc(100% - 28px); margin: 0 14px 14px; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.mini-table th, .mini-table td { padding: 6px 8px; border-bottom: 1px solid #1a2640; }
.mini-table th { color: #7e9ac0; }

/* Tasks */
.task-list { list-style: none; padding: 16px; font-family: var(--mono); color: #c5d5f0; line-height: 1.95; font-size: 13px; }
.task-list li::first-letter { color: var(--green); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.card {
  border: 1px solid #223050; background: linear-gradient(180deg, rgba(14,20,38,.82), rgba(5,10,18,.75));
  border-radius: 10px; padding: 20px;
  box-shadow: 0 10px 36px rgba(0,0,0,.25);
  transition: var(--trans);
}
.card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--glow); }
.card-icon { font-size: 22px; color: var(--cyan); }
.card h3 { color: #e7ecff; margin: 10px 0 7px; font-size: 15px; }
.card p, .muted { color: var(--muted); line-height: 1.7; font-size: 14px; }

/* Stats */
.cyber-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 14px;
}
.cyber-stats article {
  border: 1px solid #1e2d47; background: rgba(10,18,32,.85);
  border-radius: 10px; padding: 18px; position: relative; overflow: hidden;
  transition: var(--trans);
}
.cyber-stats article:hover { border-color: rgba(34,211,238,.3); }
.cyber-stats article::after {
  content: ''; position: absolute; right: -18px; bottom: -18px;
  width: 80px; height: 80px;
  border: 1px solid rgba(34,211,238,.2);
  transform: rotate(25deg);
}
.cyber-stats b { font-size: 30px; font-family: var(--mono); display: block; color: var(--cyan); }
.cyber-stats span { display: block; color: var(--muted); margin: 4px 0 2px; font-size: 13px; }
.cyber-stats small.good { color: var(--green); font-size: 12px; }
.cyber-stats small.bad  { color: var(--red);   font-size: 12px; }

/* CTA */
.premium-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 28px; margin-top: 14px;
}
.premium-cta h2 { margin: 0 0 8px; }

/* ── Section head ── */
.section-head, .soc-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}

/* ── Typography ── */
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(26px,4vw,42px); }
h2 { font-size: 22px; color: #dfe6ff; }
h3 { font-size: 16px; }
.small { font-size: 13px; }

/* ── Footer ── */
.footer {
  margin-left: 316px;
  border-top: 1px solid #16223a;
  padding: 14px 26px;
  color: var(--muted); font-family: var(--mono); font-size: 11px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-version { color: var(--violet); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #080e14; }
::-webkit-scrollbar-thumb { background: #223050; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; }

/* ── Toast notification ── */
.toast-container {
  position: fixed; top: 70px; right: 22px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 18px; border-radius: 10px; font-size: 13px;
  border: 1px solid; min-width: 260px; max-width: 380px;
  background: rgba(8,14,24,.96); backdrop-filter: blur(12px);
  font-family: var(--mono);
  transform: translateX(120%); opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: all;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.info    { border-color: rgba(34,211,238,.4); color: var(--cyan); }
.toast.success { border-color: rgba(0,255,163,.4);  color: var(--green); }
.toast.error   { border-color: rgba(255,49,90,.4);  color: var(--red); }
.toast.warn    { border-color: rgba(255,176,32,.4); color: var(--amber); }

/* ── Confirmation modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,5,12,.75); backdrop-filter: blur(8px);
  display: none; place-items: center;
}
.modal-overlay.open { display: grid; }
.modal-box {
  background: #0a1220; border: 1px solid #2e3d5c;
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 420px; width: 90%;
  box-shadow: var(--shadow);
}
.modal-box h3 { margin-bottom: 10px; color: #e7ecff; }
.modal-box p  { color: var(--muted); margin-bottom: 22px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .top-browser, .address-bar { left: 8px; right: 8px; }
  .cyber-sidebar {
    transform: translateX(-108%); transition: transform .28s ease;
    top: 88px; left: 8px; z-index: 80;
  }
  .cyber-sidebar.open { transform: translateX(0); }
  .nav-toggle { display: flex; align-items: center; }
  .container,.dashboard,.soc-shell,.auth-wrap,.footer { margin-left: 0; padding-left: 14px; padding-right: 14px; }
  .hero-window { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
  .window-grid, .services, .cyber-stats { grid-template-columns: 1fr 1fr; }
  .terminal-flex { grid-template-columns: 1fr; }
  .browser-controls { display: none; }
  .browser-tab { min-width: 180px; }
}
@media (max-width: 700px) {
  .top-browser { top: 6px; left: 6px; right: 6px; }
  .address-bar { top: 46px; left: 6px; right: 6px; }
  .container,.dashboard,.soc-shell,.auth-wrap { padding-top: 96px; }
  .hero-window { padding: 22px; }
  .services, .cyber-stats { grid-template-columns: 1fr; }
  .window-grid { grid-template-columns: 1fr; }
  .premium-cta { flex-direction: column; }
  .browser-tab { font-size: 11px; min-width: 140px; }
  .form-row { grid-template-columns: 1fr; }
}
