/* ==========================================================================
   SecXpert — Design System
   Commercial security / enterprise technology aesthetic.
   ========================================================================== */

:root {
  /* Core palette — derived from SecXpert brand guidelines (Strong Red #EF0001 / Rich Black #02151B) */
  --navy-950: #02151b;
  --navy-900: #071e26;
  --navy-800: #0d2831;
  --navy-700: #14343e;
  --navy-600: #1c424d;
  --charcoal-500: #3f5960;
  --line: rgba(184, 205, 212, 0.14);
  --line-strong: rgba(184, 205, 212, 0.26);

  --blue-400: #ff4d4d;
  --blue-500: #ef0001;
  --blue-600: #b40001;
  --blue-glow: rgba(239, 0, 1, 0.35);
  --cyan-400: #ff7a7a;

  --white: #ffffff;
  --ink-50: #f5f7fc;
  --ink-100: #e7ecf7;
  --ink-300: #b9c4dc;
  --ink-400: #93a1c2;
  --ink-500: #7787ab;

  --success: #2fbf71;
  --warn: #f2b134;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px -12px rgba(2, 6, 20, 0.55);
  --shadow-lift: 0 20px 60px -20px rgba(2, 6, 20, 0.7);

  --container: 1220px;
  --header-h: 76px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Segoe UI", var(--font-body);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--ink-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; }
svg[viewBox] { flex-shrink: 0; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--white);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-300); }
ul, ol { color: var(--ink-300); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; position: relative; }
section.tight { padding: 56px 0; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-500);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 8px 24px -6px var(--blue-glow);
}
.btn-primary:hover { box-shadow: 0 12px 32px -6px var(--blue-glow); transform: translateY(-1px); }

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--blue-400); background: rgba(47, 125, 251, 0.08); }

.btn-whatsapp {
  background: #1fae5a;
  color: var(--white);
}
.btn-whatsapp:hover { background: #199249; }

.btn-ghost {
  color: var(--blue-400);
  padding: 8px 4px;
  font-weight: 600;
  gap: 6px;
}
.btn-ghost:hover { color: var(--cyan-400); }

.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter lives on a ::before layer, not .site-header itself — applying it directly
   would make the header a containing block for its position:fixed mobile-nav descendant. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-img { height: 46px; width: auto; display: block; }
.footer-brand .footer-logo-img { height: 58px; }
@media (max-width: 480px) { .brand .logo-img { height: 40px; } }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 11px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-200, var(--ink-100));
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--white); background: rgba(255,255,255,0.05); }
.main-nav a.nav-link.active { color: var(--blue-400); }

.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 280px; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 10px; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  list-style: none; margin: 0;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; color: var(--ink-100); }
.dropdown li a span.desc { font-size: 0.76rem; font-weight: 400; color: var(--ink-500); }
.dropdown li a:hover { background: rgba(47, 125, 251, 0.1); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .phone-link { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 700; color: var(--ink-100); padding: 8px 4px; white-space: nowrap; }
.header-actions .phone-link:hover { color: var(--blue-400); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--white); cursor: pointer; }

@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 18px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a.nav-link { padding: 14px 12px; font-size: 1.02rem; }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; width: auto; display: none; box-shadow: none; margin-top: 4px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-actions .btn-outline, .header-actions .phone-link { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(60% 60% at 82% 10%, rgba(47,125,251,0.22), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(79,214,232,0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 70% 20%, black, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--ink-200, var(--ink-100)); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius-pill); }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 8px var(--cyan-400); }
.hero-sub-cta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-sub-cta a { color: var(--blue-400); font-weight: 700; font-size: 0.94rem; }
.hero-sub-cta a:hover { color: var(--cyan-400); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* Small page hero (inner pages) */
.page-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 70% at 85% 0%, rgba(47,125,251,0.18), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 720px; font-size: 1.08rem; }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.page-hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lift); aspect-ratio: 4/3; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(2,21,27,0.05), rgba(2,21,27,0.55)), linear-gradient(20deg, rgba(239,0,1,0.18), transparent 55%); }
@media (max-width: 980px) { .page-hero-inner { grid-template-columns: 1fr; } .page-hero-photo { aspect-ratio: 16/9; } }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--ink-500); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--blue-400); }
.breadcrumbs .sep { color: var(--ink-500); opacity: 0.5; }

