:root {
  --bg-980: #04080f;
  --bg-950: #070d18;
  --bg-900: #0d1522;
  --surface-800: #111c2d;
  --surface-760: #172438;
  --surface-700: #1c2c42;
  --line-soft: rgba(191, 210, 233, 0.18);
  --line-strong: rgba(191, 210, 233, 0.36);
  --text-main: #ebf2ff;
  --text-soft: #9fb1c9;
  --text-muted: #74869d;
  --primary: #3f9cff;
  --primary-strong: #267ee0;
  --accent: #17b795;
  --accent-soft: rgba(23, 183, 149, 0.22);
  --warn: #ffba66;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 42px rgba(1, 8, 20, 0.45);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 600px at 8% -10%, rgba(63, 156, 255, 0.22), transparent 58%),
    radial-gradient(1000px 560px at 90% -12%, rgba(23, 183, 149, 0.14), transparent 58%),
    linear-gradient(180deg, var(--bg-980) 0%, var(--bg-950) 45%, #04070e 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(145, 169, 197, 0.04) 46%, transparent 100%);
  mix-blend-mode: screen;
  z-index: -3;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.42;
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.82), transparent 76%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), 92vw);
  margin-inline: auto;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 12, 21, 0.78);
  border-bottom: 1px solid rgba(210, 226, 248, 0.12);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(203, 222, 246, 0.3);
  background: linear-gradient(140deg, rgba(63, 156, 255, 0.18), rgba(23, 183, 149, 0.16));
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(228, 240, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.brand-icon::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 24%, rgba(178, 226, 255, 0.52), transparent 54%),
    radial-gradient(circle at 76% 78%, rgba(95, 239, 205, 0.35), transparent 58%);
  filter: blur(5px);
  opacity: 0.88;
  transform: scale(0.92);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.brand:hover .brand-icon::before {
  transform: scale(1.03);
  opacity: 1;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.11em;
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a5b8d1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  text-decoration: none;
  color: #ccdbef;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 9px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: #f7fbff;
  background: rgba(228, 238, 250, 0.09);
}

.site-nav a.active {
  color: #f6fbff;
  background: rgba(63, 156, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(159, 204, 255, 0.35);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(179, 202, 232, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: #dce8f9;
  border-radius: 2px;
}

.btn {
  border: 0;
  font: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 0.87rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6fbcff 0%, var(--primary) 58%, #2f87ea 100%);
  color: #021221;
  box-shadow: 0 14px 26px rgba(41, 124, 218, 0.33);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(40, 125, 221, 0.43);
}

.btn-outline {
  border: 1px solid rgba(195, 214, 240, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: #e3edfc;
}

.btn-outline:hover {
  border-color: rgba(233, 244, 255, 0.65);
}

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

.site-nav .btn {
  text-transform: none;
  padding: 11px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #031122;
}

.site-nav .btn:hover {
  color: #031122;
  background: linear-gradient(135deg, #8bcaff 0%, var(--primary) 58%, #2f87ea 100%);
}

.hero {
  padding: 88px 0 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c9d8ee;
  background: rgba(18, 27, 41, 0.7);
}

.hero h1,
.page-hero h1 {
  margin: 16px 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero p,
.page-hero p {
  max-width: 57ch;
  color: var(--text-soft);
  font-size: 1.02rem;
}

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

.kpi-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
}

.kpi {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(17, 27, 42, 0.85), rgba(11, 17, 28, 0.9));
  padding: 13px;
}

.kpi strong {
  display: block;
  font-size: 1.52rem;
  line-height: 1;
  margin-bottom: 7px;
}

.kpi span {
  font-size: 0.82rem;
  color: #a8bbd4;
}

.panel,
.card,
.metric-card,
.table-wrap,
.form-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 28, 42, 0.9), rgba(9, 15, 24, 0.94));
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 18px;
}

.hero-panel-logo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 215, 242, 0.2);
  position: relative;
  background:
    radial-gradient(circle at 20% 18%, rgba(115, 194, 255, 0.24), transparent 46%),
    radial-gradient(circle at 82% 84%, rgba(58, 211, 171, 0.18), transparent 48%),
    linear-gradient(165deg, rgba(10, 17, 29, 0.92), rgba(8, 13, 22, 0.98));
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-panel-logo::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: 0;
  background: conic-gradient(from 230deg, transparent 0 64%, rgba(90, 174, 255, 0.28) 76%, transparent 90%);
  animation: logoSweep 10s linear infinite;
}

.hero-panel-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 24%, rgba(235, 246, 255, 0.2) 48%, transparent 67%);
  transform: translateX(-128%);
  animation: logoShine 6.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-panel-logo img {
  position: relative;
  z-index: 2;
  width: min(94%, 820px);
  height: auto;
  filter: drop-shadow(0 16px 38px rgba(18, 74, 136, 0.34));
  animation: logoFloat 7s ease-in-out infinite;
}

