:root {
  --navy: #0A1628;
  --navy-2: #10223A;
  --blue: #1E5AA8;
  --blue-2: #2B7FD4;
  --cyan: #22D3EE;
  --cyan-soft: #67E8F9;
  --white: #FFFFFF;
  --muted: #E8EEF6;
  --text: #1A2433;
  --text-soft: #4B5A6F;
  --line: #D5DEEA;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.12);
  --radius: 16px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.1rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; color: var(--navy); }
p { margin: 0 0 1rem; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }
.eyebrow {
  color: var(--blue-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 999px; padding: .85rem 1.25rem; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 8px 24px rgba(30,90,168,.28); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(34,211,238,.25); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn--outline { background: transparent; color: var(--blue); border: 1px solid #B9D2EE; }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1EBE59; }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  background: rgba(10,22,40,.92); backdrop-filter: blur(12px); color: #fff;
  border-bottom: 1px solid rgba(103,232,249,.12);
}
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text small { opacity: .75; font-size: .72rem; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.nav__list a { opacity: .9; }
.nav__list a:hover { color: var(--cyan-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.hero {
  position: relative; min-height: calc(100vh - var(--header));
  background: radial-gradient(1000px 500px at 80% 10%, rgba(43,127,212,.25), transparent 50%), var(--navy);
  color: #fff; overflow: hidden;
}
.hero__canvas, .hero__overlay { position: absolute; inset: 0; }
.hero__overlay { background: linear-gradient(90deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.55) 55%, rgba(10,22,40,.3) 100%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 72px 0 80px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; }
.hero__lead { color: #D5E4F5; font-size: 1.08rem; max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.hero__pills li { border: 1px solid rgba(103,232,249,.28); color: var(--cyan-soft); border-radius: 999px; padding: .3rem .7rem; font-size: .8rem; }

.infra-card {
  background: rgba(16,34,58,.78); border: 1px solid rgba(103,232,249,.18);
  border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.infra-card__title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow__node, .d-node {
  background: linear-gradient(180deg, #163052, #10243C); color: #fff; border: 1px solid rgba(103,232,249,.2);
  border-radius: 12px; padding: 10px 12px; text-align: center; font-weight: 600; position: relative;
}
.flow__node::after, .d-line {
  content: ""; display: block; width: 2px; height: 14px; margin: 8px auto 0;
  background: linear-gradient(180deg, var(--cyan), transparent); position: relative; overflow: hidden;
}
.flow li:last-child .flow__node::after, .flow__split::after { display: none; }
.flow__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow__node::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); transform: translateY(-50%); box-shadow: 0 0 10px var(--cyan);
}

.stats { background: var(--navy-2); color: #fff; padding: 28px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--cyan-soft); }

.section { padding: 84px 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--muted { background: #F5F8FC; }
.section__head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section__head p:last-child { color: var(--text-soft); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: #9FD8F3; box-shadow: 0 20px 40px rgba(30,90,168,.16); }
.card__icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; }
.card p, .card li { color: var(--text-soft); }
.led { animation: blink 1.6s infinite alternate; }
@keyframes blink { from { opacity: .35; } to { opacity: 1; } }

.rack { display: grid; gap: 4px; margin: 0 0 12px; }
.rack span { height: 10px; border-radius: 4px; background: linear-gradient(90deg, #10223A, #1E5AA8); position: relative; }
.rack span::after { content: ""; position: absolute; left: 8px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite alternate; }
.rack span:nth-child(2)::after { animation-delay: .3s; }
.rack span:nth-child(3)::after { animation-delay: .6s; }

.net-mini { position: relative; height: 70px; margin-bottom: 10px; }
.net-mini .hub { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-2); transform: translate(-50%, -50%); box-shadow: 0 0 12px var(--cyan); }
.net-mini .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.d1 { left: 8%; top: 12%; }
.d2 { right: 8%; top: 12%; }
.d3 { left: 12%; bottom: 10%; }
.d4 { right: 12%; bottom: 10%; }

.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diff { background: rgba(255,255,255,.04); border: 1px solid rgba(103,232,249,.15); border-radius: 16px; padding: 22px; }
.diff:hover { box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(34,211,238,.18); }

.diagram { background: linear-gradient(180deg, #10223A, #0A1628); border-radius: 20px; padding: 28px; }
.diagram__col { display: grid; justify-items: center; gap: 0; }
.d-node { min-width: min(280px, 90%); }
.d-line { width: 2px; height: 28px; background: rgba(34,211,238,.35); position: relative; overflow: hidden; }
.d-line::after {
  content: ""; position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px var(--cyan); animation: packet 1.6s linear infinite;
}
@keyframes packet { from { top: -8px; } to { top: 28px; } }
.d-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(720px, 100%); }
.d-row .d-node { min-width: 0; }

.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.about__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.about__facts li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.about__facts strong { display: block; color: var(--navy); }

.cta-band { background: linear-gradient(90deg, #10223A, #1E5AA8); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band__inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(43,127,212,.35); border-color: var(--blue-2); }
input.invalid, select.invalid, textarea.invalid { border-color: #D64545; }
.form__status { min-height: 1.4em; margin: 0; color: var(--blue); font-weight: 600; }
.form__status.error { color: #D64545; }
.form__status.ok { color: #17824A; }

.footer { background: #07101C; color: #C9D6E6; padding: 48px 0 20px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 24px; }
.footer__brand { color: #fff; display: block; margin-bottom: 8px; }
.footer nav { display: grid; gap: 8px; }
.footer a:hover { color: var(--cyan-soft); }
.footer address { font-style: normal; }
.footer__copy { text-align: center; margin: 28px 0 0; font-size: .85rem; opacity: .7; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; z-index: 60; box-shadow: 0 10px 24px rgba(37,211,102,.4);
}
.wa-float__tip {
  position: absolute; right: 68px; white-space: nowrap; background: #fff; color: var(--navy); padding: .45rem .7rem;
  border-radius: 8px; font-size: .8rem; font-weight: 700; opacity: 0; transform: translateX(8px); pointer-events: none; transition: .2s ease;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(18px); }
.nav.open { display: block; }

@media (max-width: 980px) {
  .hero__grid, .cards, .diff-grid, .about, .footer__grid, .stats__grid, .cta-band__inner, .form__row, .d-row {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .nav {
    display: none; position: absolute; top: var(--header); left: 0; right: 0; background: #0A1628; padding: 16px;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; }
  .hero { min-height: auto; }
  .hero__grid { padding: 48px 0; }
}
