/*
Theme Name: Zytell
Theme URI: https://zytell.com
Author: Zytell Security Technologies
Description: Unified Security Intelligence Platform — full multi-page WordPress theme with editable pages for each solution.
Version: 2.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zytell
*/


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

:root {
  --navy: #0E1B2E;
  --navy-mid: #16293F;
  --navy-light: #1E3654;
  --blue: #1A5FA8;
  --blue-light: #2272C3;
  --blue-pale: #E8F0FB;
  --blue-xpale: #F2F6FD;
  --red: #C0392B;
  --red-soft: #FDF0EE;
  --amber: #D4840A;
  --amber-soft: #FEF7ED;
  --green: #1A7A4A;
  --green-soft: #EAF5EE;
  --slate: #5A6B82;
  --slate-light: #8A9BB2;
  --line: #DCE4EF;
  --line-dark: #C5D0DE;
  --bg: #FFFFFF;
  --bg-off: #F7FAFD;
  --bg-pale: #EFF4FA;
  --text: #0E1B2E;
  --text-mid: #3A4D62;
  --text-muted: #5A6B82;
  --text-light: #8A9BB2;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 4px rgba(14,27,46,0.06), 0 2px 12px rgba(14,27,46,0.04);
  --shadow-md: 0 4px 16px rgba(14,27,46,0.08), 0 8px 32px rgba(14,27,46,0.06);
  --shadow-lg: 0 8px 32px rgba(14,27,46,0.10), 0 20px 60px rgba(14,27,46,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}

.logo-icon svg { width: 18px; height: 18px; }

.logo-wordmark {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.logo-wordmark span {
  color: var(--blue);
}

.nav-links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn-ghost {
  padding: 0.5rem 1.1rem;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--navy); background: transparent;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { background: var(--bg-off); border-color: var(--slate-light); }

.btn-primary {
  padding: 0.5rem 1.3rem;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: white; background: var(--blue);
  border: 1px solid var(--blue); border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: #1653A0; }

/* ===== HERO ===== */
.hero {
  padding: 140px 5% 80px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, black 20%, transparent 80%);
}

.hero-accent {
  position: absolute;
  top: -80px; right: -60px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--blue-pale) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; position: relative;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--blue-pale); padding: 5px 12px; border-radius: 3px;
  border: 1px solid #C5D8F4;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px;
  background: var(--blue); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 0.75rem 1.8rem;
  font-size: 15px;
}

.hero-certs {
  display: flex; align-items: center; gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.cert-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.02em;
}

.cert-item svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* === HERO VISUAL === */
.hero-visual { position: relative; }

.dashboard-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dash-topbar {
  background: var(--navy);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}

.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.d-red { background: #FF5F57; }
.d-yellow { background: #FEBC2E; }
.d-green { background: #28C840; }

.dash-title {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.5); letter-spacing: 0.06em;
  margin-left: 8px; flex: 1; text-align: center;
}

.dash-status {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10px;
  color: #28C840; letter-spacing: 0.06em;
}
.dash-status::before {
  content: ''; width: 5px; height: 5px;
  background: #28C840; border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.cam-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; padding: 3px; background: var(--navy);
}

.cam-cell {
  position: relative; aspect-ratio: 16/10;
  background: #0D1A29;
  overflow: hidden;
}

.cam-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 18px);
}

.cam-id {
  position: absolute; top: 7px; left: 7px;
  font-family: var(--mono); font-size: 9px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.06em;
  background: rgba(0,0,0,0.4); padding: 2px 5px; border-radius: 2px;
}

.cam-live {
  position: absolute; top: 7px; right: 7px;
  display: flex; align-items: center; gap: 3px;
  font-family: var(--mono); font-size: 9px; color: #28C840;
}
.cam-live::before {
  content: ''; width: 5px; height: 5px;
  background: #28C840; border-radius: 50%;
  animation: pulse 1s infinite;
}

.cam-alert-box {
  border: 1px solid var(--red) !important;
}

.alert-badge {
  position: absolute; bottom: 7px; left: 7px;
  font-family: var(--mono); font-size: 8.5px;
  color: var(--red); letter-spacing: 0.08em;
  background: rgba(192,57,43,0.12); padding: 2px 6px;
  border: 1px solid rgba(192,57,43,0.3); border-radius: 2px;
  animation: pulse 0.8s infinite;
}