/* ---- Diagram visual (hero) ---- */
.diagram-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lift);
}
.diagram-flow { display: flex; flex-direction: column; gap: 0; }
.flow-node {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
}
.flow-node .ic {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(47,125,251,0.25), rgba(79,214,232,0.18));
  display: flex; align-items: center; justify-content: center; color: var(--blue-400);
}
.flow-node .ic svg { width: 20px; height: 20px; }
.flow-node strong { display: block; color: var(--white); font-size: 0.92rem; }
.flow-node span { font-size: 0.78rem; color: var(--ink-500); }
.flow-arrow { display: flex; align-items: center; justify-content: center; padding: 6px 0; color: var(--blue-500); }
.flow-arrow svg { width: 16px; height: 16px; animation: pulse-down 1.8s ease-in-out infinite; }
@keyframes pulse-down { 0%,100% { opacity: 0.35; transform: translateY(0);} 50% { opacity: 1; transform: translateY(3px);} }

/* ---- Cards / Grid ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(47,125,251,0.22), rgba(79,214,232,0.14));
  display: flex; align-items: center; justify-content: center; color: var(--blue-400);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { margin-bottom: 14px; font-size: 0.94rem; }
.card ul.check-list { margin: 14px 0; }

.solution-card { display: flex; flex-direction: column; }
.solution-card .btn-ghost { margin-top: auto; }

/* Industry card w/ image-style header */
.industry-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.industry-card .top { padding: 26px 26px 0; }
.industry-card .body { padding: 16px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.industry-card .pain-list { font-size: 0.85rem; margin-bottom: 16px; }
.industry-card .btn-ghost { margin-top: auto; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 0.95rem; color: var(--ink-300); }
.check-list li svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; color: var(--success); }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 0.82rem; font-weight: 600; color: var(--ink-200, var(--ink-100)); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius-pill); }

/* ---- Why / feature rows ---- */
.feature-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.feature-row .ic { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; background: rgba(47,125,251,0.14); display: flex; align-items: center; justify-content: center; color: var(--blue-400); }
.feature-row .ic svg { width: 22px; height: 22px; }
.feature-row h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-row p { font-size: 0.92rem; margin: 0; }

/* ---- Process ---- */
.process-list { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; position: relative; }
.process-step .num-col { display: flex; flex-direction: column; align-items: center; }
.process-step .num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -4px var(--blue-glow);
}
.process-step .line { flex: 1; width: 2px; background: var(--line-strong); margin: 6px 0; min-height: 34px; }
.process-step:last-child .line { display: none; }
.process-step .content { padding-bottom: 34px; }
.process-step h3 { margin-bottom: 6px; }

/* ---- Stat / capability strip ---- */
.strip {
  background: var(--navy-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip .grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 900px) { .strip .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .strip .grid-6 { grid-template-columns: repeat(2, 1fr); } }
.strip-item { text-align: center; padding: 22px 10px; font-size: 0.86rem; font-weight: 700; color: var(--ink-100); border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: none; }

/* ---- CTA banner ---- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--line-strong);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 90% at 90% 20%, rgba(47,125,251,0.28), transparent 60%);
  pointer-events: none;
}
.cta-banner .inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner .contact-line { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 6px; font-size: 0.95rem; }
.cta-banner .contact-line a { font-weight: 700; color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.cta-banner .contact-line a:hover { color: var(--blue-400); }
@media (max-width: 720px) { .cta-banner { padding: 34px 24px; } }

.cta-final { text-align: center; }
.cta-final .btn-row { justify-content: center; }

/* Simple inline CTA strip */
.inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--radius-md);
  background: rgba(47,125,251,0.07); border: 1px solid rgba(47,125,251,0.25);
}
.inline-cta p { margin: 0; color: var(--ink-100); font-weight: 600; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: none; text-align: left; padding: 22px 4px; cursor: pointer; color: var(--white); font-weight: 700; font-size: 1rem; font-family: inherit; }
.faq-q .chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue-400); transition: transform 0.2s ease; }
.faq-q .chev svg { width: 100%; height: 100%; }
.nav-toggle svg { width: 22px; height: 22px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 480px; }
.faq-a-inner { padding: 0 4px 22px; }
.faq-a-inner p { font-size: 0.95rem; }

