/* ==========================================================================
   SENTINEL — Enterprise Cyber Defense
   Premium cyberpunk UI · Matrix/terminal effects · Glassmorphism
   ========================================================================== */

:root {
  /* Brand palette */
  --c-green: #00ff41;
  --c-green-bright: #39ff14;
  --c-cyan: #00e5ff;
  --c-cyan-2: #00c8ff;
  --c-blue: #3b82f6;
  --c-violet: #8b5cf6;
  --c-pink: #ec4899;
  --c-amber: #f59e0b;
  --c-red: #ef4444;

  /* Surfaces */
  --bg-0: #050505;
  --bg-1: #0a0e17;
  --bg-2: #0d1117;
  --bg-3: #101820;
  --surface: rgba(13, 17, 23, 0.72);
  --surface-2: rgba(16, 24, 32, 0.55);
  --border: rgba(0, 255, 65, 0.12);
  --border-strong: rgba(0, 255, 65, 0.32);
  --border-cyan: rgba(0, 229, 255, 0.28);

  /* Text */
  --text: #e6edf7;
  --text-soft: #b6c2d9;
  --text-muted: #6b7892;
  --text-dim: #4a5468;

  /* Effects */
  --glow-green: 0 0 24px rgba(0, 255, 65, 0.35);
  --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.35);

  /* Layout */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1280px;
  --section-pad: clamp(4rem, 7vw, 6.5rem);
  --header-h: 76px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, 'SF Mono', Consolas, monospace;
}

/* ----- Base ----- */
* { box-sizing: border-box; }
*::selection { background: rgba(0, 255, 65, 0.25); color: #fff; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  color-scheme: dark;
  background-image:
    radial-gradient(900px 500px at 5% -10%, rgba(0, 255, 65, 0.08), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(0, 229, 255, 0.07), transparent 60%),
    radial-gradient(1200px 800px at 50% 100%, rgba(0, 200, 255, 0.05), transparent 60%);
  background-attachment: fixed;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-green); }

h1, h2, h3, h4, h5, h6 {
  color: #fff; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
code, pre { font-family: var(--font-mono); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-green); color: #001; padding: .5rem .8rem; z-index: 2000;
  font-weight: 700; border-radius: 4px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 3px;
  border-radius: 4px;
}

.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--c-green) !important; }
.text-cyan { color: var(--c-cyan) !important; }

.text-gradient {
  background: linear-gradient(120deg, #00ff41 0%, #00e5ff 50%, #00c8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.text-gradient-fire {
  background: linear-gradient(120deg, #39ff14 0%, #00e5ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.text-gradient-red {
  background: linear-gradient(120deg, #ff5f57 0%, #ff8a80 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}

.blink { animation: blink 1.1s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-green);
  padding: .3rem .75rem; border-radius: 4px;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid var(--border-strong);
  margin-bottom: 1rem;
}
.eyebrow--violet { color: #c4b5fd; background: rgba(139, 92, 246, .10); border-color: rgba(139, 92, 246, .28); }
.eyebrow--cyan { color: var(--c-cyan); background: rgba(0, 229, 255, .10); border-color: rgba(0, 229, 255, .28); }
.eyebrow--alert { color: #ff8a80; background: rgba(239, 68, 68, .10); border-color: rgba(239, 68, 68, .28); }

/* ----- Layout ----- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(10, 14, 23, 0.6) 30%, rgba(10, 14, 23, 0.6) 70%, transparent); }
.section--tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.section--band {
  background: linear-gradient(135deg, #050505 0%, #0a0e17 50%, #050505 100%);
  color: #fff;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 350px at 15% 50%, rgba(0, 255, 65, 0.16), transparent 60%),
    radial-gradient(700px 350px at 85% 50%, rgba(0, 229, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.section__title { color: #fff; margin-bottom: .75em; }
.section__lead { color: var(--text-soft); max-width: 64ch; }

/* ----- Glassmorphism ----- */
.glass {
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.6), rgba(10, 14, 23, 0.5));
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(0, 255, 65, 0.04);
  position: relative;
}
.glass::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.06), transparent 40%, rgba(0, 229, 255, 0.04));
  opacity: .6;
}