.face-detect {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 36px; height: 36px;
}
.face-box {
  width: 100%; height: 100%;
  border: 1.5px solid #28C840;
  border-radius: 3px;
  position: relative;
}
.face-box::before, .face-box::after {
  content: '';
  position: absolute; width: 8px; height: 8px;
  border-color: #28C840; border-style: solid;
}
.face-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.face-box::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.face-label {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px;
  color: #28C840; white-space: nowrap;
  letter-spacing: 0.04em;
}

.vehicle-detect {
  position: absolute; bottom: 28%; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 20px;
  border: 1.5px solid var(--amber);
  border-radius: 2px;
}
.vehicle-detect::after {
  content: 'VEH-ALERT';
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px;
  color: var(--amber); white-space: nowrap;
  letter-spacing: 0.04em;
}

.dash-footer {
  padding: 10px 14px;
  background: var(--bg-off);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-mini {
  text-align: center;
}

.stat-mini-num {
  font-family: var(--mono); font-size: 16px; font-weight: 500;
  color: var(--navy); line-height: 1;
}

.stat-mini-label {
  font-size: 10px; color: var(--text-light);
  letter-spacing: 0.04em; margin-top: 2px;
}

.stat-mini-num.alert { color: var(--red); }
.stat-mini-num.ok { color: var(--green); }

/* Floating alert card */
.floating-alert {
  position: absolute;
  bottom: -20px; left: -30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  display: flex; align-items: flex-start; gap: 10px;
}

.alert-icon-wrap {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--red-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.alert-icon-wrap svg { width: 15px; height: 15px; color: var(--red); }

.alert-text-head {
  font-size: 12px; font-weight: 600; color: var(--navy);
  margin-bottom: 2px;
}

.alert-text-sub {
  font-family: var(--mono); font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Floating AI badge */
.floating-ai {
  position: absolute;
  top: -18px; right: -20px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
  min-width: 170px;
}

.ai-dot {
  width: 8px; height: 8px;
  background: #28C840; border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.ai-text {
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(255,255,255,0.8); letter-spacing: 0.04em;
}

/* ===== SECTION SHARED ===== */
section { padding: 90px 5%; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--blue); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}

.section-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 1.5px; background: var(--blue);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--navy);
}

.section-desc {
  font-size: 16.5px; font-weight: 300;
  color: var(--text-mid); line-height: 1.75;
  max-width: 580px; margin-top: 1rem;
}

/* ===== OVERVIEW / CORE CAPABILITIES ===== */
.overview { background: var(--bg-off); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cap-card {
  background: white;
  padding: 2.5rem;
  position: relative;
  transition: background 0.2s;
}

.cap-card:hover { background: var(--bg-off); }

.cap-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}

.cap-icon svg { width: 22px; height: 22px; }

.cap-icon.blue { background: var(--blue-pale); color: var(--blue); }
.cap-icon.red { background: var(--red-soft); color: var(--red); }
.cap-icon.amber { background: var(--amber-soft); color: var(--amber); }
.cap-icon.green { background: var(--green-soft); color: var(--green); }
.cap-icon.navy { background: var(--blue-pale); color: var(--navy); }
.cap-icon.slate { background: var(--bg-pale); color: var(--slate); }

.cap-title {
  font-size: 16px; font-weight: 600; color: var(--navy);
  margin-bottom: 0.6rem;
}

.cap-desc {
  font-size: 14px; font-weight: 300; color: var(--text-mid);
  line-height: 1.7;
}

/* ===== PLATFORM OVERVIEW STRIP ===== */
.platform-strip {
  background: var(--navy);
  padding: 60px 5%;
  overflow: hidden;
  position: relative;
}

.platform-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative;
}

.strip-text { max-width: 480px; }

