:root {
  color-scheme: dark;
  --bg: #06111d;
  --bg-strong: #020710;
  --surface: rgba(12, 25, 42, 0.78);
  --surface-solid: #0c192a;
  --surface-2: #112942;
  --line: rgba(170, 218, 232, 0.18);
  --line-strong: rgba(109, 226, 232, 0.42);
  --text: #edf8fb;
  --muted: #9fb6c2;
  --soft: #d4e7ee;
  --brand: #47d5d9;
  --brand-2: #0f8b9a;
  --navy: #10284a;
  --green: #86efac;
  --amber: #f6c96f;
  --danger: #ff7a7a;
  --ink: #06111d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1180px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f9fb;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #ffffff;
  --surface-2: #e8f1f4;
  --line: rgba(14, 45, 66, 0.14);
  --line-strong: rgba(15, 139, 154, 0.36);
  --text: #071522;
  --muted: #516574;
  --soft: #24394a;
  --navy: #103761;
  --shadow: 0 22px 70px rgba(16, 40, 74, 0.13);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 17, 29, 0.98) 0%, rgba(6, 17, 29, 0.92) 46%, rgba(7, 20, 28, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(71, 213, 217, 0.08) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(71, 213, 217, 0.06) 0 1px, transparent 1px 96px);
  color: var(--text);
  overflow-x: hidden;
}

[data-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(246, 249, 251, 0.98) 0%, rgba(255, 255, 255, 0.94) 50%, rgba(236, 246, 248, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(15, 139, 154, 0.08) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(15, 139, 154, 0.06) 0 1px, transparent 1px 96px);
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-150%);
}

.skip:focus-within {
  transform: translateY(0);
}

.skip a {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--brand);
  color: #001418;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 13, 24, 0.78);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 44px;
  height: 52px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(71, 213, 217, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.pill-button,
.cta-small,
.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: var(--radius);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.pill-button,
.cta-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
}

.cta-small {
  border-color: rgba(71, 213, 217, 0.55);
  background: linear-gradient(135deg, var(--brand), #63f0cc);
  color: #001418;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.icon-search,
.icon-theme,
.icon-shield {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
}

.icon-search::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 1px;
  top: 1px;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  right: 0;
  bottom: 2px;
}

.icon-theme::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-theme::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 19px;
  right: 1px;
  top: 0;
  background: currentColor;
  border-radius: 0 10px 10px 0;
  opacity: 0.65;
}

.icon-shield::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 91% 16%, 85% 65%, 50% 100%, 15% 65%, 9% 16%);
  background: currentColor;
}

.section,
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 54px;
  align-items: center;
  min-height: 760px;
  padding-top: 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.62;
}

.hero .lead {
  max-width: 670px;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  border-color: rgba(71, 213, 217, 0.58);
  background: linear-gradient(135deg, #47d5d9 0%, #86efac 100%);
  color: #001418;
  box-shadow: 0 14px 38px rgba(71, 213, 217, 0.22);
}

.button.ghost {
  color: var(--soft);
}

.button:hover,
.icon-button:hover,
.pill-button:hover,
.cta-small:hover {
  transform: translateY(-1px);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.command-center {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(12, 25, 42, 0.88), rgba(10, 47, 58, 0.74)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px);
  box-shadow: var(--shadow);
}

.visual-logo {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 74px;
  opacity: 0.94;
  filter: drop-shadow(0 18px 40px rgba(71, 213, 217, 0.18));
}

.topology {
  position: absolute;
  inset: 92px 30px 118px 30px;
}

.topology::before,
.topology::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(71, 213, 217, 0.2);
  transform: skewY(-8deg);
}

.topology::after {
  inset: 36px 42px;
  border-color: rgba(134, 239, 172, 0.22);
  transform: skewY(7deg);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  min-height: 54px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(2, 7, 16, 0.78);
  color: var(--soft);
  font-size: 12px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: floatNode 7s ease-in-out infinite;
}

.node::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: -5px;
  right: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(134, 239, 172, 0.75);
}

.node.n1 { left: 8%; top: 12%; }
.node.n2 { right: 15%; top: 5%; animation-delay: -1s; }
.node.n3 { left: 42%; top: 39%; animation-delay: -2s; }
.node.n4 { left: 7%; bottom: 12%; animation-delay: -3s; }
.node.n5 { right: 8%; bottom: 7%; animation-delay: -4s; }

.trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.8;
  animation: trace 3s linear infinite;
}

.trace.t1 { width: 64%; left: 13%; top: 34%; transform: rotate(-13deg); }
.trace.t2 { width: 54%; right: 11%; top: 56%; transform: rotate(16deg); animation-delay: -0.7s; }
.trace.t3 { width: 48%; left: 18%; bottom: 25%; transform: rotate(-22deg); animation-delay: -1.4s; }

.security-score {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 240px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 7, 16, 0.7);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 82%, rgba(255, 255, 255, 0.11) 82% 100%);
  color: #021015;
  font-size: 28px;
  font-weight: 900;
}

.score-ring span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
}

.status-rail {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  width: 190px;
}

.status-pill {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 7, 16, 0.66);
  color: var(--soft);
  font-size: 13px;
}

.status-pill strong {
  color: var(--green);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric,
.service-card,
.case-card,
.industry-card,
.feature-card,
.portal-card,
.download-card,
.timeline-step,
.testimonial,
.resource-card,
.job-card,
.audit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.metric {
  padding: 22px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 38px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.7;
}

.logo-cloud,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.logo-cloud span,
.partner-grid span {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.case-card,
.industry-card,
.feature-card,
.portal-card,
.download-card,
.resource-card,
.job-card,
.audit-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.service-card::before,
.case-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--green), var(--amber));
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.service-card p,
.case-card p,
.industry-card p,
.feature-card p,
.portal-card p,
.download-card p,
.resource-card p,
.job-card p,
.audit-card p,
.timeline-step p,
.testimonial p {
  color: var(--muted);
  line-height: 1.68;
}

.card-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: center;
}

.dashboard-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 7, 16, 0.72);
  box-shadow: var(--shadow);
}

[data-theme="light"] .dashboard-panel {
  background: rgba(255, 255, 255, 0.76);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.panel-dots span:nth-child(2) { background: var(--amber); }
.panel-dots span:nth-child(3) { background: var(--green); }

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.chart-card {
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(71, 213, 217, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px);
}

.chart-card.wide {
  grid-column: 1 / -1;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 90px;
  margin-top: 18px;
}

.bars span {
  flex: 1;
  min-width: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  animation: bars 3s ease-in-out infinite;
}

.bars span:nth-child(2) { animation-delay: -0.4s; }
.bars span:nth-child(3) { animation-delay: -0.8s; }
.bars span:nth-child(4) { animation-delay: -1.2s; }
.bars span:nth-child(5) { animation-delay: -1.6s; }

.threat-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.threat-list span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  font-size: 13px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-step {
  padding: 20px;
}

.timeline-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
}

.case-grid,
.industry-grid,
.feature-grid,
.portal-grid,
.downloads-grid,
.resources-grid,
.jobs-grid,
.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-meta,
.tag-row,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.case-meta span,
.tag-row span,
.mini-list span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.testimonial {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px;
}

.testimonial-mark {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand);
  font-size: 42px;
  font-weight: 900;
}

.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(71, 213, 217, 0.18), rgba(246, 201, 111, 0.08)),
    var(--surface);
  padding: 34px;
}

.page-hero {
  position: relative;
  padding: 86px 28px 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(71, 213, 217, 0.12), transparent 44%, rgba(246, 201, 111, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  font-size: 56px;
}

.page-hero .lead {
  max-width: 860px;
}

.anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.anchor-tabs a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.architecture-map {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(17, 41, 66, 0.82), rgba(7, 32, 39, 0.62)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px);
  overflow: hidden;
}

.arch-layer {
  position: absolute;
  display: grid;
  place-items: center;
  width: 190px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(2, 7, 16, 0.68);
  text-align: center;
  color: var(--soft);
}

.arch-layer.l1 { left: 8%; top: 12%; }
.arch-layer.l2 { right: 8%; top: 12%; }
.arch-layer.l3 { left: 50%; top: 42%; transform: translateX(-50%); }
.arch-layer.l4 { left: 10%; bottom: 12%; }
.arch-layer.l5 { right: 10%; bottom: 12%; }