/* ----- Loader ----- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 50%, #0a0e17 0%, #050505 100%);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__hex { width: 90px; height: 90px; margin: 0 auto 1.5rem; }
.loader__hex svg { width: 100%; height: 100%; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__bar {
  width: 200px; height: 2px; margin: 0 auto 1rem;
  background: rgba(0, 255, 65, 0.15); border-radius: 2px; overflow: hidden;
}
.loader__bar span {
  display: block; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c-green), transparent);
  animation: loadBar 1.2s ease-in-out infinite;
}
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
.loader__text { font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .25em; color: #fff; margin-bottom: .35rem; }
.loader__sub { font-family: var(--font-mono); font-size: .75rem; color: var(--c-green); letter-spacing: .15em; }

/* ----- Cursor glow ----- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 400px; height: 400px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity .3s ease;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}
.cursor-trail {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: var(--c-green);
  box-shadow: 0 0 12px var(--c-green);
  transform: translate(-50%, -50%);
  transition: transform .12s ease, opacity .3s ease;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-trail { opacity: 1; }
}

/* ----- Navbar ----- */
.nav-blur {
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
  padding: .6rem 0;
  min-height: var(--header-h);
}
.nav-blur.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: var(--border-strong);
}
.navbar-brand img { filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.4)); }
.navbar .nav-link {
  color: var(--text-soft) !important;
  font-weight: 500; font-size: .94rem;
  padding: .5rem .85rem !important;
  position: relative;
  transition: color .2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus, .navbar .nav-link.active { color: var(--c-green) !important; }
.navbar .nav-link::after {
  content: '';
  position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-green), var(--c-cyan));
  transform: translateX(-50%);
  transition: width .25s ease;
  box-shadow: var(--glow-green);
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 22px; }
.navbar .dropdown-menu { background: rgba(5, 5, 5, 0.96); border: 1px solid var(--border-strong); }
.navbar .dropdown-item { color: var(--text-soft); font-size: .9rem; }
.navbar .dropdown-item:hover { background: rgba(0, 255, 65, 0.08); color: var(--c-green); }
.navbar-toggler { border: 1px solid var(--border-strong) !important; padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(0, 255, 65, 0.25); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2300ff41' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
body { padding-top: var(--header-h); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 6px;
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; cursor: pointer; position: relative;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--c-green);
  color: #001;
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.4), 0 8px 24px rgba(0, 255, 65, 0.25);
}
.btn-primary:hover {
  background: var(--c-green-bright);
  color: #001;
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.6), 0 12px 32px rgba(0, 255, 65, 0.45);
}
.btn-outline {
  background: rgba(0, 255, 65, 0.02);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  background: rgba(0, 255, 65, 0.06);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.18);
}
.btn-ghost {
  background: rgba(0, 229, 255, 0.06);
  color: var(--c-cyan);
  border: 1px solid var(--border-cyan);
}
.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.16);
  color: #fff;
  border-color: var(--c-cyan);
  box-shadow: var(--glow-cyan);
}
.btn-danger {
  background: linear-gradient(120deg, #ff5f57, #ff8a80);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 95, 87, 0.3);
}
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .5rem .9rem; font-size: .82rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: center;
}
.hero__matrix { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
}
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.hero__scan::before {
  content: ''; position: absolute; left: -10%; right: -10%;
  height: 80px; top: -80px;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 65, 0.18), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%   { transform: translateY(0); }
  100% { transform: translateY(120vh); }
}
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.hero__chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--c-green);
  font-family: var(--font-mono);
  font-weight: 600; font-size: .72rem; letter-spacing: .08em;
  padding: .35rem .7rem; border-radius: 4px;
}
.hero__chip i { font-size: .55rem; }
.hero__title { margin-top: .5rem; text-shadow: 0 0 30px rgba(0, 255, 65, 0.2); }
.hero__lead { font-size: 1.12rem; color: var(--text-soft); max-width: 60ch; margin-top: 1rem; }
.hero__trust { color: var(--text-muted); font-size: .88rem; }
.hero__trust li { margin-right: 1.25rem; display: inline-flex; align-items: center; gap: .35rem; }
.hero__trust i { color: var(--c-green); }
.hero__panel { padding: 1.25rem; }
.hero__panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero__panel-title { color: var(--c-green); display: inline-flex; align-items: center; gap: .4rem; }
.hero__panel-time { color: var(--text-muted); }
.hero__panel-body { padding-top: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.threat-row {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem .75rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.threat-row:hover { border-color: var(--border-strong); background: rgba(0, 255, 65, 0.04); transform: translateX(2px); }
.threat-row__icon {
  width: 32px; height: 32px; flex: 0 0 32px;
  display: grid; place-items: center;
  border-radius: 6px;
  font-size: .85rem;
}
.threat-row__icon--block { background: rgba(255, 95, 87, 0.12); color: #ff8a80; }
.threat-row__icon--warn  { background: rgba(254, 188, 46, 0.12); color: #ffd54f; }
.threat-row__icon--ok    { background: rgba(0, 255, 65, 0.12); color: var(--c-green); }
.threat-row__body { flex: 1; min-width: 0; }
.threat-row__title { color: #fff; font-size: .88rem; font-weight: 600; }
.threat-row__meta { color: var(--text-muted); font-size: .72rem; font-family: var(--font-mono); }
.threat-row__tag {
  font-family: var(--font-mono);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  padding: .2rem .5rem; border-radius: 4px;
  white-space: nowrap;
}
.threat-row__tag--high { background: rgba(255, 95, 87, 0.16); color: #ff8a80; }
.threat-row__tag--med  { background: rgba(254, 188, 46, 0.16); color: #ffd54f; }
.threat-row__tag--ok   { background: rgba(0, 255, 65, 0.16); color: var(--c-green); }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.hero__stat { padding: .65rem .5rem; background: rgba(0, 255, 65, 0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; }
.hero__stat-val { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: #fff; }
.hero__stat-lbl { font-size: .65rem; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; }
.hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--c-green); border-radius: 14px; opacity: .7; z-index: 2; }
.hero__scroll span { display: block; width: 4px; height: 8px; margin: 8px auto 0; background: var(--c-green); border-radius: 2px; animation: scrollHint 1.6s ease-in-out infinite; }
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ----- Dots ----- */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 8px var(--c-green); }
.dot--pulse { animation: pulse 1.6s ease-in-out infinite; }
.dot--ok { background: var(--c-green); }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--c-green); } 50% { opacity: .4; box-shadow: 0 0 2px var(--c-green); } }

/* ----- Live security status bar ----- */
.status-bar {
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.status-bar__inner {
  display: flex; align-items: center; gap: 1.5rem; white-space: nowrap;
  animation: statusScroll 40s linear infinite;
}
@keyframes statusScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.status-bar__item { display: inline-flex; align-items: center; gap: .4rem; }
.status-bar__item i { color: var(--c-green); font-size: .55rem; }
.status-bar__item .up { color: var(--c-green); }
.status-bar__item .warn { color: #ffd54f; }

/* ----- Trusted by ----- */
.trusted-by__label { text-align: center; color: var(--text-muted); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 1.5rem; }
.trusted-by {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2rem 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-by__logo {
  font-family: var(--font-mono);
  font-weight: 700; letter-spacing: .12em;
  color: var(--text-muted);
  opacity: .8;
  font-size: 1rem;
  transition: color .2s ease, opacity .2s ease;
}
.trusted-by__logo:hover { color: var(--c-green); opacity: 1; }

/* ----- Cards ----- */
.card {
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.6), rgba(10, 14, 23, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at var(--mx,50%) var(--my,0%), rgba(0, 255, 65, 0.10), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 65, 0.18); }
.card:hover::before { opacity: 1; }
a.card { color: var(--text); }
a.card:hover { color: var(--text); }
.card__icon {
  width: 56px; height: 56px; margin-bottom: 1rem;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.14), rgba(0, 229, 255, 0.10));
  border: 1px solid var(--border-strong);
  color: var(--c-green);
  font-size: 1.3rem;
  box-shadow: inset 0 0 12px rgba(0, 255, 65, 0.06);
}
.card__link { color: var(--c-green); font-weight: 600; font-size: .88rem; margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; }
.card__link:hover { color: var(--c-green-bright); }
.card--service h3 { color: #fff; margin-bottom: .5rem; }
.card--service p { color: var(--text-soft); margin: 0 0 1rem; }
.card--blog { padding: 0; overflow: hidden; }
.card__cover-wrap { position: relative; overflow: hidden; }
.card__cover { width: 100%; height: 200px; object-fit: cover; background: var(--bg-2); transition: transform .35s ease; }
.card--blog:hover .card__cover { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.25rem 1.25rem; }
.card__body p { color: var(--text-soft); font-size: .9rem; }
.tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-green);
  background: rgba(0, 255, 65, 0.10);
  border: 1px solid var(--border-strong);
  padding: .2rem .55rem; border-radius: 4px;
  margin-bottom: .55rem;
}

/* ----- Checklist ----- */
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { padding-left: 1.85rem; position: relative; margin: .55rem 0; color: var(--text-soft); }
.checklist li::before { content: "▸"; position: absolute; left: 0; top: -.05em; color: var(--c-green); font-weight: 700; text-shadow: 0 0 8px var(--c-green); }
.checklist li strong { color: #fff; font-weight: 600; }

/* ----- Pricing ----- */
.card--price { padding: 1.85rem 1.75rem; position: relative; }
.card--price__sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.card--price .price { font-size: 2.4rem; font-weight: 800; margin: .25rem 0 1.25rem; font-family: var(--font-mono); }
.card--price .price__amount { color: #fff; }
.card--price .price__period { color: var(--text-muted); font-size: .95rem; font-weight: 500; margin-left: .35rem; }
.card--price--featured {
  border-color: var(--c-green);
  box-shadow: 0 0 0 1px var(--c-green), 0 20px 60px rgba(0, 255, 65, 0.18);
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.08), rgba(10, 14, 23, 0.65));
  transform: translateY(-6px);
}
.card--price__badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--c-green); color: #001; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 255, 65, 0.4);
}
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.feature-list li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--text-soft); font-size: .92rem; border-bottom: 1px dashed rgba(0, 255, 65, 0.08); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: .5rem; color: var(--c-green); font-weight: 700; }