.strip-text .section-label { color: #6DA4D8; }
.strip-text .section-label::before { background: #6DA4D8; }

.strip-text h2 { color: white; }
.strip-text .section-desc { color: rgba(255,255,255,0.6); }

.strip-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
}

.strip-stat {}

.strip-num {
  font-family: var(--serif);
  font-size: 2.8rem; font-weight: 700;
  color: white; line-height: 1;
  margin-bottom: 4px;
}

.strip-stat-label {
  font-size: 12.5px; font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
}

/* ===== AUDIENCE TABS ===== */
.audiences { background: var(--bg); }

.audience-tabs {
  display: flex; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
  background: var(--bg-off);
}

.aud-tab {
  flex: 1; padding: 0.85rem 1rem;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--text-muted); background: transparent;
  border: none; cursor: pointer;
  border-right: 1px solid var(--line);
  transition: background 0.18s, color 0.18s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.aud-tab:last-child { border-right: none; }
.aud-tab:hover { background: white; color: var(--navy); }
.aud-tab.active { background: white; color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.aud-tab svg { width: 16px; height: 16px; }

.aud-panel { display: none; margin-top: 3rem; }
.aud-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.aud-content {}

.aud-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 1.2rem;
}

.badge-schools { background: var(--blue-pale); color: var(--blue); border: 1px solid #C5D8F4; }
.badge-gov { background: var(--bg-pale); color: var(--navy); border: 1px solid var(--line-dark); }
.badge-enterprise { background: var(--amber-soft); color: #925C06; border: 1px solid #F4D49A; }
.badge-integrators { background: var(--green-soft); color: var(--green); border: 1px solid #A8DEBA; }
.badge-airports { background: #EEF2F8; color: #2C4A7A; border: 1px solid #B8C8E0; }

.aud-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.015em; color: var(--navy);
  margin-bottom: 1rem;
}

.aud-content p {
  font-size: 15.5px; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.75rem;
}

.feat-list {
  list-style: none; margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-mid); font-weight: 400;
}

.feat-list li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft);
  flex-shrink: 0; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231A7A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.btn-aud {
  padding: 0.7rem 1.5rem;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: white; background: var(--blue);
  border: none; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.18s;
}
.btn-aud:hover { background: #1653A0; }

/* Audience visual panels */
.aud-visual {}

/* School Panel Visual */
.school-visual {
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sv-header {
  background: var(--navy);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}

.sv-header-title {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.06em;
}

.status-pill {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border-radius: 2px;
  display: flex; align-items: center; gap: 4px;
}

.status-ok { background: rgba(40,200,64,0.15); color: #28C840; border: 1px solid rgba(40,200,64,0.3); }
.status-alert { background: rgba(192,57,43,0.15); color: #E05A4B; border: 1px solid rgba(192,57,43,0.3); animation: pulse 1s infinite; }

.status-pill::before {
  content: ''; width: 5px; height: 5px;
  background: currentColor; border-radius: 50%;
}

.sv-body { padding: 16px; }

.id-row {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}

.id-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.av-blue { background: var(--blue-pale); color: var(--blue); }
.av-green { background: var(--green-soft); color: var(--green); }
.av-red { background: var(--red-soft); color: var(--red); }
.av-amber { background: var(--amber-soft); color: var(--amber); }

.id-info { flex: 1; }

.id-name {
  font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 2px;
}

.id-meta {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-light); letter-spacing: 0.03em;
}

.id-status {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 8px; border-radius: 2px;
  font-weight: 500;
}

.is-auth { background: var(--green-soft); color: var(--green); }
.is-deny { background: var(--red-soft); color: var(--red); font-weight: 600; }
.is-warn { background: var(--amber-soft); color: var(--amber); }

.sv-footer {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex; gap: 1rem; align-items: center;
  background: white;
}

.sv-stat {
  flex: 1; text-align: center;
}

.sv-stat-n {
  font-family: var(--mono); font-size: 18px; font-weight: 500;
  color: var(--navy); line-height: 1;
}

.sv-stat-l {
  font-size: 10.5px; color: var(--text-light); margin-top: 2px;
}

/* Duress Visual */
.duress-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.dv-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
}

.dv-title {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase;
}

.alert-live {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10px; color: #E05A4B;
  letter-spacing: 0.06em;
}

.alert-live::before {
  content: ''; width: 6px; height: 6px;
  background: #E05A4B; border-radius: 50%;
  animation: pulse 0.8s infinite;
}

.dv-body { padding: 16px; }

.alert-card {
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid;
}

.alert-critical {
  background: rgba(192,57,43,0.12);
  border-color: rgba(192,57,43,0.3);
}

.alert-pending {
  background: rgba(212,132,10,0.1);
  border-color: rgba(212,132,10,0.25);
}

.alert-resolved {
  background: rgba(26,122,74,0.08);
  border-color: rgba(26,122,74,0.2);
}

.alert-row {
  display: flex; align-items: flex-start; gap: 10px;
}

.alert-type-badge {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  padding: 2px 7px; border-radius: 2px; letter-spacing: 0.08em;
  white-space: nowrap; margin-top: 1px;
}

.atb-critical { background: rgba(192,57,43,0.25); color: #E05A4B; }
.atb-pending { background: rgba(212,132,10,0.2); color: #F0A030; }
.atb-resolved { background: rgba(26,122,74,0.15); color: #35C07A; }

.alert-info-head {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 3px;
}

.alert-info-sub {
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
}

.notify-list {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.notify-label {
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}

.notify-items {
  display: flex; flex-direction: column; gap: 6px;
}

.notify-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px; padding: 8px 10px;
}

.notify-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ni-red { background: rgba(192,57,43,0.2); }
.ni-blue { background: rgba(26,95,168,0.25); }
.ni-slate { background: rgba(90,107,130,0.2); }

.notify-icon svg { width: 13px; height: 13px; }

.notify-text {
  font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.75);
  flex: 1;
}

.notify-sent {
  font-family: var(--mono); font-size: 9.5px;
  color: rgba(255,255,255,0.3); letter-spacing: 0.04em;
}

/* Enterprise / Gov visuals */
.generic-visual {
  background: var(--bg-off);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gv-header {
  background: var(--navy);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}

.gv-title {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.07em;
}

.gv-body { padding: 16px; }

.integration-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 12px;
}

.int-node {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 10px;
  text-align: center;
}

.int-icon {
  width: 32px; height: 32px; border-radius: 8px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}

.int-icon svg { width: 16px; height: 16px; }

.ic-blue { background: var(--blue-pale); color: var(--blue); }
.ic-red { background: var(--red-soft); color: var(--red); }
.ic-amber { background: var(--amber-soft); color: var(--amber); }
.ic-green { background: var(--green-soft); color: var(--green); }
.ic-navy { background: var(--bg-pale); color: var(--navy); }
.ic-slate { background: var(--bg-pale); color: var(--slate); }

.int-label {
  font-size: 10.5px; font-weight: 500; color: var(--navy);
  line-height: 1.3;
}

.pipeline-bar {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}

.pipe-label {
  font-size: 12px; font-weight: 500; color: var(--navy); flex: 1;
}

.pipe-progress {
  flex: 2; height: 5px; background: var(--bg-pale);
  border-radius: 10px; overflow: hidden;
}

.pipe-fill {
  height: 100%; border-radius: 10px;
  background: var(--blue);
}

.pipe-pct {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-muted); min-width: 32px; text-align: right;
}

/* ===== SCHOOL SECURITY DEEP SECTION ===== */
.school-deep { background: var(--bg-off); }

.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  margin-top: 3.5rem;
}

.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feat-visual-wrap {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

.feat-visual-img {
  aspect-ratio: 4/3;
  background: #0D1A29;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.feat-visual-img::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 22px);
}

.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,27,46,0.3) 0%, transparent 100%);
}

/* SVG faces for cam sim */
.cam-sim {
  width: 100%; height: 100%; position: absolute; inset: 0;
}

.face-track {
  position: absolute;
  border: 1.5px solid #28C840;
  border-radius: 3px;
}

.ft1 { width: 50px; height: 56px; top: 30%; left: 20%; }
.ft2 { width: 44px; height: 50px; top: 35%; left: 55%; }
.ft3 { width: 46px; height: 52px; top: 28%; right: 15%; }
.ft-unknown { border-color: var(--red) !important; }

.ft-label {
  position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px;
  white-space: nowrap; letter-spacing: 0.04em;
  padding: 1px 5px; background: rgba(0,0,0,0.6); border-radius: 2px;
}

.ft-ok { color: #28C840; }
.ft-deny { color: var(--red); }

.vehicle-scan {
  position: absolute;
  bottom: 20%; left: 50%; transform: translateX(-50%);
  width: 100px; height: 32px;
  border: 1.5px solid var(--amber); border-radius: 2px;
}

.vs-label {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px;
  color: var(--amber); white-space: nowrap; letter-spacing: 0.04em;
  background: rgba(0,0,0,0.6); padding: 1px 5px; border-radius: 2px;
}

.lp-scan {
  position: absolute; inset: 4px;
  border: 1px dashed rgba(212,132,10,0.5); border-radius: 1px;
  display: flex; align-items: center; justify-content: center;
}

.lp-text {
  font-family: var(--mono); font-size: 9px;
  color: rgba(255,255,255,0.7); letter-spacing: 0.06em;
}

.feat-visual-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}

.fvf-stat {
  text-align: center;
}

.fvf-n {
  font-family: var(--mono); font-size: 16px; font-weight: 500; color: white; line-height: 1;
}

.fvf-l {
  font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px;
}

.feat-content {}

.feat-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 1rem;
}

.feat-content p {
  font-size: 15px; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.5rem;
}

.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 1.75rem;
}