.arch-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: trace 4s linear infinite;
}

.arch-line.a1 { width: 54%; left: 23%; top: 30%; }
.arch-line.a2 { width: 50%; left: 25%; bottom: 31%; transform: rotate(18deg); animation-delay: -1s; }
.arch-line.a3 { width: 50%; left: 25%; bottom: 31%; transform: rotate(-18deg); animation-delay: -2s; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

textarea {
  min-height: 122px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(71, 213, 217, 0.14);
}

.form-result {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(134, 239, 172, 0.34);
  border-radius: var(--radius);
  background: rgba(134, 239, 172, 0.09);
  color: var(--soft);
}

.form-result.show {
  display: block;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  padding: 24px;
  background: rgba(2, 7, 16, 0.72);
  backdrop-filter: blur(14px);
}

.search-panel.open {
  display: grid;
  place-items: start center;
}

.search-box {
  width: min(780px, 100%);
  margin-top: 70px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.panel-head.compact h2 {
  font-size: 22px;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: 420px;
  overflow: auto;
}

.search-result {
  display: block;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-result strong {
  display: block;
  margin-bottom: 4px;
}

.search-result span {
  color: var(--muted);
  font-size: 13px;
}

.chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
}

.chatbot-toggle,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(71, 213, 217, 0.55);
  border-radius: var(--radius);
  background: #071522;
  color: #edf8fb;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.chatbot-panel {
  display: none;
  width: 340px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chatbot.open .chatbot-panel {
  display: block;
}

.chat-log {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding: 16px;
}

.chat-log p {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  line-height: 1.45;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #001418;
  font-weight: 900;
  padding: 0 13px;
}

.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 220;
  background: #0f5132;
  border-color: rgba(134, 239, 172, 0.6);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 7, 16, 0.74);
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 28px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.footer-logo {
  width: 72px;
  margin-bottom: 16px;
}

.footer-col h3 {
  font-size: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: 14px;
}

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px 30px;
  color: var(--muted);
  font-size: 13px;
}

[dir="rtl"] body {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

[dir="rtl"] .brand,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .section-actions,
[dir="rtl"] .card-actions,
[dir="rtl"] .case-meta,
[dir="rtl"] .tag-row,
[dir="rtl"] .mini-list {
  direction: rtl;
}

[dir="rtl"] .chatbot {
  right: auto;
  left: 20px;
}

[dir="rtl"] .whatsapp-float {
  left: auto;
  right: 20px;
}

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes trace {
  0% { opacity: 0.18; }
  50% { opacity: 0.9; }
  100% { opacity: 0.18; }
}

@keyframes bars {
  0%, 100% { height: 28%; }
  50% { height: 88%; }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-solid);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .header-actions {
    justify-content: end;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .metrics-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud,
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand img {
    width: 38px;
    height: 44px;
  }

  .header-actions .pill-button,
  .header-actions .cta-small {
    display: none;
  }

  .section,
  .hero {
    padding: 58px 18px;
  }

  .page-hero {
    padding: 58px 18px 38px;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .services-grid,
  .case-grid,
  .industry-grid,
  .feature-grid,
  .portal-grid,
  .downloads-grid,
  .resources-grid,
  .jobs-grid,
  .audit-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .command-center {
    min-height: auto;
  }

  .status-rail,
  .security-score {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .topology {
    position: relative;
    inset: auto;
    height: 310px;
    margin-top: 64px;
    margin-bottom: 14px;
  }

  .node {
    width: 76px;
    font-size: 11px;
  }

  .dashboard-body,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .testimonial {
    grid-template-columns: 1fr;
  }

  .chatbot-panel {
    width: min(340px, calc(100vw - 32px));
  }

  .whatsapp-float {
    display: none;
  }
}

@media (max-width: 520px) {
  h1,
  .page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .metrics-grid,
  .timeline,
  .logo-cloud,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .command-center {
    min-height: auto;
    padding: 16px;
  }

  .arch-layer {
    width: 138px;
    font-size: 12px;
  }

  .chatbot-toggle {
    width: 52px;
    padding: 0;
    justify-content: center;
  }

  .chatbot-toggle span:last-child {
    display: none;
  }
}
