:root {
  --bg: #020814;
  --bg-soft: #061629;
  --bg-card: rgba(9, 27, 48, 0.78);
  --line: rgba(116, 169, 227, 0.26);
  --text: #f5f8ff;
  --muted: #c4cfdf;
  --blue: #0985ff;
  --blue-strong: #006df0;
  --cyan: #22b9ff;
  --green: #20e384;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0%, rgba(0, 128, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #020814 0%, #031225 58%, #020814 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(1, 7, 18, 0.88);
  border-bottom: 1px solid rgba(93, 133, 182, 0.18);
  backdrop-filter: blur(18px);
}

.topbar,
.navbar,
.hero__content,
.hero-features,
.section,
.contact,
.footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  color: #f0f4fb;
  font-size: 14px;
}

.topbar__item,
.topbar__right,
.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__right {
  justify-content: flex-end;
  gap: 24px;
}

.topbar__whatsapp {
  color: var(--text);
}

.mini-icon {
  color: var(--text);
  font-size: 16px;
}

.wa-dot,
.wa-outline,
.clock-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--green);
  position: relative;
}

.wa-dot::after,
.wa-outline::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 6px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-18deg);
}

.clock-icon {
  color: #fff;
}

.clock-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 2px;
  height: 6px;
  background: currentColor;
}

.clock-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 5px;
  height: 2px;
  background: currentColor;
  transform: rotate(35deg);
  transform-origin: left center;
}

.socials {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

.social-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.social-icon:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

.social-icon--facebook::before,
.social-icon--linkedin::before {
  line-height: 1;
}

.social-icon--facebook::before {
  content: "f";
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.social-icon--linkedin::before {
  content: "in";
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.social-icon--instagram::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.social-icon--instagram::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 5px -5px 0 -3px currentColor;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
}

.brand__mark {
  position: relative;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(9, 133, 255, 0.9);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(9, 133, 255, 0.2), rgba(34, 185, 255, 0.04)),
    rgba(3, 16, 34, 0.92);
  box-shadow:
    inset 0 0 18px rgba(9, 133, 255, 0.18),
    0 0 28px rgba(9, 133, 255, 0.28);
  transform: rotate(45deg);
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
}

.brand__mark::before {
  inset: 9px;
  border: 2px solid rgba(34, 185, 255, 0.75);
  border-left-color: transparent;
  border-radius: 12px;
}

.brand__mark::after {
  content: "D";
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(34, 185, 255, 0.75);
  transform: rotate(-45deg);
}

.brand__mark span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(9, 133, 255, 0.75);
}

.brand__mark span:nth-child(1) { left: -5px; top: 12px; }
.brand__mark span:nth-child(2) { right: -5px; top: 12px; }
.brand__mark span:nth-child(3) { left: -5px; bottom: 12px; }
.brand__mark span:nth-child(4) { right: -5px; bottom: 12px; }
.brand__mark span:nth-child(5) { left: 26px; top: -5px; background: var(--cyan); }
.brand__mark span:nth-child(6) {
  left: 26px;
  bottom: -5px;
  background: var(--cyan);
}

