:root {
  --navy: #020b18;
  --navy-2: #061426;
  --panel: #0a1728;
  --panel-2: #0d2036;
  --line: rgba(148, 178, 214, .24);
  --cyan: #08a8ff;
  --blue: #0478ff;
  --green: #1fe58a;
  --red: #ff4545;
  --text: #f8fbff;
  --muted: #a9bad0;
  --light: #f5f8fc;
  --dark-text: #111827;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding: 12px 28px;
  background: rgba(2, 10, 22, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  max-width: 320px;
  overflow: visible;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 242px;
  max-width: none;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.05;
  text-shadow: 0 0 12px rgba(0, 180, 255, .25);
}

.brand-title {
  color: #fff;
  font-size: clamp(21px, 1.45vw, 27px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-title .iot {
  color: var(--cyan);
}

.brand-subtitle {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: var(--cyan); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(4, 120, 255, .24);
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .28);
}

.btn-fcx {
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  gap: 2px;
  color: #fff;
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .36);
}

.btn-fcx span { font-size: 13px; }
.btn-fcx small { color: var(--muted); font-size: 11px; font-weight: 700; }
.btn-large { min-width: 210px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: 34px;
  align-items: center;
  padding: 72px 6vw 40px;
  min-height: 548px;
  background:
    linear-gradient(90deg, rgba(2, 11, 24, .98), rgba(4, 17, 34, .92)),
    url("assets/nexus/background-tech.png") center/cover no-repeat;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(36px, 4.7vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 span { color: var(--cyan); }

.hero-subtitle {
  max-width: 700px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.42;
}

.hero-support {
  max-width: 680px;
  margin: 0;
  color: #d4deeb;
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: #e6effb;
  font-size: 14px;
  font-weight: 700;
}

.hero-benefits span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.hero-panel {
  padding: 8px;
  border: 1px solid rgba(156, 190, 226, .38);
  border-radius: 12px;
  background: rgba(5, 14, 27, .72);
  box-shadow: var(--shadow);
}

.trust-impact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 34px;
  align-items: center;
  padding: 24px 6vw;
  background: #050f1c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trusted p {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.company-strip strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 26px);
}

.company-strip span {
  display: block;
  color: #d8e3f0;
  font-size: 13px;
  font-weight: 500;
}

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

.metrics article {
  padding: 6px 14px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.metrics strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(26px, 3vw, 40px);
}

.metrics span {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.section-light {
  color: var(--dark-text);
  background: var(--light);
}

.how,
.panel-suite,
.differentials,
.cases,
.faq,
.final-cta,
.footer {
  padding: 54px 6vw;
}

h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
  padding: 28px;
  border: 1px solid #d8e2ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  color: var(--blue);
  border: 1px solid #c8d6ea;
  border-radius: 8px;
  font-size: 34px;
}

.how-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.how-card p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #3f4f63;
  font-size: 14px;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

@media (min-width: 1025px) {
  .how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 32px;
    align-items: stretch;
    width: 100%;
  }

  .how-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px;
    border-radius: 24px;
    min-height: 260px;
  }

  .how-card p {
    max-width: 100%;
    width: 100%;
    line-height: 1.6;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}

.panel-suite,
.differentials,
.cases {
  background: var(--navy);
}

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

.dashboard-grid article {
  overflow: hidden;
  border: 1px solid rgba(125, 161, 201, .42);
  border-radius: 8px;
  background: var(--panel);
}

.dashboard-grid h3 {
  margin: 12px;
  text-align: center;
  font-size: 14px;
}

.dashboard-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.panel-cta {
  width: fit-content;
  margin: 22px auto 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

.diff-grid article {
  min-height: 172px;
  padding: 20px 14px;
  text-align: center;
  border-left: 1px solid rgba(120, 158, 199, .32);
}

.diff-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.diff-grid h3 {
  margin: 0 0 9px;
  font-size: 15px;
}

.diff-grid p {
  margin: 0;
  color: #d9e4f1;
  font-size: 13px;
  line-height: 1.45;
}

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

.case-grid article {
  min-height: 214px;
  padding: 22px;
  border: 1px solid rgba(156, 190, 226, .4);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 29, 49, .92), rgba(5, 13, 25, .96));
}

.case-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-grid h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.case-grid p {
  margin: 0 0 18px;
  color: #d7e2ef;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  color: var(--green);
  font-size: 20px;
}

.case-grid a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 800;
}

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

.faq-item {
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #fff;
}

.faq-item button {
  width: 100%;
  padding: 16px 18px;
  color: var(--dark-text);
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  float: right;
  color: #526173;
}

.faq-item.open button::after { content: "-"; }

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
  color: #526173;
  line-height: 1.55;
}

.faq-item.open p { display: block; }

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 13, 27, .98), rgba(7, 26, 49, .92)),
    url("assets/nexus/background-tech.png") center/cover no-repeat;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  text-align: left;
}

.final-cta p {
  max-width: 680px;
  margin: 0;
  color: #d8e4f1;
}

.btn-cta {
  min-height: 76px;
  font-size: 22px;
}

.footer {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, minmax(120px, .72fr)) 1.1fr;
  gap: 28px;
  background: #040d19;
  border-top: 1px solid var(--line);
}

.footer-logo {
  max-width: 320px;
  margin-bottom: 14px;
}

.footer p,
.footer a,
.footer span {
  color: #c8d6e6;
  font-size: 14px;
  line-height: 1.55;
}

.footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer a { display: block; margin: 8px 0; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #20c766;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 16px 34px rgba(32, 199, 102, .36);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .site-header { align-items: flex-start; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    padding: 18px;
    background: #071426;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.open,
  .nav-links,
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero,
  .trust-impact,
  .final-cta {
    grid-template-columns: 1fr;
  }
  .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
  .footer { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .site-header { padding: 12px 18px; }
  .brand {
    max-width: min(300px, calc(100vw - 96px));
  }
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  .brand-logo img {
    width: 216px;
    height: 50px;
  }
  .brand-title {
    font-size: 21px;
  }
  .brand-subtitle {
    font-size: 10px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
  .hero { grid-template-columns: 1fr; padding: 46px 22px 30px; }
  .hero-panel { margin: 0 -8px; }
  .company-strip,
  .metrics,
  .how-grid,
  .dashboard-grid,
  .diff-grid,
  .case-grid,
  .faq-grid,
  .footer {
    grid-template-columns: 1fr;
  }
  .how,
  .panel-suite,
  .differentials,
  .cases,
  .faq,
  .final-cta,
  .footer {
    padding: 42px 22px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .how-card {
    width: 100%;
    min-width: 0;
  }
  .how-card p {
    font-size: 16px;
    line-height: 1.7;
  }
  .footer-bottom { flex-direction: column; }
}