.hero-panel-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-mini {
  border: 1px solid rgba(193, 212, 237, 0.2);
  border-radius: 13px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-mini b {
  display: block;
  color: #f2f7ff;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.hero-mini span {
  color: #a3b5cb;
  font-size: 0.8rem;
}

.section {
  padding: 86px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.1;
  max-width: 15ch;
}

.section-header p {
  color: var(--text-soft);
  max-width: 54ch;
}

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

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

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

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

.card {
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px rgba(2, 8, 18, 0.56);
}

.card h3 {
  font-size: 1.24rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  border: 1px solid rgba(191, 213, 241, 0.25);
  border-radius: 999px;
  font-size: 0.73rem;
  padding: 5px 10px;
  color: #d2e0f4;
  background: rgba(255, 255, 255, 0.02);
}

.link-arrow {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b6cff2;
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 206, 236, 0.4);
  padding-bottom: 3px;
}

.link-arrow:hover {
  color: #e3f0ff;
  border-color: rgba(227, 240, 255, 0.8);
}

.page-hero {
  padding: 82px 0 46px;
}

.page-hero h1 {
  max-width: 16ch;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.panel {
  padding: 22px;
}

.panel h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.panel p {
  color: var(--text-soft);
}

.check-list,
.simple-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.check-list li,
.simple-list li {
  border: 1px solid rgba(189, 210, 237, 0.2);
  border-radius: 12px;
  padding: 11px;
  color: #ccdbef;
  background: rgba(255, 255, 255, 0.02);
}

.check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 700;
}

.stat-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-pill {
  border: 1px solid rgba(184, 207, 234, 0.26);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-pill b {
  display: block;
  color: #f2f7ff;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-pill span {
  color: #9fb4d0;
  font-size: 0.78rem;
}

.table-wrap {
  overflow: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(189, 209, 236, 0.18);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.9rem;
}

.compare-table th {
  color: #dce9fb;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.compare-table td {
  color: #b8c8dc;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.timeline {
  list-style: none;
  position: relative;
  display: grid;
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(63, 156, 255, 0.65), rgba(23, 183, 149, 0.3));
}

.timeline li {
  position: relative;
  margin-left: 30px;
  border: 1px solid rgba(191, 211, 237, 0.2);
  border-radius: 12px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: #c6d8ef;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #a8d2ff;
  box-shadow: 0 0 0 4px rgba(103, 172, 244, 0.24);
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(190, 210, 236, 0.35);
  padding: 4px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d0e0f6;
  margin-bottom: 8px;
  background: rgba(16, 26, 40, 0.86);
}

.metric-card {
  padding: 20px;
}

.metric-card strong {
  display: block;
  font-size: 1.85rem;
  margin-bottom: 6px;
}

.metric-card p {
  color: #9db0c7;
}

.cta-strip {
  margin-top: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(125deg, rgba(30, 57, 92, 0.45), rgba(18, 47, 65, 0.35));
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.form-card {
  padding: 22px;
}

.field {
  margin-bottom: 12px;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  border: 1px solid transparent;
}

.form-status.success {
  display: block;
  color: #c0ffe4;
  border-color: rgba(94, 219, 172, 0.45);
  background: rgba(34, 122, 95, 0.2);
}

.form-status.error {
  display: block;
  color: #ffd3d3;
  border-color: rgba(255, 131, 131, 0.45);
  background: rgba(132, 45, 45, 0.24);
}

label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  color: #ccd9ec;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(191, 210, 236, 0.22);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #ebf3ff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(123, 189, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(63, 156, 255, 0.2);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-item {
  border: 1px solid rgba(191, 210, 236, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #b4c7de;
}

.contact-item b {
  display: block;
  margin-bottom: 5px;
  color: #eff6ff;
}

.contact-item a {
  color: #b0d6ff;
  text-decoration: none;
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #36e6b3 0%, #14b57f 100%);
  color: #042016;
  box-shadow: 0 14px 30px rgba(11, 82, 61, 0.45);
  border: 1px solid rgba(186, 255, 231, 0.7);
}

.whatsapp-fab span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(4, 32, 22, 0.14);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.whatsapp-fab b {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 82, 61, 0.5);
}

.footer {
  margin-top: 86px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(196, 214, 237, 0.12);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer p {
  color: #8798ae;
  font-size: 0.84rem;
}

.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #9fb2cc;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-nav a:hover {
  color: #ecf5ff;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@keyframes logoSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoShine {
  0%,
  24% {
    transform: translateX(-130%);
  }
  58% {
    transform: translateX(132%);
  }
  100% {
    transform: translateX(132%);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .grid-3,
  .grid-4,
  .grid-2,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(196, 215, 239, 0.2);
    background: rgba(8, 13, 22, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.9rem);
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .whatsapp-fab b {
    display: none;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-panel-logo::before,
  .hero-panel-logo::after,
  .hero-panel-logo img {
    animation: none !important;
    transform: none !important;
  }
}