.detail-item {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
}

.detail-item-title {
  font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px;
}

.detail-item-desc {
  font-size: 12px; color: var(--text-muted); line-height: 1.5;
}

/* ===== CLOUD INFRA ===== */
.infra {
  background: var(--navy);
  position: relative; overflow: hidden;
}

.infra::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.infra .section-label { color: #6DA4D8; }
.infra .section-label::before { background: #6DA4D8; }
.infra h2 { color: white; }
.infra .section-desc { color: rgba(255,255,255,0.55); }

.infra-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 3.5rem; position: relative;
}

.infra-card {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.infra-card:hover { background: rgba(255,255,255,0.06); }

.infra-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.infra-icon svg { width: 20px; height: 20px; color: rgba(255,255,255,0.6); }

.infra-title {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 0.6rem;
}

.infra-desc {
  font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-off); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}

.testi-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testi-quote {
  font-family: var(--serif);
  font-size: 16px; font-style: italic;
  color: var(--text-mid); line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex; align-items: center; gap: 10px;
}

.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; flex-shrink: 0;
}

.testi-name {
  font-size: 13.5px; font-weight: 600; color: var(--navy);
}

.testi-role {
  font-size: 12px; color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg);
  padding: 90px 5%;
  text-align: center;
}

.cta-inner {
  max-width: 640px; margin: 0 auto;
}

