:root {
  --bg: #07111f;
  --bg-2: #0d1b2a;
  --card: #102238;
  --card-2: #132b45;
  --blue: #00aeef;
  --cyan: #35d5ff;
  --green: #21d07a;
  --amber: #ffb020;
  --text: #f8fafc;
  --muted: #aab7c4;
  --line: rgba(170, 183, 196, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 174, 239, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg), #081624 48%, var(--bg));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(53, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 213, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 78%);
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(53, 213, 255, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--cyan);
  color: #04111e;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 31, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.brand img,
.site-footer img {
  width: 186px;
  max-height: 58px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu a:not(.btn):hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 34, 56, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03101d;
  box-shadow: 0 14px 36px rgba(0, 174, 239, 0.28);
}

.btn-secondary {
  border-color: rgba(53, 213, 255, 0.66);
  background: rgba(53, 213, 255, 0.06);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(248, 250, 252, 0.06);
}

.section,
.section-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-grid,
.split,
.contact-layout,
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero {
  min-height: calc(100vh - 82px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.live-dot,
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(33, 208, 122, 0.12);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 6.2vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.note,
.cta-content p,
.contact-aside p,
.site-footer p {
  color: var(--muted);
}

.hero-lede {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

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

.trust-line {
  margin: 22px 0 0;
  color: #d7e3ee;
  font-weight: 700;
}

.trust-pills,
.benefit-list,
.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.trust-pills span,
.benefit-list span,
.why-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 34, 56, 0.66);
  padding: 12px 14px;
  color: #dce8f2;
  font-weight: 700;
}

.signal-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(53, 213, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(16, 34, 56, 0.94), rgba(8, 17, 30, 0.84)),
    radial-gradient(circle at 50% 45%, rgba(0, 174, 239, 0.26), transparent 48%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(53, 213, 255, 0.12);
  border-radius: var(--radius);
}

.network-node {
  position: absolute;
  z-index: 2;
  width: min(200px, 40%);
  padding: 16px;
  border: 1px solid rgba(53, 213, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.network-node strong,
.network-node small {
  display: block;
}

.network-node small {
  color: var(--muted);
  margin-top: 2px;
}

.node-icon,
.service-icon,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(53, 213, 255, 0.12);
  border: 1px solid rgba(53, 213, 255, 0.38);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.pulse {
  animation: pulse 2.2s ease-in-out infinite;
}

.station {
  top: 82px;
  left: 32px;
}

.mainconnect {
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  width: min(232px, 44%);
}

.distributor {
  top: 76px;
  right: 32px;
}

.backup {
  right: 64px;
  bottom: 68px;
}

.noc {
  left: 42px;
  bottom: 54px;
}

.signal-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 18;
  opacity: 0.72;
  animation: dash 3.8s linear infinite;
}

.route-b,
.route-d {
  stroke: var(--green);
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

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

.info-card,
.service-card,
.use-card,
.step-card,
.status-card,
.quote-card,
.contact-aside,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 34, 56, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.info-card,
.service-card,
.use-card,
.step-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.info-card:hover,
.service-card:hover,
.use-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 213, 255, 0.44);
  background: rgba(19, 43, 69, 0.84);
}

.info-card p,
.service-card p,
.use-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.secondary-service {
  opacity: 0.82;
}

.callout {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--cyan);
  background: rgba(53, 213, 255, 0.08);
  border-radius: var(--radius);
  color: #e9f6ff;
  font-weight: 800;
}

.quote-card {
  margin: 0;
  padding: 36px;
  color: #eaf6ff;
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 850;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 34, 56, 0.72);
}

.table-row {
  display: grid;
  grid-template-columns: 1.12fr 1.46fr 0.82fr 0.86fr 1fr 1.1fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span {
  padding: 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.table-row span:first-child {
  border-left: 0;
  color: var(--text);
  font-weight: 850;
}

.table-head {
  background: rgba(0, 174, 239, 0.11);
}

.table-head span {
  color: var(--text);
  font-weight: 850;
}

.featured-row {
  background: rgba(33, 208, 122, 0.08);
}

.note {
  max-width: 880px;
  margin: 22px auto 0;
  text-align: center;
}

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

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04111e;
  font-weight: 950;
}

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

.status-card {
  min-height: 118px;
  padding: 18px;
}

.status-card .status-dot {
  margin-bottom: 16px;
}

.status-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 176, 32, 0.13);
}

.cta-section {
  width: 100%;
  padding: 88px 16px;
  background:
    linear-gradient(135deg, rgba(0, 174, 239, 0.18), rgba(33, 208, 122, 0.08)),
    var(--bg-2);
}

.cta-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-content .hero-actions {
  justify-content: center;
}

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

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full,
.form-actions.full,
.form-note.full,
.form-success.full {
  grid-column: 1 / -1;
}

label {
  color: #e8f3fb;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(170, 183, 196, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.78);
  color: var(--text);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(170, 183, 196, 0.68);
}

.field-error {
  min-height: 18px;
  color: #ffb8b8;
  font-size: 0.86rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #ff7777;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-success {
  border: 1px solid rgba(33, 208, 122, 0.38);
  border-radius: var(--radius);
  background: rgba(33, 208, 122, 0.1);
  color: #dffced;
  padding: 14px;
}

.contact-aside {
  padding: 28px;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-points span {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--muted);
}

.contact-points strong {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050d18;
  padding: 48px 16px 28px;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 32px;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-note {
  width: min(var(--max), 100%);
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dash {
  to {
    stroke-dashoffset: -64;
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px rgba(53, 213, 255, 0.1);
  }
}

@media (max-width: 1080px) {
  .section-grid,
  .split,
  .contact-layout,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 840px) {
  .navbar {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .section,
  .section-grid {
    padding: 66px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .signal-panel {
    min-height: 480px;
  }

  .network-node {
    width: 42%;
    padding: 12px;
    font-size: 0.9rem;
  }

  .node-icon {
    width: 36px;
    height: 36px;
  }

  .mainconnect {
    width: 52%;
  }

  .backup {
    right: 28px;
  }

  .table-row,
  .table-head {
    display: block;
  }

  .table-head {
    display: none;
  }

  .table-row {
    padding: 16px;
  }

  .table-row span {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .table-row span:first-child {
    border-top: 0;
  }

  .table-row span::before {
    content: attr(data-label);
    color: var(--text);
    font-weight: 850;
  }
}

@media (max-width: 640px) {
  .brand img,
  .site-footer img {
    width: 158px;
  }

  .card-grid,
  .steps,
  .status-grid,
  .lead-form,
  .trust-pills,
  .benefit-list,
  .why-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .signal-panel {
    min-height: 560px;
  }

  .network-node {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: auto;
    margin: 16px;
  }

  .signal-lines {
    opacity: 0.26;
  }

  .table-row span {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