/* ----- Testimonial ----- */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 2.5rem 2.25rem; }
.testimonial__stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .15em; }
.testimonial blockquote { font-size: 1.25rem; line-height: 1.55; color: #fff; margin: 0 0 1.25rem; font-weight: 500; font-style: italic; position: relative; }
.testimonial blockquote::before { content: '"'; font-size: 4rem; color: var(--c-green); opacity: .25; position: absolute; top: -1.5rem; left: -.5rem; line-height: 1; }
.testimonial figcaption { color: var(--text-muted); font-family: var(--font-mono); font-size: .9rem; }
.carousel-control-prev, .carousel-control-next { width: 6%; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(95%) sepia(80%) saturate(800%) hue-rotate(70deg); width: 1.8rem; height: 1.8rem; }

/* ----- Team ----- */
.team { text-align: center; }
.team__avatar-wrap {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto .85rem; padding: 3px;
  background: linear-gradient(135deg, var(--c-green), var(--c-cyan), var(--c-violet));
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.25);
}
.team__avatar { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-2); padding: .5rem; }
.team__role { color: var(--c-green); font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .05em; margin: .15rem 0 .55rem; }
.team__bio { color: var(--text-muted); font-size: .8rem; line-height: 1.5; max-width: 220px; margin: 0 auto; }

