:root {
  --navy: #071827;
  --navy-2: #0b2134;
  --graphite: #263241;
  --text: #102033;
  --muted: #5f6d7c;
  --line: #dfe7ef;
  --soft: #f3f7fb;
  --cyan: #21c7df;
  --green: #49d38a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: rgba(7, 24, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d8e2ec;
  font-size: 14px;
}

.site-nav a:hover,
.footer a:hover {
  color: var(--cyan);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--navy);
  background: var(--cyan);
}

.header-cta:hover,
.button.primary:hover {
  background: #62ddec;
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.button.secondary:hover {
  border-color: var(--cyan);
  color: #bdf6ff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  color: var(--white);
  background: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding: 86px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: #007c92;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  color: #c8f7ff;
  background: rgba(33, 199, 223, 0.12);
  border: 1px solid rgba(33, 199, 223, 0.3);
  border-radius: 6px;
}

.cyan {
  color: var(--cyan);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-text,
.solution-text {
  color: #c5d1dd;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tech-visual {
  position: relative;
  min-height: 430px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(33, 199, 223, 0.3), transparent 34%),
    radial-gradient(circle at 72% 70%, rgba(73, 211, 138, 0.22), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--navy-2);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.visual-card {
  position: absolute;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.visual-card span {
  display: block;
  margin-bottom: 14px;
  color: #bceff6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 26px;
}

.visual-core {
  top: 28px;
  left: 26px;
  width: 46%;
}

.visual-firewall {
  top: 44px;
  right: 26px;
  width: 45%;
  background: rgba(6, 19, 31, 0.9);
}

.visual-snmp {
  left: 26px;
  bottom: 36px;
  width: 36%;
}

.visual-map {
  right: 42px;
  bottom: 44px;
  width: 42%;
  background: rgba(73, 211, 138, 0.11);
  border-color: rgba(73, 211, 138, 0.24);
}

.bar {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.bar.wide {
  width: 92%;
  background: var(--cyan);
}

.bar.medium {
  width: 70%;
  background: var(--green);
}

.bar.short {
  width: 84%;
}

.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.zones b {
  padding: 14px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.rule {
  height: 70px;
  margin-top: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(33, 199, 223, 0.2), rgba(73, 211, 138, 0.18));
  border: 1px solid rgba(33, 199, 223, 0.22);
}

.ports {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.ports i {
  height: 9px;
  border-radius: 999px;
  background: rgba(73, 211, 138, 0.72);
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(33, 199, 223, 0.9);
}

.node-a {
  left: 45%;
  top: 47%;
}

.node-b {
  right: 24%;
  top: 27%;
  background: var(--green);
  box-shadow: 0 0 28px rgba(73, 211, 138, 0.85);
}

.node-c {
  left: 58%;
  bottom: 22%;
  background: var(--white);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.65);
}

.section {
  padding: 86px 0;
}

.white {
  background: var(--white);
}

.muted {
  background: var(--soft);
}

.dark {
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.card-grid,
.services-grid,
.industries-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.problems-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.service-card,
.industries-grid article,
.steps-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.05);
}

.card {
  position: relative;
  padding: 28px 24px 28px 56px;
  color: #3c4b5a;
  line-height: 1.55;
}

.card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 31px;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--cyan);
  background: var(--navy);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.solution-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.feature-list span {
  position: relative;
  padding-left: 22px;
  color: #d7e2ec;
}

.feature-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.dashboard {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.dashboard-head {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-head span {
  display: block;
  margin-bottom: 6px;
  color: #bceff6;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
}

th {
  color: #c9d7e3;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

td {
  color: #edf5fb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status.ok {
  color: #0f3d29;
  background: #a8f0c5;
}

.status.warn {
  color: #4f3600;
  background: #ffe39b;
}

.industries-grid,
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.industries-grid article {
  padding: 24px;
  font-weight: 800;
}

.steps-grid article {
  padding: 26px;
  font-size: 20px;
  font-weight: 800;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--cyan);
  background: var(--navy);
  border-radius: 6px;
  font-size: 15px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 52px;
  align-items: center;
}

.about-grid p {
  color: #415061;
  font-size: 20px;
  line-height: 1.75;
}

.contact-grid {
  align-items: start;
}

.mail-link {
  display: inline-flex;
  margin-top: 20px;
  color: #bdf6ff;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  color: var(--text);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form .full,
.contact-form .success-message {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  border: 1px solid #cfd9e3;
  border-radius: 6px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(33, 199, 223, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  width: fit-content;
  color: var(--white);
  background: var(--navy);
}

.success-message {
  display: none;
  margin: 0;
  padding: 14px 16px;
  color: #11643e;
  background: #e9fbf1;
  border: 1px solid #bcefd2;
  border-radius: 6px;
  font-weight: 700;
}

.success-message.visible {
  display: block;
}

.footer {
  padding: 36px 0;
  color: #536273;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
}

.footer p {
  margin-bottom: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 760px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  }

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

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .solution-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 62px 0;
  }

  .problems-grid,
  .services-grid,
  .industries-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 66px 0;
  }

  .hero-actions,
  .button,
  .form-button {
    width: 100%;
  }

  .tech-visual {
    min-height: 500px;
  }

  .visual-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 14px;
  }

  .node {
    display: none;
  }

  .problems-grid,
  .services-grid,
  .industries-grid,
  .steps-grid,
  .feature-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  h1 {
    font-size: 38px;
  }
}
