:root {
  --bg: #05070d;
  --bg-soft: #0b1020;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --text: #111827;
  --muted: #647084;
  --muted-dark: #a7b0c0;
  --line: rgba(17, 24, 39, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --blue: #006dff;
  --cyan: #00c8ff;
  --black: #05070d;
  --shadow: 0 22px 70px rgba(5, 7, 13, 0.14);
  --shadow-blue: 0 18px 48px rgba(0, 109, 255, 0.28);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.section-dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 109, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #05070d 0%, #0b1020 100%);
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-box h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark .section-heading p {
  color: var(--muted-dark);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-blue);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(0, 109, 255, 0.34);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: var(--line-dark);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.92rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand img {
  width: 132px;
  height: auto;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover img {
  filter: drop-shadow(0 8px 22px rgba(0, 200, 255, 0.26));
  transform: translateY(-1px);
}

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 76px 16px auto;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 7, 13, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  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:not(.btn) {
  position: relative;
  padding: 10px 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-menu a:not(.btn)::after {
  position: absolute;
  right: 8px;
  bottom: 6px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-menu a:not(.btn):hover {
  color: #ffffff;
}

.nav-menu a:not(.btn):hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 118px 0 70px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(0, 200, 255, 0.12) 38%, transparent 72%),
    linear-gradient(180deg, transparent 0%, rgba(0, 109, 255, 0.1) 100%);
  background-size: 180% 180%, 100% 100%;
  animation: heroSweep 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.65rem, 12vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted-dark);
  font-size: clamp(1.05rem, 3.4vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
  animation: proofFloat 5.5s ease-in-out infinite;
}

.hero-proof span:nth-child(2) {
  animation-delay: 400ms;
}

.hero-proof span:nth-child(3) {
  animation-delay: 800ms;
}

.hero-proof span:nth-child(4) {
  animation-delay: 1200ms;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: panelScan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-panel.is-visible {
  animation: panelFloat 6s ease-in-out infinite;
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  animation: dotPulse 2.6s ease-in-out infinite;
}

.browser-bar span:nth-child(2) {
  animation-delay: 180ms;
}

.browser-bar span:nth-child(3) {
  animation-delay: 360ms;
}

.panel-logo {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0, 109, 255, 0.18), rgba(0, 200, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.panel-logo img {
  width: min(78%, 340px);
  filter: drop-shadow(0 18px 42px rgba(0, 200, 255, 0.16));
  animation: logoBreath 5s ease-in-out infinite;
}

.metric-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-grid div {
  padding: 18px;
  background: rgba(5, 7, 13, 0.78);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 1rem;
}

.metric-grid span {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 0.88rem;
}

.cards-grid {
  display: grid;
  gap: 16px;
}

.card,
.service-card,
.benefit-item,
.contact-card,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(5, 7, 13, 0.06);
}

.card,
.service-card,
.benefit-item {
  position: relative;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.card::before,
.service-card::before,
.benefit-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.card:hover,
.service-card:hover,
.benefit-item:hover {
  border-color: rgba(0, 109, 255, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card:hover::before,
.service-card:hover::before,
.benefit-item:hover::before {
  transform: scaleX(1);
}

.card h3,
.service-card h3,
.benefit-item h3,
.timeline-step h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.card p,
.service-card p,
.benefit-item p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
}

.icon,
.service-icon {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--black);
  font-weight: 800;
}

.service-icon {
  min-width: 50px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  background-size: 180% 180%;
  font-size: 0.86rem;
  transition: transform 180ms ease;
  animation: iconGradient 5s ease infinite;
}

.service-card:hover .service-icon {
  transform: rotate(-3deg) scale(1.06);
}

.benefits-layout {
  display: grid;
  gap: 30px;
}

.benefits-list {
  display: grid;
  gap: 14px;
}

.benefit-item h3 {
  margin-top: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.timeline-step::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 280ms ease;
}

.timeline-step:hover {
  border-color: rgba(0, 200, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.timeline-step:hover::before {
  transform: scaleY(1);
}

.timeline-step span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline-step p {
  color: var(--muted-dark);
}

.cta-section {
  padding: 76px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 109, 255, 0.86), rgba(0, 200, 255, 0.52)),
    var(--blue);
  background-size: 180% 180%;
  animation: ctaGradient 8s ease-in-out infinite alternate;
}

.cta-box {
  padding: 32px;
  color: #ffffff;
  background: rgba(5, 7, 13, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
}

.cta-box p {
  max-width: 620px;
  margin: 14px 0 24px;
  color: var(--muted-dark);
}

.contact-grid {
  display: grid;
  gap: 26px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1.22rem;
}

.site-footer {
  padding: 44px 0;
  color: #ffffff;
  background: #05070d;
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-brand img {
  width: 150px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 6px;
  color: var(--muted-dark);
}

.copyright {
  margin: 0;
  color: var(--muted-dark);
}

.whatsapp-float {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  background: #16a34a;
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.34);
  font-weight: 800;
  animation: whatsappPulse 2.8s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  box-shadow: 0 20px 54px rgba(22, 163, 74, 0.46);
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 54px 54px, 54px 54px;
  }
}

@keyframes heroSweep {
  from {
    background-position: 0% 50%, 0 0;
  }

  to {
    background-position: 100% 50%, 0 0;
  }
}

@keyframes proofFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes panelScan {
  0%,
  45% {
    transform: translateX(-120%);
  }

  75%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.16);
  }
}

@keyframes logoBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes iconGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes ctaGradient {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.03);
  }
}

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

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

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

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

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

@media (min-width: 820px) {
  .section {
    padding: 104px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a:not(.btn) {
    padding: 0;
    font-size: 0.94rem;
  }

  .hero {
    display: grid;
    align-items: center;
    padding: 134px 0 86px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  }

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

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

  .cards-grid.four-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .benefits-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: start;
  }

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

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

  .cta-box {
    padding: 46px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    align-items: start;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1080px) {
  .brand img {
    width: 148px;
  }

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