.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p {
  font-size: 16.5px; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.btn-xl {
  padding: 0.9rem 2.2rem;
  font-size: 15.5px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 60px 5% 30px;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
}

.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo-wordmark { color: white; margin-top: 0.75rem; display: block; font-size: 18px; }

.footer-brand p {
  font-size: 13.5px; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-top: 0.75rem; max-width: 260px;
}

.footer-col h4 {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 13.5px; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.18s;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,0.3);
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== UTILITY ===== */
.divider {
  height: 1px; background: var(--line);
  max-width: 1200px; margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .aud-panel.active { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  section { padding: 70px 4%; }
  .cap-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse { direction: ltr; }
  .testi-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .audience-tabs { flex-wrap: wrap; }
  .aud-tab { flex: none; width: 50%; }
.audience-tabs { flex-wrap: wrap; }
}

/* ===== WORDPRESS ADMIN BAR FIX ===== */
.admin-bar nav { top: 32px !important; }
@media screen and (max-width:782px){.admin-bar nav{top:46px !important;}}

/* ===== INNER PAGES ===== */
.page-hero {
  padding: 120px 5% 60px;
  background: var(--bg-off);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.4;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero-badge {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px; margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem,5vw,3.6rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero-desc {
  font-size: 18px; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; max-width: 620px;
}

/* Page Content */
.page-content { max-width: 1200px; margin: 0 auto; padding: 70px 5%; }
.page-content h2 {
  font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 700; color: var(--navy); margin-bottom: 1rem;
  letter-spacing: -0.015em; line-height: 1.2;
}
.page-content h3 {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 600; color: var(--navy); margin: 2rem 0 0.75rem;
}
.page-content p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; font-weight: 300; }
.page-content ul { list-style: none; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.page-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-mid); line-height: 1.6; }
.page-content ul li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); flex-shrink: 0; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231A7A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.page-content .wp-block-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Feature cards on inner pages */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.feature-card { background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.feature-card-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-card-icon svg { width: 20px; height: 20px; }
.feature-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* CTA Box */
.cta-box {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 3rem; text-align: center; margin-top: 3rem;
  position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px); background-size: 40px 40px; }
.cta-box h2 { font-family: var(--serif); color: white; font-size: 2rem; margin-bottom: 0.75rem; position: relative; }
.cta-box p { color: rgba(255,255,255,0.6); margin-bottom: 1.75rem; font-size: 16px; position: relative; }
.cta-box .btn-primary { position: relative; padding: 0.85rem 2rem; font-size: 15px; }

/* Active nav link */
.current-menu-item > a, .current-page-ancestor > a { color: var(--navy) !important; font-weight: 600; }

/* Sidebar layout for inner pages */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: start; }
.page-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.sidebar-card h4 { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--line); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a { display: block; padding: 0.65rem 0; font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.18s; }
.sidebar-nav a:hover { color: var(--blue); }

@media(max-width:1024px){ .page-with-sidebar { grid-template-columns: 1fr; } .page-sidebar { position: static; } }
@media(max-width:768px){ .page-hero { padding: 100px 4% 50px; } .page-content { padding: 50px 4%; } }