/* ---- Forms ---- */
.form-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-100); }
.form-field .req { color: var(--blue-400); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--navy-900); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--white); font-size: 0.94rem; font-family: inherit; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,125,251,0.18); }
.form-note { font-size: 0.78rem; color: var(--ink-500); margin-top: 14px; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(47,191,113,0.15); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .ic svg { width: 28px; height: 28px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---- Contact cards ---- */
.contact-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 780px) { .contact-methods { grid-template-columns: 1fr; } }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,0.02); }
.contact-method .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(47,125,251,0.16); color: var(--blue-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method .ic svg { width: 21px; height: 21px; }
.contact-method strong { display: block; font-size: 0.78rem; color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-method a, .contact-method span.val { font-size: 1rem; font-weight: 700; color: var(--white); }
.contact-method a:hover { color: var(--blue-400); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { font-size: 0.92rem; color: var(--ink-300); }
.footer-grid ul a:hover { color: var(--blue-400); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--ink-500); }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a:hover { color: var(--blue-400); }

/* ---- WhatsApp float + mobile sticky bar ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1fae5a; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(31,174,90,0.55);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

.mobile-action-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(10,15,30,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.mobile-action-bar .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mobile-action-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; color: var(--ink-100); padding: 8px 4px; border-radius: 10px; }
.mobile-action-bar a svg { width: 20px; height: 20px; color: var(--blue-400); }
.mobile-action-bar a.wa svg { color: #1fae5a; }
.mobile-action-bar a.quote { background: var(--blue-500); color: #fff; }
.mobile-action-bar a.quote svg { color: #fff; }
@media (max-width: 860px) {
  .mobile-action-bar { display: block; }
  .wa-float { bottom: 84px; }
  body { padding-bottom: 66px; }
}

/* ---- Diagram section (technical visual) ---- */
.tech-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: center; }
@media (max-width: 860px) { .tech-diagram { grid-template-columns: 1fr; } }
.tech-node {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 18px; text-align: center;
}
.tech-node .ic { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(47,125,251,0.25), rgba(79,214,232,0.16)); display: flex; align-items: center; justify-content: center; color: var(--cyan-400); }
.tech-node .ic svg { width: 23px; height: 23px; }
.tech-node strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.tech-node span { font-size: 0.78rem; color: var(--ink-500); }
.tech-arrow { display: flex; align-items: center; justify-content: center; color: var(--blue-500); padding: 14px; }
.tech-arrow svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .tech-arrow svg { transform: rotate(90deg); } }

/* ---- Table (capabilities / equipment) ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data-table th, table.data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data-table th { background: var(--navy-800); color: var(--ink-100); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table td { color: var(--ink-300); }

/* ---- Blog ---- */
.post-card { display: flex; flex-direction: column; }
.post-card .meta { font-size: 0.78rem; color: var(--ink-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.post-card h3 a:hover { color: var(--blue-400); }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 1.6em; font-size: 1.5rem; }
.post-body h3 { margin-top: 1.3em; font-size: 1.15rem; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.post-body li { margin-bottom: 0.4em; }
.post-body p { font-size: 1rem; }
.post-hero-meta { display: flex; gap: 14px; align-items: center; font-size: 0.85rem; color: var(--ink-500); margin-bottom: 18px; flex-wrap: wrap; }
.tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-400); background: rgba(47,125,251,0.12); padding: 5px 11px; border-radius: var(--radius-pill); }

/* ---- Misc ---- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soon { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--warn); background: rgba(242,177,52,0.12); padding: 4px 9px; border-radius: var(--radius-pill); margin-left: 8px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.numbered-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(47,125,251,0.16); color: var(--blue-400);
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue-500); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

::selection { background: var(--blue-500); color: #fff; }

/* ==========================================================================
   Device / screen mockups — used for solution-page infographics
   ========================================================================== */
.device-row { display: flex; align-items: flex-end; gap: 32px; justify-content: center; flex-wrap: wrap; }