/* ----- FAQ ----- */
.faq {
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.55), rgba(10, 14, 23, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: .65rem;
  transition: border-color .2s ease, background .2s ease;
}
.faq[open] { border-color: var(--c-green); background: linear-gradient(180deg, rgba(0, 255, 65, 0.04), rgba(10, 14, 23, 0.55)); box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.2); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--c-green); transition: transform .2s ease; flex: 0 0 auto; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: .85rem 0 0; color: var(--text-soft); }

/* ----- Form ----- */
.form { padding: 1.85rem; }
.form .form-label { font-weight: 600; color: var(--text-soft); font-size: .9rem; margin-bottom: .35rem; }
.form .form-control, .form .form-select {
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  font-size: .95rem;
  font-family: var(--font-sans);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form .form-control::placeholder { color: var(--text-dim); }
.form .form-control:focus, .form .form-select:focus {
  background: rgba(5, 5, 5, 0.9);
  border-color: var(--c-green);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.12);
}
.form .form-select option { background: #050505; color: #fff; }
.form .form-check-input { background-color: rgba(5, 5, 5, 0.85); border-color: var(--border-strong); }
.form .form-check-input:checked { background-color: var(--c-green); border-color: var(--c-green); }
.form .form-check-label { color: var(--text-soft); font-size: .88rem; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; color: var(--text-soft); font-size: .95rem; }
.contact-list li i { color: var(--c-green); flex: 0 0 auto; width: 1.1rem; }
.contact-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.contact-pill { font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 4px; background: rgba(0, 255, 65, 0.08); border: 1px solid var(--border-strong); color: var(--c-green); }

/* ----- Map ----- */
.map-wrap { padding: 1rem; }
.map {
  position: relative;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: radial-gradient(800px 400px at 50% 50%, rgba(0, 255, 65, 0.10), transparent 60%), linear-gradient(135deg, #050505 0%, #0a0e17 100%);
}
.map__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 255, 65, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 65, 0.08) 1px, transparent 1px); background-size: 40px 40px; }
.map__pin { position: absolute; left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.map__pin-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 6px rgba(0, 255, 65, 0.18), 0 0 18px var(--c-green); animation: pulse 1.6s ease-in-out infinite; }
.map__pin-label { font-family: var(--font-mono); font-size: .72rem; color: #fff; font-weight: 600; background: rgba(0, 0, 0, 0.6); padding: .15rem .45rem; border-radius: 4px; white-space: nowrap; }
.map__overlay { position: absolute; left: 1.5rem; bottom: 1.5rem; max-width: 360px; padding: 1rem 1.25rem; background: rgba(5, 5, 5, 0.78); border: 1px solid var(--border); border-radius: var(--radius-sm); backdrop-filter: blur(8px); }
.map__overlay h3 { color: #fff; }

/* ----- Newsletter ----- */
.newsletter { padding: 2.25rem 2.5rem; }
.newsletter__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter__row .form-control { flex: 1 1 220px; background: rgba(5, 5, 5, 0.7); border-color: var(--border); color: #fff; }
.newsletter__row .form-control:focus { background: rgba(5, 5, 5, 0.9); border-color: var(--c-green); box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.12); }
.newsletter__status { margin-top: .5rem; font-size: .85rem; min-height: 1.1em; color: var(--c-green); }
.newsletter__small { font-size: .78rem; color: var(--text-muted); margin: .5rem 0 0; }

/* ----- Footer ----- */
.site-footer { background: linear-gradient(180deg, transparent, rgba(2, 2, 4, 0.95)); padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--border); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c-green), transparent); opacity: .5; }
.site-footer h3 { color: #fff; margin-bottom: .85rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); }
.site-footer a { color: var(--text-muted); transition: color .2s ease; }
.site-footer a:hover { color: var(--c-green); }
.site-footer hr { border-color: var(--border); margin: 1.5rem 0; opacity: .4; }
.footer__tag { font-family: var(--font-mono); color: var(--c-green); font-size: .8rem; letter-spacing: .15em; margin-bottom: .5rem; }
.footer__certs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer__cert { font-family: var(--font-mono); font-size: .65rem; font-weight: 700; letter-spacing: .12em; padding: .2rem .5rem; border-radius: 4px; background: rgba(0, 255, 65, 0.04); border: 1px solid var(--border); color: var(--text-soft); }
.footer__social a { display: inline-flex; align-items: center; gap: .4rem; }
.footer__social i { color: var(--text-muted); transition: color .2s ease; width: 1rem; }
.footer__social a:hover i { color: var(--c-green); }
.footer__legal a { color: var(--text-muted); }
.footer__legal li { margin-right: 1.25rem; }

/* ----- Back to top ----- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1050;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--c-green); color: #001;
  border: 1px solid var(--c-green); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 255, 65, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
  cursor: pointer;
  font-family: var(--font-mono);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); background: var(--c-green-bright); box-shadow: 0 12px 30px rgba(0, 255, 65, 0.55); }

/* ----- Stats ----- */
.section--band .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(120deg, #00ff41, #00e5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}
.section--band .stat__label { color: rgba(255, 255, 255, 0.85); font-weight: 500; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* ----- Terminal ----- */
.pentest-visual { padding: 0; overflow: hidden; }
.pentest-visual__head { display: flex; align-items: center; gap: .4rem; padding: .75rem 1rem; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid var(--border); }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green { background: #28c840; }
.pentest-visual__title { margin-left: .75rem; color: var(--text-muted); font-family: var(--font-mono); font-size: .8rem; }
.pentest-visual__body { margin: 0; padding: 1.25rem 1.25rem 1.5rem; font-family: var(--font-mono); font-size: .85rem; line-height: 1.65; color: #d6ffe5; overflow-x: auto; background: rgba(0, 0, 0, 0.4); }
.pentest-visual__body code { white-space: pre; display: block; }
.c-muted { color: var(--text-muted); }
.c-green { color: var(--c-green); }
.c-cyan  { color: var(--c-cyan); }
.c-warn  { color: #fbbf24; }
.c-ok    { color: var(--c-green); }
.c-err   { color: #ff8a80; }

/* ----- Process ----- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; position: relative; }
.process::before { content: ''; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-green), var(--c-cyan), var(--c-violet), transparent); opacity: .35; z-index: 0; }
.process__step { padding: 1.5rem 1.25rem; text-align: center; position: relative; z-index: 1; }
.process__num { font-family: var(--font-mono); font-weight: 800; font-size: 1.5rem; background: linear-gradient(120deg, #00ff41, #00e5ff); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; text-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
.process__step h3 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.process__step p { color: var(--text-soft); font-size: .85rem; margin: 0; }

/* ----- Case study ----- */
.case { padding: 1.85rem; height: 100%; }
.case__sector { display: inline-block; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-green); background: rgba(0, 255, 65, 0.08); border: 1px solid var(--border-strong); padding: .25rem .6rem; border-radius: 4px; margin-bottom: .85rem; }
.case h3 { color: #fff; margin-bottom: .65rem; }
.case p { color: var(--text-soft); font-size: .92rem; }
.case__stats { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.case__stats li { flex: 1 1 0; min-width: 90px; padding: .75rem; background: rgba(0, 255, 65, 0.04); border: 1px solid var(--border); border-radius: 6px; text-align: center; }
.case__stats strong { display: block; font-family: var(--font-mono); font-size: 1.3rem; color: var(--c-green); text-shadow: 0 0 10px rgba(0, 255, 65, 0.3); }

/* ----- Industries ----- */
.industry { padding: 1.5rem 1rem; text-align: center; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.industry:hover { border-color: var(--c-green); transform: translateY(-3px); box-shadow: 0 0 16px rgba(0, 255, 65, 0.18); }
.industry i { font-size: 1.6rem; color: var(--c-green); margin-bottom: .55rem; display: block; }
.industry h4 { font-size: .9rem; margin: 0; color: #fff; }

/* ----- Breadcrumb ----- */
.breadcrumb-wrap { padding: 1rem 0; background: rgba(5, 5, 5, 0.6); border-bottom: 1px solid var(--border); margin-top: -.5rem; }
.breadcrumb { margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); }
.breadcrumb li { list-style: none; }
.breadcrumb li + li::before { content: "›"; padding: 0 .65rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--c-green); }
.breadcrumb .active { color: var(--c-green); }

/* ----- Page hero ----- */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); overflow: hidden; isolation: isolate; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 350px at 50% 0%, rgba(0, 255, 65, 0.18), transparent 60%), linear-gradient(180deg, transparent 50%, var(--bg-0) 100%); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-top: .5rem; }
.page-hero__lead { color: var(--text-soft); max-width: 64ch; margin: 1rem auto 0; font-size: 1.1rem; }
.page-hero__terminal { max-width: 720px; margin: 2rem auto 0; text-align: left; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; font-family: var(--font-mono); font-size: .85rem; box-shadow: 0 0 30px rgba(0, 255, 65, 0.15); }
.page-hero__terminal-head { display: flex; align-items: center; gap: .4rem; padding: .6rem 1rem; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid var(--border); }
.page-hero__terminal-title { color: var(--text-muted); font-size: .75rem; }
.page-hero__terminal-body { padding: 1.25rem 1.25rem 1.5rem; color: #d6ffe5; }
.typed::after { content: '▍'; color: var(--c-green); animation: blink 1s steps(2,end) infinite; }

/* ----- Content (legal, blog) ----- */
.content { max-width: 760px; margin: 0 auto; }
.content p { color: var(--text-soft); }
.content h3 { margin-top: 1.5em; color: var(--c-green); font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .04em; }
.content ul, .content ol { color: var(--text-soft); }
.content a { color: var(--c-cyan); border-bottom: 1px dashed rgba(0, 229, 255, 0.4); }
.content a:hover { color: var(--c-green); border-bottom-color: var(--c-green); }
.blog-meta { font-family: var(--font-mono); color: var(--text-muted); font-size: .85rem; letter-spacing: .05em; display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.blog-meta i { color: var(--c-green); margin-right: .35rem; }
.blog-cover { border-radius: var(--radius); margin: 1.5rem 0 2rem; box-shadow: 0 0 30px rgba(0, 255, 65, 0.15); }
.legal h1 { font-family: var(--font-mono); color: var(--c-green); }
.legal h2 { font-family: var(--font-mono); color: var(--c-green); font-size: 1.2rem; margin-top: 2rem; letter-spacing: .04em; }
.legal p, .legal li { color: var(--text-soft); }

/* ----- CTA banner ----- */
.cta-banner { padding: 3rem 2.5rem; background: linear-gradient(135deg, rgba(0, 255, 65, 0.10), rgba(0, 229, 255, 0.06)); border: 1px solid var(--border-strong); border-radius: var(--radius); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 255, 65, 0.02) 10px, rgba(0, 255, 65, 0.02) 11px); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--text-soft); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-banner__buttons { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ----- Vulnerability bars ----- */
.vuln-panel { padding: 1.5rem; }
.vuln-bars { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.vuln-bar__label { display: flex; justify-content: space-between; color: var(--text-soft); font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.vuln-bar__label span:last-child { color: var(--c-green); font-family: var(--font-mono); }
.vuln-bar__track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.vuln-bar__fill { height: 100%; width: 0; border-radius: 4px; transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: 0 0 12px rgba(0, 255, 65, 0.35); }
.vuln-bar__fill--good { background: linear-gradient(90deg, #10b981, #00ff41); }
.vuln-bar__fill--warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.vuln-bar__fill--info { background: linear-gradient(90deg, #3b82f6, #6366f1); }
.vuln-foot { margin-top: 1rem; color: var(--text-muted); font-size: .85rem; display: flex; align-items: center; gap: .45rem; }

/* ----- 404 ----- */
.error-page { position: relative; min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 2rem 0; overflow: hidden; }
.error-page__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .4; }
.error-page__inner { position: relative; }
.error-page__code { font-family: var(--font-mono); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; background: linear-gradient(120deg, #00ff41, #00e5ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: 0 0 30px rgba(0, 255, 65, 0.4); line-height: 1; }
.error-page__title { margin-top: 1rem; }
.error-page__lead { color: var(--text-soft); max-width: 50ch; margin: 1rem auto 1.5rem; }
.terminal-line { font-family: var(--font-mono); background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border); border-radius: 6px; padding: .8rem 1rem; max-width: 480px; margin: 0 auto 1rem; text-align: left; font-size: .85rem; }
.terminal-line .prompt { color: var(--c-green); }
.terminal-line .cmd { color: #fff; }

/* ----- AI Assistant Widget ----- */
.ai-widget {
  position: fixed; right: 1.25rem; bottom: 6rem; z-index: 1040;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-green), var(--c-cyan));
  color: #001;
  border: none;
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.45);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-widget:hover { transform: scale(1.05); box-shadow: 0 0 36px rgba(0, 255, 65, 0.65); }
.ai-widget i { font-size: 1.4rem; }
.ai-widget__pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--c-green);
  animation: aiPulse 2s ease-out infinite;
}
@keyframes aiPulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
.ai-panel {
  position: fixed; right: 1.25rem; bottom: 8rem; z-index: 1041;
  width: 360px; max-width: calc(100vw - 2.5rem);
  max-height: 70vh;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.95), rgba(10, 14, 23, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 255, 65, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ai-panel.is-open { display: flex; }
.ai-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 255, 65, 0.04);
}
.ai-panel__title { display: flex; align-items: center; gap: .55rem; color: var(--c-green); font-family: var(--font-mono); font-weight: 600; font-size: .9rem; }
.ai-panel__title i { color: var(--c-green); }
.ai-panel__close { background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: 0; line-height: 1; }
.ai-panel__close:hover { color: var(--c-green); }
.ai-panel__body {
  flex: 1; overflow-y: auto;
  padding: 1rem;
  display: flex; flex-direction: column; gap: .65rem;
  font-size: .9rem;
  min-height: 240px;
}
.ai-msg { padding: .65rem .8rem; border-radius: var(--radius-sm); max-width: 85%; }
.ai-msg--bot { background: rgba(0, 255, 65, 0.06); border: 1px solid var(--border); color: var(--text-soft); align-self: flex-start; }
.ai-msg--user { background: rgba(0, 229, 255, 0.1); border: 1px solid var(--border-cyan); color: #fff; align-self: flex-end; }
.ai-msg strong { color: var(--c-green); }
.ai-panel__input {
  display: flex; gap: .5rem; padding: .8rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.6);
}
.ai-panel__input input {
  flex: 1; background: rgba(5, 5, 5, 0.7); border: 1px solid var(--border);
  color: #fff; padding: .55rem .75rem; border-radius: var(--radius-sm);
  font-size: .9rem;
}
.ai-panel__input input:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.15); }
.ai-panel__input button {
  background: var(--c-green); color: #001; border: none; padding: 0 .9rem; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
}
.ai-panel__quick { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem 1rem; }
.ai-panel__quick button { background: rgba(0, 255, 65, 0.06); border: 1px solid var(--border); color: var(--c-green); padding: .3rem .65rem; border-radius: 999px; font-size: .75rem; font-family: var(--font-mono); cursor: pointer; }
.ai-panel__quick button:hover { background: rgba(0, 255, 65, 0.14); }

/* ----- Security tools page ----- */
.tool-card { padding: 1.5rem; height: 100%; }
.tool-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35rem; }
.tool-card p { color: var(--text-muted); font-size: .85rem; }
.tool-card .form-control, .tool-card .form-select { background: rgba(5, 5, 5, 0.7); border-color: var(--border); color: #fff; font-family: var(--font-mono); font-size: .85rem; }
.tool-card .form-control:focus { background: rgba(5, 5, 5, 0.9); border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.12); color: #fff; }
.tool-card .btn { font-size: .82rem; padding: .55rem 1rem; }
.tool-output {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-green);
  min-height: 60px;
  max-height: 200px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.strength-meter { height: 6px; background: rgba(255,255,255,.05); border-radius: 3px; overflow: hidden; margin-top: .5rem; }
.strength-meter__fill { height: 100%; width: 0; transition: width .3s ease, background .3s ease; }
.strength-meter__fill--weak { background: #ff5f57; }
.strength-meter__fill--fair { background: #f59e0b; }
.strength-meter__fill--good { background: #00e5ff; }
.strength-meter__fill--strong { background: var(--c-green); }
.tool-badge { display: inline-block; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd54f; background: rgba(254, 188, 46, 0.10); border: 1px solid rgba(254, 188, 46, 0.28); padding: .2rem .55rem; border-radius: 4px; }

/* ----- Events ----- */
.event-card { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; }
.event-card__date { font-family: var(--font-mono); color: var(--c-green); font-size: .85rem; letter-spacing: .1em; margin-bottom: .5rem; }
.event-card__location { color: var(--text-muted); font-size: .85rem; margin-bottom: .75rem; }
.event-card__location i { color: var(--c-green); margin-right: .35rem; }
.event-card h3 { color: #fff; font-size: 1.05rem; }

/* ----- Partners ----- */
.partner-card { padding: 1.5rem; text-align: center; height: 100%; }
.partner-card__logo { height: 50px; display: grid; place-items: center; margin-bottom: .85rem; }
.partner-card__logo img { max-height: 50px; width: auto; }
.partner-card h4 { color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.partner-card p { color: var(--text-muted); font-size: .85rem; margin: 0; }

/* ----- Resource cards ----- */
.resource-card { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; }
.resource-card__icon { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, rgba(0, 255, 65, 0.14), rgba(0, 229, 255, 0.10)); border: 1px solid var(--border-strong); color: var(--c-green); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 1rem; }
.resource-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35rem; }
.resource-card p { color: var(--text-muted); font-size: .88rem; }
.resource-card__meta { font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ----- Chat (demo) ----- */
.chat-launcher { position: fixed; right: 1.25rem; bottom: 13rem; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; background: rgba(0, 229, 255, 0.12); border: 1px solid var(--border-cyan); color: var(--c-cyan); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 229, 255, 0.2); }
.chat-launcher i { font-size: 1.2rem; }

/* ----- Responsive ----- */
@media (max-width: 1199.98px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
}
@media (max-width: 991.98px) {
  .hero__panel { margin-top: 2rem; }
  .navbar-collapse { background: rgba(5, 5, 5, 0.98); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 1rem; margin-top: .75rem; }
  .map { height: 320px; }
}
@media (max-width: 767.98px) {
  .hero { padding-top: 2.5rem; min-height: auto; }
  .hero__title { font-size: clamp(2rem, 7vw, 2.75rem); }
  .process { grid-template-columns: 1fr; }
  .form { padding: 1.25rem; }
  .newsletter { padding: 1.5rem 1.25rem; }
  .case__stats { gap: .5rem; }
  .case__stats li { flex: 1 1 calc(50% - .25rem); }
  .threat-row__tag { display: none; }
  .navbar { padding: .5rem 0; }
  .back-to-top { right: .85rem; bottom: .85rem; width: 40px; height: 40px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .map { height: 280px; }
  .map__overlay { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
  .footer__legal li { margin-right: .85rem; }
  .ai-panel { right: .75rem; left: .75rem; width: auto; bottom: 7.5rem; }
  .ai-widget { right: .85rem; bottom: 5.5rem; }
}
@media (max-width: 575.98px) {
  .hero__trust li { display: block; margin: .25rem 0; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .hero__scan::before, .status-bar__inner { display: none; }
}

/* ----- High contrast ----- */
@media (prefers-contrast: more) {
  :root { --border: rgba(255, 255, 255, 0.25); }
  .card, .glass, .faq { border-width: 2px; }
}