.brand__text strong {
  display: block;
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__text small {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-menu a {
  position: relative;
  padding: 14px 0;
  color: #fff;
  font-weight: 600;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: var(--blue);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 5px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta,
.btn--primary {
  background: var(--blue-strong);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 109, 240, 0.28);
}

.btn--ghost {
  min-width: 178px;
  background: rgba(2, 10, 22, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 532px;
  border-bottom: 1px solid rgba(116, 169, 227, 0.25);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 128px;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0) 0%, rgba(2, 8, 20, 0.9) 38%, #020814 100%),
    linear-gradient(90deg, #020814 0%, rgba(3, 18, 36, 0.98) 48%, rgba(2, 8, 20, 0.94) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #020814 0%, rgba(2, 8, 20, 0.97) 31%, rgba(2, 8, 20, 0.58) 48%, rgba(2, 8, 20, 0.18) 72%, rgba(2, 8, 20, 0.62) 100%),
    url("assets/hero-tech.png") right center / auto 100% no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  min-height: 405px;
}

.eyebrow,
.section-heading span,
.about__text span,
.contact span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 15px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.section-heading span,
.about__text span,
.contact span {
  border: 0;
  padding: 0;
}

.hero h1 {
  max-width: 640px;
  margin: 14px 0 10px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 4.5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero p {
  max-width: 645px;
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.hero-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0 26px;
}

.hero-features article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero-features strong,
.hero-features small {
  display: block;
}

.hero-features strong {
  font-size: 14px;
}

.hero-features small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.feature-icon,
.service-icon,
.stat-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(9, 133, 255, 0.55);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(2, 22, 46, 0.65);
  position: relative;
}

.feature-icon {
  animation: featurePulse 3.4s ease-in-out infinite;
}

.hero-features article:nth-child(2) .feature-icon { animation-delay: 0.35s; }
.hero-features article:nth-child(3) .feature-icon { animation-delay: 0.7s; }
.hero-features article:nth-child(4) .feature-icon { animation-delay: 1.05s; }

.feature-icon::before,
.service-icon::before,
.stat-icon::before {
  font-size: 25px;
  line-height: 1;
}

.headset::before,
.support::before { content: "☊"; }
.shield::before,
.secure::before,
.check::before { content: "▱"; }
.badge::before,
.gear::before { content: "⚙"; }
.lock::before { content: "▢"; }
.network::before { content: "⌘"; }
.desktop::before { content: "▭"; }
.robot::before { content: "⌾"; }
.server::before { content: "▤"; }
.company::before { content: "▥"; }
.camera::before { content: "▰"; }
.sales::before { content: "▧"; }
.dev::before { content: "</>"; font-size: 28px; font-weight: 800; }
.smart-home::before { content: "⌂"; }
.smile::before { content: "☺"; }
.briefcase::before { content: "▣"; }
.time::before { content: "◷"; }

@keyframes featurePulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(9, 133, 255, 0), inset 0 0 0 rgba(9, 133, 255, 0);
  }

  50% {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 26px rgba(9, 133, 255, 0.34), inset 0 0 14px rgba(9, 133, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-icon {
    animation: none;
  }
}

.section {
  padding: 22px 0 10px;
}

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

.section-heading h2,
.about h2,
.contact h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.16;
}

.section-heading p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.service-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.service-icon {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
}

.service-icon::before {
  font-size: 44px;
  color: var(--blue);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  background: linear-gradient(90deg, #024cad, #006df0 52%, #024cad);
  border: 1px solid rgba(37, 145, 255, 0.36);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.stats article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 18px 52px;
  position: relative;
}

.stats article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-width: 4px;
  color: #26a6ff;
  background: rgba(0, 52, 119, 0.34);
}

.stats strong,
.stats small {
  display: block;
}

.stats strong {
  font-size: 20px;
}

.stats small {
  margin-top: 5px;
  color: #dbe8ff;
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
  padding-top: 32px;
}

.about__text,
.about__panel,
.solution-list article,
.contact {
  background: rgba(8, 25, 46, 0.66);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.about__text,
.about__panel {
  padding: 30px;
}

.about__panel {
  display: grid;
  align-content: center;
}

.about__panel strong {
  font-size: 24px;
}

.solutions {
  padding-top: 48px;
}

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

.solution-list article {
  padding: 24px;
}

.solution-list strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 30px;
  background: linear-gradient(90deg, rgba(1, 78, 178, 0.8), rgba(5, 24, 45, 0.88));
}

.footer {
  padding: 28px 0 34px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr 1fr;
  }

  .topbar__whatsapp {
    display: none;
  }

  .navbar {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 18px;
  }

  .nav-menu.open a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .hero-features,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats article:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar,
  .navbar,
  .hero__content,
  .hero-features,
  .section,
  .contact,
  .footer {
    width: min(100% - 28px, 1320px);
  }

  .topbar {
    display: none;
  }

  .navbar {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
  }

  .brand__text strong {
    font-size: 25px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero {
    min-height: auto;
  }

  .hero__bg {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.68) 0%, #020814 62%),
      url("assets/hero-tech.png") center top / auto 44% no-repeat;
  }

  .hero__content {
    min-height: 0;
    padding-top: 190px;
    padding-bottom: 14px;
  }

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

  .hero p {
    font-size: 15px;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .hero-features,
  .service-grid,
  .stats,
  .about,
  .solution-list {
    grid-template-columns: 1fr;
  }

  .hero-features {
    gap: 14px;
  }

  .service-card {
    grid-template-columns: 58px 1fr;
    padding: 18px;
  }

  .stats article {
    padding: 18px 24px;
  }

  .stats article + article::before {
    left: 24px;
    right: 24px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .contact {
    flex-direction: column;
    align-items: stretch;
  }
}