.device-monitor { width: 100%; max-width: 560px; }
.device-monitor .bezel {
  background: linear-gradient(160deg, #10202a, #0a161d);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}
.device-monitor .titlebar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.device-monitor .titlebar span { width: 9px; height: 9px; border-radius: 50%; background: var(--charcoal-500); }
.device-monitor .screen { background: var(--navy-950); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.device-monitor .stand { width: 90px; height: 22px; margin: 0 auto; background: linear-gradient(160deg, #10202a, #0a161d); border-radius: 0 0 8px 8px; }
.device-monitor .stand-base { width: 150px; height: 8px; margin: 0 auto; background: #0a161d; border-radius: 6px; }

.device-phone { width: 220px; flex-shrink: 0; }
.device-phone .bezel {
  background: linear-gradient(160deg, #10202a, #0a161d);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}
.device-phone .notch { width: 70px; height: 16px; background: #0a161d; border-radius: 0 0 10px 10px; margin: 0 auto 6px; }
.device-phone .screen { background: var(--navy-950); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 9/17.5; }

/* Camera-grid UI inside a monitor screen */
.ui-camera-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 2px; }
.ui-camera-tile { aspect-ratio: 16/10; background: linear-gradient(150deg, #132631, #0b1920); position: relative; overflow: hidden; }
.ui-camera-tile::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(255,255,255,0.02) 7px); }
.ui-camera-tile .label { position: absolute; left: 6px; bottom: 5px; font-size: 0.58rem; font-weight: 700; color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 3px; }
.ui-camera-tile .rec { position: absolute; right: 6px; top: 5px; display: flex; align-items: center; gap: 4px; font-size: 0.55rem; font-weight: 700; color: #ff6b6b; }
.ui-camera-tile .rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 6px #ff3b3b; }

.ui-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--navy-900); border-bottom: 1px solid var(--line); }
.ui-toolbar .dot-label { display: flex; align-items: center; gap: 6px; font-size: 0.62rem; font-weight: 700; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.04em; }
.ui-toolbar .dot-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* Mobile app UI: list rows */
.ui-app-header { padding: 12px 12px 8px; background: var(--navy-900); border-bottom: 1px solid var(--line); }
.ui-app-header strong { font-size: 0.72rem; color: var(--white); }
.ui-app-body { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.ui-app-row { display: flex; align-items: center; gap: 8px; padding: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 8px; }
.ui-app-row .ic { width: 26px; height: 26px; border-radius: 7px; background: rgba(239,0,1,0.16); color: var(--blue-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ui-app-row .ic svg { width: 14px; height: 14px; }
.ui-app-row .tx strong { display: block; font-size: 0.64rem; color: var(--white); }
.ui-app-row .tx span { font-size: 0.56rem; color: var(--ink-500); }
.ui-app-row .status { margin-left: auto; font-size: 0.54rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.ui-app-row .status.granted { background: rgba(47,191,113,0.16); color: var(--success); }
.ui-app-row .status.denied { background: rgba(255,77,77,0.16); color: var(--blue-400); }

/* Video intercom call screen */
.ui-call-screen { position: relative; aspect-ratio: 9/16; background: linear-gradient(160deg, #16303c, #0a161d); display: flex; flex-direction: column; justify-content: space-between; padding: 14px 10px; }
.ui-call-screen .visitor { text-align: center; margin-top: 20%; }
.ui-call-screen .avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(150deg, #2a4550, #16262e); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; color: var(--ink-400); }
.ui-call-screen .avatar svg { width: 28px; height: 28px; }
.ui-call-screen .visitor strong { display: block; font-size: 0.68rem; color: var(--white); }
.ui-call-screen .visitor span { font-size: 0.56rem; color: var(--ink-400); }
.ui-call-actions { display: flex; justify-content: center; gap: 22px; padding-bottom: 8px; }
.ui-call-actions .cbtn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ui-call-actions .cbtn svg { width: 18px; height: 18px; }
.ui-call-actions .cbtn.accept { background: var(--success); color: #fff; }
.ui-call-actions .cbtn.unlock { background: var(--blue-500); color: #fff; }
.ui-call-actions .cbtn.decline { background: #3a1414; color: #ff6b6b; }

.device-caption { text-align: center; font-size: 0.8rem; color: var(--ink-500); margin-top: 14px; }
@media (max-width: 640px) { .device-monitor { max-width: 100%; } .device-phone { width: 180px; } }
